Home
last modified time | relevance | path

Searched refs:in_stride (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dcfhdencdsp.c27 static av_always_inline void filter(int16_t *input, ptrdiff_t in_stride, in filter() argument
32 low[(0>>1) * low_stride] = av_clip_int16(input[0*in_stride] + input[1*in_stride]); in filter()
33 high[(0>>1) * high_stride] = av_clip_int16((5 * input[0*in_stride] - 11 * input[1*in_stride] + in filter()
34 4 * input[2*in_stride] + 4 * input[3*in_stride] - in filter()
35 … 1 * input[4*in_stride] - 1 * input[5*in_stride] + 4) >> 3); in filter()
38 low[(i>>1) * low_stride] = av_clip_int16(input[i*in_stride] + input[(i+1)*in_stride]); in filter()
39 … high[(i>>1) * high_stride] = av_clip_int16(((-input[(i-2)*in_stride] - input[(i-1)*in_stride] + in filter()
40 … input[(i+2)*in_stride] + input[(i+3)*in_stride] + 4) >> 3) + in filter()
41 … input[(i+0)*in_stride] - input[(i+1)*in_stride]); in filter()
44 …)>>1) * low_stride] = av_clip_int16(input[((len-2)+0)*in_stride] + input[((len-2)+1)*in_stride]); in filter()
[all …]
Dcfhdencdsp.h27 ptrdiff_t in_stride, ptrdiff_t low_stride,
32 ptrdiff_t in_stride, ptrdiff_t low_stride,
Dcfhdenc.c443 ptrdiff_t in_stride = frame->linesize[act_plane] / 2; in cfhd_encode_frame() local
448 in_stride, s->alpha); in cfhd_encode_frame()
450 in_stride = avctx->width; in cfhd_encode_frame()
454 in_stride, a_width, a_width, in cfhd_encode_frame()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dslice_base.c60 int in_stride[8]; in DoSlice() local
61 in_stride[7] = 1; in DoSlice()
63 in_stride[i] = param->shape_[i + 1] * in_stride[i + 1]; in DoSlice()
68 int in_offset0 = (ii + param->begin_[0]) * in_stride[0] + param->begin_[7]; in DoSlice()
71 int in_offset1 = (jj + param->begin_[1]) * in_stride[1] + in_offset0; in DoSlice()
74 int in_offset2 = (kk + param->begin_[2]) * in_stride[2] + in_offset1; in DoSlice()
77 int in_offset3 = (ll + param->begin_[3]) * in_stride[3] + in_offset2; in DoSlice()
80 int in_offset4 = (i + param->begin_[4]) * in_stride[4] + in_offset3; in DoSlice()
83 int in_offset5 = (j + param->begin_[5]) * in_stride[5] + in_offset4; in DoSlice()
86 int in_offset6 = (k + param->begin_[6]) * in_stride[6] + in_offset5; in DoSlice()
[all …]
Dsplit_base.c30 int in_stride = strides[split_dim]; in DoSplit() local
32 int in_stride_bytes = in_stride * data_size; in DoSplit()
36 int stride_per_split = in_stride * input_shape[split_dim]; in DoSplit()
43 src += split_sizes[i] * in_stride * data_size; in DoSplit()
51 int8_t *dst = int8_out + split_times * in_stride * split_size * data_size; in DoSplit()
53 src += split_size * in_stride * data_size; in DoSplit()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dslice_int8.c39 size_t in_stride[8]; in SliceInt8() local
40 in_stride[7] = 1; in SliceInt8()
42 in_stride[i] = param->shape_[i + 1] * in_stride[i + 1]; in SliceInt8()
53 size_t in_offset0 = (i + param->begin_[0]) * in_stride[0] + param->begin_[7]; in SliceInt8()
56 size_t in_offset1 = (j + param->begin_[1]) * in_stride[1] + in_offset0; in SliceInt8()
59 size_t in_offset2 = (k + param->begin_[2]) * in_stride[2] + in_offset1; in SliceInt8()
62 size_t in_offset3 = (l + param->begin_[3]) * in_stride[3] + in_offset2; in SliceInt8()
65 size_t in_offset4 = (n + param->begin_[4]) * in_stride[4] + in_offset3; in SliceInt8()
68 size_t in_offset5 = (h + param->begin_[5]) * in_stride[5] + in_offset4; in SliceInt8()
71 size_t in_offset = (w + param->begin_[6]) * in_stride[6] + in_offset5; in SliceInt8()
Dsplit_int8.c31 int in_stride = strides[split_dim]; in Int8DoSplit() local
33 int stride_per_split = in_stride * input_shape[split_dim]; in Int8DoSplit()
38 src += split_sizes[i] * in_stride; in Int8DoSplit()
49 int copy_size = split_sizes[split_which] * in_stride; in Int8DoSplit()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dspace_to_batch_fp32_tests.cc39 int in_stride[] = {16, 4, 1, 1}; in TEST_F() local
44 …DoSpaceToBatch(input.data(), out, in_shape.data(), out_shape.data(), in_stride, out_stride, blocks… in TEST_F()
60 int in_stride[] = {16, 4, 1, 1}; in TEST_F() local
65 …DoSpaceToBatch(input.data(), out, in_shape.data(), out_shape.data(), in_stride, out_stride, blocks… in TEST_F()
81 int in_stride[] = {16, 4, 1, 1}; in TEST_F() local
86 …DoSpaceToBatch(input.data(), out, in_shape.data(), out_shape.data(), in_stride, out_stride, blocks… in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dspace_to_batch_fp32.c19 …const float *input, float *output, const int *in_shape, const int *out_shape, const int *in_stride, in DoSpaceToBatch() argument
56 … const float *in = input + input_batch * in_stride[0] + in_h * in_stride[1] + in_w * in_stride[2]; in DoSpaceToBatch()
Dspace_to_batch_fp32.h43 …const float *input, float *output, const int *in_shape, const int *out_shape, const int *in_stride,
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
DgatherNd_fp32.cc90 std::vector<int> in_stride(in_rank); in InitOffset() local
91 in_stride[in_rank - 1] = 1; in InitOffset()
93 in_stride[i] = in_shape[i + 1] * in_stride[i + 1]; in InitOffset()
100 in_offset_[j] += indices_ptr[j * idx_stride + k] * in_stride.at(k); in InitOffset()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
DgatherNd_int8.cc102 std::vector<int> in_stride(in_rank); in InitOffset() local
103 in_stride[in_rank - 1] = 1; in InitOffset()
105 in_stride[i] = in_shape[i + 1] * in_stride[i + 1]; in InitOffset()
113 in_offset_[j] += tmp * in_stride[k]; in InitOffset()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/fft/
Dkiss_fft_s16.c239 const size_t fstride, int in_stride, int *factors, in kf_work() argument
256 kf_work (Fout + k * m, f + fstride * in_stride * k, fstride * p, in kf_work()
257 in_stride, factors, st); in kf_work()
284 f += fstride * in_stride; in kf_work()
292 kf_work (Fout, f, fstride * p, in_stride, factors, st); in kf_work()
293 f += fstride * in_stride; in kf_work()
396 kiss_fft_s16_cpx * fout, int in_stride) in kiss_fft_s16_stride() argument
404 kf_work (tmpbuf, fin, 1, in_stride, st->factors, st); in kiss_fft_s16_stride()
408 kf_work (fout, fin, 1, in_stride, st->factors, st); in kiss_fft_s16_stride()
Dkiss_fft_f32.c239 const size_t fstride, int in_stride, int *factors, in kf_work() argument
256 kf_work (Fout + k * m, f + fstride * in_stride * k, fstride * p, in kf_work()
257 in_stride, factors, st); in kf_work()
284 f += fstride * in_stride; in kf_work()
292 kf_work (Fout, f, fstride * p, in_stride, factors, st); in kf_work()
293 f += fstride * in_stride; in kf_work()
396 kiss_fft_f32_cpx * fout, int in_stride) in kiss_fft_f32_stride() argument
404 kf_work (tmpbuf, fin, 1, in_stride, st->factors, st); in kiss_fft_f32_stride()
408 kf_work (fout, fin, 1, in_stride, st->factors, st); in kiss_fft_f32_stride()
Dkiss_fft_s32.c239 const size_t fstride, int in_stride, int *factors, in kf_work() argument
256 kf_work (Fout + k * m, f + fstride * in_stride * k, fstride * p, in kf_work()
257 in_stride, factors, st); in kf_work()
284 f += fstride * in_stride; in kf_work()
292 kf_work (Fout, f, fstride * p, in_stride, factors, st); in kf_work()
293 f += fstride * in_stride; in kf_work()
396 kiss_fft_s32_cpx * fout, int in_stride) in kiss_fft_s32_stride() argument
404 kf_work (tmpbuf, fin, 1, in_stride, st->factors, st); in kiss_fft_s32_stride()
408 kf_work (fout, fin, 1, in_stride, st->factors, st); in kiss_fft_s32_stride()
Dkiss_fft_f64.c239 const size_t fstride, int in_stride, int *factors, in kf_work() argument
256 kf_work (Fout + k * m, f + fstride * in_stride * k, fstride * p, in kf_work()
257 in_stride, factors, st); in kf_work()
284 f += fstride * in_stride; in kf_work()
292 kf_work (Fout, f, fstride * p, in_stride, factors, st); in kf_work()
293 f += fstride * in_stride; in kf_work()
396 kiss_fft_f64_cpx * fout, int in_stride) in kiss_fft_f64_stride() argument
404 kf_work (tmpbuf, fin, 1, in_stride, st->factors, st); in kiss_fft_f64_stride()
408 kf_work (fout, fin, 1, in_stride, st->factors, st); in kiss_fft_f64_stride()
/third_party/ffmpeg/libavcodec/x86/
Dcfhdencdsp_init.c30 ptrdiff_t in_stride, ptrdiff_t low_stride,
34 ptrdiff_t in_stride, ptrdiff_t low_stride,
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_texture.c44 const float *in_st, unsigned in_stride, in util_map_texcoords2d_onto_cubemap() argument
107 in_st += in_stride; in util_map_texcoords2d_onto_cubemap()
Du_texture.h48 const float *in_st, unsigned in_stride,
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c591 uint8_t* in, int in_stride, int mb_h, in EmitRescaledRowsRGBA() argument
597 uint8_t* const row_in = in + num_lines_in * in_stride; in EmitRescaledRowsRGBA()
603 WebPMultARGBRows(row_in, in_stride, in EmitRescaledRowsRGBA()
606 WebPRescalerImport(dec->rescaler, lines_left, row_in, in_stride); in EmitRescaledRowsRGBA()
618 const uint8_t* row_in, int in_stride, in EmitRows() argument
625 row_in += in_stride; in EmitRows()
676 uint8_t* in, int in_stride, int mb_h) { in EmitRescaledRowsYUVA() argument
683 WebPMultARGBRows(in, in_stride, dec->rescaler->src_width, needed_lines, 0); in EmitRescaledRowsYUVA()
685 WebPRescalerImport(dec->rescaler, lines_left, in, in_stride); in EmitRescaledRowsYUVA()
688 in += needed_lines * in_stride; in EmitRescaledRowsYUVA()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8l_dec.c595 uint8_t* in, int in_stride, int mb_h, in EmitRescaledRowsRGBA() argument
601 uint8_t* const row_in = in + (uint64_t)num_lines_in * in_stride; in EmitRescaledRowsRGBA()
607 WebPMultARGBRows(row_in, in_stride, in EmitRescaledRowsRGBA()
610 WebPRescalerImport(dec->rescaler, lines_left, row_in, in_stride); in EmitRescaledRowsRGBA()
622 const uint8_t* row_in, int in_stride, in EmitRows() argument
629 row_in += in_stride; in EmitRows()
680 uint8_t* in, int in_stride, int mb_h) { in EmitRescaledRowsYUVA() argument
687 WebPMultARGBRows(in, in_stride, dec->rescaler->src_width, needed_lines, 0); in EmitRescaledRowsYUVA()
689 WebPRescalerImport(dec->rescaler, lines_left, in, in_stride); in EmitRescaledRowsYUVA()
692 in += needed_lines * in_stride; in EmitRescaledRowsYUVA()
[all …]
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c252 gint in_stride; in gst_video_crop_transform_packed_complex() local
261 in_stride = GST_VIDEO_FRAME_PLANE_STRIDE (in_frame, 0); in gst_video_crop_transform_packed_complex()
264 in_data += vcrop->crop_top * in_stride; in gst_video_crop_transform_packed_complex()
286 in_data += in_stride; in gst_video_crop_transform_packed_complex()
292 in_data += in_stride; in gst_video_crop_transform_packed_complex()
305 gint in_stride, out_stride; in gst_video_crop_transform_packed_simple() local
313 in_stride = GST_VIDEO_FRAME_PLANE_STRIDE (in_frame, 0); in gst_video_crop_transform_packed_simple()
316 in_data += (vcrop->crop_top + y) * in_stride; in gst_video_crop_transform_packed_simple()
324 in_data += in_stride; in gst_video_crop_transform_packed_simple()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/
Dgstdvbsubenc.c279 guint out_stride, in_stride, p_stride; in create_cropped_frame() local
296 in_stride = GST_VIDEO_FRAME_PLANE_STRIDE (in, 0); in create_cropped_frame()
302 in_pixels += y * in_stride + x * p_stride; in create_cropped_frame()
307 in_pixels += in_stride; in create_cropped_frame()
/third_party/gstreamer/gstplugins_bad/ext/colormanagement/
Dgstlcms.c745 gint width, in_stride, out_stride; in gst_lcms_process_rgb() local
754 in_stride = GST_VIDEO_FRAME_PLANE_STRIDE (inframe, 0); in gst_lcms_process_rgb()
780 width, height, in_stride, out_stride, in_pixel_stride, out_pixel_stride, in gst_lcms_process_rgb()
789 out_stride = in_stride; in gst_lcms_process_rgb()
797 in_row_wrap = in_stride - in_pixel_stride * width; in gst_lcms_process_rgb()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless.c407 const int in_stride = (row_end - row_start) * in VP8LInverseTransform() local
409 uint32_t* const src = out + out_stride - in_stride; in VP8LInverseTransform()
410 memmove(src, out, in_stride * sizeof(*src)); in VP8LInverseTransform()

12