]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/av1dec.h
avdevice: Constify all devices
[ffmpeg] / libavcodec / av1dec.h
index 3604870299794573a18017cc9e197322862e6fb1..248a68750f54f31c86874acb552507f41bc52af4 100644 (file)
@@ -36,11 +36,20 @@ typedef struct AV1Frame {
     AVBufferRef *hwaccel_priv_buf;
     void *hwaccel_picture_private;
 
-    uint8_t loop_filter_delta_enabled;
-    int8_t  loop_filter_ref_deltas[AV1_NUM_REF_FRAMES];
-    int8_t  loop_filter_mode_deltas[2];
+    AVBufferRef *header_ref;
+    AV1RawFrameHeader *raw_frame_header;
+
+    int temporal_id;
+    int spatial_id;
+
     uint8_t gm_type[AV1_NUM_REF_FRAMES];
     int32_t gm_params[AV1_NUM_REF_FRAMES][6];
+
+    uint8_t skip_mode_frame_idx[2];
+
+    AV1RawFilmGrainParams film_grain;
+
+    uint8_t coded_lossless;
 } AV1Frame;
 
 typedef struct TileGroupInfo {
@@ -67,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 */