/system/core/libutils/tests/ |
String8_test.cpp | 42 String8 src1("Hello, "); 46 String8 dst1 = src1 + ccsrc2; 48 EXPECT_STREQ(src1.string(), "Hello, "); 53 String8 dst2 = src1 + ssrc2; 55 EXPECT_STREQ(src1.string(), "Hello, "); 60 String8 src1("My voice"); 64 src1 += src2; 65 EXPECT_STREQ(src1.string(), "My voice is my passport."); 70 src1 += src3; 71 EXPECT_STREQ(src1.string(), "My voice is my passport. Verify me.") [all...] |
/external/opencv3/samples/cpp/tutorial_code/HighGUI/ |
AddingImagesTrackbar.cpp | 3 * @brief Simple linear blender ( dst = alpha*src1 + beta*src2 ) 20 Mat src1; variable 34 addWeighted( src1, alpha, src2, beta, 0.0, dst); 47 src1 = imread("../data/LinuxLogo.jpg"); 50 if( src1.empty() ) { printf("Error loading src1 \n"); return -1; }
|
/external/opencv3/samples/cpp/tutorial_code/ImgProc/ |
AddingImages.cpp | 3 * @brief Simple linear blender ( dst = alpha*src1 + beta*src2 ) 22 Mat src1, src2, dst; local 35 src1 = imread("../data/LinuxLogo.jpg"); 38 if( src1.empty() ) { std::cout<< "Error loading src1"<<std::endl; return -1; } 45 addWeighted( src1, alpha, src2, beta, 0.0, dst);
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
MixSoft_2St_D32C31_SAT.c | 31 const LVM_INT32 *src1, 44 MixSoft_1St_D32C31_WRA( (Mix_1St_Cll_t*) pInstance, src1, dst, n); 59 MixSoft_1St_D32C31_WRA( (Mix_1St_Cll_t*) pInstance, src1, dst, n); 61 Core_MixHard_2St_D32C31_SAT( pInstance, src1, src2, dst, n);
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
cmp_mat.cu | 55 void cmpMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat&, double, Stream& stream, int cmpop); 79 void cmpMat_v1(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& stream) 82 gridTransformBinary_< TransformPolicy<T> >(globPtr<T>(src1), globPtr<T>(src2), globPtr<uchar>(dst), op, stream); 114 void cmpMatEq_v4(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& stream) 116 const int vcols = src1.cols >> 2; 118 GlobPtrSz<uint> src1_ = globPtr((uint*) src1.data, src1.step, src1.rows, vcols); 119 GlobPtrSz<uint> src2_ = globPtr((uint*) src2.data, src2.step, src1.rows, vcols); 120 GlobPtrSz<uint> dst_ = globPtr((uint*) dst.data, dst.step, src1.rows, vcols) [all...] |
bitwise_mat.cu | 59 void bitMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, double, Stream& stream, int op); 140 void bitMatOp(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, Stream& stream) 142 GlobPtrSz<T> vsrc1 = globPtr((T*) src1.data, src1.step, src1.rows, src1.cols * src1.channels()); 143 GlobPtrSz<T> vsrc2 = globPtr((T*) src2.data, src2.step, src1.rows, src1.cols * src1.channels()) [all...] |
add_mat.cu | 55 void addMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, double, Stream& _stream, int); 68 void addMat_v1(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, Stream& stream) 71 gridTransformBinary(globPtr<T>(src1), globPtr<T>(src2), globPtr<D>(dst), AddOp1<T, D>(), globPtr<uchar>(mask), stream); 73 gridTransformBinary(globPtr<T>(src1), globPtr<T>(src2), globPtr<D>(dst), AddOp1<T, D>(), stream); 84 void addMat_v2(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& stream) 86 const int vcols = src1.cols >> 1; 88 GlobPtrSz<uint> src1_ = globPtr((uint*) src1.data, src1.step, src1.rows, vcols); 89 GlobPtrSz<uint> src2_ = globPtr((uint*) src2.data, src2.step, src1.rows, vcols) [all...] |
sub_mat.cu | 55 void subMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, double, Stream& _stream, int); 68 void subMat_v1(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat& mask, Stream& stream) 71 gridTransformBinary(globPtr<T>(src1), globPtr<T>(src2), globPtr<D>(dst), SubOp1<T, D>(), globPtr<uchar>(mask), stream); 73 gridTransformBinary(globPtr<T>(src1), globPtr<T>(src2), globPtr<D>(dst), SubOp1<T, D>(), stream); 84 void subMat_v2(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& stream) 86 const int vcols = src1.cols >> 1; 88 GlobPtrSz<uint> src1_ = globPtr((uint*) src1.data, src1.step, src1.rows, vcols); 89 GlobPtrSz<uint> src2_ = globPtr((uint*) src2.data, src2.step, src1.rows, vcols) [all...] |
absdiff_mat.cu | 55 void absDiffMat(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, const GpuMat&, double, Stream& stream, int); 91 void absDiffMat_v1(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& stream) 93 gridTransformBinary_< TransformPolicy<T> >(globPtr<T>(src1), globPtr<T>(src2), globPtr<T>(dst), AbsDiffOp1<T>(), stream); 104 void absDiffMat_v2(const GpuMat& src1, const GpuMat& src2, GpuMat& dst, Stream& stream) 106 const int vcols = src1.cols >> 1; 108 GlobPtrSz<uint> src1_ = globPtr((uint*) src1.data, src1.step, src1.rows, vcols); 109 GlobPtrSz<uint> src2_ = globPtr((uint*) src2.data, src2.step, src1.rows, vcols); 110 GlobPtrSz<uint> dst_ = globPtr((uint*) dst.data, dst.step, src1.rows, vcols) [all...] |
/external/clang/test/CodeGen/ |
arm-neon-misc.c | 24 void t2(uint64_t *src1, uint8_t *src2, uint64x2_t *dst) { 26 uint64x2_t q = vld1q_u64(src1);
|
/external/opencv3/modules/core/misc/java/src/cpp/ |
core_manual.hpp | 16 CV_EXPORTS_W void add(InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1); 18 CV_EXPORTS_W void subtract(InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1); 20 CV_EXPORTS_W void multiply(InputArray src1, Scalar src2, OutputArray dst, double scale=1, int dtype=-1); 22 CV_EXPORTS_W void divide(InputArray src1, Scalar src2, OutputArray dst, double scale=1, int dtype=-1); 24 CV_EXPORTS_W void absdiff(InputArray src1, Scalar src2, OutputArray dst); 26 CV_EXPORTS_W void compare(InputArray src1, Scalar src2, OutputArray dst, int cmpop); 28 CV_EXPORTS_W void min(InputArray src1, Scalar src2, OutputArray dst); 30 CV_EXPORTS_W void max(InputArray src1, Scalar src2, OutputArray dst);
|
/external/opencv3/modules/core/src/opencl/ |
inrange.cl | 77 srcT src1 = *(__global const srcT *)(src1ptr + src1_index); 82 dst[0] = src2 > src1 || src3 < src1 ? (dstT)(0) : (dstT)(255); 84 dst[0] = (dstT)(src2.xy > src1.xy || src3.xy < src1.xy || 85 src2.zw > src1.zw || src3.zw < src1.zw ? (dstT)(0) : (dstT)(255); 87 dst[0] = (dstT)(src2.x > src1.x || src3.x < src1.x || 88 src2.y > src1.y || src3.y < src1.y | [all...] |
/external/opencv3/modules/core/perf/ |
perf_addWeighted.cpp | 16 Mat src1(size, type); 24 declare.in(src1, src2, dst, WARMUP_RNG).out(dst); 29 src1 /= 2048; 33 TEST_CYCLE() cv::addWeighted( src1, alpha, src2, beta, gamma, dst, dst.type() );
|
/external/opencv3/samples/gpu/ |
alpha_comp.cpp | 23 Mat src1(640, 480, CV_8UC4, Scalar::all(0)); 26 rectangle(src1, Rect(50, 50, 200, 200), Scalar(0, 0, 255, 128), 30); 29 GpuMat d_src1(src1); 34 imshow("First Image", src1);
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
copymem_msa.c | 17 uint64_t src0, src1, src2, src3; local 19 LD4(src, src_stride, src0, src1, src2, src3); 20 SD4(src0, src1, src2, src3, dst, dst_stride); 26 uint64_t src0, src1, src2, src3; local 28 LD4(src, src_stride, src0, src1, src2, src3); 30 SD4(src0, src1, src2, src3, dst, dst_stride); 33 LD4(src, src_stride, src0, src1, src2, src3); 34 SD4(src0, src1, src2, src3, dst, dst_stride); 40 v16u8 src0, src1, src2, src3, src4, src5, src6, src7; local 43 LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7) [all...] |
/external/pcre/dist/sljit/ |
sljitNativePPC_32.c | 45 sljit_si dst, sljit_si src1, sljit_si src2) 52 SLJIT_ASSERT(src1 == TMP_REG1); 59 SLJIT_ASSERT(src1 == TMP_REG1); 74 SLJIT_ASSERT(src1 == TMP_REG1); 86 SLJIT_ASSERT(src1 == TMP_REG1); 90 SLJIT_ASSERT(src1 == TMP_REG1); 94 SLJIT_ASSERT(src1 == TMP_REG1); 101 return push_inst(compiler, ADDI | D(dst) | A(src1) | compiler->imm); 106 return push_inst(compiler, ADDIS | D(dst) | A(src1) | compiler->imm); 110 return push_inst(compiler, ADDIC | D(dst) | A(src1) | compiler->imm) [all...] |
/external/opencv/cxcore/src/ |
cxcmp.cpp | 57 worktype a1 = _toggle_macro_(src1[x]), \ 67 worktype a1 = _toggle_macro_(src1[x*2]), \ 70 a1 = _toggle_macro_(src1[x*2+1]); \ 81 worktype a1 = _toggle_macro_(src1[x*3]), \ 84 a1 = _toggle_macro_(src1[x*3+1]); \ 88 a1 = _toggle_macro_(src1[x*3+2]); \ 99 worktype a1 = _toggle_macro_(src1[x*4]), \ 102 a1 = _toggle_macro_(src1[x*4+1]); \ 106 a1 = _toggle_macro_(src1[x*4+2]); \ 110 a1 = _toggle_macro_(src1[x*4+3]); 256 CvMat srcstub1, *src1 = (CvMat*)srcarr1; local 355 CvMat srcstub1, *src1 = (CvMat*)srcarr; local 567 CvMat srcstub1, *src1 = (CvMat*)srcarr1; local 705 CvMat srcstub1, *src1 = (CvMat*)srcarr; local 975 CvMat srcstub1, *src1 = (CvMat*)srcarr1; local 1076 CvMat srcstub1, *src1 = (CvMat*)srcarr; local 1425 CvMat srcstub1, *src1 = (CvMat*)srcarr1; local [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
sad_inline.h | 39 __inline int32 sad_4pixel(int32 src1, int32 src2, int32 mask) 43 x7 = src2 ^ src1; /* check odd/even combination */ 44 if ((uint32)src2 >= (uint32)src1) 46 src1 = src2 - src1; /* subs */ 50 src1 = src1 - src2; 52 x7 = x7 ^ src1; /* only odd bytes need to add carry */ 55 src1 = src1 + (x7 >> 7); /* add 0xFF to the negative byte, add back carry * 192 EOR x7, src2, src1; \/* check odd\/even combination *\/ local 193 SUBS src1, src2, src1; local 194 EOR x7, x7, src1; local 198 ADD src1, src1, x7, asr #7; \/* add 0xFF to the negative byte, add back carry *\/ local 199 EOR src1, src1, x7, asr #7; \/* take absolute value of negative byte *\/ local 211 EOR x7, src2, src1; \/* check odd\/even combination *\/ local 212 ADDS src1, src2, src1; local 213 EOR x7, x7, src1; \/* only odd bytes need to add carry *\/ local 216 SUB src1, src1, x7, asr #7; \/* add 0xFF to the negative byte, add back carry *\/ local 217 EOR src1, src1, x7, asr #7; \/* take absolute value of negative byte *\/ local [all...] |
/development/ndk/platforms/android-3/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
cpumask.h | 27 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) 28 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) 29 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) 30 #define cpus_andnot(dst, src1, src2) __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 32 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS [all...] |