#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "luvcview/color.h"
Go to the source code of this file.
Defines |
#define | Bcoef 114 |
#define | CoefBu 1772 |
#define | CoefGu 714 |
#define | CoefGv 344 |
#define | CoefRv 1402 |
#define | Gcoef 587 |
#define | Rcoef 299 |
#define | Ubcoef 560 |
#define | Vrcoef 711 |
Functions |
unsigned char | B_FROMYU (unsigned char y, unsigned char u) |
void | freeLut (void) |
unsigned char | G_FROMYUV (unsigned char y, unsigned char u, unsigned char v) |
void | initLut (void) |
unsigned char | R_FROMYV (unsigned char y, unsigned char v) |
unsigned char | RGB24_TO_Y (unsigned char r, unsigned char g, unsigned char b) |
unsigned char | YB_TO_U (unsigned char b, unsigned char y) |
unsigned char | YR_TO_V (unsigned char r, unsigned char y) |
Variables |
static int * | LutBu = NULL |
static int * | LutGu = NULL |
static int * | LutGv = NULL |
static int * | LutRv = NULL |
static int * | LutUb = NULL |
static int * | LutUbY = NULL |
static int * | LutVr = NULL |
static int * | LutVrY = NULL |
static int * | LutYb = NULL |
static int * | LutYg = NULL |
static int * | LutYr = NULL |
Define Documentation
Function Documentation
unsigned char B_FROMYU |
( |
unsigned char |
y, |
|
|
unsigned char |
u |
|
) |
| |
unsigned char G_FROMYUV |
( |
unsigned char |
y, |
|
|
unsigned char |
u, |
|
|
unsigned char |
v |
|
) |
| |
unsigned char R_FROMYV |
( |
unsigned char |
y, |
|
|
unsigned char |
v |
|
) |
| |
unsigned char RGB24_TO_Y |
( |
unsigned char |
r, |
|
|
unsigned char |
g, |
|
|
unsigned char |
b |
|
) |
| |
unsigned char YB_TO_U |
( |
unsigned char |
b, |
|
|
unsigned char |
y |
|
) |
| |
unsigned char YR_TO_V |
( |
unsigned char |
r, |
|
|
unsigned char |
y |
|
) |
| |
Variable Documentation
int* LutBu = NULL [static] |
int* LutGu = NULL [static] |
int* LutGv = NULL [static] |
int* LutRv = NULL [static] |
int* LutUb = NULL [static] |
int* LutVr = NULL [static] |
int* LutYb = NULL [static] |
int* LutYg = NULL [static] |
int* LutYr = NULL [static] |