Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <linux/videodev2.h>
Go to the source code of this file.
Macros | |
#define | YCBCR_ENC_601 1 |
#define | YCBCR_ENC_709 2 |
#define | YCBCR_ENC_SYCC 5 |
#define | YCBCR_ENC_SMPTE240M 8 |
#define | QUANTIZATION_FULL_RANGE 1 |
#define | QUANTIZATION_LIM_RANGE 2 |
Functions | |
void | initColorSpace () |
const char * | getColorSpaceName (struct v4l2_format *fmt) |
unsigned int | getYCbCrEncoding (struct v4l2_format *fmt) |
const char * | getYCbCrEncodingName (struct v4l2_format *fmt) |
unsigned int | getQuantization (struct v4l2_format *fmt) |
const char * | getQuantizationName (struct v4l2_format *fmt) |
void | rangeY8 (unsigned char *buf, unsigned int len) |
void | linearize (float *buf, unsigned int len, struct v4l2_format *fmt) |
#define QUANTIZATION_FULL_RANGE 1 |
Definition at line 18 of file v4l2_colorspace.h.
#define QUANTIZATION_LIM_RANGE 2 |
Definition at line 19 of file v4l2_colorspace.h.
#define YCBCR_ENC_601 1 |
Definition at line 11 of file v4l2_colorspace.h.
#define YCBCR_ENC_709 2 |
Definition at line 13 of file v4l2_colorspace.h.
#define YCBCR_ENC_SMPTE240M 8 |
Definition at line 17 of file v4l2_colorspace.h.
#define YCBCR_ENC_SYCC 5 |
Definition at line 15 of file v4l2_colorspace.h.
const char* getColorSpaceName | ( | struct v4l2_format * | fmt | ) |
Definition at line 81 of file v4l2_colorspace.c.
unsigned int getQuantization | ( | struct v4l2_format * | fmt | ) |
Definition at line 156 of file v4l2_colorspace.c.
const char* getQuantizationName | ( | struct v4l2_format * | fmt | ) |
Definition at line 179 of file v4l2_colorspace.c.
unsigned int getYCbCrEncoding | ( | struct v4l2_format * | fmt | ) |
Definition at line 112 of file v4l2_colorspace.c.
const char* getYCbCrEncodingName | ( | struct v4l2_format * | fmt | ) |
Definition at line 139 of file v4l2_colorspace.c.
void initColorSpace | ( | ) |
Definition at line 15 of file v4l2_colorspace.c.
void linearize | ( | float * | buf, |
unsigned int | len, | ||
struct v4l2_format * | fmt | ||
) |
Definition at line 39 of file v4l2_colorspace.c.
void rangeY8 | ( | unsigned char * | buf, |
unsigned int | len | ||
) |
Definition at line 28 of file v4l2_colorspace.c.