summaryrefslogtreecommitdiff
path: root/libavcodec/av1dec.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-10-16 13:34:31 -0300
committerJames Almer <jamrial@gmail.com>2020-10-16 13:34:31 -0300
commit0ed455b84e28f1c01b31390ae4b33cbd3e0f6ba4 (patch)
tree75e09303fa5f62f9ad1775caafa7d643a253f006 /libavcodec/av1dec.h
parentaf701196ec04a2ad1032340ef8b04ed9890ff32c (diff)
avcodec/av1dec: add cur_frame.spatial_id and temporal_id to AV1Frame
Will be used by hwaccels, which have access to a frame's AV1RawFrameHeader but not its AV1RawOBUHeader. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1dec.h')
-rw-r--r--libavcodec/av1dec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/av1dec.h b/libavcodec/av1dec.h
index 3604870299..63c958ca53 100644
--- a/libavcodec/av1dec.h
+++ b/libavcodec/av1dec.h
@@ -36,6 +36,9 @@ typedef struct AV1Frame {
AVBufferRef *hwaccel_priv_buf;
void *hwaccel_picture_private;
+ int temporal_id;
+ int spatial_id;
+
uint8_t loop_filter_delta_enabled;
int8_t loop_filter_ref_deltas[AV1_NUM_REF_FRAMES];
int8_t loop_filter_mode_deltas[2];