fix[av1d]: Pass use_superres to the HAL

Change-Id: I3019a416771da998d3a4b81b71383d9dfa02eb57
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
Hongjin Li 2025-12-05 17:26:06 +08:00
parent 0c1ea55d3e
commit 81ad847976
2 changed files with 2 additions and 0 deletions

View file

@ -34,6 +34,7 @@ static int av1d_fill_picparams(Av1CodecContext *ctx, DXVA_PicParams_AV1 *pp)
pp->CurrPic.Index7Bits = h->cur_frame.slot_index;
pp->CurrPicTextureIndex = h->cur_frame.slot_index;
pp->superres_denom = frame_header->use_superres ? frame_header->coded_denom : AV1_SUPERRES_NUM;
pp->use_superres = frame_header->use_superres;
pp->bitdepth = h->bit_depth;
pp->seq_profile = seq->seq_profile;
pp->frame_header_size = h->frame_header_size;

View file

@ -53,6 +53,7 @@ typedef struct DXVA_PicParams_AV1_t {
USHORT max_width ;
USHORT max_height ;
USHORT CurrPicTextureIndex ;
USHORT use_superres ;
USHORT superres_denom ;
USHORT bitdepth ;
USHORT seq_profile ;