| 958 | } |
| 959 | |
| 960 | static 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) |
nothing calls this directly
no test coverage detected