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

Function vaapi_encode_h264_close

libavcodec/vaapi_encode_h264.c:1054–1064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054static av_cold int vaapi_encode_h264_close(AVCodecContext *avctx)
1055{
1056 VAAPIEncodeH264Context *priv = avctx->priv_data;
1057
1058 ff_cbs_fragment_free(&priv->current_access_unit);
1059 ff_cbs_close(&priv->cbc);
1060 av_freep(&priv->sei_identifier_string);
1061 av_freep(&priv->sei_a53cc_data);
1062
1063 return ff_vaapi_encode_close(avctx);
1064}
1065
1066#define OFFSET(x) offsetof(VAAPIEncodeH264Context, x)
1067#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM)

Callers

nothing calls this directly

Calls 2

av_freepFunction · 0.85
ff_vaapi_encode_closeFunction · 0.85

Tested by

no test coverage detected