Home
last modified time | relevance | path

Searched refs:blueIdx (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dcolor_detail.hpp1538 template <bool srgb, int blueIdx, typename T, typename D>
1544 int B = blueIdx == 0 ? src.x : src.z; in RGB2LabConvert_b()
1546 int R = blueIdx == 0 ? src.z : src.x; in RGB2LabConvert_b()
1584 template <bool srgb, int blueIdx, typename T, typename D>
1590 float B = blueIdx == 0 ? src.x : src.z; in RGB2LabConvert_f()
1592 float R = blueIdx == 0 ? src.z : src.x; in RGB2LabConvert_f()
1618 template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab;
1619 template <int scn, int dcn, bool srgb, int blueIdx>
1620 struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx>
1627 RGB2LabConvert_b<srgb, blueIdx>(src, dst); in operator ()()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp956 template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab;
958 … template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab<uchar, scn, dcn, srgb, blueIdx>
966 int B = blueIdx == 0 ? src.x : src.z; in operator ()()
968 int R = blueIdx == 0 ? src.z : src.x; in operator ()()
1001 … template <int scn, int dcn, bool srgb, int blueIdx> struct RGB2Lab<float, scn, dcn, srgb, blueIdx>
1009 float B = blueIdx == 0 ? src.x : src.z; in operator ()()
1011 float R = blueIdx == 0 ? src.z : src.x; in operator ()()
1046 template <typename T, int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB;
1048 … template <int scn, int dcn, bool srgb, int blueIdx> struct Lab2RGB<float, scn, dcn, srgb, blueIdx>
1095 dst.x = blueIdx == 0 ? B : R; in operator ()()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dcolor_cvt.hpp317 #define CV_CUDEV_RGB2Lab_INST(name, scn, dcn, sRGB, blueIdx) \ argument
318 …h> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Lab<SrcDepth, scn, dcn, sRGB, blueIdx> \
344 #define CV_CUDEV_Lab2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ argument
345 …h> struct name ## _func : cv::cudev::color_cvt_detail::Lab2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \
371 #define CV_CUDEV_RGB2Luv_INST(name, scn, dcn, sRGB, blueIdx) \ argument
372 …h> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Luv<SrcDepth, scn, dcn, sRGB, blueIdx> \
398 #define CV_CUDEV_Luv2RGB_INST(name, scn, dcn, sRGB, blueIdx) \ argument
399 …h> struct name ## _func : cv::cudev::color_cvt_detail::Luv2RGB<SrcDepth, scn, dcn, sRGB, blueIdx> \
/external/opencv3/modules/imgproc/src/
Dcolor.cpp551 … RGB2RGB(int _srccn, int _dstcn, int _blueIdx) : srccn(_srccn), dstcn(_dstcn), blueIdx(_blueIdx) {} in RGB2RGB()
554 int scn = srccn, dcn = dstcn, bidx = blueIdx; in operator ()()
585 int srccn, dstcn, blueIdx; member
595 srccn(_srccn), dstcn(_dstcn), blueIdx(_blueIdx) in RGB2RGB()
603 int scn = srccn, dcn = dstcn, bidx = blueIdx, i = 0; in operator ()()
717 int srccn, dstcn, blueIdx; member
732 : dstcn(_dstcn), blueIdx(_blueIdx), greenBits(_greenBits) in RGB5x52RGB()
745 int dcn = dstcn, bidx = blueIdx, i = 0; in operator ()()
829 int dstcn, blueIdx, greenBits; member
842 : srccn(_srccn), blueIdx(_blueIdx), greenBits(_greenBits) in RGB2RGB5x5()
[all …]
Ddemosaicing.cpp921 int blueIdx = code == CV_BayerBG2BGR_VNG || code == CV_BayerGB2BGR_VNG ? 0 : 2; in Bayer2RGB_VNG_8u() local
1196 dstrow[blueIdx] = cv::saturate_cast<uchar>(B); in Bayer2RGB_VNG_8u()
1198 dstrow[blueIdx^2] = cv::saturate_cast<uchar>(R); in Bayer2RGB_VNG_8u()
1430 _mm_storel_epi64(blueIdx ? (__m128i*)B : (__m128i*)R, _mm_packus_epi16(x1, z)); in Bayer2RGB_VNG_8u()
1432 _mm_storel_epi64(blueIdx ? (__m128i*)R : (__m128i*)B, _mm_packus_epi16(t1, z)); in Bayer2RGB_VNG_8u()
1452 blueIdx ^= 2; in Bayer2RGB_VNG_8u()