dav1d: dav1d/headers.h Source File

dav1d 1.5.3 dav1d is an AV1 decoder

Loading...
Searching...
No Matches
headers.h
Go to the documentation of this file.
1/*
2 * Copyright © 2018-2020, VideoLAN and dav1d authors
3 * Copyright © 2018, Two Orioles, LLC
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice, this
10 * list of conditions and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice,
13 * this list of conditions and the following disclaimer in the documentation
14 * and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
20 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#ifndef DAV1D_HEADERS_H
29#define DAV1D_HEADERS_H
30
31#include <stdint.h>
32#include <stddef.h>
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38// Constants from Section 3. "Symbols and abbreviated terms"
39#define DAV1D_MAX_CDEF_STRENGTHS 8
40#define DAV1D_MAX_OPERATING_POINTS 32
41#define DAV1D_MAX_TILE_COLS 64
42#define DAV1D_MAX_TILE_ROWS 64
43#define DAV1D_MAX_SEGMENTS 8
44#define DAV1D_NUM_REF_FRAMES 8
45#define DAV1D_PRIMARY_REF_NONE 7
46#define DAV1D_REFS_PER_FRAME 7
47#define DAV1D_TOTAL_REFS_PER_FRAME (DAV1D_REFS_PER_FRAME + 1)
48
49 enum Dav1dObuType {
50 DAV1D_OBU_SEQ_HDR = 1,
51 DAV1D_OBU_TD = 2,
52 DAV1D_OBU_FRAME_HDR = 3,
53 DAV1D_OBU_TILE_GRP = 4,
54 DAV1D_OBU_METADATA = 5,
55 DAV1D_OBU_FRAME = 6,
56 DAV1D_OBU_REDUNDANT_FRAME_HDR = 7,
57 DAV1D_OBU_PADDING = 15,
58};
59
60 enum Dav1dTxfmMode {
61 DAV1D_TX_4X4_ONLY,
62 DAV1D_TX_LARGEST,
63 DAV1D_TX_SWITCHABLE,
64 DAV1D_N_TX_MODES,
65};
66
67 enum Dav1dFilterMode {
68 DAV1D_FILTER_8TAP_REGULAR,
69 DAV1D_FILTER_8TAP_SMOOTH,
70 DAV1D_FILTER_8TAP_SHARP,
71 DAV1D_N_SWITCHABLE_FILTERS,
72 DAV1D_FILTER_BILINEAR = DAV1D_N_SWITCHABLE_FILTERS,
73 DAV1D_N_FILTERS,
74 DAV1D_FILTER_SWITCHABLE = DAV1D_N_FILTERS,
75};
76
77 enum Dav1dAdaptiveBoolean {
78 DAV1D_OFF = 0,
79 DAV1D_ON = 1,
80 DAV1D_ADAPTIVE = 2,
81};
82
83 enum Dav1dRestorationType {
84 DAV1D_RESTORATION_NONE,
85 DAV1D_RESTORATION_SWITCHABLE,
86 DAV1D_RESTORATION_WIENER,
87 DAV1D_RESTORATION_SGRPROJ,
88};
89
90 enum Dav1dWarpedMotionType {
91 DAV1D_WM_TYPE_IDENTITY,
92 DAV1D_WM_TYPE_TRANSLATION,
93 DAV1D_WM_TYPE_ROT_ZOOM,
94 DAV1D_WM_TYPE_AFFINE,
95};
96
97 typedef struct Dav1dWarpedMotionParams {
98 enum Dav1dWarpedMotionType type;
99 int32_t matrix[6];
100 union {
101 struct {
102 int16_t alpha, beta, gamma, delta;
103 } p;
104 int16_t abcd[4];
105 } u;
106} Dav1dWarpedMotionParams;
107
108 enum Dav1dPixelLayout {
109 DAV1D_PIXEL_LAYOUT_I400,
110 DAV1D_PIXEL_LAYOUT_I420,
111 DAV1D_PIXEL_LAYOUT_I422,
112 DAV1D_PIXEL_LAYOUT_I444,
113};
114
115 enum Dav1dFrameType {
116 DAV1D_FRAME_TYPE_KEY = 0,
117 DAV1D_FRAME_TYPE_INTER = 1,
118 DAV1D_FRAME_TYPE_INTRA = 2,
119 DAV1D_FRAME_TYPE_SWITCH = 3,
120};
121
122 enum Dav1dColorPrimaries {
123 DAV1D_COLOR_PRI_BT709 = 1,
124 DAV1D_COLOR_PRI_UNKNOWN = 2,
125 DAV1D_COLOR_PRI_BT470M = 4,
126 DAV1D_COLOR_PRI_BT470BG = 5,
127 DAV1D_COLOR_PRI_BT601 = 6,
128 DAV1D_COLOR_PRI_SMPTE240 = 7,
129 DAV1D_COLOR_PRI_FILM = 8,
130 DAV1D_COLOR_PRI_BT2020 = 9,
131 DAV1D_COLOR_PRI_XYZ = 10,
132 DAV1D_COLOR_PRI_SMPTE431 = 11,
133 DAV1D_COLOR_PRI_SMPTE432 = 12,
134 DAV1D_COLOR_PRI_EBU3213 = 22,
135 DAV1D_COLOR_PRI_RESERVED = 255,
136};
137
138 enum Dav1dTransferCharacteristics {
139 DAV1D_TRC_BT709 = 1,
140 DAV1D_TRC_UNKNOWN = 2,
141 DAV1D_TRC_BT470M = 4,
142 DAV1D_TRC_BT470BG = 5,
143 DAV1D_TRC_BT601 = 6,
144 DAV1D_TRC_SMPTE240 = 7,
145 DAV1D_TRC_LINEAR = 8,
146 DAV1D_TRC_LOG100 = 9,
147 DAV1D_TRC_LOG100_SQRT10 = 10,
148 DAV1D_TRC_IEC61966 = 11,
149 DAV1D_TRC_BT1361 = 12,
150 DAV1D_TRC_SRGB = 13,
151 DAV1D_TRC_BT2020_10BIT = 14,
152 DAV1D_TRC_BT2020_12BIT = 15,
153 DAV1D_TRC_SMPTE2084 = 16,
154 DAV1D_TRC_SMPTE428 = 17,
155 DAV1D_TRC_HLG = 18,
156 DAV1D_TRC_RESERVED = 255,
157};
158
159 enum Dav1dMatrixCoefficients {
160 DAV1D_MC_IDENTITY = 0,
161 DAV1D_MC_BT709 = 1,
162 DAV1D_MC_UNKNOWN = 2,
163 DAV1D_MC_FCC = 4,
164 DAV1D_MC_BT470BG = 5,
165 DAV1D_MC_BT601 = 6,
166 DAV1D_MC_SMPTE240 = 7,
167 DAV1D_MC_SMPTE_YCGCO = 8,
168 DAV1D_MC_BT2020_NCL = 9,
169 DAV1D_MC_BT2020_CL = 10,
170 DAV1D_MC_SMPTE2085 = 11,
171 DAV1D_MC_CHROMAT_NCL = 12,
172 DAV1D_MC_CHROMAT_CL = 13,
173 DAV1D_MC_ICTCP = 14,
174 DAV1D_MC_RESERVED = 255,
175};
176
177 enum Dav1dChromaSamplePosition {
178 DAV1D_CHR_UNKNOWN = 0,
179 DAV1D_CHR_VERTICAL = 1,
181 DAV1D_CHR_COLOCATED = 2,
182};
183
184 typedef struct Dav1dContentLightLevel {
185 uint16_t max_content_light_level;
186 uint16_t max_frame_average_light_level;
187} Dav1dContentLightLevel;
188
189 typedef struct Dav1dMasteringDisplay {
190 uint16_t primaries[3][2];
191 uint16_t white_point[2];
192 uint32_t max_luminance;
193 uint32_t min_luminance;
194} Dav1dMasteringDisplay;
195
196 typedef struct Dav1dITUTT35 {
197 uint8_t country_code;
198 uint8_t country_code_extension_byte;
199 size_t payload_size;
200 uint8_t *payload;
201} Dav1dITUTT35;
202
203 typedef struct Dav1dSequenceHeader {
209 uint8_t profile;
215 int max_width, max_height;
216 enum Dav1dPixelLayout layout;
217 enum Dav1dColorPrimaries pri;
218 enum Dav1dTransferCharacteristics trc;
219 enum Dav1dMatrixCoefficients mtrx;
220 enum Dav1dChromaSamplePosition chr;
228 uint8_t hbd;
233 uint8_t color_range;
234
235 uint8_t num_operating_points;
236 struct Dav1dSequenceHeaderOperatingPoint {
237 uint8_t major_level, minor_level;
238 uint8_t initial_display_delay;
239 uint16_t idc;
240 uint8_t tier;
241 uint8_t decoder_model_param_present;
242 uint8_t display_model_param_present;
243 } operating_points[DAV1D_MAX_OPERATING_POINTS];
244
245 uint8_t still_picture;
246 uint8_t reduced_still_picture_header;
247 uint8_t timing_info_present;
248 uint32_t num_units_in_tick;
249 uint32_t time_scale;
250 uint8_t equal_picture_interval;
251 uint32_t num_ticks_per_picture;
252 uint8_t decoder_model_info_present;
253 uint8_t encoder_decoder_buffer_delay_length;
254 uint32_t num_units_in_decoding_tick;
255 uint8_t buffer_removal_delay_length;
256 uint8_t frame_presentation_delay_length;
257 uint8_t display_model_info_present;
258 uint8_t width_n_bits, height_n_bits;
259 uint8_t frame_id_numbers_present;
260 uint8_t delta_frame_id_n_bits;
261 uint8_t frame_id_n_bits;
262 uint8_t sb128;
263 uint8_t filter_intra;
264 uint8_t intra_edge_filter;
265 uint8_t inter_intra;
266 uint8_t masked_compound;
267 uint8_t warped_motion;
268 uint8_t dual_filter;
269 uint8_t order_hint;
270 uint8_t jnt_comp;
271 uint8_t ref_frame_mvs;
272 enum Dav1dAdaptiveBoolean screen_content_tools;
273 enum Dav1dAdaptiveBoolean force_integer_mv;
274 uint8_t order_hint_n_bits;
275 uint8_t super_res;
276 uint8_t cdef;
277 uint8_t restoration;
278 uint8_t ss_hor, ss_ver, monochrome;
279 uint8_t color_description_present;
280 uint8_t separate_uv_delta_q;
281 uint8_t film_grain_present;
282
283 // Dav1dSequenceHeaders of the same sequence are required to be
284 // bit-identical until this offset. See 7.5 "Ordering of OBUs":
285 // Within a particular coded video sequence, the contents of
286 // sequence_header_obu must be bit-identical each time the
287 // sequence header appears except for the contents of
288 // operating_parameters_info.
289 struct Dav1dSequenceHeaderOperatingParameterInfo {
290 uint32_t decoder_buffer_delay;
291 uint32_t encoder_buffer_delay;
292 uint8_t low_delay_mode;
293 } operating_parameter_info[DAV1D_MAX_OPERATING_POINTS];
294} Dav1dSequenceHeader;
295
296 typedef struct Dav1dSegmentationData {
297 int16_t delta_q;
298 int8_t delta_lf_y_v, delta_lf_y_h, delta_lf_u, delta_lf_v;
299 int8_t ref;
300 uint8_t skip;
301 uint8_t globalmv;
302} Dav1dSegmentationData;
303
304 typedef struct Dav1dSegmentationDataSet {
305 Dav1dSegmentationData d[DAV1D_MAX_SEGMENTS];
306 uint8_t preskip;
307 int8_t last_active_segid;
308} Dav1dSegmentationDataSet;
309
310 typedef struct Dav1dLoopfilterModeRefDeltas {
311 int8_t mode_delta[2 /* is_zeromv */];
312 int8_t ref_delta[DAV1D_TOTAL_REFS_PER_FRAME];
313} Dav1dLoopfilterModeRefDeltas;
314
315 typedef struct Dav1dFilmGrainData {
316 unsigned seed;
317 int num_y_points;
318 uint8_t y_points[14][2 /* value, scaling */];
319 int chroma_scaling_from_luma;
320 int num_uv_points[2];
321 uint8_t uv_points[2][10][2 /* value, scaling */];
322 int scaling_shift;
323 int ar_coeff_lag;
324 int8_t ar_coeffs_y[24];
325 int8_t ar_coeffs_uv[2][25 + 3 /* padding for alignment purposes */];
326 uint64_t ar_coeff_shift;
327 int grain_scale_shift;
328 int uv_mult[2];
329 int uv_luma_mult[2];
330 int uv_offset[2];
331 int overlap_flag;
332 int clip_to_restricted_range;
333} Dav1dFilmGrainData;
334
335 typedef struct Dav1dFrameHeader {
336 struct {
337 Dav1dFilmGrainData data;
338 uint8_t present, update;
339 } film_grain;
340 enum Dav1dFrameType frame_type;
341 int width[2 /* { coded_width, superresolution_upscaled_width } */], height;
342 uint8_t frame_offset;
343 uint8_t temporal_id;
344 uint8_t spatial_id;
345
346 uint8_t show_existing_frame;
347 uint8_t existing_frame_idx;
348 uint32_t frame_id;
349 uint32_t frame_presentation_delay;
350 uint8_t show_frame;
351 uint8_t showable_frame;
352 uint8_t error_resilient_mode;
353 uint8_t disable_cdf_update;
354 uint8_t allow_screen_content_tools;
355 uint8_t force_integer_mv;
356 uint8_t frame_size_override;
357 uint8_t primary_ref_frame;
358 uint8_t buffer_removal_time_present;
359 struct Dav1dFrameHeaderOperatingPoint {
360 uint32_t buffer_removal_time;
361 } operating_points[DAV1D_MAX_OPERATING_POINTS];
362 uint8_t refresh_frame_flags;
363 int render_width, render_height;
364 struct {
365 uint8_t width_scale_denominator;
366 uint8_t enabled;
367 } super_res;
368 uint8_t have_render_size;
369 uint8_t allow_intrabc;
370 uint8_t frame_ref_short_signaling;
371 int8_t refidx[DAV1D_REFS_PER_FRAME];
372 uint8_t hp;
373 enum Dav1dFilterMode subpel_filter_mode;
374 uint8_t switchable_motion_mode;
375 uint8_t use_ref_frame_mvs;
376 uint8_t refresh_context;
377 struct {
378 uint8_t uniform;
379 uint8_t n_bytes;
380 uint8_t min_log2_cols, max_log2_cols, log2_cols, cols;
381 uint8_t min_log2_rows, max_log2_rows, log2_rows, rows;
382 uint16_t col_start_sb[DAV1D_MAX_TILE_COLS + 1];
383 uint16_t row_start_sb[DAV1D_MAX_TILE_ROWS + 1];
384 uint16_t update;
385 } tiling;
386 struct {
387 uint8_t yac;
388 int8_t ydc_delta;
389 int8_t udc_delta, uac_delta, vdc_delta, vac_delta;
390 uint8_t qm, qm_y, qm_u, qm_v;
391 } quant;
392 struct {
393 uint8_t enabled, update_map, temporal, update_data;
394 Dav1dSegmentationDataSet seg_data;
395 uint8_t lossless[DAV1D_MAX_SEGMENTS], qidx[DAV1D_MAX_SEGMENTS];
396 } segmentation;
397 struct {
398 struct {
399 uint8_t present;
400 uint8_t res_log2;
401 } q;
402 struct {
403 uint8_t present;
404 uint8_t res_log2;
405 uint8_t multi;
406 } lf;
407 } delta;
408 uint8_t all_lossless;
409 struct {
410 uint8_t level_y[2 /* dir */];
411 uint8_t level_u, level_v;
412 uint8_t mode_ref_delta_enabled;
413 uint8_t mode_ref_delta_update;
414 Dav1dLoopfilterModeRefDeltas mode_ref_deltas;
415 uint8_t sharpness;
416 } loopfilter;
417 struct {
418 uint8_t damping;
419 uint8_t n_bits;
420 uint8_t y_strength[DAV1D_MAX_CDEF_STRENGTHS];
421 uint8_t uv_strength[DAV1D_MAX_CDEF_STRENGTHS];
422 } cdef;
423 struct {
424 enum Dav1dRestorationType type[3 /* plane */];
425 uint8_t unit_size[2 /* y, uv */];
426 } restoration;
427 enum Dav1dTxfmMode txfm_mode;
428 uint8_t switchable_comp_refs;
429 uint8_t skip_mode_allowed, skip_mode_enabled;
430 int8_t skip_mode_refs[2];
431 uint8_t warp_motion;
432 uint8_t reduced_txtp_set;
433 Dav1dWarpedMotionParams gmv[DAV1D_REFS_PER_FRAME];
434} Dav1dFrameHeader;
435
436#ifdef __cplusplus
437} /* extern "C" */
438#endif
439
440#endif /* DAV1D_HEADERS_H */
Dav1dRestorationType
Dav1dRestorationType
Definition headers.h:83
DAV1D_RESTORATION_SGRPROJ
@ DAV1D_RESTORATION_SGRPROJ
Definition headers.h:87
DAV1D_RESTORATION_NONE
@ DAV1D_RESTORATION_NONE
Definition headers.h:84
DAV1D_RESTORATION_WIENER
@ DAV1D_RESTORATION_WIENER
Definition headers.h:86
DAV1D_RESTORATION_SWITCHABLE
@ DAV1D_RESTORATION_SWITCHABLE
Definition headers.h:85
Dav1dObuType
Dav1dObuType
Definition headers.h:49
DAV1D_OBU_PADDING
@ DAV1D_OBU_PADDING
Definition headers.h:57
DAV1D_OBU_FRAME
@ DAV1D_OBU_FRAME
Definition headers.h:55
DAV1D_OBU_METADATA
@ DAV1D_OBU_METADATA
Definition headers.h:54
DAV1D_OBU_REDUNDANT_FRAME_HDR
@ DAV1D_OBU_REDUNDANT_FRAME_HDR
Definition headers.h:56
DAV1D_OBU_TILE_GRP
@ DAV1D_OBU_TILE_GRP
Definition headers.h:53
DAV1D_OBU_TD
@ DAV1D_OBU_TD
Definition headers.h:51
DAV1D_OBU_FRAME_HDR
@ DAV1D_OBU_FRAME_HDR
Definition headers.h:52
DAV1D_OBU_SEQ_HDR
@ DAV1D_OBU_SEQ_HDR
Definition headers.h:50
Dav1dFilterMode
Dav1dFilterMode
Definition headers.h:67
DAV1D_FILTER_8TAP_REGULAR
@ DAV1D_FILTER_8TAP_REGULAR
Definition headers.h:68
DAV1D_N_SWITCHABLE_FILTERS
@ DAV1D_N_SWITCHABLE_FILTERS
Definition headers.h:71
DAV1D_FILTER_8TAP_SHARP
@ DAV1D_FILTER_8TAP_SHARP
Definition headers.h:70
DAV1D_N_FILTERS
@ DAV1D_N_FILTERS
Definition headers.h:73
DAV1D_FILTER_8TAP_SMOOTH
@ DAV1D_FILTER_8TAP_SMOOTH
Definition headers.h:69
DAV1D_FILTER_BILINEAR
@ DAV1D_FILTER_BILINEAR
Definition headers.h:72
DAV1D_FILTER_SWITCHABLE
@ DAV1D_FILTER_SWITCHABLE
Definition headers.h:74
DAV1D_TOTAL_REFS_PER_FRAME
#define DAV1D_TOTAL_REFS_PER_FRAME
Definition headers.h:47
Dav1dPixelLayout
Dav1dPixelLayout
Definition headers.h:108
DAV1D_PIXEL_LAYOUT_I444
@ DAV1D_PIXEL_LAYOUT_I444
4:4:4 planar
Definition headers.h:112
DAV1D_PIXEL_LAYOUT_I400
@ DAV1D_PIXEL_LAYOUT_I400
monochrome
Definition headers.h:109
DAV1D_PIXEL_LAYOUT_I422
@ DAV1D_PIXEL_LAYOUT_I422
4:2:2 planar
Definition headers.h:111
DAV1D_PIXEL_LAYOUT_I420
@ DAV1D_PIXEL_LAYOUT_I420
4:2:0 planar
Definition headers.h:110
DAV1D_MAX_OPERATING_POINTS
#define DAV1D_MAX_OPERATING_POINTS
Definition headers.h:40
Dav1dChromaSamplePosition
Dav1dChromaSamplePosition
Definition headers.h:177
DAV1D_CHR_COLOCATED
@ DAV1D_CHR_COLOCATED
Co-located with luma(0, 0) sample.
Definition headers.h:181
DAV1D_CHR_UNKNOWN
@ DAV1D_CHR_UNKNOWN
Definition headers.h:178
DAV1D_CHR_VERTICAL
@ DAV1D_CHR_VERTICAL
sample, between two vertical samples
Definition headers.h:179
DAV1D_REFS_PER_FRAME
#define DAV1D_REFS_PER_FRAME
Definition headers.h:46
Dav1dColorPrimaries
Dav1dColorPrimaries
Definition headers.h:122
DAV1D_COLOR_PRI_RESERVED
@ DAV1D_COLOR_PRI_RESERVED
Definition headers.h:135
DAV1D_COLOR_PRI_SMPTE432
@ DAV1D_COLOR_PRI_SMPTE432
Definition headers.h:133
DAV1D_COLOR_PRI_BT470M
@ DAV1D_COLOR_PRI_BT470M
Definition headers.h:125
DAV1D_COLOR_PRI_UNKNOWN
@ DAV1D_COLOR_PRI_UNKNOWN
Definition headers.h:124
DAV1D_COLOR_PRI_SMPTE240
@ DAV1D_COLOR_PRI_SMPTE240
Definition headers.h:128
DAV1D_COLOR_PRI_BT601
@ DAV1D_COLOR_PRI_BT601
Definition headers.h:127
DAV1D_COLOR_PRI_SMPTE431
@ DAV1D_COLOR_PRI_SMPTE431
Definition headers.h:132
DAV1D_COLOR_PRI_FILM
@ DAV1D_COLOR_PRI_FILM
Definition headers.h:129
DAV1D_COLOR_PRI_BT709
@ DAV1D_COLOR_PRI_BT709
Definition headers.h:123
DAV1D_COLOR_PRI_BT470BG
@ DAV1D_COLOR_PRI_BT470BG
Definition headers.h:126
DAV1D_COLOR_PRI_EBU3213
@ DAV1D_COLOR_PRI_EBU3213
Definition headers.h:134
DAV1D_COLOR_PRI_BT2020
@ DAV1D_COLOR_PRI_BT2020
Definition headers.h:130
DAV1D_COLOR_PRI_XYZ
@ DAV1D_COLOR_PRI_XYZ
Definition headers.h:131
DAV1D_MAX_CDEF_STRENGTHS
#define DAV1D_MAX_CDEF_STRENGTHS
Definition headers.h:39
Dav1dTransferCharacteristics
Dav1dTransferCharacteristics
Definition headers.h:138
DAV1D_TRC_SMPTE2084
@ DAV1D_TRC_SMPTE2084
PQ.
Definition headers.h:153
DAV1D_TRC_BT601
@ DAV1D_TRC_BT601
Definition headers.h:143
DAV1D_TRC_SMPTE428
@ DAV1D_TRC_SMPTE428
Definition headers.h:154
DAV1D_TRC_LINEAR
@ DAV1D_TRC_LINEAR
Definition headers.h:145
DAV1D_TRC_SMPTE240
@ DAV1D_TRC_SMPTE240
Definition headers.h:144
DAV1D_TRC_BT709
@ DAV1D_TRC_BT709
Definition headers.h:139
DAV1D_TRC_LOG100_SQRT10
@ DAV1D_TRC_LOG100_SQRT10
lograithmic (100*sqrt(10):1 range)
Definition headers.h:147
DAV1D_TRC_BT2020_10BIT
@ DAV1D_TRC_BT2020_10BIT
Definition headers.h:151
DAV1D_TRC_BT2020_12BIT
@ DAV1D_TRC_BT2020_12BIT
Definition headers.h:152
DAV1D_TRC_BT470BG
@ DAV1D_TRC_BT470BG
Definition headers.h:142
DAV1D_TRC_BT470M
@ DAV1D_TRC_BT470M
Definition headers.h:141
DAV1D_TRC_IEC61966
@ DAV1D_TRC_IEC61966
Definition headers.h:148
DAV1D_TRC_UNKNOWN
@ DAV1D_TRC_UNKNOWN
Definition headers.h:140
DAV1D_TRC_HLG
@ DAV1D_TRC_HLG
hybrid log/gamma (BT.2100 / ARIB STD-B67)
Definition headers.h:155
DAV1D_TRC_LOG100
@ DAV1D_TRC_LOG100
logarithmic (100:1 range)
Definition headers.h:146
DAV1D_TRC_BT1361
@ DAV1D_TRC_BT1361
Definition headers.h:149
DAV1D_TRC_SRGB
@ DAV1D_TRC_SRGB
Definition headers.h:150
DAV1D_TRC_RESERVED
@ DAV1D_TRC_RESERVED
Definition headers.h:156
DAV1D_MAX_TILE_ROWS
#define DAV1D_MAX_TILE_ROWS
Definition headers.h:42
Dav1dWarpedMotionType
Dav1dWarpedMotionType
Definition headers.h:90
DAV1D_WM_TYPE_IDENTITY
@ DAV1D_WM_TYPE_IDENTITY
Definition headers.h:91
DAV1D_WM_TYPE_AFFINE
@ DAV1D_WM_TYPE_AFFINE
Definition headers.h:94
DAV1D_WM_TYPE_TRANSLATION
@ DAV1D_WM_TYPE_TRANSLATION
Definition headers.h:92
DAV1D_WM_TYPE_ROT_ZOOM
@ DAV1D_WM_TYPE_ROT_ZOOM
Definition headers.h:93
DAV1D_MAX_TILE_COLS
#define DAV1D_MAX_TILE_COLS
Definition headers.h:41
DAV1D_MAX_SEGMENTS
#define DAV1D_MAX_SEGMENTS
Definition headers.h:43
Dav1dFrameType
Dav1dFrameType
Definition headers.h:115
DAV1D_FRAME_TYPE_INTRA
@ DAV1D_FRAME_TYPE_INTRA
Non key Intra frame.
Definition headers.h:118
DAV1D_FRAME_TYPE_INTER
@ DAV1D_FRAME_TYPE_INTER
Inter frame.
Definition headers.h:117
DAV1D_FRAME_TYPE_KEY
@ DAV1D_FRAME_TYPE_KEY
Key Intra frame.
Definition headers.h:116
DAV1D_FRAME_TYPE_SWITCH
@ DAV1D_FRAME_TYPE_SWITCH
Switch Inter frame.
Definition headers.h:119
Dav1dMatrixCoefficients
Dav1dMatrixCoefficients
Definition headers.h:159
DAV1D_MC_BT601
@ DAV1D_MC_BT601
Definition headers.h:165
DAV1D_MC_SMPTE240
@ DAV1D_MC_SMPTE240
Definition headers.h:166
DAV1D_MC_SMPTE_YCGCO
@ DAV1D_MC_SMPTE_YCGCO
Definition headers.h:167
DAV1D_MC_ICTCP
@ DAV1D_MC_ICTCP
Definition headers.h:173
DAV1D_MC_IDENTITY
@ DAV1D_MC_IDENTITY
Definition headers.h:160
DAV1D_MC_BT2020_CL
@ DAV1D_MC_BT2020_CL
Definition headers.h:169
DAV1D_MC_SMPTE2085
@ DAV1D_MC_SMPTE2085
Definition headers.h:170
DAV1D_MC_BT2020_NCL
@ DAV1D_MC_BT2020_NCL
Definition headers.h:168
DAV1D_MC_FCC
@ DAV1D_MC_FCC
Definition headers.h:163
DAV1D_MC_UNKNOWN
@ DAV1D_MC_UNKNOWN
Definition headers.h:162
DAV1D_MC_BT709
@ DAV1D_MC_BT709
Definition headers.h:161
DAV1D_MC_BT470BG
@ DAV1D_MC_BT470BG
Definition headers.h:164
DAV1D_MC_RESERVED
@ DAV1D_MC_RESERVED
Definition headers.h:174
DAV1D_MC_CHROMAT_NCL
@ DAV1D_MC_CHROMAT_NCL
Chromaticity-derived.
Definition headers.h:171
DAV1D_MC_CHROMAT_CL
@ DAV1D_MC_CHROMAT_CL
Definition headers.h:172
Dav1dAdaptiveBoolean
Dav1dAdaptiveBoolean
Definition headers.h:77
DAV1D_ADAPTIVE
@ DAV1D_ADAPTIVE
Definition headers.h:80
DAV1D_OFF
@ DAV1D_OFF
Definition headers.h:78
DAV1D_ON
@ DAV1D_ON
Definition headers.h:79
Dav1dTxfmMode
Dav1dTxfmMode
Definition headers.h:60
DAV1D_N_TX_MODES
@ DAV1D_N_TX_MODES
Definition headers.h:64
DAV1D_TX_LARGEST
@ DAV1D_TX_LARGEST
Definition headers.h:62
DAV1D_TX_4X4_ONLY
@ DAV1D_TX_4X4_ONLY
Definition headers.h:61
DAV1D_TX_SWITCHABLE
@ DAV1D_TX_SWITCHABLE
Definition headers.h:63
Dav1dContentLightLevel
Definition headers.h:184
Dav1dContentLightLevel::max_content_light_level
uint16_t max_content_light_level
Definition headers.h:185
Dav1dContentLightLevel::max_frame_average_light_level
uint16_t max_frame_average_light_level
Definition headers.h:186
Dav1dFilmGrainData
Definition headers.h:315
Dav1dFilmGrainData::scaling_shift
int scaling_shift
Definition headers.h:322
Dav1dFilmGrainData::y_points
uint8_t y_points[14][2]
Definition headers.h:318
Dav1dFilmGrainData::seed
unsigned seed
Definition headers.h:316
Dav1dFilmGrainData::uv_luma_mult
int uv_luma_mult[2]
Definition headers.h:329
Dav1dFilmGrainData::uv_points
uint8_t uv_points[2][10][2]
Definition headers.h:321
Dav1dFilmGrainData::grain_scale_shift
int grain_scale_shift
Definition headers.h:327
Dav1dFilmGrainData::ar_coeffs_y
int8_t ar_coeffs_y[24]
Definition headers.h:324
Dav1dFilmGrainData::overlap_flag
int overlap_flag
Definition headers.h:331
Dav1dFilmGrainData::num_y_points
int num_y_points
Definition headers.h:317
Dav1dFilmGrainData::chroma_scaling_from_luma
int chroma_scaling_from_luma
Definition headers.h:319
Dav1dFilmGrainData::uv_offset
int uv_offset[2]
Definition headers.h:330
Dav1dFilmGrainData::uv_mult
int uv_mult[2]
Definition headers.h:328
Dav1dFilmGrainData::ar_coeffs_uv
int8_t ar_coeffs_uv[2][25+3]
Definition headers.h:325
Dav1dFilmGrainData::clip_to_restricted_range
int clip_to_restricted_range
Definition headers.h:332
Dav1dFilmGrainData::ar_coeff_lag
int ar_coeff_lag
Definition headers.h:323
Dav1dFilmGrainData::num_uv_points
int num_uv_points[2]
Definition headers.h:320
Dav1dFilmGrainData::ar_coeff_shift
uint64_t ar_coeff_shift
Definition headers.h:326
Dav1dFrameHeader::Dav1dFrameHeaderOperatingPoint
Definition headers.h:359
Dav1dFrameHeader::Dav1dFrameHeaderOperatingPoint::buffer_removal_time
uint32_t buffer_removal_time
Definition headers.h:360
Dav1dFrameHeader
Definition headers.h:335
Dav1dFrameHeader::yac
uint8_t yac
Definition headers.h:387
Dav1dFrameHeader::qm_y
uint8_t qm_y
Definition headers.h:390
Dav1dFrameHeader::film_grain
struct Dav1dFrameHeader::@026342022127275155213122030273050132344063101262 film_grain
film grain parameters
Dav1dFrameHeader::res_log2
uint8_t res_log2
Definition headers.h:400
Dav1dFrameHeader::data
Dav1dFilmGrainData data
Definition headers.h:337
Dav1dFrameHeader::width_scale_denominator
uint8_t width_scale_denominator
Definition headers.h:365
Dav1dFrameHeader::vac_delta
int8_t vac_delta
Definition headers.h:389
Dav1dFrameHeader::temporal_id
uint8_t temporal_id
temporal id of the frame for SVC
Definition headers.h:343
Dav1dFrameHeader::qm_u
uint8_t qm_u
Definition headers.h:390
Dav1dFrameHeader::vdc_delta
int8_t vdc_delta
Definition headers.h:389
Dav1dFrameHeader::max_log2_cols
uint8_t max_log2_cols
Definition headers.h:380
Dav1dFrameHeader::uniform
uint8_t uniform
Definition headers.h:378
Dav1dFrameHeader::disable_cdf_update
uint8_t disable_cdf_update
Definition headers.h:353
Dav1dFrameHeader::show_frame
uint8_t show_frame
Definition headers.h:350
Dav1dFrameHeader::qidx
uint8_t qidx[DAV1D_MAX_SEGMENTS]
Definition headers.h:395
Dav1dFrameHeader::qm_v
uint8_t qm_v
Definition headers.h:390
Dav1dFrameHeader::super_res
struct Dav1dFrameHeader::@221327210003157030163035211126176077253143337272 super_res
Dav1dFrameHeader::skip_mode_enabled
uint8_t skip_mode_enabled
Definition headers.h:429
Dav1dFrameHeader::frame_size_override
uint8_t frame_size_override
Definition headers.h:356
Dav1dFrameHeader::restoration
struct Dav1dFrameHeader::@235277171324345045365074361005117274270176311172 restoration
Dav1dFrameHeader::width
int width[2]
Definition headers.h:341
Dav1dFrameHeader::allow_intrabc
uint8_t allow_intrabc
Definition headers.h:369
Dav1dFrameHeader::render_height
int render_height
Definition headers.h:363
Dav1dFrameHeader::min_log2_rows
uint8_t min_log2_rows
Definition headers.h:381
Dav1dFrameHeader::operating_points
struct Dav1dFrameHeader::Dav1dFrameHeaderOperatingPoint operating_points[DAV1D_MAX_OPERATING_POINTS]
Dav1dFrameHeader::refresh_frame_flags
uint8_t refresh_frame_flags
Definition headers.h:362
Dav1dFrameHeader::mode_ref_delta_update
uint8_t mode_ref_delta_update
Definition headers.h:413
Dav1dFrameHeader::log2_cols
uint8_t log2_cols
Definition headers.h:380
Dav1dFrameHeader::min_log2_cols
uint8_t min_log2_cols
Definition headers.h:380
Dav1dFrameHeader::height
int height
Definition headers.h:341
Dav1dFrameHeader::log2_rows
uint8_t log2_rows
Definition headers.h:381
Dav1dFrameHeader::lossless
uint8_t lossless[DAV1D_MAX_SEGMENTS]
Definition headers.h:395
Dav1dFrameHeader::update_map
uint8_t update_map
Definition headers.h:393
Dav1dFrameHeader::sharpness
uint8_t sharpness
Definition headers.h:415
Dav1dFrameHeader::col_start_sb
uint16_t col_start_sb[DAV1D_MAX_TILE_COLS+1]
Definition headers.h:382
Dav1dFrameHeader::skip_mode_allowed
uint8_t skip_mode_allowed
Definition headers.h:429
Dav1dFrameHeader::txfm_mode
enum Dav1dTxfmMode txfm_mode
Definition headers.h:427
Dav1dFrameHeader::buffer_removal_time_present
uint8_t buffer_removal_time_present
Definition headers.h:358
Dav1dFrameHeader::switchable_comp_refs
uint8_t switchable_comp_refs
Definition headers.h:428
Dav1dFrameHeader::seg_data
Dav1dSegmentationDataSet seg_data
Definition headers.h:394
Dav1dFrameHeader::mode_ref_deltas
Dav1dLoopfilterModeRefDeltas mode_ref_deltas
Definition headers.h:414
Dav1dFrameHeader::delta
struct Dav1dFrameHeader::@350051253177117212013303303347137146321206343164 delta
Dav1dFrameHeader::hp
uint8_t hp
Definition headers.h:372
Dav1dFrameHeader::frame_id
uint32_t frame_id
Definition headers.h:348
Dav1dFrameHeader::frame_ref_short_signaling
uint8_t frame_ref_short_signaling
Definition headers.h:370
Dav1dFrameHeader::have_render_size
uint8_t have_render_size
Definition headers.h:368
Dav1dFrameHeader::type
enum Dav1dRestorationType type[3]
Definition headers.h:424
Dav1dFrameHeader::tiling
struct Dav1dFrameHeader::@322315046164374067114326126240015050325137260066 tiling
Dav1dFrameHeader::mode_ref_delta_enabled
uint8_t mode_ref_delta_enabled
Definition headers.h:412
Dav1dFrameHeader::showable_frame
uint8_t showable_frame
Definition headers.h:351
Dav1dFrameHeader::loopfilter
struct Dav1dFrameHeader::@332301262257010155326264156056127254245103001376 loopfilter
Dav1dFrameHeader::existing_frame_idx
uint8_t existing_frame_idx
Definition headers.h:347
Dav1dFrameHeader::n_bytes
uint8_t n_bytes
Definition headers.h:379
Dav1dFrameHeader::frame_type
enum Dav1dFrameType frame_type
type of the picture
Definition headers.h:340
Dav1dFrameHeader::level_y
uint8_t level_y[2]
Definition headers.h:410
Dav1dFrameHeader::lf
struct Dav1dFrameHeader::@350051253177117212013303303347137146321206343164::@204222304060230367152026171002115236167207217261 lf
Dav1dFrameHeader::update
uint8_t update
Definition headers.h:338
Dav1dFrameHeader::switchable_motion_mode
uint8_t switchable_motion_mode
Definition headers.h:374
Dav1dFrameHeader::update_data
uint8_t update_data
Definition headers.h:393
Dav1dFrameHeader::temporal
uint8_t temporal
Definition headers.h:393
Dav1dFrameHeader::qm
uint8_t qm
Definition headers.h:390
Dav1dFrameHeader::rows
uint8_t rows
Definition headers.h:381
Dav1dFrameHeader::use_ref_frame_mvs
uint8_t use_ref_frame_mvs
Definition headers.h:375
Dav1dFrameHeader::max_log2_rows
uint8_t max_log2_rows
Definition headers.h:381
Dav1dFrameHeader::subpel_filter_mode
enum Dav1dFilterMode subpel_filter_mode
Definition headers.h:373
Dav1dFrameHeader::row_start_sb
uint16_t row_start_sb[DAV1D_MAX_TILE_ROWS+1]
Definition headers.h:383
Dav1dFrameHeader::unit_size
uint8_t unit_size[2]
Definition headers.h:425
Dav1dFrameHeader::level_v
uint8_t level_v
Definition headers.h:411
Dav1dFrameHeader::n_bits
uint8_t n_bits
Definition headers.h:419
Dav1dFrameHeader::refidx
int8_t refidx[DAV1D_REFS_PER_FRAME]
Definition headers.h:371
Dav1dFrameHeader::spatial_id
uint8_t spatial_id
spatial id of the frame for SVC
Definition headers.h:344
Dav1dFrameHeader::gmv
Dav1dWarpedMotionParams gmv[DAV1D_REFS_PER_FRAME]
Definition headers.h:433
Dav1dFrameHeader::refresh_context
uint8_t refresh_context
Definition headers.h:376
Dav1dFrameHeader::primary_ref_frame
uint8_t primary_ref_frame
Definition headers.h:357
Dav1dFrameHeader::allow_screen_content_tools
uint8_t allow_screen_content_tools
Definition headers.h:354
Dav1dFrameHeader::q
struct Dav1dFrameHeader::@350051253177117212013303303347137146321206343164::@112346220225005071321362211177140053257330164220 q
Dav1dFrameHeader::cols
uint8_t cols
Definition headers.h:380
Dav1dFrameHeader::segmentation
struct Dav1dFrameHeader::@345171205336055206367362365104230176352337241260 segmentation
Dav1dFrameHeader::udc_delta
int8_t udc_delta
Definition headers.h:389
Dav1dFrameHeader::multi
uint8_t multi
Definition headers.h:405
Dav1dFrameHeader::skip_mode_refs
int8_t skip_mode_refs[2]
Definition headers.h:430
Dav1dFrameHeader::show_existing_frame
uint8_t show_existing_frame
Definition headers.h:346
Dav1dFrameHeader::warp_motion
uint8_t warp_motion
Definition headers.h:431
Dav1dFrameHeader::present
uint8_t present
Definition headers.h:338
Dav1dFrameHeader::uac_delta
int8_t uac_delta
Definition headers.h:389
Dav1dFrameHeader::level_u
uint8_t level_u
Definition headers.h:411
Dav1dFrameHeader::reduced_txtp_set
uint8_t reduced_txtp_set
Definition headers.h:432
Dav1dFrameHeader::force_integer_mv
uint8_t force_integer_mv
Definition headers.h:355
Dav1dFrameHeader::error_resilient_mode
uint8_t error_resilient_mode
Definition headers.h:352
Dav1dFrameHeader::render_width
int render_width
Definition headers.h:363
Dav1dFrameHeader::frame_presentation_delay
uint32_t frame_presentation_delay
Definition headers.h:349
Dav1dFrameHeader::y_strength
uint8_t y_strength[DAV1D_MAX_CDEF_STRENGTHS]
Definition headers.h:420
Dav1dFrameHeader::quant
struct Dav1dFrameHeader::@060015070214031016072123250213265136135136067256 quant
Dav1dFrameHeader::enabled
uint8_t enabled
Definition headers.h:366
Dav1dFrameHeader::uv_strength
uint8_t uv_strength[DAV1D_MAX_CDEF_STRENGTHS]
Definition headers.h:421
Dav1dFrameHeader::damping
uint8_t damping
Definition headers.h:418
Dav1dFrameHeader::cdef
struct Dav1dFrameHeader::@316052357264126337035061054310035043050344147152 cdef
Dav1dFrameHeader::ydc_delta
int8_t ydc_delta
Definition headers.h:388
Dav1dFrameHeader::all_lossless
uint8_t all_lossless
Definition headers.h:408
Dav1dFrameHeader::frame_offset
uint8_t frame_offset
frame number
Definition headers.h:342
Dav1dITUTT35
Definition headers.h:196
Dav1dITUTT35::country_code_extension_byte
uint8_t country_code_extension_byte
Definition headers.h:198
Dav1dITUTT35::payload
uint8_t * payload
Definition headers.h:200
Dav1dITUTT35::country_code
uint8_t country_code
Definition headers.h:197
Dav1dITUTT35::payload_size
size_t payload_size
Definition headers.h:199
Dav1dLoopfilterModeRefDeltas
Definition headers.h:310
Dav1dLoopfilterModeRefDeltas::ref_delta
int8_t ref_delta[DAV1D_TOTAL_REFS_PER_FRAME]
Definition headers.h:312
Dav1dLoopfilterModeRefDeltas::mode_delta
int8_t mode_delta[2]
Definition headers.h:311
Dav1dMasteringDisplay
Definition headers.h:189
Dav1dMasteringDisplay::white_point
uint16_t white_point[2]
0.16 fixed point
Definition headers.h:191
Dav1dMasteringDisplay::max_luminance
uint32_t max_luminance
24.8 fixed point
Definition headers.h:192
Dav1dMasteringDisplay::min_luminance
uint32_t min_luminance
18.14 fixed point
Definition headers.h:193
Dav1dMasteringDisplay::primaries
uint16_t primaries[3][2]
0.16 fixed point
Definition headers.h:190
Dav1dSegmentationDataSet
Definition headers.h:304
Dav1dSegmentationDataSet::d
Dav1dSegmentationData d[DAV1D_MAX_SEGMENTS]
Definition headers.h:305
Dav1dSegmentationDataSet::preskip
uint8_t preskip
Definition headers.h:306
Dav1dSegmentationDataSet::last_active_segid
int8_t last_active_segid
Definition headers.h:307
Dav1dSegmentationData
Definition headers.h:296
Dav1dSegmentationData::delta_lf_u
int8_t delta_lf_u
Definition headers.h:298
Dav1dSegmentationData::skip
uint8_t skip
Definition headers.h:300
Dav1dSegmentationData::ref
int8_t ref
Definition headers.h:299
Dav1dSegmentationData::delta_lf_y_v
int8_t delta_lf_y_v
Definition headers.h:298
Dav1dSegmentationData::delta_lf_y_h
int8_t delta_lf_y_h
Definition headers.h:298
Dav1dSegmentationData::globalmv
uint8_t globalmv
Definition headers.h:301
Dav1dSegmentationData::delta_lf_v
int8_t delta_lf_v
Definition headers.h:298
Dav1dSegmentationData::delta_q
int16_t delta_q
Definition headers.h:297
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingParameterInfo
Definition headers.h:289
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingParameterInfo::decoder_buffer_delay
uint32_t decoder_buffer_delay
Definition headers.h:290
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingParameterInfo::encoder_buffer_delay
uint32_t encoder_buffer_delay
Definition headers.h:291
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingParameterInfo::low_delay_mode
uint8_t low_delay_mode
Definition headers.h:292
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint
Definition headers.h:236
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::tier
uint8_t tier
Definition headers.h:240
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::decoder_model_param_present
uint8_t decoder_model_param_present
Definition headers.h:241
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::initial_display_delay
uint8_t initial_display_delay
Definition headers.h:238
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::display_model_param_present
uint8_t display_model_param_present
Definition headers.h:242
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::idc
uint16_t idc
Definition headers.h:239
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::minor_level
uint8_t minor_level
Definition headers.h:237
Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint::major_level
uint8_t major_level
Definition headers.h:237
Dav1dSequenceHeader
Definition headers.h:203
Dav1dSequenceHeader::layout
enum Dav1dPixelLayout layout
format of the picture
Definition headers.h:216
Dav1dSequenceHeader::num_units_in_tick
uint32_t num_units_in_tick
Definition headers.h:248
Dav1dSequenceHeader::order_hint_n_bits
uint8_t order_hint_n_bits
Definition headers.h:274
Dav1dSequenceHeader::jnt_comp
uint8_t jnt_comp
Definition headers.h:270
Dav1dSequenceHeader::num_units_in_decoding_tick
uint32_t num_units_in_decoding_tick
Definition headers.h:254
Dav1dSequenceHeader::chr
enum Dav1dChromaSamplePosition chr
chroma sample position (av1)
Definition headers.h:220
Dav1dSequenceHeader::cdef
uint8_t cdef
Definition headers.h:276
Dav1dSequenceHeader::frame_presentation_delay_length
uint8_t frame_presentation_delay_length
Definition headers.h:256
Dav1dSequenceHeader::sb128
uint8_t sb128
Definition headers.h:262
Dav1dSequenceHeader::delta_frame_id_n_bits
uint8_t delta_frame_id_n_bits
Definition headers.h:260
Dav1dSequenceHeader::monochrome
uint8_t monochrome
Definition headers.h:278
Dav1dSequenceHeader::buffer_removal_delay_length
uint8_t buffer_removal_delay_length
Definition headers.h:255
Dav1dSequenceHeader::num_ticks_per_picture
uint32_t num_ticks_per_picture
Definition headers.h:251
Dav1dSequenceHeader::film_grain_present
uint8_t film_grain_present
Definition headers.h:281
Dav1dSequenceHeader::order_hint
uint8_t order_hint
Definition headers.h:269
Dav1dSequenceHeader::height_n_bits
uint8_t height_n_bits
Definition headers.h:258
Dav1dSequenceHeader::num_operating_points
uint8_t num_operating_points
Definition headers.h:235
Dav1dSequenceHeader::decoder_model_info_present
uint8_t decoder_model_info_present
Definition headers.h:252
Dav1dSequenceHeader::timing_info_present
uint8_t timing_info_present
Definition headers.h:247
Dav1dSequenceHeader::masked_compound
uint8_t masked_compound
Definition headers.h:266
Dav1dSequenceHeader::intra_edge_filter
uint8_t intra_edge_filter
Definition headers.h:264
Dav1dSequenceHeader::ss_hor
uint8_t ss_hor
Definition headers.h:278
Dav1dSequenceHeader::restoration
uint8_t restoration
Definition headers.h:277
Dav1dSequenceHeader::filter_intra
uint8_t filter_intra
Definition headers.h:263
Dav1dSequenceHeader::separate_uv_delta_q
uint8_t separate_uv_delta_q
Definition headers.h:280
Dav1dSequenceHeader::operating_parameter_info
struct Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingParameterInfo operating_parameter_info[DAV1D_MAX_OPERATING_POINTS]
Dav1dSequenceHeader::reduced_still_picture_header
uint8_t reduced_still_picture_header
Definition headers.h:246
Dav1dSequenceHeader::trc
enum Dav1dTransferCharacteristics trc
transfer characteristics (av1)
Definition headers.h:218
Dav1dSequenceHeader::color_range
uint8_t color_range
Definition headers.h:233
Dav1dSequenceHeader::still_picture
uint8_t still_picture
Definition headers.h:245
Dav1dSequenceHeader::operating_points
struct Dav1dSequenceHeader::Dav1dSequenceHeaderOperatingPoint operating_points[DAV1D_MAX_OPERATING_POINTS]
Dav1dSequenceHeader::encoder_decoder_buffer_delay_length
uint8_t encoder_decoder_buffer_delay_length
Definition headers.h:253
Dav1dSequenceHeader::profile
uint8_t profile
Definition headers.h:209
Dav1dSequenceHeader::ref_frame_mvs
uint8_t ref_frame_mvs
Definition headers.h:271
Dav1dSequenceHeader::super_res
uint8_t super_res
Definition headers.h:275
Dav1dSequenceHeader::width_n_bits
uint8_t width_n_bits
Definition headers.h:258
Dav1dSequenceHeader::equal_picture_interval
uint8_t equal_picture_interval
Definition headers.h:250
Dav1dSequenceHeader::force_integer_mv
enum Dav1dAdaptiveBoolean force_integer_mv
Definition headers.h:273
Dav1dSequenceHeader::max_width
int max_width
Definition headers.h:215
Dav1dSequenceHeader::pri
enum Dav1dColorPrimaries pri
color primaries (av1)
Definition headers.h:217
Dav1dSequenceHeader::frame_id_n_bits
uint8_t frame_id_n_bits
Definition headers.h:261
Dav1dSequenceHeader::color_description_present
uint8_t color_description_present
Definition headers.h:279
Dav1dSequenceHeader::ss_ver
uint8_t ss_ver
Definition headers.h:278
Dav1dSequenceHeader::time_scale
uint32_t time_scale
Definition headers.h:249
Dav1dSequenceHeader::display_model_info_present
uint8_t display_model_info_present
Definition headers.h:257
Dav1dSequenceHeader::dual_filter
uint8_t dual_filter
Definition headers.h:268
Dav1dSequenceHeader::screen_content_tools
enum Dav1dAdaptiveBoolean screen_content_tools
Definition headers.h:272
Dav1dSequenceHeader::mtrx
enum Dav1dMatrixCoefficients mtrx
matrix coefficients (av1)
Definition headers.h:219
Dav1dSequenceHeader::inter_intra
uint8_t inter_intra
Definition headers.h:265
Dav1dSequenceHeader::hbd
uint8_t hbd
Definition headers.h:228
Dav1dSequenceHeader::frame_id_numbers_present
uint8_t frame_id_numbers_present
Definition headers.h:259
Dav1dSequenceHeader::max_height
int max_height
Definition headers.h:215
Dav1dSequenceHeader::warped_motion
uint8_t warped_motion
Definition headers.h:267
Dav1dWarpedMotionParams
Definition headers.h:97
Dav1dWarpedMotionParams::abcd
int16_t abcd[4]
Definition headers.h:104
Dav1dWarpedMotionParams::matrix
int32_t matrix[6]
Definition headers.h:99
Dav1dWarpedMotionParams::delta
int16_t delta
Definition headers.h:102
Dav1dWarpedMotionParams::alpha
int16_t alpha
Definition headers.h:102
Dav1dWarpedMotionParams::u
union Dav1dWarpedMotionParams::@102154053227304251172250104222241355370370163041 u
Dav1dWarpedMotionParams::gamma
int16_t gamma
Definition headers.h:102
Dav1dWarpedMotionParams::type
enum Dav1dWarpedMotionType type
Definition headers.h:98
Dav1dWarpedMotionParams::beta
int16_t beta
Definition headers.h:102
Dav1dWarpedMotionParams::p
struct Dav1dWarpedMotionParams::@102154053227304251172250104222241355370370163041::@245055064363376032216060043102111301053003132201 p