RTEMS 6.1-rc4
|
PXP CSC2 configuration. More...
#include <fsl_pxp.h>
Data Fields | |
pxp_csc2_mode_t | mode |
float | A1 |
float | A2 |
float | A3 |
float | B1 |
float | B2 |
float | B3 |
float | C1 |
float | C2 |
float | C3 |
int16_t | D1 |
int16_t | D2 |
int16_t | D3 |
PXP CSC2 configuration.
Converting from YUV/YCbCr color spaces to the RGB color space uses the following equation structure:
R = A1(Y+D1) + A2(U+D2) + A3(V+D3) G = B1(Y+D1) + B2(U+D2) + B3(V+D3) B = C1(Y+D1) + C2(U+D2) + C3(V+D3)
Converting from the RGB color space to YUV/YCbCr color spaces uses the following equation structure:
Y = A1*R + A2*G + A3*B + D1 U = B1*R + B2*G + B3*B + D2 V = C1*R + C2*G + C3*B + D3