aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_av1.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2024-03-20 20:35:28 +0000
committerLynne <dev@lynne.ee>2024-03-25 08:32:04 +0100
commitcafb4c554845332eeb33284cf6498049997dc67e (patch)
tree9ef6018916b8743bd9fe4bf0fb35e8a82e511d1e /libavcodec/cbs_av1.h
parentf1e34f158276d7cec01f12de7d0bbb6b9414e336 (diff)
downloadffmpeg-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.h5
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