Go to the documentation of this file.
21 #ifndef AVUTIL_RAW_COLOR_PARAMS_H
22 #define AVUTIL_RAW_COLOR_PARAMS_H
@ AV_RAW_COLOR_PARAMS_NONE
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...
uint32_t wb_cct
Color temperature in Kelvin from with the camera's white balance.
This structure describes decoded (raw) audio or video data.
AVProResRawColorParams prores_raw
AVRawColorParams * av_raw_color_params_alloc(size_t *size)
Allocate an AVRawColorParams structure and zero-initialize it.
Rational number (pair of numerator and denominator).
ProRes RAW per-frame color transform, parsed from the prrf frame header.
Per-frame color information for a RAW camera codec.
AVRational color_matrix[3][3]
3x3 row-major color matrix from camera RGB to linear-light CIE 1931 XYZ relative to the D65 illuminan...
enum AVRawColorParamsType type
Selects which member of codec is valid.
AVRational wb_blue
White balance multiplier for the blue channel, applied pre-debayer.
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return or at least make progress towards producing a frame
AVRational black_level
Lowest valid raw sample code (sensor black point)
union AVRawColorParams::@548 codec
Additional codec-specific fields.
AVRational wb_red
White balance multiplier for the red channel, applied pre-debayer.
AVRational white_level
Highest valid raw sample code (sensor white point)
AVRational gain
Post-matrix scene-linear scaling factor.
@ AV_RAW_COLOR_PARAMS_PRORES_RAW
The union is valid when interpreted as AVProResRawColorParams (codec.prores_raw).