Home
last modified time | relevance | path

Searched refs:stride1 (Results 1 – 25 of 44) sorted by relevance

12

/third_party/ffmpeg/libavutil/x86/
Dpixelutils_init.c24 int ff_pixelutils_sad_8x8_mmx(const uint8_t *src1, ptrdiff_t stride1,
26 int ff_pixelutils_sad_8x8_mmxext(const uint8_t *src1, ptrdiff_t stride1,
29 int ff_pixelutils_sad_16x16_mmxext(const uint8_t *src1, ptrdiff_t stride1,
31 int ff_pixelutils_sad_16x16_sse2(const uint8_t *src1, ptrdiff_t stride1,
33 int ff_pixelutils_sad_a_16x16_sse2(const uint8_t *src1, ptrdiff_t stride1,
35 int ff_pixelutils_sad_u_16x16_sse2(const uint8_t *src1, ptrdiff_t stride1,
38 int ff_pixelutils_sad_32x32_sse2(const uint8_t *src1, ptrdiff_t stride1,
40 int ff_pixelutils_sad_a_32x32_sse2(const uint8_t *src1, ptrdiff_t stride1,
42 int ff_pixelutils_sad_u_32x32_sse2(const uint8_t *src1, ptrdiff_t stride1,
45 int ff_pixelutils_sad_32x32_avx2(const uint8_t *src1, ptrdiff_t stride1,
[all …]
Dpixelutils.asm29 ; int ff_pixelutils_sad_8x8_mmx(const uint8_t *src1, ptrdiff_t stride1,
33 cglobal pixelutils_sad_8x8, 4,4,0, src1, stride1, src2, stride2
67 ; int ff_pixelutils_sad_8x8_mmxext(const uint8_t *src1, ptrdiff_t stride1,
71 cglobal pixelutils_sad_8x8, 4,4,0, src1, stride1, src2, stride2
87 ; int ff_pixelutils_sad_16x16_mmxext(const uint8_t *src1, ptrdiff_t stride1,
91 cglobal pixelutils_sad_16x16, 4,4,0, src1, stride1, src2, stride2
107 ; int ff_pixelutils_sad_16x16_sse2(const uint8_t *src1, ptrdiff_t stride1,
111 cglobal pixelutils_sad_16x16, 4,4,5, src1, stride1, src2, stride2
137 ; int ff_pixelutils_sad_[au]_16x16_sse2(const uint8_t *src1, ptrdiff_t stride1,
142 cglobal pixelutils_sad_%1_16x16, 4,4,3, src1, stride1, src2, stride2
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dtranspose_fp32.c22 const int stride1 = strides[perm[1]]; in TransposeDim2Fp32() local
29 out_data[out_stride0_i + j] = in_data[stride0_i + j * stride1]; in TransposeDim2Fp32()
37 const int stride1 = strides[perm[1]]; in TransposeDim3Fp32() local
49 int stride1_j = j * stride1; in TransposeDim3Fp32()
60 const int stride1 = strides[perm[1]]; in TransposeDim4Fp32() local
76 int stride1_j = j * stride1; in TransposeDim4Fp32()
92 const int stride1 = strides[perm[1]]; in TransposeDim5Fp32() local
111 int stride1_j = j * stride1; in TransposeDim5Fp32()
131 const int stride1 = strides[perm[1]]; in TransposeDim6Fp32() local
153 int stride1_j = j * stride1; in TransposeDim6Fp32()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dtranspose_fp16.c24 const int stride1 = strides[perm[1]]; in Fp16TransposeDim2() local
31 out_data[out_stride0_i + j] = in_data[stride0_i + j * stride1]; in Fp16TransposeDim2()
39 const int stride1 = strides[perm[1]]; in Fp16TransposeDim3() local
51 int stride1_j = j * stride1; in Fp16TransposeDim3()
62 const int stride1 = strides[perm[1]]; in Fp16TransposeDim4() local
78 int stride1_j = j * stride1; in Fp16TransposeDim4()
94 const int stride1 = strides[perm[1]]; in Fp16TransposeDim5() local
113 int stride1_j = j * stride1; in Fp16TransposeDim5()
133 const int stride1 = strides[perm[1]]; in Fp16TransposeDim6() local
155 int stride1_j = j * stride1; in Fp16TransposeDim6()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dtranspose_int8.c21 const int stride1 = strides[perm[1]]; in TransposeDim2Int8() local
28 out_data[out_stride0_i + j] = in_data[stride0_i + j * stride1]; in TransposeDim2Int8()
37 const int stride1 = strides[perm[1]]; in TransposeDim3Int8() local
49 int stride1_j = j * stride1; in TransposeDim3Int8()
60 const int stride1 = strides[perm[1]]; in TransposeDim4Int8() local
76 int stride1_j = j * stride1; in TransposeDim4Int8()
92 const int stride1 = strides[perm[1]]; in TransposeDim5Int8() local
111 int stride1_j = j * stride1; in TransposeDim5Int8()
131 const int stride1 = strides[perm[1]]; in TransposeDim6Int8() local
154 int stride1_j = j * stride1; in TransposeDim6Int8()
/third_party/boost/boost/numeric/ublas/detail/
Draw.hpp75 int stride1( const M &m ) ;
82 int stride1( const matrix_reference<M> &m ) ;
89 int stride1( const c_matrix<T, M, N> &m ) ;
96 int stride1( const matrix_range<M> &m ) ;
99 int stride1( const matrix_slice<M> &m ) ;
430 return stride1( v.data() ) ; in stride()
435 int stride1( const M &m ) { in stride1() function
448 int stride1( const matrix_reference<M> &m ) { in stride1() function
449 return stride1( m.expression() ) ; in stride1()
459 int stride1( const c_matrix<T, M, N> &m ) { in stride1() function
[all …]
/third_party/ffmpeg/libavutil/
Dpixelutils.c28 static av_always_inline int sad_wxh(const uint8_t *src1, ptrdiff_t stride1, in sad_wxh() argument
37 src1 += stride1; in sad_wxh()
44 static int block_sad_##size##x##size##_c(const uint8_t *src1, ptrdiff_t stride1, \
47 return sad_wxh(src1, stride1, src2, stride2, size, size); \
Dpixelutils.h29 typedef int (*av_pixelutils_sad_fn)(const uint8_t *src1, ptrdiff_t stride1,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dtranspose_base.c24 …const int stride1 = strides[perm[1]]; …
31 …out_data[out_stride0_i + j] = in_data[stride0_i + j * stride1]; …
40 …const int stride1 = strides[perm[1]]; …
52 …int stride1_j = j * stride1; …
64 …const int stride1 = strides[perm[1]]; …
79 …int stride1_j = j * stride1; …
96 …const int stride1 = strides[perm[1]]; …
114 …int stride1_j = j * stride1; …
135 …const int stride1 = strides[perm[1]]; …
156 …int stride1_j = j * stride1; …
/third_party/skia/third_party/externals/libwebp/extras/
Dget_disto.c73 static int DiffScaleChannel(uint8_t* src1, int stride1, in DiffScaleChannel() argument
79 uint8_t* const ptr1 = src1 + y * stride1; in DiffScaleChannel()
88 if (do_scaling) RescalePlane(src1, w, h, x_stride, stride1, max); in DiffScaleChannel()
134 static double SSIMGetClipped(const uint8_t* src1, int stride1, in SSIMGetClipped() argument
143 src1 += ymin * stride1; in SSIMGetClipped()
145 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped()
163 static int SSIMScaleChannel(uint8_t* src1, int stride1, in SSIMScaleChannel() argument
175 plane1[x + y * w] = src1[x * x_stride + y * stride1]; in SSIMScaleChannel()
188 src1[x * x_stride + y * stride1] = (diff > 255) ? 255u : (uint8_t)diff; in SSIMScaleChannel()
193 if (do_scaling) RescalePlane(src1, w, h, x_stride, stride1, max); in SSIMScaleChannel()
/third_party/flutter/skia/third_party/externals/libwebp/extras/
Dget_disto.c73 static int DiffScaleChannel(uint8_t* src1, int stride1, in DiffScaleChannel() argument
79 uint8_t* const ptr1 = src1 + y * stride1; in DiffScaleChannel()
88 if (do_scaling) RescalePlane(src1, w, h, x_stride, stride1, max); in DiffScaleChannel()
134 static double SSIMGetClipped(const uint8_t* src1, int stride1, in SSIMGetClipped() argument
143 src1 += ymin * stride1; in SSIMGetClipped()
145 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped()
163 static int SSIMScaleChannel(uint8_t* src1, int stride1, in SSIMScaleChannel() argument
175 plane1[x + y * w] = src1[x * x_stride + y * stride1]; in SSIMScaleChannel()
188 src1[x * x_stride + y * stride1] = (diff > 255) ? 255u : (uint8_t)diff; in SSIMScaleChannel()
193 if (do_scaling) RescalePlane(src1, w, h, x_stride, stride1, max); in SSIMScaleChannel()
/third_party/ffmpeg/libavfilter/
Dscene_sad.c33 stride1 /= 2; in ff_scene_sad16_c()
39 src1w += stride1; in ff_scene_sad16_c()
53 src1 += stride1; in ff_scene_sad_c()
Dscene_sad.h29 #define SCENE_SAD_PARAMS const uint8_t *src1, ptrdiff_t stride1, \
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dssim.c63 static double SSIMGetClipped_C(const uint8_t* src1, int stride1, in SSIMGetClipped_C() argument
74 src1 += ymin * stride1; in SSIMGetClipped_C()
76 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped_C()
93 static double SSIMGet_C(const uint8_t* src1, int stride1, in SSIMGet_C() argument
97 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
Dssim_sse2.c121 src1 += stride1; \
125 static double SSIMGet_SSE2(const uint8_t* src1, int stride1, in SSIMGet_SSE2() argument
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dssim.c63 static double SSIMGetClipped_C(const uint8_t* src1, int stride1, in SSIMGetClipped_C() argument
74 src1 += ymin * stride1; in SSIMGetClipped_C()
76 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped_C()
93 static double SSIMGet_C(const uint8_t* src1, int stride1, in SSIMGet_C() argument
97 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
Dssim_sse2.c121 src1 += stride1; \
125 static double SSIMGet_SSE2(const uint8_t* src1, int stride1, in SSIMGet_SSE2() argument
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c64 int32_t offset1, int32_t stride1, in create_buffer() argument
83 buffer->stride[1] = stride1; in create_buffer()
140 int32_t offset1, int32_t stride1, in drm_create_planar_buffer() argument
160 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
169 int32_t offset1, int32_t stride1, in drm_create_prime_buffer() argument
173 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/third_party/ffmpeg/tests/
Dtiny_ssim.c47 static void ssim_4x4x2_core( const pixel *pix1, intptr_t stride1, in ssim_4x4x2_core() argument
59 int a = pix1[x+y*stride1]; in ssim_4x4x2_core()
114 pixel *pix1, intptr_t stride1, in ssim_plane() argument
131 … ssim_4x4x2_core( &pix1[4*(x+z*stride1)], stride1, &pix2[4*(x+z*stride2)], stride2, &sum0[x] ); in ssim_plane()
/third_party/ffmpeg/libavutil/tests/
Dpixelutils.c27 const uint8_t *block1, ptrdiff_t stride1, in run_single_test() argument
41 out = f_out(block1, stride1, block2, stride2); in run_single_test()
42 ref = f_ref(block1, stride1, block2, stride2); in run_single_test()
/third_party/ffmpeg/libavfilter/x86/
Dscene_sad_init.c30 ASM_FUNC_NAME(src1, stride1, src2, stride2, awidth, height, sad); \
33 ff_scene_sad_c(src1 + awidth, stride1, \
/third_party/weston/wcap/
Dmain.c106 int i, u_accum, v_accum, stride0, stride1; in convert_to_yv12() local
110 stride1 = decoder->width / 2; in convert_to_yv12()
114 v = out + stride0 * decoder->height + stride1 * i / 2; in convert_to_yv12()
115 u = v + stride1 * decoder->height / 2; in convert_to_yv12()
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/fp32/
Darithmetic_fp32_wrapper.c54 int stride1 = wrapper_info->stride1_; in BatchScalarCalc() local
61 offset1 += stride1; in BatchScalarCalc()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.c1309 LLVMValueRef indexes[2], stride, stride1; in lp_build_get_level_stride_vec() local
1313 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1314 stride1 = LLVMBuildLoad(builder, stride1, ""); in lp_build_get_level_stride_vec()
1315 stride = lp_build_broadcast_scalar(&bld->int_coord_bld, stride1); in lp_build_get_level_stride_vec()
1318 LLVMValueRef stride1; in lp_build_get_level_stride_vec() local
1326 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
1327 stride1 = LLVMBuildLoad(builder, stride1, ""); in lp_build_get_level_stride_vec()
1328 stride = LLVMBuildInsertElement(builder, stride, stride1, indexo, ""); in lp_build_get_level_stride_vec()
1333 LLVMValueRef stride1; in lp_build_get_level_stride_vec() local
1342 stride1 = LLVMBuildGEP(builder, stride_array, indexes, 2, ""); in lp_build_get_level_stride_vec()
[all …]
/third_party/ffmpeg/libavcodec/
Ddxv.c62 uint8_t *plane1, ptrdiff_t stride1,
112 uint8_t *plane1, ptrdiff_t stride1, in cocg_block() argument
135 plane1 += stride1; in cocg_block()
175 uint8_t *plane3, ptrdiff_t stride1, in yao_block() argument
182 yao_subblock(plane3, a_indices, stride1, block + 8); in yao_block()
184 yao_subblock(plane3 + 4, a_indices, stride1, block + 24); in yao_block()
186 yao_subblock(plane3 + 8, a_indices, stride1, block + 40); in yao_block()
188 yao_subblock(plane3 + 12, a_indices, stride1, block + 56); in yao_block()

12