Home
last modified time | relevance | path

Searched refs:stride2 (Results 1 – 25 of 46) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dcumsum_impl.cu30 size_t stride2) { in LeftMoveSum() argument
39 size_t read_index = j * stride2 + offset; in LeftMoveSum()
43 size_t read_index2 = (j - 1) * stride2 + offset; in LeftMoveSum()
52 size_t stride2) { in RightMoveSum() argument
61 size_t read_index = j * stride2 + offset; in RightMoveSum()
65 size_t read_index2 = (j + 1) * stride2 + offset; in RightMoveSum()
73 size_t stride2) { in CumSumKernelReverse() argument
82 size_t read_index = j * stride2 + offset; in CumSumKernelReverse()
86 size_t read_index2 = (j + 1) * stride2 + offset; in CumSumKernelReverse()
95 size_t stride2) { in CumSumKernel() argument
[all …]
Dcumprod_impl.cu30 size_t stride2) { in LeftMoveProd() argument
39 size_t read_index = j * stride2 + offset; in LeftMoveProd()
43 size_t read_index2 = (j - 1) * stride2 + offset; in LeftMoveProd()
52 size_t stride2) { in RightMoveProd() argument
61 size_t read_index = j * stride2 + offset; in RightMoveProd()
65 size_t read_index2 = (j + 1) * stride2 + offset; in RightMoveProd()
73 size_t stride2) { in CumProdKernelReverse() argument
82 size_t read_index = j * stride2 + offset; in CumProdKernelReverse()
86 size_t read_index2 = (j + 1) * stride2 + offset; in CumProdKernelReverse()
95 size_t stride2) { in CumProdKernel() argument
[all …]
/third_party/ffmpeg/libavutil/x86/
Dpixelutils_init.c25 const uint8_t *src2, ptrdiff_t stride2);
27 const uint8_t *src2, ptrdiff_t stride2);
30 const uint8_t *src2, ptrdiff_t stride2);
32 const uint8_t *src2, ptrdiff_t stride2);
34 const uint8_t *src2, ptrdiff_t stride2);
36 const uint8_t *src2, ptrdiff_t stride2);
39 const uint8_t *src2, ptrdiff_t stride2);
41 const uint8_t *src2, ptrdiff_t stride2);
43 const uint8_t *src2, ptrdiff_t stride2);
46 const uint8_t *src2, ptrdiff_t stride2);
[all …]
Dpixelutils.asm30 ; const uint8_t *src2, ptrdiff_t stride2);
33 cglobal pixelutils_sad_8x8, 4,4,0, src1, stride1, src2, stride2
68 ; const uint8_t *src2, ptrdiff_t stride2);
71 cglobal pixelutils_sad_8x8, 4,4,0, src1, stride1, src2, stride2
88 ; const uint8_t *src2, ptrdiff_t stride2);
91 cglobal pixelutils_sad_16x16, 4,4,0, src1, stride1, src2, stride2
108 ; const uint8_t *src2, ptrdiff_t stride2);
111 cglobal pixelutils_sad_16x16, 4,4,5, src1, stride1, src2, stride2
138 ; const uint8_t *src2, ptrdiff_t stride2);
142 cglobal pixelutils_sad_%1_16x16, 4,4,3, src1, stride1, src2, stride2
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcumsum_cpu_kernel.cc114 size_t stride2, size_t start, size_t end) const { in LeftMove() argument
120 size_t read_index = j * stride2 + offset; in LeftMove()
124 size_t read_index2 = (j - 1) * stride2 + offset; in LeftMove()
133 size_t stride2, size_t start, size_t end) const { in RightMove() argument
139 size_t read_index = j * stride2 + offset; in RightMove()
143 size_t read_index2 = (j + 1) * stride2 + offset; in RightMove()
151 …el::Copy(T *input, T *output, size_t dim0, size_t dim1, size_t dim2, size_t stride, size_t stride2, in Copy() argument
158 size_t read_index = j * stride2 + offset; in Copy()
166 … size_t stride, size_t stride2, size_t start, size_t end) const { in CumSumKernelReverse() argument
172 size_t read_index = j * stride2 + offset; in CumSumKernelReverse()
[all …]
Dcumsum_cpu_kernel.h47 …ve(const T *input, T *output, size_t dim0, size_t dim1, size_t dim2, size_t stride, size_t stride2,
51 …ve(const T *input, T *output, size_t dim0, size_t dim1, size_t dim2, size_t stride, size_t stride2,
55 …put, T *output, size_t dim0, size_t dim1, size_t dim2, size_t stride, size_t stride2, size_t start,
60 size_t stride2, size_t start, size_t end) const;
63 …el(const T *input, T *output, size_t dim0, size_t dim1, size_t dim2, size_t stride, size_t stride2,
/third_party/boost/boost/numeric/ublas/detail/
Draw.hpp78 int stride2( const M &m ) ;
85 int stride2( const matrix_reference<M> &m ) ;
92 int stride2( const c_matrix<T, M, N> &m ) ;
102 int stride2( const matrix_range<M> &m ) ;
105 int stride2( const matrix_slice<M> &m ) ;
425 return stride2( v.data() ) ; in stride()
441 int stride2( const M &m ) { in stride2() function
453 int stride2( const matrix_reference<M> &m ) { in stride2() function
454 return stride2( m.expression() ) ; in stride2()
464 int stride2( const c_matrix<T, M, N> &m ) { in stride2() function
[all …]
/third_party/ffmpeg/libavutil/
Dpixelutils.c29 const uint8_t *src2, ptrdiff_t stride2, in sad_wxh() argument
38 src2 += stride2; in sad_wxh()
45 const uint8_t *src2, ptrdiff_t stride2) \
47 return sad_wxh(src1, stride1, src2, stride2, size, size); \
Dpixelutils.h30 const uint8_t *src2, ptrdiff_t stride2);
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.c287 int stride, stride2; in gst_ffmpeg_avpicture_fill() local
305 stride2 = ROUND_UP_4 (w2); in gst_ffmpeg_avpicture_fill()
307 size2 = stride2 * h2; in gst_ffmpeg_avpicture_fill()
313 picture->linesize[1] = stride2; in gst_ffmpeg_avpicture_fill()
314 picture->linesize[2] = stride2; in gst_ffmpeg_avpicture_fill()
317 GST_DEBUG ("strides %d %d %d", stride, stride2, stride2); in gst_ffmpeg_avpicture_fill()
324 stride2 = ROUND_UP_4 (w2); in gst_ffmpeg_avpicture_fill()
326 size2 = stride2 * h2; in gst_ffmpeg_avpicture_fill()
332 picture->linesize[1] = stride2; in gst_ffmpeg_avpicture_fill()
333 picture->linesize[2] = stride2; in gst_ffmpeg_avpicture_fill()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dtranspose_fp32.c38 const int stride2 = strides[perm[2]]; in TransposeDim3Fp32() local
51 out_data[out_stride0_i + out_stride1_j + k] = in_data[stride0_i + stride1_j + k * stride2]; in TransposeDim3Fp32()
61 const int stride2 = strides[perm[2]]; in TransposeDim4Fp32() local
79 int stride2_k = k * stride2; in TransposeDim4Fp32()
93 const int stride2 = strides[perm[2]]; in TransposeDim5Fp32() local
114 int stride2_k = k * stride2; in TransposeDim5Fp32()
132 const int stride2 = strides[perm[2]]; in TransposeDim6Fp32() local
156 int stride2_k = k * stride2; in TransposeDim6Fp32()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dtranspose_fp16.c40 const int stride2 = strides[perm[2]]; in Fp16TransposeDim3() local
53 out_data[out_stride0_i + out_stride1_j + k] = in_data[stride0_i + stride1_j + k * stride2]; in Fp16TransposeDim3()
63 const int stride2 = strides[perm[2]]; in Fp16TransposeDim4() local
81 int stride2_k = k * stride2; in Fp16TransposeDim4()
95 const int stride2 = strides[perm[2]]; in Fp16TransposeDim5() local
116 int stride2_k = k * stride2; in Fp16TransposeDim5()
134 const int stride2 = strides[perm[2]]; in Fp16TransposeDim6() local
158 int stride2_k = k * stride2; in Fp16TransposeDim6()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dtranspose_int8.c38 const int stride2 = strides[perm[2]]; in TransposeDim3Int8() local
51 out_data[out_stride0_i + out_stride1_j + k] = in_data[stride0_i + stride1_j + k * stride2]; in TransposeDim3Int8()
61 const int stride2 = strides[perm[2]]; in TransposeDim4Int8() local
79 int stride2_k = k * stride2; in TransposeDim4Int8()
93 const int stride2 = strides[perm[2]]; in TransposeDim5Int8() local
114 int stride2_k = k * stride2; in TransposeDim5Int8()
132 const int stride2 = strides[perm[2]]; in TransposeDim6Int8() local
157 int stride2_k = k * stride2; in TransposeDim6Int8()
/third_party/ffmpeg/libavfilter/
Dscene_sad.c34 stride2 /= 2; in ff_scene_sad16_c()
40 src2w += stride2; in ff_scene_sad16_c()
54 src2 += stride2; in ff_scene_sad_c()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dssim.c64 const uint8_t* src2, int stride2, in SSIMGetClipped_C() argument
75 src2 += ymin * stride2; in SSIMGetClipped_C()
76 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped_C()
94 const uint8_t* src2, int stride2) { in SSIMGet_C() argument
97 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dssim.c64 const uint8_t* src2, int stride2, in SSIMGetClipped_C() argument
75 src2 += ymin * stride2; in SSIMGetClipped_C()
76 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped_C()
94 const uint8_t* src2, int stride2) { in SSIMGet_C() argument
97 for (y = 0; y <= 2 * VP8_SSIM_KERNEL; ++y, src1 += stride1, src2 += stride2) { in SSIMGet_C()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dtranspose_base.c41 …const int stride2 = strides[perm[2]]; …
54 …out_data[out_stride0_i + out_stride1_j + k] = in_data[stride0_i + stride1_j + k * stride2]; \
65 …const int stride2 = strides[perm[2]]; …
82 …int stride2_k = k * stride2; \
97 …const int stride2 = strides[perm[2]]; …
117 …int stride2_k = k * stride2; \
136 …const int stride2 = strides[perm[2]]; …
159 …int stride2_k = k * stride2; …
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c65 int32_t offset2, int32_t stride2) in create_buffer() argument
85 buffer->stride[2] = stride2; in create_buffer()
141 int32_t offset2, int32_t stride2) in drm_create_planar_buffer() argument
160 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
170 int32_t offset2, int32_t stride2) in drm_create_prime_buffer() argument
173 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/third_party/flutter/skia/third_party/externals/libwebp/extras/
Dget_disto.c74 const uint8_t* src2, int stride2, in DiffScaleChannel() argument
80 const uint8_t* const ptr2 = src2 + y * stride2; in DiffScaleChannel()
135 const uint8_t* src2, int stride2, in SSIMGetClipped() argument
144 src2 += ymin * stride2; in SSIMGetClipped()
145 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped()
164 const uint8_t* src2, int stride2, in SSIMScaleChannel() argument
176 plane2[x + y * w] = src2[x * x_stride + y * stride2]; in SSIMScaleChannel()
/third_party/skia/third_party/externals/libwebp/extras/
Dget_disto.c74 const uint8_t* src2, int stride2, in DiffScaleChannel() argument
80 const uint8_t* const ptr2 = src2 + y * stride2; in DiffScaleChannel()
135 const uint8_t* src2, int stride2, in SSIMGetClipped() argument
144 src2 += ymin * stride2; in SSIMGetClipped()
145 for (y = ymin; y <= ymax; ++y, src1 += stride1, src2 += stride2) { in SSIMGetClipped()
164 const uint8_t* src2, int stride2, in SSIMScaleChannel() argument
176 plane2[x + y * w] = src2[x * x_stride + y * stride2]; in SSIMScaleChannel()
/third_party/ffmpeg/tests/
Dtiny_ssim.c48 const pixel *pix2, intptr_t stride2, in ssim_4x4x2_core() argument
60 int b = pix2[x+y*stride2]; in ssim_4x4x2_core()
115 pixel *pix2, intptr_t stride2, 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.c28 const uint8_t *block2, ptrdiff_t stride2, 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); \
34 src2 + awidth, stride2, \
/third_party/ffmpeg/libavcodec/
Dutvideodec.c417 const ptrdiff_t stride2 = stride << 1; in restore_median_planar_il() local
433 bsrc += stride2; in restore_median_planar_il()
437 C = bsrc[-stride2]; in restore_median_planar_il()
441 B = bsrc[i - stride2]; in restore_median_planar_il()
447 c->llviddsp.add_median_pred(bsrc + 16, bsrc - stride2 + 16, in restore_median_planar_il()
452 bsrc += stride2; in restore_median_planar_il()
455 c->llviddsp.add_median_pred(bsrc, bsrc - stride2, in restore_median_planar_il()
459 bsrc += stride2; in restore_median_planar_il()
513 const ptrdiff_t stride2 = stride << 1; in restore_gradient_planar_il() local
530 bsrc += stride2; in restore_gradient_planar_il()
[all …]
Dopus_pvq.c111 uint32_t stride2 = 0; in celt_exp_rotation() local
126 stride2 = 1; in celt_exp_rotation()
129 while ((stride2 * stride2 + stride2) * stride + (stride >> 2) < len) in celt_exp_rotation()
130 stride2++; in celt_exp_rotation()
137 if (stride2) in celt_exp_rotation()
138 celt_exp_rotation_impl(X + i * len, len, stride2, s, -c); in celt_exp_rotation()
140 if (stride2) in celt_exp_rotation()
141 celt_exp_rotation_impl(X + i * len, len, stride2, s, c); in celt_exp_rotation()

12