Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-11-16 00:55:40 +0300
committerJames Almer <jamrial@gmail.com>2021-01-04 22:28:29 +0300
commitf951d475635c02e5448afc7665dba24d2ccea533 (patch)
treeaf8b07c384426f285eb3ac0d4e791e3e075e3b63 /libavcodec/cbs_av1.h
parent3b8400c221983c9b1c894532d275af03144f8834 (diff)
avcodec/cbs_av1: add an option to select an operating point
This implements the function drop_obu() as defined in Setion 6.2.1 from the spec. In a reading only scenario, units that belong to an operating point the caller doesn't want should not be parsed. Signed-off-by: James Almer <jamrial@gmail.com>
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 799470015c..1fc80dcfa0 100644
--- a/libavcodec/cbs_av1.h
+++ b/libavcodec/cbs_av1.h
@@ -425,6 +425,8 @@ typedef struct AV1ReferenceFrameState {
} AV1ReferenceFrameState;
typedef struct CodedBitstreamAV1Context {
+ const AVClass *class;
+
AV1RawSequenceHeader *sequence_header;
AVBufferRef *sequence_header_ref;
@@ -453,6 +455,9 @@ typedef struct CodedBitstreamAV1Context {
int tile_num;
AV1ReferenceFrameState ref[AV1_NUM_REF_FRAMES];
+
+ // AVOptions
+ int operating_point;
} CodedBitstreamAV1Context;