4 #include <linux/videodev2.h>
11 #define YCBCR_ENC_601 1
13 #define YCBCR_ENC_709 2
15 #define YCBCR_ENC_SYCC 5
17 #define YCBCR_ENC_SMPTE240M 8
18 #define QUANTIZATION_FULL_RANGE 1
19 #define QUANTIZATION_LIM_RANGE 2
28 void rangeY8(
unsigned char *buf,
unsigned int len);
29 void linearize(
float *buf,
unsigned int len,
struct v4l2_format *fmt);
const char * getYCbCrEncodingName(struct v4l2_format *fmt)
void rangeY8(unsigned char *buf, unsigned int len)
unsigned int getQuantization(struct v4l2_format *fmt)
const char * getQuantizationName(struct v4l2_format *fmt)
void linearize(float *buf, unsigned int len, struct v4l2_format *fmt)
unsigned int getYCbCrEncoding(struct v4l2_format *fmt)
const char * getColorSpaceName(struct v4l2_format *fmt)