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

Function vaapi_encode_av1_close

libavcodec/vaapi_encode_av1.c:960–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

958}
959
960static av_cold int vaapi_encode_av1_close(AVCodecContext *avctx)
961{
962 VAAPIEncodeAV1Context *priv = avctx->priv_data;
963
964 ff_cbs_fragment_free(&priv->current_obu);
965 ff_cbs_close(&priv->cbc);
966
967 return ff_vaapi_encode_close(avctx);
968}
969
970#define OFFSET(x) offsetof(VAAPIEncodeAV1Context, x)
971#define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM)

Callers

nothing calls this directly

Calls 1

ff_vaapi_encode_closeFunction · 0.85

Tested by

no test coverage detected