MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_hwaccel_uninit

Function ff_hwaccel_uninit

libavcodec/decode.c:1198–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196}
1197
1198void ff_hwaccel_uninit(AVCodecContext *avctx)
1199{
1200 if (FF_HW_HAS_CB(avctx, uninit))
1201 FF_HW_SIMPLE_CALL(avctx, uninit);
1202
1203 av_freep(&avctx->internal->hwaccel_priv_data);
1204
1205 avctx->hwaccel = NULL;
1206
1207 av_buffer_unref(&avctx->hw_frames_ctx);
1208}
1209
1210int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt)
1211{

Callers 4

ff_frame_thread_freeFunction · 0.85
ff_get_formatFunction · 0.85
ff_codec_closeFunction · 0.85

Calls 2

av_freepFunction · 0.85
av_buffer_unrefFunction · 0.85

Tested by

no test coverage detected