Home
last modified time | relevance | path

Searched refs:swap_rb (Results 1 – 4 of 4) sorted by relevance

/external/opencv/otherlibs/highgui/
Dutils.cpp88 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGR2Gray_8u_C3C1R() local
93 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
107 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGR2Gray_16u_C3C1R() local
112 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_16u_C3C1R()
126 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2Gray_8u_C4C1R() local
131 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_8u_C4C1R()
160 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2BGR_8u_C4C3R() local
165 uchar t0 = bgra[swap_rb], t1 = bgra[1]; in icvCvt_BGRA2BGR_8u_C4C3R()
167 t0 = bgra[swap_rb^2]; bgr[2] = t0; in icvCvt_BGRA2BGR_8u_C4C3R()
581 int src_cn, dst_cn, swap_rb = flags & CV_CVTIMG_SWAP_RB; in cvConvertImage() local
[all …]
Dutils.h60 CvSize size, int swap_rb=0 );
63 CvSize size, int swap_rb=0 );
66 CvSize size, int swap_rb=0 );
71 CvSize size, int swap_rb=0 );
/external/webp/src/enc/
Dpicture_csp.c335 int step, int swap_rb, int import_alpha) { in Import() argument
337 const uint8_t* const r_ptr = rgb + (swap_rb ? 2 : 0); in Import()
339 const uint8_t* const b_ptr = rgb + (swap_rb ? 0 : 2); in Import()
/external/chromium_org/third_party/libwebp/enc/
Dpicture_csp.c335 int step, int swap_rb, int import_alpha) { in Import() argument
337 const uint8_t* const r_ptr = rgb + (swap_rb ? 2 : 0); in Import()
339 const uint8_t* const b_ptr = rgb + (swap_rb ? 0 : 2); in Import()