| 202 | }; |
| 203 | |
| 204 | static av_cold int vaapi_encode_vp8_init(AVCodecContext *avctx) |
| 205 | { |
| 206 | VAAPIEncodeContext *ctx = avctx->priv_data; |
| 207 | |
| 208 | ctx->codec = &vaapi_encode_type_vp8; |
| 209 | |
| 210 | // No packed headers are currently desired. VP8 has no metadata |
| 211 | // which would be useful to write, and no existing driver supports |
| 212 | // adding them anyway. |
| 213 | ctx->desired_packed_headers = 0; |
| 214 | |
| 215 | return ff_vaapi_encode_init(avctx); |
| 216 | } |
| 217 | |
| 218 | #define OFFSET(x) offsetof(VAAPIEncodeVP8Context, x) |
| 219 | #define FLAGS (AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
nothing calls this directly
no test coverage detected