aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/av1dec.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-11-15 18:55:41 -0300
committerJames Almer <jamrial@gmail.com>2021-01-04 16:28:29 -0300
commit5f9632e491d142b1eb5b2041749c7324ec8ffd78 (patch)
tree57aa660e0124ea77960ab2e14a07c0aaa1805beb /libavcodec/av1dec.h
parentf951d475635c02e5448afc7665dba24d2ccea533 (diff)
downloadffmpeg-5f9632e491d142b1eb5b2041749c7324ec8ffd78.tar.gz
avcodec/av1dec: add an option to select an operating point
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1dec.h')
-rw-r--r--libavcodec/av1dec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/av1dec.h b/libavcodec/av1dec.h
index 7e3b0c7291..248a68750f 100644
--- a/libavcodec/av1dec.h
+++ b/libavcodec/av1dec.h
@@ -76,9 +76,13 @@ typedef struct AV1DecContext {
uint16_t tg_start;
uint16_t tg_end;
+ int operating_point_idc;
+
AV1Frame ref[AV1_NUM_REF_FRAMES];
AV1Frame cur_frame;
+ // AVOptions
+ int operating_point;
} AV1DecContext;
#endif /* AVCODEC_AV1DEC_H */