diff options
author | Mark Thompson <sw@jkqxz.net> | 2024-03-20 20:35:28 +0000 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-03-25 08:32:04 +0100 |
commit | cafb4c554845332eeb33284cf6498049997dc67e (patch) | |
tree | 9ef6018916b8743bd9fe4bf0fb35e8a82e511d1e /libavcodec/cbs_av1.h | |
parent | f1e34f158276d7cec01f12de7d0bbb6b9414e336 (diff) | |
download | ffmpeg-cafb4c554845332eeb33284cf6498049997dc67e.tar.gz |
lavc/cbs_av1: Save more frame ordering information
This is wanted by the Vulkan decoder.
Diffstat (limited to 'libavcodec/cbs_av1.h')
-rw-r--r-- | libavcodec/cbs_av1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/cbs_av1.h b/libavcodec/cbs_av1.h index a5402f069d..a027013bc7 100644 --- a/libavcodec/cbs_av1.h +++ b/libavcodec/cbs_av1.h @@ -427,6 +427,8 @@ typedef struct AV1ReferenceFrameState { int bit_depth; // RefBitDepth int order_hint; // RefOrderHint + int saved_order_hints[AV1_TOTAL_REFS_PER_FRAME]; // SavedOrderHints[ref] + int8_t loop_filter_ref_deltas[AV1_TOTAL_REFS_PER_FRAME]; int8_t loop_filter_mode_deltas[2]; uint8_t feature_enabled[AV1_MAX_SEGMENTS][AV1_SEG_LVL_MAX]; @@ -464,6 +466,9 @@ typedef struct CodedBitstreamAV1Context { int tile_rows; int tile_num; + int order_hints[AV1_TOTAL_REFS_PER_FRAME]; // OrderHints + int ref_frame_sign_bias[AV1_TOTAL_REFS_PER_FRAME]; // RefFrameSignBias + AV1ReferenceFrameState ref[AV1_NUM_REF_FRAMES]; // AVOptions |