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

Function vaapi_encode_h265_close

libavcodec/vaapi_encode_h265.c:1090–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1088}
1089
1090static av_cold int vaapi_encode_h265_close(AVCodecContext *avctx)
1091{
1092 VAAPIEncodeH265Context *priv = avctx->priv_data;
1093
1094 ff_cbs_fragment_free(&priv->current_access_unit);
1095 ff_cbs_close(&priv->cbc);
1096 av_freep(&priv->sei_a53cc_data);
1097
1098 return ff_vaapi_encode_close(avctx);
1099}
1100
1101#define OFFSET(x) offsetof(VAAPIEncodeH265Context, x)
1102#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