| /external/opencv3/modules/cudev/test/ |
| transpose.cu | 57 GpuMat_<uchar> d_src(src); 59 GpuMat_<uchar> dst = transpose_(d_src);
|
| test_deriv.cu | 57 GpuMat_<uchar> d_src(src); 58 Texture<uchar> tex_src(d_src); 77 GpuMat_<uchar> d_src(src); 78 Texture<uchar> tex_src(d_src); 97 GpuMat_<uchar> d_src(src); 98 Texture<uchar> tex_src(d_src);
|
| /external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
| exposure_compensate.hpp | 74 const std::vector<std::pair<UMat,uchar> > &masks) = 0; 91 const std::vector<std::pair<UMat,uchar> > &/*masks*/) { } 102 const std::vector<std::pair<UMat,uchar> > &masks); 119 const std::vector<std::pair<UMat,uchar> > &masks);
|
| /external/opencv/otherlibs/highgui/ |
| grfmt_imageio.cpp | 125 bool GrFmtImageIOReader::ReadData( uchar* data, int step, int color ) 138 uchar* bitmap = NULL; 158 bitmap = (uchar*)malloc( bpp * m_height * m_width ); 184 uchar* bitdata = (uchar*)CGBitmapContextGetData( context ); 197 uchar * base = data; 201 uchar * line = base + y * step; 275 bool GrFmtImageIOWriter::WriteImage( const uchar* data, int step, 287 uchar* bitmapData = NULL; 296 bitmapData = (uchar*)malloc( bpp * height * width ) [all...] |
| grfmt_tiff.h | 100 bool ReadData( uchar* data, int step, int color ); 120 bool ReadData( uchar* data, int step, int color ); 154 bool WriteImage( const uchar* data, int step,
|
| grfmt_pxm.cpp | 196 bool GrFmtPxMReader::ReadData( uchar* data, int step, int color ) 199 uchar buffer[buffer_size]; 200 uchar pal_buffer[buffer_size]; 203 uchar* src = buffer; 204 uchar* gray_palette = pal_buffer; 214 src = new uchar[width3*m_bit_depth/8 + 32]; 220 gray_palette = new uchar[m_maxval + 1]; 224 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); 290 uchar v = src[x * 2]; 302 src[x] = (uchar)(v >> 8) [all...] |
| /external/opencv3/modules/cudev/include/opencv2/cudev/util/ |
| limits.hpp | 74 template <> struct numeric_limits<uchar> 76 __device__ __forceinline__ static uchar min() { return 0; } 77 __device__ __forceinline__ static uchar max() { return UCHAR_MAX; }
|
| /external/opencv3/samples/cpp/ |
| openni_capture.cpp | 47 uchar d = gray.at<uchar>(y,x); 48 unsigned int H = ((uchar)maxDisp - d) * 240 / (uchar)maxDisp; 71 uchar b = (uchar)(std::max(0.f, std::min (res.x, 1.f)) * 255.f); 72 uchar g = (uchar)(std::max(0.f, std::min (res.y, 1.f)) * 255.f); 73 uchar r = (uchar)(std::max(0.f, std::min (res.z, 1.f)) * 255.f) [all...] |
| /external/opencv3/modules/cudaarithm/src/cuda/ |
| sum.cu | 73 gridCalcSum(src, dst, globPtr<uchar>(mask), stream); 88 gridCalcSum(abs_(cvt_<res_type>(src)), dst, globPtr<uchar>(mask), stream); 103 gridCalcSum(sqr_(cvt_<res_type>(src)), dst, globPtr<uchar>(mask), stream); 112 {sumImpl<uchar , double, 1>, sumImpl<uchar , double, 2>, sumImpl<uchar , double, 3>, sumImpl<uchar , double, 4>}, 157 {sumAbsImpl<uchar , double, 1>, sumAbsImpl<uchar , double, 2>, sumAbsImpl<uchar , double, 3>, sumAbsImpl<uchar , double, 4>} [all...] |
| add_mat.cu | 71 gridTransformBinary(globPtr<T>(src1), globPtr<T>(src2), globPtr<D>(dst), AddOp1<T, D>(), globPtr<uchar>(mask), stream); 121 addMat_v1<uchar, uchar>, 122 addMat_v1<uchar, schar>, 123 addMat_v1<uchar, ushort>, 124 addMat_v1<uchar, short>, 125 addMat_v1<uchar, int>, 126 addMat_v1<uchar, float>, 127 addMat_v1<uchar, double> 130 addMat_v1<schar, uchar>, [all...] |
| reduce.cu | 148 reduceToRowImpl<uchar, int, uchar>, 149 0 /*reduceToRowImpl<uchar, int, schar>*/, 150 0 /*reduceToRowImpl<uchar, int, ushort>*/, 151 0 /*reduceToRowImpl<uchar, int, short>*/, 152 reduceToRowImpl<uchar, int, int>, 153 reduceToRowImpl<uchar, float, float>, 154 reduceToRowImpl<uchar, double, double> 157 0 /*reduceToRowImpl<schar, int, uchar>*/, 166 0 /*reduceToRowImpl<ushort, int, uchar>*/, [all...] |
| sub_mat.cu | 71 gridTransformBinary(globPtr<T>(src1), globPtr<T>(src2), globPtr<D>(dst), SubOp1<T, D>(), globPtr<uchar>(mask), stream); 121 subMat_v1<uchar, uchar>, 122 subMat_v1<uchar, schar>, 123 subMat_v1<uchar, ushort>, 124 subMat_v1<uchar, short>, 125 subMat_v1<uchar, int>, 126 subMat_v1<uchar, float>, 127 subMat_v1<uchar, double> 130 subMat_v1<schar, uchar>, [all...] |
| div_mat.cu | 126 divMatImpl<uchar, float, uchar>, 127 divMatImpl<uchar, float, schar>, 128 divMatImpl<uchar, float, ushort>, 129 divMatImpl<uchar, float, short>, 130 divMatImpl<uchar, float, int>, 131 divMatImpl<uchar, float, float>, 132 divMatImpl<uchar, double, double> 135 divMatImpl<schar, float, uchar>, 144 0 /*divMatImpl<ushort, float, uchar>*/, [all...] |
| mul_mat.cu | 112 mulMatImpl<uchar, float, uchar>, 113 mulMatImpl<uchar, float, schar>, 114 mulMatImpl<uchar, float, ushort>, 115 mulMatImpl<uchar, float, short>, 116 mulMatImpl<uchar, float, int>, 117 mulMatImpl<uchar, float, float>, 118 mulMatImpl<uchar, double, double> 121 mulMatImpl<schar, float, uchar>, 130 0 /*mulMatImpl<ushort, float, uchar>*/, [all...] |
| /external/opencv3/modules/cudastereo/src/cuda/ |
| disparity_bilateral_filter.cu | 57 static __device__ __forceinline__ uchar calc(const uchar* a, const uchar* b) 59 uchar x = ::abs(a[0] - b[0]); 60 uchar y = ::abs(a[1] - b[1]); 61 uchar z = ::abs(a[2] - b[2]); 69 static __device__ __forceinline__ uchar calc(const uchar* a, const uchar* b) 77 const uchar* img, size_t img_step, int h, int w [all...] |
| /external/opencv3/modules/hal/include/opencv2/hal/ |
| defs.h | 260 uchar - unsigned 1 byte integer 284 typedef unsigned char uchar; typedef 586 uchar a = saturate_cast<uchar>(-100); // a = 0 (UCHAR_MIN) 601 template<typename _Tp> static inline _Tp saturate_cast(uchar v) { return _Tp(v); } 623 template<> inline uchar saturate_cast<uchar>(schar v) { return (uchar)std::max((int)v, 0); } 624 template<> inline uchar saturate_cast<uchar>(ushort v) { return (uchar)std::min((unsigned)v, (unsigned)UCHAR_MAX); [all...] |
| /external/opencv/cvaux/src/ |
| cvlines.cpp | 45 icvFetchLine8uC3R( uchar * src, int src_step, 46 uchar * dst, int *dst_num, CvSize src_size, CvPoint start, CvPoint end ) 124 icvDrawLine8uC3R( uchar * src, int src_num, 125 uchar * dst, int dst_step, CvSize dst_size, CvPoint start, CvPoint end ) 197 uchar * src, /* source image */ 199 uchar * dst, /* dest buffers */ 243 uchar * src, /* source buffers */ 245 uchar * dst, /* dest image */ 320 icvDeleteMoire8u( uchar * img, int img_step, CvSize img_size, int cn ) 323 uchar *src = img, *dst = img + img_step [all...] |
| /external/opencv/cxcore/src/ |
| cxlogic.cpp | 63 ( const uchar* src1, int step1, const uchar* src2, int step2, \ 64 uchar* dst, int step, CvSize size ), (src1, step1, src2, step2, dst, step, size) )\ 96 int t = __op__(((const uchar*)src1)[i],((const uchar*)src2)[i]); \ 97 dst[i] = (uchar)t; \ 112 ( const uchar* src0, int step1, uchar* dst0, int step, CvSize size, \ 113 const uchar* scalar, int pix_size ) \ 119 const uchar* src = (const uchar*)src0; [all...] |
| _cxipp.h | 51 ( const uchar* src, int src_step, 52 uchar* dst, int dst_step, CvSize size )) 55 ( uchar value, uchar* dst, int dst_step, CvSize size )) 67 const uchar* mask, int maskstep )) \ 71 const uchar* mask, int maskstep, \ 74 IPCV_COPYSET( _8u_C1MR, uchar, int ) 76 IPCV_COPYSET( _8u_C3MR, uchar, int ) 93 ( const uchar* src1, int srcstep1, const uchar* src2, int srcstep2, [all...] |
| /bionic/tests/ |
| uchar_test.cpp | 33 #include <uchar.h> 36 TEST(uchar, sizeof_uchar_t) { 41 GTEST_LOG_(INFO) << "uchar.h is unavailable.\n"; 45 TEST(uchar, start_state) { 68 GTEST_LOG_(INFO) << "uchar.h is unavailable.\n"; 72 TEST(uchar, c16rtomb_null_out) { 77 GTEST_LOG_(INFO) << "uchar.h is unavailable.\n"; 81 TEST(uchar, c16rtomb_null_char) { 86 GTEST_LOG_(INFO) << "uchar.h is unavailable.\n"; 90 TEST(uchar, c16rtomb) [all...] |
| /external/opencv3/modules/cudaimgproc/src/cuda/ |
| hist.cu | 55 __global__ void histogram256Kernel(const uchar* src, int cols, int rows, size_t step, int* hist) 84 unsigned int data = ((const uchar*)rowPtr)[x]; 123 __global__ void histEven8u(const uchar* src, const size_t step, const int rows, const int cols, 138 const uchar* rowPtr = src + y * step; 156 const uchar data = rowPtr[x]; 196 struct EqualizeHist : unary_function<uchar, uchar> 202 __device__ __forceinline__ uchar operator ()(uchar val) const
|
| /external/opencv3/modules/hal/src/ |
| stat.cpp | 47 static const uchar popCountTable[] = 59 static const uchar popCountTable2[] = 71 static const uchar popCountTable4[] = 83 int normHamming(const uchar* a, int n) 110 int normHamming(const uchar* a, const uchar* b, int n) 139 int normHamming(const uchar* a, int n, int cellSize) 143 const uchar* tab = 0; 161 int normHamming(const uchar* a, const uchar* b, int n, int cellSize [all...] |
| /external/opencv3/modules/imgcodecs/src/ |
| grfmt_pxm.cpp | 192 uchar* data = img.ptr(); 205 AutoBuffer<uchar> _src(src_pitch + 32); 206 uchar* src = _src; 207 AutoBuffer<uchar> _gray_palette; 208 uchar* gray_palette = _gray_palette; 217 gray_palette[i] = (uchar)((i*255/m_maxval)^(m_bpp == 1 ? 255 : 0)); 282 uchar v = src[x * 2]; 294 src[x] = (uchar)(v >> 8); 303 uchar *d = data, *s = src, *end = src + m_width; 421 const uchar* const data = img.ptr(y) [all...] |
| grfmt_sunras.cpp | 105 uchar buffer[256*3]; 158 uchar* data = img.ptr(); 160 uchar gray_palette[256]; 170 AutoBuffer<uchar> _src(src_pitch + 32); 171 uchar* src = _src; 172 AutoBuffer<uchar> _bgr(m_width*3 + 32); 173 uchar* bgr = _bgr; 200 uchar* line_end = src + (m_width*m_bpp + 7)/8; 201 uchar* tsrc = src; 217 tsrc[len1] = (uchar)code [all...] |
| /external/opencv/cv/src/ |
| cvcolor.cpp | 195 CV_IMPL_BGRX2BGR( 8u, uchar ) 198 CV_IMPL_BGR2BGRX( 8u, uchar ) 201 CV_IMPL_BGRA2RGBA( 8u, uchar ) 211 icvBGR5x52BGRx_8u_C2CnR( const uchar* src, int srcstep, 212 uchar* dst, int dststep, 226 dst[blue_idx] = (uchar)(t << 3); 227 dst[1] = (uchar)((t >> 3) & ~3); 228 dst[blue_idx ^ 2] = (uchar)((t >> 8) & ~7); 236 dst[blue_idx] = (uchar)(t << 3); 237 dst[1] = (uchar)((t >> 2) & ~7) [all...] |