mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc/vaapi_dec: Add VVC decoder
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
This commit is contained in:
parent
4dc18c78cd
commit
e726fdeb05
8 changed files with 682 additions and 2 deletions
|
|
@ -464,6 +464,9 @@ static const struct {
|
|||
MAP(AV1, AV1_MAIN, AV1Profile0),
|
||||
MAP(AV1, AV1_HIGH, AV1Profile1),
|
||||
#endif
|
||||
#if VA_CHECK_VERSION(1, 22, 0)
|
||||
MAP(H266, VVC_MAIN_10, VVCMain10),
|
||||
#endif
|
||||
|
||||
#undef MAP
|
||||
};
|
||||
|
|
@ -629,6 +632,7 @@ static int vaapi_decode_make_config(AVCodecContext *avctx,
|
|||
// Add per-codec number of surfaces used for storing reference frames.
|
||||
switch (avctx->codec_id) {
|
||||
case AV_CODEC_ID_H264:
|
||||
case AV_CODEC_ID_H266:
|
||||
case AV_CODEC_ID_HEVC:
|
||||
case AV_CODEC_ID_AV1:
|
||||
frames->initial_pool_size += 16;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue