Functions | |
FLGR_Ret | flgr1d_color_convert_RGB_YUV (FLGR_Data1D *datdest, FLGR_Data1D *datsrc) |
FLGR_Ret | flgr1d_color_convert_YUV_RGB (FLGR_Data1D *datdest, FLGR_Data1D *datsrc) |
FLGR_Ret | flgr2d_color_convert_RGB_YUV (FLGR_Data2D *datdest, FLGR_Data2D *datsrc) |
FLGR_Ret | flgr2d_color_convert_YUV_RGB (FLGR_Data2D *datdest, FLGR_Data2D *datsrc) |
FLGR_Ret flgr1d_color_convert_RGB_YUV | ( | FLGR_Data1D * | datdest, | |
FLGR_Data1D * | datsrc | |||
) |
Convert YUV channels to RGB channels
RGB sample must be stored in memory : R0 G0 B0 R1 G2 B2 R3 G3 ... YUV sample will be stored in memory : Y0 U0 V0 Y1 U2 V2 Y3 U3 ...
Conversion matrix used for unsigned 8 bits :
Conversion matrix used for all others types :
R,G,B,Y in [-2^31 ; 2^31-1]
datdest | : pointer to a FLGR_Data1D | |
datsrc | : pointer to a FLGR_Data1D |
Definition at line 500 of file flgrImageColorSpace.c.
FLGR_Ret flgr1d_color_convert_YUV_RGB | ( | FLGR_Data1D * | datdest, | |
FLGR_Data1D * | datsrc | |||
) |
Convert RGB channels to YUV channels
RGB sample must be stored in memory : R0 G0 B0 R1 G2 B2 R3 G3 ... YUV sample will be stored in memory : Y0 U0 V0 Y1 U2 V2 Y3 U3 ...
Conversion matrix used for unsigned 8 bits :
Conversion matrix used for all others types :
V in [-2^31 ; 2^31-1]
datdest | : destination YUV image (spp=3) | |
datsrc | : source RGB image (spp=3) |
Definition at line 255 of file flgrImageColorSpace.c.
FLGR_Ret flgr2d_color_convert_RGB_YUV | ( | FLGR_Data2D * | datdest, | |
FLGR_Data2D * | datsrc | |||
) |
Convert YUV channels to RGB channels
datdest | ||
datsrc |
Definition at line 657 of file flgrImageColorSpace.c.
FLGR_Ret flgr2d_color_convert_YUV_RGB | ( | FLGR_Data2D * | datdest, | |
FLGR_Data2D * | datsrc | |||
) |
Convert RGB channels to YUV channels
datdest | ||
datsrc |
Definition at line 573 of file flgrImageColorSpace.c.