Home
last modified time | relevance | path

Searched refs:dst2 (Results 1 – 25 of 121) sorted by relevance

12345

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c54 uint8_t *dst2 = (uint8_t *)dst + row * dst_pitch + in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
62 dst2 += tile_width; in micro_tile_8_x_4_8bit()
85 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
93 dst2 += tile_width; in micro_tile_4_x_4_16bit()
116 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
124 dst2 += tile_width; in micro_tile_8_x_2_16bit()
147 uint32_t *dst2 = (uint32_t *)dst + row * dst_pitch + in micro_tile_4_x_2_32bit() local
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c54 uint8_t *dst2 = (uint8_t *)dst + row * dst_pitch + in micro_tile_8_x_4_8bit() local
61 memcpy(dst2, src2, columns * sizeof(uint8_t)); in micro_tile_8_x_4_8bit()
62 dst2 += tile_width; in micro_tile_8_x_4_8bit()
85 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_4_x_4_16bit() local
92 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_4_x_4_16bit()
93 dst2 += tile_width; in micro_tile_4_x_4_16bit()
116 uint16_t *dst2 = (uint16_t *)dst + row * dst_pitch + in micro_tile_8_x_2_16bit() local
123 memcpy(dst2, src2, columns * sizeof(uint16_t)); in micro_tile_8_x_2_16bit()
124 dst2 += tile_width; in micro_tile_8_x_2_16bit()
147 uint32_t *dst2 = (uint32_t *)dst + row * dst_pitch + in micro_tile_4_x_2_32bit() local
[all …]
/external/llvm/test/Transforms/MemCpyOpt/
Dmemset-memcpy-to-2x-memset.ll7 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 128, i32 8, i1 false)
9 define void @test(i8* %dst1, i8* %dst2, i8 %c) {
11 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %dst2, i8* %dst1, i64 128, i32 8, i1 false)
17 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 100, i32 1, i1 false)
19 define void @test_smaller_memcpy(i8* %dst1, i8* %dst2, i8 %c) {
21 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %dst2, i8* %dst1, i64 100, i32 1, i1 false)
27 ; CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i64(i8* %dst2, i8* %dst1, i64 128, i32 1, i1 false)
29 define void @test_smaller_memset(i8* %dst1, i8* %dst2, i8 %c) {
31 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %dst2, i8* %dst1, i64 128, i32 1, i1 false)
37 ; CHECK-NEXT: call void @llvm.memset.p0i8.i64(i8* %dst2, i8 %c, i64 128, i32 1, i1 false)
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve_avg_msa.c18 v16u8 dst0, dst1, dst2, dst3; in avg_width4_msa() local
25 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in avg_width4_msa()
27 AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, in avg_width4_msa()
28 dst0, dst1, dst2, dst3); in avg_width4_msa()
32 out2 = __msa_copy_u_w((v4i32)dst2, 0); in avg_width4_msa()
61 v16u8 dst0, dst1, dst2, dst3; in avg_width8_msa() local
66 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in avg_width8_msa()
68 AVER_UB4_UB(src0, dst0, src1, dst1, src2, dst2, src3, dst3, in avg_width8_msa()
69 dst0, dst1, dst2, dst3); in avg_width8_msa()
73 out2 = __msa_copy_u_d((v2i64)dst2, 0); in avg_width8_msa()
[all …]
Dvpx_convolve8_avg_horiz_msa.c21 v16u8 dst0, dst1, dst2, dst3, res2, res3; in common_hz_8t_and_aver_dst_4x4_msa() local
40 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_hz_8t_and_aver_dst_4x4_msa()
44 ILVR_W2_UB(dst1, dst0, dst3, dst2, dst0, dst2); in common_hz_8t_and_aver_dst_4x4_msa()
46 AVER_UB2_UB(res2, dst0, res3, dst2, res2, res3); in common_hz_8t_and_aver_dst_4x4_msa()
57 v16u8 dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7; in common_hz_8t_and_aver_dst_4x8_msa() local
74 LD_UB8(dst, dst_stride, dst0, dst1, dst2, dst3, dst4, dst5, dst6, dst7); in common_hz_8t_and_aver_dst_4x8_msa()
87 ILVR_W4_UB(dst1, dst0, dst3, dst2, dst5, dst4, dst7, dst6, dst0, dst2, dst4, in common_hz_8t_and_aver_dst_4x8_msa()
89 ILVR_D2_UB(dst2, dst0, dst6, dst4, dst0, dst4); in common_hz_8t_and_aver_dst_4x8_msa()
115 v16u8 mask0, mask1, mask2, mask3, dst0, dst1, dst2, dst3; in common_hz_8t_and_aver_dst_8w_msa() local
136 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_hz_8t_and_aver_dst_8w_msa()
[all …]
Dvpx_convolve8_avg_vert_msa.c23 v16u8 dst0, dst1, dst2, dst3, out; in common_vt_8t_and_aver_dst_4w_msa() local
48 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_vt_8t_and_aver_dst_4w_msa()
60 ILVR_W2_UB(dst1, dst0, dst3, dst2, dst0, dst2); in common_vt_8t_and_aver_dst_4w_msa()
62 dst0 = (v16u8)__msa_ilvr_d((v2i64)dst2, (v2i64)dst0); in common_vt_8t_and_aver_dst_4w_msa()
83 v16u8 dst0, dst1, dst2, dst3; in common_vt_8t_and_aver_dst_8w_msa() local
105 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_vt_8t_and_aver_dst_8w_msa()
119 CONVERT_UB_AVG_ST8x4_UB(out0, out1, out2, out3, dst0, dst1, dst2, dst3, in common_vt_8t_and_aver_dst_8w_msa()
148 v16u8 dst0, dst1, dst2, dst3, tmp0, tmp1, tmp2, tmp3; in common_vt_8t_and_aver_dst_16w_mult_msa() local
175 LD_UB4(dst_tmp, dst_stride, dst0, dst1, dst2, dst3); in common_vt_8t_and_aver_dst_16w_mult_msa()
204 AVER_UB4_UB(tmp0, dst0, tmp1, dst1, tmp2, dst2, tmp3, dst3, dst0, dst1, in common_vt_8t_and_aver_dst_16w_mult_msa()
[all …]
Dvpx_convolve8_avg_msa.c24 v16u8 dst0, dst1, dst2, dst3, mask0, mask1, mask2, mask3, tmp0, tmp1; in common_hv_8ht_8vt_and_aver_dst_4w_msa() local
66 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_hv_8ht_8vt_and_aver_dst_4w_msa()
80 ILVR_W2_UB(dst1, dst0, dst3, dst2, dst0, dst2); in common_hv_8ht_8vt_and_aver_dst_4w_msa()
86 AVER_UB2_UB(tmp0, dst0, tmp1, dst2, tmp0, tmp1); in common_hv_8ht_8vt_and_aver_dst_4w_msa()
108 v16u8 dst0, dst1, dst2, dst3, mask0, mask1, mask2, mask3; in common_hv_8ht_8vt_and_aver_dst_8w_msa() local
155 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_hv_8ht_8vt_and_aver_dst_8w_msa()
183 CONVERT_UB_AVG_ST8x4_UB(tmp0, tmp1, tmp2, tmp3, dst0, dst1, dst2, dst3, in common_hv_8ht_8vt_and_aver_dst_8w_msa()
253 v16u8 dst0, dst1, dst2, dst3, res0, res1; in common_hv_2ht_2vt_and_aver_dst_4x4_msa() local
274 LD_UB4(dst, dst_stride, dst0, dst1, dst2, dst3); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
275 ILVR_W2_UB(dst1, dst0, dst3, dst2, dst0, dst2); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
[all …]
/external/libvpx/libvpx/test/
Dpartial_idct_test.cc81 DECLARE_ALIGNED(16, uint8_t, dst2[kMaxNumCoeffs]); in TEST_P()
93 memset(dst2, 0, sizeof(*dst2) * block_size); in TEST_P()
123 ASM_REGISTER_STATE_CHECK(partial_itxfm_(test_coef_block1, dst2, size)); in TEST_P()
126 const int diff = dst1[j] - dst2[j]; in TEST_P()
160 DECLARE_ALIGNED(16, uint8_t, dst2[kMaxNumCoeffs]); in TEST_P()
168 memset(dst2, 0, sizeof(*dst2) * block_size); in TEST_P()
187 ASM_REGISTER_STATE_CHECK(partial_itxfm_(test_coef_block2, dst2, size)); in TEST_P()
190 const int diff = dst1[j] - dst2[j]; in TEST_P()
Dvp10_inv_txfm_test.cc169 DECLARE_ALIGNED(16, uint8_t, dst2[kMaxNumCoeffs]); in TEST_P()
181 memset(dst2, 0, sizeof(*dst2) * block_size); in TEST_P()
211 ASM_REGISTER_STATE_CHECK(partial_itxfm_(test_coef_block1, dst2, size)); in TEST_P()
214 const int diff = dst1[j] - dst2[j]; in TEST_P()
248 DECLARE_ALIGNED(16, uint8_t, dst2[kMaxNumCoeffs]); in TEST_P()
256 memset(dst2, 0, sizeof(*dst2) * block_size); in TEST_P()
275 ASM_REGISTER_STATE_CHECK(partial_itxfm_(test_coef_block2, dst2, size)); in TEST_P()
278 const int diff = dst1[j] - dst2[j]; in TEST_P()
/external/opencv3/modules/cudev/test/
Dtest_split_merge.cu136 GpuMat_<T> dst1, dst2, dst3; in test_c3() local
137 gridSplit(d_src, tie(dst1, dst2, dst3)); in test_c3()
143 ASSERT_MAT_NEAR(dst[1], dst2, 0.0); in test_c3()
157 GpuMat_<T> dst1, dst2, dst3, dst4; in test_c4() local
158 gridSplit(d_src, tie(dst1, dst2, dst3, dst4)); in test_c4()
164 ASSERT_MAT_NEAR(dst[1], dst2, 0.0); in test_c4()
Dtest_arithm_func.cu125 GpuMat_<T> dst2 = magnitude_(d_src1, d_src2); in test_accuracy() local
128 EXPECT_MAT_NEAR(dst1, dst2, 1e-4); in test_accuracy()
129 EXPECT_MAT_NEAR(dst2, dst3, 0.0); in test_accuracy()
157 GpuMat_<T> dst2 = sqrt_(d_src); in test_accuracy() local
159 EXPECT_MAT_NEAR(dst1, dst2, 1e-5); in test_accuracy()
Dtest_warp.cu162 GpuMat_<float> dst2 = remap_(interCubic(brdReplicate(d_src)), d_mapx, d_mapy); in TEST() local
164 EXPECT_MAT_NEAR(dst1, dst2, 0.0); in TEST()
195 GpuMat_<float> dst2 = remap_(interArea(brdReplicate(d_src), Size(3, 3)), d_mapx, d_mapy); in TEST() local
197 EXPECT_MAT_NEAR(dst1, dst2, 0.0); in TEST()
Dtest_bitwize_op.cu135 GpuMat_<T> dst2 = d_src * 4; in test_accuracy() local
137 EXPECT_MAT_NEAR(dst1, dst2, 0.0); in test_accuracy()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dsplit_merge.hpp187 …__global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, const MaskPt… in split() argument
200 dst2(y, x) = src_value.y; in split()
204 …(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const MaskPtr& mas… in split() argument
209 split<<<grid, block, 0, stream>>>(src, dst1, dst2, mask, rows, cols); in split()
217 …__global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, GlobPtr<DstT… in split() argument
230 dst2(y, x) = src_value.y; in split()
235 …(const SrcPtr& src, const GlobPtr<DstType>& dst1, const GlobPtr<DstType>& dst2, const GlobPtr<DstT… in split() argument
240 split<<<grid, block, 0, stream>>>(src, dst1, dst2, dst3, mask, rows, cols); in split()
248 …__global__ void split(const SrcPtr src, GlobPtr<DstType> dst1, GlobPtr<DstType> dst2, GlobPtr<DstT… in split() argument
261 dst2(y, x) = src_value.y; in split()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DCatmullRomSpline.java158 float dst = in.dst2(controlPoints[result]); in nearest()
161 final float d = in.dst2(controlPoints[idx]); in nearest()
184 final float dstPrev2 = in.dst2(previous); in approximate()
185 final float dstNext2 = in.dst2(next); in approximate()
197 float L1Sqr = P1.dst2(P2); in approximate()
198 float L2Sqr = P3.dst2(P2); in approximate()
199 float L3Sqr = P3.dst2(P1); in approximate()
DBSpline.java243 float dst = in.dst2(knots.get(result)); in nearest()
246 final float d = in.dst2(knots.get(idx)); in nearest()
269 final float dstPrev2 = in.dst2(previous); in approximate()
270 final float dstNext2 = in.dst2(next); in approximate()
282 float L1Sqr = P1.dst2(P2); in approximate()
283 float L2Sqr = P3.dst2(P2); in approximate()
284 float L3Sqr = P3.dst2(P1); in approximate()
/external/opencv3/modules/imgproc/src/opencl/
DmedianFilter.cl56 #define SHUFFLE4_3(src0, src1, src2, dst0, dst1, dst2) { dst1 = src1; \
58 dst2 = (T4)(dst1.yzw, src2); }
60 #define SHUFFLE4_5(src0, src1, src2, src3, src4, dst0, dst1, dst2, dst3, dst4) { dst2 = src2; \
61 dst0 = (T4)(src0, src1, dst2.xy); \
62 dst1 = (T4)(src1, dst2.xyz); \
63 dst3 = (T4)(dst2.yzw, src3); \
64 dst4 = (T4)(dst2.zw, src3, src4); }
70 #define SHUFFLE4_3(src0, src1, src2, dst0, dst1, dst2) { dst1 = src1; \
72 dst2 = (T4)(dst1.s234567, src2); }
74 #define SHUFFLE4_5(src0, src1, src2, src3, src4, dst0, dst1, dst2, dst3, dst4) { dst2 = src2; \
[all …]
/external/opencv3/modules/superres/src/
Doptical_flow.cpp423 … virtual void impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2) = 0;
497 void impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2);
527 void Brox_CUDA::impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2) in impl() argument
543 dst2 = flows[1]; in impl()
575 void impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2);
599 void PyrLK_CUDA::impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2) in impl() argument
612 dst2 = flows[1]; in impl()
648 void impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2);
680 … void Farneback_CUDA::impl(const GpuMat& input0, const GpuMat& input1, GpuMat& dst1, GpuMat& dst2) in impl() argument
697 dst2 = flows[1]; in impl()
[all …]
/external/opencv3/modules/core/test/ocl/
Dtest_channels.cpp155 TEST_DECLARE_OUTPUT_PARAMETER(dst2); in PARAM_TEST_CASE()
182 randomSubMat(dst2, dst2_roi, roiSize, dst2Border, depth, -1540, 1740); in PARAM_TEST_CASE()
193 UMAT_UPLOAD_OUTPUT_PARAMETER(dst2); in PARAM_TEST_CASE()
201 dst.push_back(dst2), udst.push_back(udst2); in PARAM_TEST_CASE()
240 TEST_DECLARE_OUTPUT_PARAMETER(dst2); in PARAM_TEST_CASE()
292 randomSubMat(dst2, dst2_roi, roiSize, dst2Border, type(), -1540, 1740); in PARAM_TEST_CASE()
307 UMAT_UPLOAD_OUTPUT_PARAMETER(dst2); in PARAM_TEST_CASE()
325 dst.push_back(dst2), udst.push_back(udst2); in PARAM_TEST_CASE()
/external/mesa3d/src/mesa/main/
Dimage.c477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors() local
481 dst2[i][RCOMP] = UBYTE_TO_USHORT(src1[i][RCOMP]); in _mesa_convert_colors()
482 dst2[i][GCOMP] = UBYTE_TO_USHORT(src1[i][GCOMP]); in _mesa_convert_colors()
483 dst2[i][BCOMP] = UBYTE_TO_USHORT(src1[i][BCOMP]); in _mesa_convert_colors()
484 dst2[i][ACOMP] = UBYTE_TO_USHORT(src1[i][ACOMP]); in _mesa_convert_colors()
554 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors() local
559 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][RCOMP], src4[i][RCOMP]); in _mesa_convert_colors()
560 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][GCOMP], src4[i][GCOMP]); in _mesa_convert_colors()
561 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][BCOMP], src4[i][BCOMP]); in _mesa_convert_colors()
562 UNCLAMPED_FLOAT_TO_USHORT(dst2[i][ACOMP], src4[i][ACOMP]); in _mesa_convert_colors()
/external/skia/src/opts/
DSkTextureCompressor_opts.h160 uint64_t *const dst2 = dst + 2; in compress_r11eac_blocks() local
179 vst1q_u64(dst2, kTransparent); in compress_r11eac_blocks()
183 vst1q_u64(dst2, vreinterpretq_u64_u8(cmp)); in compress_r11eac_blocks()
209 vst1q_u64(dst2, d2); in compress_r11eac_blocks()
/external/webp/src/dsp/
Ddec_sse2.c201 __m128i dst0, dst1, dst2, dst3; in Transform() local
206 dst2 = _mm_loadl_epi64((__m128i*)(dst + 2 * BPS)); in Transform()
212 dst2 = _mm_cvtsi32_si128(WebPMemToUint32(dst + 2 * BPS)); in Transform()
218 dst2 = _mm_unpacklo_epi8(dst2, zero); in Transform()
223 dst2 = _mm_add_epi16(dst2, T2); in Transform()
228 dst2 = _mm_packus_epi16(dst2, dst2); in Transform()
235 _mm_storel_epi64((__m128i*)(dst + 2 * BPS), dst2); in Transform()
241 WebPUint32ToMem(dst + 2 * BPS, _mm_cvtsi128_si32(dst2)); in Transform()
267 __m128i dst2 = _mm_cvtsi32_si128(WebPMemToUint32(dst + 2 * BPS)); in TransformAC3() local
272 dst2 = _mm_unpacklo_epi8(dst2, zero); in TransformAC3()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DDefaultRenderableSorter.java49 …final float dst = (int)(1000f * camera.position.dst2(tmpV1)) - (int)(1000f * camera.position.dst2(… in compare()
/external/opencv3/3rdparty/libwebp/dsp/
Ddec_sse2.c201 __m128i dst0, dst1, dst2, dst3; in TransformSSE2() local
206 dst2 = _mm_loadl_epi64((__m128i*)&dst[2 * BPS]); in TransformSSE2()
212 dst2 = _mm_cvtsi32_si128(*(int*)&dst[2 * BPS]); in TransformSSE2()
218 dst2 = _mm_unpacklo_epi8(dst2, zero); in TransformSSE2()
223 dst2 = _mm_add_epi16(dst2, T2); in TransformSSE2()
228 dst2 = _mm_packus_epi16(dst2, dst2); in TransformSSE2()
235 _mm_storel_epi64((__m128i*)&dst[2 * BPS], dst2); in TransformSSE2()
241 *((int32_t *)&dst[2 * BPS]) = _mm_cvtsi128_si32(dst2); in TransformSSE2()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_imgproc.cpp289 TEST_DECLARE_OUTPUT_PARAMETER(dst2);
311 randomSubMat(dst2, dst2_roi, isize, dst2Border, sqdepth, 5, 16); in random_roi()
315 UMAT_UPLOAD_OUTPUT_PARAMETER(dst2); in random_roi()
321 OCL_EXPECT_MATS_NEAR_RELATIVE(dst2, threshold); in Near2()
323 OCL_EXPECT_MATS_NEAR(dst2, threshold); in Near2()

12345