Home
last modified time | relevance | path

Searched refs:bidx (Results 1 – 12 of 12) sorted by relevance

/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dcolor_detail.hpp110 template <typename T, int scn, int dcn, int bidx> struct RGB2RGB
117 dst.x = (&src.x)[bidx]; in operator ()()
119 dst.z = (&src.x)[bidx^2]; in operator ()()
148 #define OPENCV_CUDA_IMPLEMENT_RGB2RGB_TRAITS(name, scn, dcn, bidx) \ argument
151 typedef ::cv::cuda::device::color_detail::RGB2RGB<T, scn, dcn, bidx> functor_type; \
162 template <int green_bits, int bidx> struct RGB2RGB5x5Converter;
163 template<int bidx> struct RGB2RGB5x5Converter<6, bidx>
167 … return (ushort)(((&src.x)[bidx] >> 3) | ((src.y & ~3) << 3) | (((&src.x)[bidx^2] & ~7) << 8)); in cvt()
172 uint b = 0xffu & (src >> (bidx * 8)); in cvt()
174 uint r = 0xffu & (src >> ((bidx ^ 2) * 8)); in cvt()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dcolor_cvt.hpp59 #define CV_CUDEV_RGB2RGB_INST(name, scn, dcn, bidx) \ argument
60 …e SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2RGB<SrcDepth, scn, dcn, bidx> \
75 #define CV_CUDEV_RGB2GRAY_INST(name, scn, bidx) \ argument
76 …ename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2Gray<SrcDepth, scn, bidx> \
101 #define CV_CUDEV_RGB2YUV_INST(name, scn, dcn, bidx) \ argument
102 …e SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YUV<SrcDepth, scn, dcn, bidx> \
119 #define CV_CUDEV_YUV2RGB_INST(name, scn, dcn, bidx) \ argument
120 …e SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::YUV2RGB<SrcDepth, scn, dcn, bidx> \
137 #define CV_CUDEV_RGB2YCrCb_INST(name, scn, dcn, bidx) \ argument
138 …SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::RGB2YCrCb<SrcDepth, scn, dcn, bidx> \
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp106 template <typename T, int scn, int dcn, int bidx> struct RGB2RGB
113 dst.x = bidx == 0 ? src.x : src.z; in operator ()()
115 dst.z = bidx == 0 ? src.z : src.x; in operator ()()
124 template <int scn, int bidx, int green_bits> struct RGB2RGB5x5;
126 template <int scn, int bidx> struct RGB2RGB5x5<scn, bidx, 6>
131 const int b = bidx == 0 ? src.x : src.z; in operator ()()
133 const int r = bidx == 0 ? src.z : src.x; in operator ()()
138 template <int bidx> struct RGB2RGB5x5<3, bidx, 5>
143 const int b = bidx == 0 ? src.x : src.z; in operator ()()
145 const int r = bidx == 0 ? src.z : src.x; in operator ()()
[all …]
/external/opencv3/modules/imgproc/src/
Dcolor.cpp554 int scn = srccn, dcn = dstcn, bidx = blueIdx; in operator ()() local
560 _Tp t0 = src[bidx], t1 = src[1], t2 = src[bidx ^ 2]; in operator ()()
571 dst[bidx] = t0; dst[1] = t1; dst[bidx^2] = t2; dst[3] = alpha; in operator ()()
603 int scn = srccn, dcn = dstcn, bidx = blueIdx, i = 0; in operator ()() local
612 v_dst.val[0] = v_src.val[bidx]; in operator ()()
614 v_dst.val[2] = v_src.val[bidx ^ 2]; in operator ()()
620 v_dst.val[0] = v_src.val[bidx]; in operator ()()
622 v_dst.val[2] = v_src.val[bidx ^ 2]; in operator ()()
627 uchar t0 = src[bidx], t1 = src[1], t2 = src[bidx ^ 2]; in operator ()()
637 v_dst.val[0] = v_src.val[bidx]; in operator ()()
[all …]
/external/jemalloc/src/
Dandroid_je_mallinfo.c82 struct mallinfo __mallinfo_bin_info(size_t aidx, size_t bidx) { in __mallinfo_bin_info() argument
87 if (aidx < narenas_auto && bidx < NBINS) { in __mallinfo_bin_info()
89 arena_bin_t* bin = &arenas[aidx]->bins[bidx]; in __mallinfo_bin_info()
92 mi.ordblks = arena_bin_info[bidx].reg_size * bin->stats.curregs; in __mallinfo_bin_info()
/external/f2fs-tools/fsck/
Ddump.c325 unsigned int bidx = 0; in dump_data_offset() local
341 bidx = node_ofs - 1; in dump_data_offset()
344 bidx = node_ofs - 2 - dec; in dump_data_offset()
347 bidx = node_ofs - 5 - dec; in dump_data_offset()
349 bidx = bidx * ADDRS_PER_BLOCK + ADDRS_PER_INODE(&node_blk->i); in dump_data_offset()
351 bidx += ofs_in_node; in dump_data_offset()
355 bidx, bidx * 4096); in dump_data_offset()
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl98 #if bidx == 0
102 #elif bidx == 2
106 #elif bidx == 3
107 // The only kernel that uses bidx == 3 doesn't use these macros.
291 dst[bidx] = SAT_CAST( b );
293 dst[bidx^2] = SAT_CAST( r );
340 dst1[2 - bidx] = convert_uchar_sat(Y1 + ruv);
342 dst1[bidx] = convert_uchar_sat(Y1 + buv);
348 dst1[dcn + 2 - bidx] = convert_uchar_sat(Y2 + ruv);
350 dst1[dcn + bidx] = convert_uchar_sat(Y2 + buv);
[all …]
/external/opencv3/apps/traincascade/
DHOGfeatures.cpp207 int bidx = cvFloor(angle); in integralHistogram() local
208 angle -= bidx; in integralHistogram()
209 if( bidx < 0 ) in integralHistogram()
210 bidx += nbins; in integralHistogram()
211 else if( bidx >= nbins ) in integralHistogram()
212 bidx -= nbins; in integralHistogram()
214 qanglePtr[x] = (uchar)bidx; in integralHistogram()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
DbtMultiBody.h632 for(int bidx = 0; bidx < m_links.size(); ++bidx) in updateLinksDofOffsets() local
634 m_links[bidx].m_dofOffset = dofOffset; m_links[bidx].m_cfgOffset = cfgOffset; in updateLinksDofOffsets()
635 dofOffset += m_links[bidx].m_dofCount; cfgOffset += m_links[bidx].m_posVarCount; in updateLinksDofOffsets()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp260 std::string::size_type bidx, eidx; in ParseConstraints() local
262 bidx = CStr.find_first_not_of(delims); in ParseConstraints()
263 while (bidx != std::string::npos) { in ParseConstraints()
264 eidx = CStr.find_first_of(delims, bidx); in ParseConstraints()
268 ParseConstraint(CStr.substr(bidx, eidx - bidx), Ops); in ParseConstraints()
269 bidx = CStr.find_first_not_of(delims, eidx); in ParseConstraints()
/external/opencv3/modules/python/src2/
Dhdr_parser.py352 bidx = aname.find('[')
353 atype += aname[bidx:]
354 aname = aname[:bidx]
/external/llvm/test/CodeGen/X86/
Dblock-placement.ll283 %bidx = load i32, i32* %arrayidx
289 %scaled_idx = mul i32 %bidx, %iv