Go to the documentation of this file.
25 #ifndef AVUTIL_TDRDI_H
26 #define AVUTIL_TDRDI_H
43 #define AV_TDRDI_MAX_NUM_REF_DISPLAY 32
int16_t num_sample_shift
The recommended additional horizontal shift for a stereo pair corresponding to the n-th reference bas...
uint8_t prec_ref_viewing_dist
The exponent of the maximum allowable truncation error for {exponent,mantissa}_ref_viewing_distance a...
static av_always_inline AV3DReferenceDisplay * av_tdrdi_get_display(AV3DReferenceDisplaysInfo *tdrdi, unsigned int idx)
Data structure for single deference display information.
size_t entries_offset
Offset in bytes from the beginning of this structure at which the array of reference displays starts.
This structure describes information about the reference display width(s) and reference viewing dista...
#define av_assert0(cond)
assert() equivalent, that is always enabled.
uint8_t ref_viewing_distance_flag
A flag to indicate the presence of reference viewing distance.
uint8_t exponent_ref_display_width
The exponent part of the reference display width of the n-th reference display.
uint8_t prec_ref_display_width
The exponent of the maximum allowable truncation error for {exponent,mantissa}_ref_display_width as g...
uint16_t right_view_id
The ViewId of the left view of a stereo pair corresponding to the n-th reference display.
uint8_t mantissa_ref_display_width
The mantissa part of the reference display width of the n-th reference display.
uint8_t mantissa_ref_viewing_distance
The mantissa part of the reference viewing distance of the n-th reference display.
uint8_t additional_shift_present_flag
An array of flags to indicates that the information about additional horizontal shift of the left and...
AV3DReferenceDisplaysInfo * av_tdrdi_alloc(unsigned int nb_displays, size_t *size)
Allocate a AV3DReferenceDisplaysInfo structure and initialize its fields to default values.
uint8_t num_ref_displays
The number of reference displays that are signalled in this struct.
uint8_t exponent_ref_viewing_distance
Tthe exponent part of the reference viewing distance of the n-th reference display.
size_t entry_size
Size of each entry in bytes.
uint16_t left_view_id
The ViewId of the left view of a stereo pair corresponding to the n-th reference display.