31 const size_t entries_offset = offsetof(
struct TestStruct,
b);
32 size_t size = entries_offset;
AV3DReferenceDisplaysInfo * av_tdrdi_alloc(unsigned int nb_displays, size_t *out_size)
Allocate a AV3DReferenceDisplaysInfo structure and initialize its fields to default values.
Memory handling functions.
Data structure for single deference display information.
This structure describes information about the reference display width(s) and reference viewing dista...
size_t entry_size
Size of each entry in bytes.
uint8_t num_ref_displays
The number of reference displays that are signalled in this struct.
size_t entries_offset
Offset in bytes from the beginning of this structure at which the array of reference displays starts.