Home
last modified time | relevance | path

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

/external/opencv3/modules/imgcodecs/src/
Dutils.cpp55 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGR2Gray_8u_C3C1R() local
60 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGR2Gray_8u_C3C1R()
74 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2Gray_16u_CnC1R() local
79 int t = descale( rgb[swap_rb]*cB + rgb[1]*cG + rgb[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_16u_CnC1R()
93 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2Gray_8u_C4C1R() local
98 int t = descale( rgba[swap_rb]*cB + rgba[1]*cG + rgba[swap_rb^2]*cR, SCALE ); in icvCvt_BGRA2Gray_8u_C4C1R()
142 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2BGR_8u_C4C3R() local
147 uchar t0 = bgra[swap_rb], t1 = bgra[1]; in icvCvt_BGRA2BGR_8u_C4C3R()
149 t0 = bgra[swap_rb^2]; bgr[2] = t0; in icvCvt_BGRA2BGR_8u_C4C3R()
162 int swap_rb = _swap_rb ? 2 : 0; in icvCvt_BGRA2BGR_16u_C4C3R() local
[all …]
Dutils.hpp60 CvSize size, int swap_rb=0 );
63 CvSize size, int swap_rb=0 );
66 CvSize size, int ncn, int swap_rb=0 );
75 CvSize size, int swap_rb=0 );
/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.c1087 int step, int swap_rb, int import_alpha) { in Import() argument
1089 const uint8_t* const r_ptr = rgb + (swap_rb ? 2 : 0); in Import()
1091 const uint8_t* const b_ptr = rgb + (swap_rb ? 0 : 2); in Import()
/external/opencv3/3rdparty/libwebp/enc/
Dpicture.c676 int step, int swap_rb, int import_alpha) { in Import() argument
677 const uint8_t* const r_ptr = rgb + (swap_rb ? 2 : 0); in Import()
679 const uint8_t* const b_ptr = rgb + (swap_rb ? 0 : 2); in Import()