| 259 | }; |
| 260 | |
| 261 | static av_cold int vaapi_encode_vp9_init(AVCodecContext *avctx) |
| 262 | { |
| 263 | VAAPIEncodeContext *ctx = avctx->priv_data; |
| 264 | |
| 265 | ctx->codec = &vaapi_encode_type_vp9; |
| 266 | |
| 267 | // No packed headers are currently desired. They could be written, |
| 268 | // but there isn't any reason to do so - the one usable driver (i965) |
| 269 | // can write its own headers and there is no metadata to include. |
| 270 | ctx->desired_packed_headers = 0; |
| 271 | |
| 272 | return ff_vaapi_encode_init(avctx); |
| 273 | } |
| 274 | |
| 275 | #define OFFSET(x) offsetof(VAAPIEncodeVP9Context, x) |
| 276 | #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
nothing calls this directly
no test coverage detected