50 *size =
sizeof(*metadata);
This structure describes decoded (raw) audio or video data.
Memory handling functions.
Content light level (based on CTA-861.3).
Mastering display metadata associated with a video frame.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
Structure to hold side data for an AVFrame.
Content light level needed by to transmit HDR over HDMI (CTA-861.3).
AVFrameSideData * av_frame_new_side_data(AVFrame *frame, enum AVFrameSideDataType type, int size)
Add a new side data to a frame.