/external/opencv3/modules/cudaarithm/src/cuda/ |
add_scalar.cu | 102 {addScalarImpl<uchar, float, uchar>, addScalarImpl<uchar2, float, uchar2>, addScalarImpl<uchar3, float, uchar3>, addScalarImpl<uchar4, float, uchar4>}, 103 {addScalarImpl<uchar, float, schar>, addScalarImpl<uchar2, float, char2>, addScalarImpl<uchar3, float, char3>, addScalarImpl<uchar4, float, char4>}, 104 {addScalarImpl<uchar, float, ushort>, addScalarImpl<uchar2, float, ushort2>, addScalarImpl<uchar3, float, ushort3>, addScalarImpl<uchar4, float, ushort4>}, 105 {addScalarImpl<uchar, float, short>, addScalarImpl<uchar2, float, short2>, addScalarImpl<uchar3, float, short3>, addScalarImpl<uchar4, float, short4>}, 106 {addScalarImpl<uchar, float, int>, addScalarImpl<uchar2, float, int2>, addScalarImpl<uchar3, float, int3>, addScalarImpl<uchar4, float, int4>}, 107 {addScalarImpl<uchar, float, float>, addScalarImpl<uchar2, float, float2>, addScalarImpl<uchar3, float, float3>, addScalarImpl<uchar4, float, float4>}, 108 {addScalarImpl<uchar, double, double>, addScalarImpl<uchar2, double, double2>, addScalarImpl<uchar3, double, double3>, addScalarImpl<uchar4, double, double4>} 111 {addScalarImpl<schar, float, uchar>, addScalarImpl<char2, float, uchar2>, addScalarImpl<char3, float, uchar3>, addScalarImpl<char4, float, uchar4>}, 120 {0 /*addScalarImpl<ushort, float, uchar>*/, 0 /*addScalarImpl<ushort2, float, uchar2>*/, 0 /*addScalarImpl<ushort3, float, uchar3>*/, 0 /*addScalarImpl<ushort4, float, uchar4>*/} [all...] |
mul_scalar.cu | 99 {mulScalarImpl<uchar, float, uchar>, mulScalarImpl<uchar2, float, uchar2>, mulScalarImpl<uchar3, float, uchar3>, mulScalarImpl<uchar4, float, uchar4>}, 100 {mulScalarImpl<uchar, float, schar>, mulScalarImpl<uchar2, float, char2>, mulScalarImpl<uchar3, float, char3>, mulScalarImpl<uchar4, float, char4>}, 101 {mulScalarImpl<uchar, float, ushort>, mulScalarImpl<uchar2, float, ushort2>, mulScalarImpl<uchar3, float, ushort3>, mulScalarImpl<uchar4, float, ushort4>}, 102 {mulScalarImpl<uchar, float, short>, mulScalarImpl<uchar2, float, short2>, mulScalarImpl<uchar3, float, short3>, mulScalarImpl<uchar4, float, short4>}, 103 {mulScalarImpl<uchar, float, int>, mulScalarImpl<uchar2, float, int2>, mulScalarImpl<uchar3, float, int3>, mulScalarImpl<uchar4, float, int4>}, 104 {mulScalarImpl<uchar, float, float>, mulScalarImpl<uchar2, float, float2>, mulScalarImpl<uchar3, float, float3>, mulScalarImpl<uchar4, float, float4>}, 105 {mulScalarImpl<uchar, double, double>, mulScalarImpl<uchar2, double, double2>, mulScalarImpl<uchar3, double, double3>, mulScalarImpl<uchar4, double, double4>} 108 {mulScalarImpl<schar, float, uchar>, mulScalarImpl<char2, float, uchar2>, mulScalarImpl<char3, float, uchar3>, mulScalarImpl<char4, float, uchar4>}, 117 {0 /*mulScalarImpl<ushort, float, uchar>*/, 0 /*mulScalarImpl<ushort2, float, uchar2>*/, 0 /*mulScalarImpl<ushort3, float, uchar3>*/, 0 /*mulScalarImpl<ushort4, float, uchar4>*/} [all...] |
sub_scalar.cu | 125 {subScalarImpl<uchar, float, uchar>, subScalarImpl<uchar2, float, uchar2>, subScalarImpl<uchar3, float, uchar3>, subScalarImpl<uchar4, float, uchar4>}, 126 {subScalarImpl<uchar, float, schar>, subScalarImpl<uchar2, float, char2>, subScalarImpl<uchar3, float, char3>, subScalarImpl<uchar4, float, char4>}, 127 {subScalarImpl<uchar, float, ushort>, subScalarImpl<uchar2, float, ushort2>, subScalarImpl<uchar3, float, ushort3>, subScalarImpl<uchar4, float, ushort4>}, 128 {subScalarImpl<uchar, float, short>, subScalarImpl<uchar2, float, short2>, subScalarImpl<uchar3, float, short3>, subScalarImpl<uchar4, float, short4>}, 129 {subScalarImpl<uchar, float, int>, subScalarImpl<uchar2, float, int2>, subScalarImpl<uchar3, float, int3>, subScalarImpl<uchar4, float, int4>}, 130 {subScalarImpl<uchar, float, float>, subScalarImpl<uchar2, float, float2>, subScalarImpl<uchar3, float, float3>, subScalarImpl<uchar4, float, float4>}, 131 {subScalarImpl<uchar, double, double>, subScalarImpl<uchar2, double, double2>, subScalarImpl<uchar3, double, double3>, subScalarImpl<uchar4, double, double4>} 134 {subScalarImpl<schar, float, uchar>, subScalarImpl<char2, float, uchar2>, subScalarImpl<char3, float, uchar3>, subScalarImpl<char4, float, uchar4>}, 143 {0 /*subScalarImpl<ushort, float, uchar>*/, 0 /*subScalarImpl<ushort2, float, uchar2>*/, 0 /*subScalarImpl<ushort3, float, uchar3>*/, 0 /*subScalarImpl<ushort4, float, uchar4>*/} [all...] |
div_scalar.cu | 167 {divScalarImpl<uchar, float, uchar>, divScalarImpl<uchar2, float, uchar2>, divScalarImpl<uchar3, float, uchar3>, divScalarImpl<uchar4, float, uchar4>}, 168 {divScalarImpl<uchar, float, schar>, divScalarImpl<uchar2, float, char2>, divScalarImpl<uchar3, float, char3>, divScalarImpl<uchar4, float, char4>}, 169 {divScalarImpl<uchar, float, ushort>, divScalarImpl<uchar2, float, ushort2>, divScalarImpl<uchar3, float, ushort3>, divScalarImpl<uchar4, float, ushort4>}, 170 {divScalarImpl<uchar, float, short>, divScalarImpl<uchar2, float, short2>, divScalarImpl<uchar3, float, short3>, divScalarImpl<uchar4, float, short4>}, 171 {divScalarImpl<uchar, float, int>, divScalarImpl<uchar2, float, int2>, divScalarImpl<uchar3, float, int3>, divScalarImpl<uchar4, float, int4>}, 172 {divScalarImpl<uchar, float, float>, divScalarImpl<uchar2, float, float2>, divScalarImpl<uchar3, float, float3>, divScalarImpl<uchar4, float, float4>}, 173 {divScalarImpl<uchar, double, double>, divScalarImpl<uchar2, double, double2>, divScalarImpl<uchar3, double, double3>, divScalarImpl<uchar4, double, double4>} 176 {divScalarImpl<schar, float, uchar>, divScalarImpl<char2, float, uchar2>, divScalarImpl<char3, float, uchar3>, divScalarImpl<char4, float, uchar4>}, 185 {0 /*divScalarImpl<ushort, float, uchar>*/, 0 /*divScalarImpl<ushort2, float, uchar2>*/, 0 /*divScalarImpl<ushort3, float, uchar3>*/, 0 /*divScalarImpl<ushort4, float, uchar4>*/} [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 128 static uchar2 OneBiCubic(const uchar2 *yp0, const uchar2 *yp1, const uchar2 *yp2, const uchar2 *yp3, 204 uchar2 *dst, 208 uchar2 const *srcn, 209 uchar2 const *src0, 210 uchar2 const *src1, 211 uchar2 const *src2 [all...] |
rsCpuIntrinsicConvolve5x5.cpp | 132 static void OneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, 133 const uchar2 *py0, const uchar2 *py1, const uchar2 *py2, const uchar2 *py3, const uchar2 *py4, 426 const uchar2 *py0 = (const uchar2 *)(pin + stride * y0); 427 const uchar2 *py1 = (const uchar2 *)(pin + stride * y1) [all...] |
rsCpuIntrinsicConvolve3x3.cpp | 113 static void ConvolveOneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, 114 const uchar2 *py0, const uchar2 *py1, const uchar2 *py2, 247 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); 248 const uchar2 *py1 = (const uchar2 *)(pin + stride * info->current.y); 249 const uchar2 *py2 = (const uchar2 *)(pin + stride * y1) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestAbs.rs | 27 uchar2 __attribute__((kernel)) testAbsChar2Uchar2(char2 inV) {
|
TestClz.rs | 43 uchar2 __attribute__((kernel)) testClzUchar2Uchar2(uchar2 inValue) {
|
TestConvert.rs | 47 float2 __attribute__((kernel)) testConvertFloat2Uchar2Float2(uchar2 inV) { 131 char2 __attribute__((kernel)) testConvertChar2Uchar2Char2(uchar2 inV) { 191 uchar2 __attribute__((kernel)) testConvertUchar2Float2Uchar2(float2 inV) { 203 uchar2 __attribute__((kernel)) testConvertUchar2Char2Uchar2(char2 inV) { 215 uchar2 __attribute__((kernel)) testConvertUchar2Uchar2Uchar2(uchar2 inV) { 227 uchar2 __attribute__((kernel)) testConvertUchar2Short2Uchar2(short2 inV) { 239 uchar2 __attribute__((kernel)) testConvertUchar2Ushort2Uchar2(ushort2 inV) { 251 uchar2 __attribute__((kernel)) testConvertUchar2Int2Uchar2(int2 inV) { 263 uchar2 __attribute__((kernel)) testConvertUchar2Uint2Uchar2(uint2 inV) [all...] |
TestClamp.rs | 97 uchar2 __attribute__((kernel)) testClampUchar2Uchar2Uchar2Uchar2(uchar2 inValue, unsigned int x) { 98 uchar2 inMinValue = rsGetElementAt_uchar2(gAllocInMinValue, x); 99 uchar2 inMaxValue = rsGetElementAt_uchar2(gAllocInMaxValue, x); 277 uchar2 __attribute__((kernel)) testClampUchar2UcharUcharUchar2(uchar2 inValue, unsigned int x) {
|
TestMax.rs | 119 uchar2 __attribute__((kernel)) testMaxUchar2Uchar2Uchar2(uchar2 inA, unsigned int x) { 120 uchar2 inB = rsGetElementAt_uchar2(gAllocInB, x);
|
TestMin.rs | 119 uchar2 __attribute__((kernel)) testMinUchar2Uchar2Uchar2(uchar2 inA, unsigned int x) { 120 uchar2 inB = rsGetElementAt_uchar2(gAllocInB, x);
|
/external/opencv3/modules/photo/src/ |
denoising.cuda.cpp | 86 static const func_t funcs[4] = { nlm_bruteforce_gpu<uchar>, nlm_bruteforce_gpu<uchar2>, nlm_bruteforce_gpu<uchar3>, 0/*nlm_bruteforce_gpu<uchar4>,*/ }; 114 void fnlm_split_channels(const PtrStepSz<uchar3>& lab, PtrStepb l, PtrStep<uchar2> ab, cudaStream_t stream); 115 void fnlm_merge_channels(const PtrStepb& l, const PtrStep<uchar2>& ab, PtrStepSz<uchar3> lab, cudaStream_t stream); 140 static const nlm_fast_t funcs[] = { nlm_fast_gpu<uchar>, nlm_fast_gpu<uchar2>, nlm_fast_gpu<uchar3>, 0};
|
/frameworks/rs/tests/typecheck/ |
kernels.rs | 33 uchar2 uc2; 34 uchar2 uc2i = {1, 2};
|
/frameworks/rs/scriptc/ |
rs_convert.rsh | 62 convert_float2(uchar2 v); 125 convert_char2(uchar2 v); 169 extern uchar2 __attribute__((const, overloadable)) 178 extern uchar2 __attribute__((const, overloadable)) 187 extern uchar2 __attribute__((const, overloadable)) 188 convert_uchar2(uchar2 v); 196 extern uchar2 __attribute__((const, overloadable)) 205 extern uchar2 __attribute__((const, overloadable)) 214 extern uchar2 __attribute__((const, overloadable)) 223 extern uchar2 __attribute__((const, overloadable) [all...] |
rs_value_types.rsh | 307 * uchar2: Two 8 bit unsigned integers 312 typedef uchar __attribute__((ext_vector_type(2))) uchar2;
|
/prebuilts/sdk/renderscript/include/ |
rs_convert.rsh | 62 convert_float2(uchar2 v); 125 convert_char2(uchar2 v); 169 extern uchar2 __attribute__((const, overloadable)) 178 extern uchar2 __attribute__((const, overloadable)) 187 extern uchar2 __attribute__((const, overloadable)) 188 convert_uchar2(uchar2 v); 196 extern uchar2 __attribute__((const, overloadable)) 205 extern uchar2 __attribute__((const, overloadable)) 214 extern uchar2 __attribute__((const, overloadable)) 223 extern uchar2 __attribute__((const, overloadable) [all...] |
rs_value_types.rsh | 307 * uchar2: Two 8 bit unsigned integers 312 typedef uchar __attribute__((ext_vector_type(2))) uchar2;
|
/external/opencv3/modules/photo/src/cuda/ |
nlm.cu | 172 template void nlm_bruteforce_gpu<uchar2>(const PtrStepSzb&, PtrStepSzb, int, int, float, int, cudaStream_t); 264 __device__ __forceinline__ int calcDist(const uchar2& a, const uchar2& b) { return (a.x-b.x)*(a.x-b.x) + (a.y-b.y)*(a.y-b.y); } 512 template void nlm_fast_gpu<uchar2>(const PtrStepSzb&, PtrStepSzb, PtrStepi, int, int, float, cudaStream_t); 517 __global__ void fnlm_split_kernel(const PtrStepSz<uchar3> lab, PtrStepb l, PtrStep<uchar2> ab) 530 void fnlm_split_channels(const PtrStepSz<uchar3>& lab, PtrStepb l, PtrStep<uchar2> ab, cudaStream_t stream) 541 __global__ void fnlm_merge_kernel(const PtrStepb l, const PtrStep<uchar2> ab, PtrStepSz<uchar3> lab) 548 uchar2 p = ab(y, x); 553 void fnlm_merge_channels(const PtrStepb& l, const PtrStep<uchar2>& ab, PtrStepSz<uchar3> lab, cudaStream_t stream)
|
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/ |
type_traits_detail.hpp | 84 template <> struct IsVec<uchar2> { enum {value = 1}; };
|
/external/opencv3/modules/cudev/include/opencv2/cudev/util/detail/ |
type_traits.hpp | 75 template <> struct IsVec<uchar2> { enum {value = 1}; };
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
kernel_input.rs | 145 VEC2_TEST(uchar2)
|
/external/opencv3/modules/core/src/cuda/ |
gpu_mat.cu | 288 {copyWithMask<uchar>, copyWithMask<uchar2>, copyWithMask<uchar3>, copyWithMask<uchar4>}, 372 {setToWithOutMask<uchar>,setToWithOutMask<uchar2>,setToWithOutMask<uchar3>,setToWithOutMask<uchar4>}, 403 {setToWithMask<uchar>,setToWithMask<uchar2>,setToWithMask<uchar3>,setToWithMask<uchar4>},
|
/frameworks/rs/driver/runtime/arch/ |
generic.c | 319 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { 320 uchar2 r; 520 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { 521 uchar2 r;
|