44 memset(side_data->
data, 0, side_data->
size);
AVFrameSideData * av_frame_new_side_data(AVFrame *frame, enum AVFrameSideDataType type, size_t size)
Add a new side data to a frame.
@ AV_FRAME_DATA_RAW_COLOR_PARAMS
Color information from a RAW camera codecs, needed to correctly process the video data.
Memory handling functions.
AVRawColorParams * av_raw_color_params_create_side_data(AVFrame *frame)
Allocate and add an AVRawColorParams structure to an existing AVFrame as AV_FRAME_DATA_RAW_COLOR_PARA...
AVRawColorParams * av_raw_color_params_alloc(size_t *size)
Allocate an AVRawColorParams structure and zero-initialize it.
Structure to hold side data for an AVFrame.
This structure describes decoded (raw) audio or video data.
Per-frame color information for a RAW camera codec.