| /external/opencv3/modules/cudafilters/src/cuda/ |
| column_filter.8uc1.cu | 49 template void linearColumn<float, uchar>(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream);
|
| row_filter.8uc1.cu | 49 template void linearRow<uchar, float>(PtrStepSzb src, PtrStepSzb dst, const float* kernel, int ksize, int anchor, int brd_type, int cc, cudaStream_t stream);
|
| /cts/tests/camera/src/android/hardware/camera2/cts/ |
| crop_yuvf_420_to_yuvx_444.rs | 29 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x + src_x, y + src_y); 30 uchar pu = rsGetElementAtYuv_uchar_U(mInput, x + src_x, y + src_y); 31 uchar pv = rsGetElementAtYuv_uchar_V(mInput, x + src_x, y + src_y);
|
| /external/webrtc/webrtc/modules/video_processing/test/ |
| writeYUV420file.m | 13 fwrite(fid,uint8(Y(:,:,k).'), 'uchar'); 16 fwrite(fid,uint8(U(:,:,k).'), 'uchar'); 19 fwrite(fid,uint8(V(:,:,k).'), 'uchar');
|
| /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
| greyscale.rs | 29 uchar RS_KERNEL toU8(uchar4 v_in) { 31 return (uchar)dot(f4.rgb, gMonoMult); 34 uchar4 RS_KERNEL toU8_4(uchar v_in) {
|
| /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
| greyscale.rs | 29 uchar RS_KERNEL toU8(uchar4 v_in) { 31 return (uchar)dot(f4.rgb, gMonoMult); 34 uchar4 RS_KERNEL toU8_4(uchar v_in) {
|
| posterize.rs | 27 void setParams(float intensHigh, float intensLow, uchar r, uchar g, uchar b) {
|
| /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
| greyscale.rs | 29 uchar RS_KERNEL toU8(uchar4 v_in) { 31 return (uchar)dot(f4.rgb, gMonoMult); 34 uchar4 RS_KERNEL toU8_4(uchar v_in) {
|
| posterize.rs | 27 void setParams(float intensHigh, float intensLow, uchar r, uchar g, uchar b) {
|
| /frameworks/rs/cpu_ref/ |
| rsCpuIntrinsicYuvToRGB.cpp | 66 static uchar4 rsYuvToRGBA_uchar4(uchar y, uchar u, uchar v) { 95 return (uchar4){static_cast<uchar>(p.x), static_cast<uchar>(p.y), 96 static_cast<uchar>(p.z), static_cast<uchar>(p.w)}; 100 extern "C" void rsdIntrinsicYuv_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, size_t xend); 101 extern "C" void rsdIntrinsicYuvR_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, size_t xend) [all...] |
| /cts/tests/tests/renderscript/src/android/renderscript/cts/ |
| yuv.rs | 27 static uchar4 yuvToRGBA4(uchar y, uchar u, uchar v) { 59 static float4 yuvToRGBA_f4(uchar y, uchar u, uchar v) { 105 uchar py = rsGetElementAt_uchar(ay, x, y); 106 uchar pu = rsGetElementAt_uchar(au, x >> 1, y >> 1); 107 uchar pv = rsGetElementAt_uchar(av, x >> 1, y >> 1); 123 uchar py = rsGetElementAtYuv_uchar_Y(mInput, x, y) [all...] |
| /external/opencv3/modules/cudaarithm/src/cuda/ |
| lut.cu | 61 texture<uchar, cudaTextureType1D, cudaReadModeElementType> texLutTable; 101 texRes.res.linear.desc = cudaCreateChannelDesc<uchar>(); 102 texRes.res.linear.sizeInBytes = 256 * d_lut.channels() * sizeof(uchar); 112 cudaChannelFormatDesc desc = cudaCreateChannelDesc<uchar>(); 133 typedef uchar value_type; 134 typedef uchar index_type; 138 __device__ __forceinline__ uchar operator ()(uchar, uchar x) const 145 return tex1Dfetch<uchar>(texLutTableObj, x) [all...] |
| cmp_scalar.cu | 59 template <class Op, typename T> struct CmpOp : binary_function<T, T, uchar> 61 __device__ __forceinline__ uchar operator()(T a, T b) const 73 struct CmpScalarOp<Op, T, 1> : unary_function<T, uchar> 77 __device__ __forceinline__ uchar operator()(T src) const 85 struct CmpScalarOp<Op, T, 2> : unary_function<MAKE_VEC(T, 2), MAKE_VEC(uchar, 2)> 89 __device__ __forceinline__ MAKE_VEC(uchar, 2) operator()(const MAKE_VEC(T, 2) & src) const 92 return VecTraits<MAKE_VEC(uchar, 2)>::make(op(src.x, val.x), op(src.y, val.y)); 97 struct CmpScalarOp<Op, T, 3> : unary_function<MAKE_VEC(T, 3), MAKE_VEC(uchar, 3)> 101 __device__ __forceinline__ MAKE_VEC(uchar, 3) operator()(const MAKE_VEC(T, 3) & src) const 104 return VecTraits<MAKE_VEC(uchar, 3)>::make(op(src.x, val.x), op(src.y, val.y), op(src.z, val.z)) [all...] |
| /external/opencv3/modules/imgcodecs/src/ |
| bitstrm.cpp | 67 m_start = new uchar[m_block_size]; 202 uchar *current = m_current; 211 val = *((uchar*)current); 219 uchar* data = (uchar*)buffer; 253 uchar *current = m_current; 272 uchar *current = m_current; 294 uchar *current = m_current; 313 uchar *current = m_current; 361 m_start = new uchar[m_block_size] [all...] |
| utils.cpp | 50 void icvCvt_BGR2Gray_8u_C3C1R( const uchar* rgb, int rgb_step, 51 uchar* gray, int gray_step, 61 gray[i] = (uchar)t; 88 void icvCvt_BGRA2Gray_8u_C4C1R( const uchar* rgba, int rgba_step, 89 uchar* gray, int gray_step, 99 gray[i] = (uchar)t; 107 void icvCvt_Gray2BGR_8u_C1C3R( const uchar* gray, int gray_step, 108 uchar* bgr, int bgr_step, CvSize size ) 137 void icvCvt_BGRA2BGR_8u_C4C3R( const uchar* bgra, int bgra_step, 138 uchar* bgr, int bgr_step [all...] |
| /external/opencv/otherlibs/highgui/ |
| bitstrm.h | 56 typedef unsigned char uchar; typedef 79 uchar* m_start; 80 uchar* m_end; 81 uchar* m_current; 95 // class RLByteStream - uchar-oriented stream. 96 // l in prefix means that the least significant uchar of a multi-uchar value goes first 108 // class RMBitStream - uchar-oriented stream. 109 // m in prefix means that the most significant uchar of a multi-uchar value go firs [all...] |
| grfmt_jpeg2000.h | 53 #undef uchar macro 68 bool ReadData( uchar* data, int step, int color ); 73 bool ReadComponent8u( uchar *data, jas_matrix_t *buffer, int step, int cmpt, 91 bool WriteImage( const uchar* data, int step, 94 bool WriteComponent8u( jas_image_t *img, const uchar *data,
|
| /external/opencv/cvaux/src/ |
| cvprewarp.cpp | 48 uchar * prewarp_1, /* prewarp image 1 */ 49 uchar * prewarp_2, /* prewarp image 2 */ 74 icvGetColor( uchar * valueRGB ) 88 uchar * prewarp, /* prewarp image */ 98 uchar *curr_point; 145 uchar * prewarp_1, /* prewarp image 1 */ 146 uchar * prewarp_2, /* prewarp image 2 */
|
| cvmorphing.cpp | 46 icvMorphEpilines8uC3( uchar * first_pix, /* raster epiline from image 1 */ 47 uchar * second_pix, /* raster epiline from image 2 */ 48 uchar * dst_pix, /* raster epiline from dest image */ 120 dst_pix[indexImg1] = (uchar) (((int) (first_pix[begLineIndex]) * s) >> 8); 125 dst_pix[indexImg1] = (uchar) (((int) (first_pix[begLineIndex + 1]) * s) >> 8); 130 dst_pix[indexImg1] = (uchar) (((int) (first_pix[begLineIndex + 2]) * s) >> 8); 210 (uchar) (dst_pix[indexImg1] + 211 (uchar) (((unsigned int) (second_pix[begLineIndex]) * s1) >> 8)); 217 (uchar) (dst_pix[indexImg1] + 218 (uchar) (((unsigned int) (second_pix[begLineIndex + 1]) * s1) > [all...] |
| /external/opencv3/modules/cudastereo/src/cuda/ |
| stereocsbp.hpp | 6 void init_data_cost(const uchar *left, const uchar *right, uchar *ctemp, size_t cimg_step, int rows, int cols, T* disp_selected_pyr, T* data_cost_selected, size_t msg_step, 10 void compute_data_cost(const uchar *left, const uchar *right, size_t cimg_step, const T* disp_selected_pyr, T* data_cost, size_t msg_step, 15 void init_message(uchar *ctemp, T* u_new, T* d_new, T* l_new, T* r_new, 22 void calc_all_iterations(uchar *ctemp, T* u, T* d, T* l, T* r, const T* data_cost_selected,
|
| /external/opencv3/modules/imgproc/test/ |
| test_thresh.cpp | 133 ithresh2 = saturate_cast<uchar>(ithresh); 134 imaxval = saturate_cast<uchar>(maxval); 156 const uchar* src = _src.ptr<uchar>(i); 157 uchar* dst = _dst.ptr<uchar>(i); 159 dst[j] = (uchar)(src[j] > ithresh ? imaxval : 0); 182 const uchar* src = _src.ptr<uchar>(i); 183 uchar* dst = _dst.ptr<uchar>(i) [all...] |
| /external/opencv3/samples/cpp/tutorial_code/core/mat_mask_operations/ |
| mat_mask_operations.cpp | 64 CV_Assert(myImage.depth() == CV_8U); // accept only uchar images 71 const uchar* previous = myImage.ptr<uchar>(j - 1); 72 const uchar* current = myImage.ptr<uchar>(j ); 73 const uchar* next = myImage.ptr<uchar>(j + 1); 75 uchar* output = Result.ptr<uchar>(j); 79 *output++ = saturate_cast<uchar>(5*current[i [all...] |
| /frameworks/rs/driver/runtime/ |
| rs_convert.c | 33 #define CVT_FUNC(type) CVT_FUNC_2(type, uchar) \ 46 CVT_FUNC(uchar) 65 extern float4 __attribute__((overloadable)) rsYuvToRGBA_float4(uchar y, uchar u, uchar v) {
|
| /external/opencv3/samples/cpp/tutorial_code/core/how_to_scan_images/ |
| how_to_scan_images.cpp | 25 Mat& ScanImageAndReduceC(Mat& I, const uchar* table); 26 Mat& ScanImageAndReduceIterator(Mat& I, const uchar* table); 27 Mat& ScanImageAndReduceRandomAccess(Mat& I, const uchar * table); 61 uchar table[256]; 63 table[i] = (uchar)(divideWith * (i/divideWith)); 113 uchar* p = lookUpTable.ptr(); 134 Mat& ScanImageAndReduceC(Mat& I, const uchar* const table) 137 CV_Assert(I.depth() != sizeof(uchar)); 151 uchar* p; 154 p = I.ptr<uchar>(i) [all...] |
| /external/opencv3/modules/imgproc/src/opencl/ |
| precornerdetect.cl | 46 __kernel void preCornerDetect(__global const uchar * Dxptr, int dx_step, int dx_offset, 47 __global const uchar * Dyptr, int dy_step, int dy_offset, 48 __global const uchar * D2xptr, int d2x_step, int d2x_offset, 49 __global const uchar * D2yptr, int d2y_step, int d2y_offset, 50 __global const uchar * Dxyptr, int dxy_step, int dxy_offset, 51 __global uchar * dstptr, int dst_step, int dst_offset,
|