| 1087 | } |
| 1088 | |
| 1089 | static int d3d12va_encode_av1_close(AVCodecContext *avctx) |
| 1090 | { |
| 1091 | D3D12VAEncodeAV1Context *priv = avctx->priv_data; |
| 1092 | |
| 1093 | ff_cbs_fragment_free(&priv->current_obu); |
| 1094 | ff_cbs_close(&priv->cbc); |
| 1095 | |
| 1096 | av_freep(&priv->common.codec_conf.pAV1Config); |
| 1097 | av_freep(&priv->common.gop.pAV1SequenceStructure); |
| 1098 | av_freep(&priv->common.level.pAV1LevelSetting); |
| 1099 | av_freep(&priv->common.subregions_layout.pTilesPartition_AV1); |
| 1100 | |
| 1101 | av_fifo_freep2(&priv->picture_header_list); |
| 1102 | |
| 1103 | return ff_d3d12va_encode_close(avctx); |
| 1104 | } |
| 1105 | |
| 1106 | #define OFFSET(x) offsetof(D3D12VAEncodeAV1Context, x) |
| 1107 | #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
nothing calls this directly
no test coverage detected