Home
last modified time | relevance | path

Searched refs:dst_w (Results 1 – 25 of 52) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_stretch.c70 generate_rowbytes(int src_w, int dst_w, int bpp) in generate_rowbytes() argument
76 int dst_w; in generate_rowbytes() member
86 if ((src_w == last.src_w) && (dst_w == last.dst_w) && (bpp == last.bpp)) { in generate_rowbytes()
91 last.dst_w = dst_w; in generate_rowbytes()
114 inc = (src_w << 16) / dst_w; in generate_rowbytes()
117 for (i = 0; i < dst_w; ++i) { in generate_rowbytes()
152 static void name(type *src, int src_w, type *dst, int dst_w) \
159 inc = (src_w << 16) / dst_w; \
160 for ( i=dst_w; i>0; --i ) { \
177 copy_row3(Uint8 * src, int src_w, Uint8 * dst, int dst_w) in DEFINE_COPY_ROW()
[all …]
DSDL_blit_auto.c39 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Scale()
44 int n = info->dst_w; in SDL_Blit_RGB888_RGB888_Scale()
79 int n = info->dst_w; in SDL_Blit_RGB888_RGB888_Blend()
134 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Blend_Scale()
139 int n = info->dst_w; in SDL_Blit_RGB888_RGB888_Blend_Scale()
205 int n = info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate()
239 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate_Scale()
244 int n = info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate_Scale()
291 int n = info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate_Blend()
358 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale()
[all …]
DSDL_blit_0.c37 width = info->dst_w; in BlitBto1()
93 width = info->dst_w; in BlitBto2()
129 width = info->dst_w; in BlitBto3()
169 width = info->dst_w; in BlitBto4()
199 int width = info->dst_w; in BlitBto1Key()
252 int width = info->dst_w; in BlitBto2Key()
287 int width = info->dst_w; in BlitBto3Key()
321 int width = info->dst_w; in BlitBto4Key()
356 int width = info->dst_w; in BlitBtoNAlpha()
401 int width = info->dst_w; in BlitBtoNAlphaKey()
DSDL_blit_1.c41 width = info->dst_w; in Blit1to1()
92 width = info->dst_w; in Blit1to2()
199 width = info->dst_w; in Blit1to3()
248 width = info->dst_w; in Blit1to4()
287 int width = info->dst_w; in Blit1to1Key()
334 int width = info->dst_w; in Blit1to2Key()
366 int width = info->dst_w; in Blit1to3Key()
399 int width = info->dst_w; in Blit1to4Key()
431 int width = info->dst_w; in Blit1toNAlpha()
471 int width = info->dst_w; in Blit1toNAlphaKey()
DSDL_blit_A.c32 int width = info->dst_w; in BlitNto1SurfaceAlpha()
79 int width = info->dst_w; in BlitNto1PixelAlpha()
125 int width = info->dst_w; in BlitNto1SurfaceAlphaKey()
177 int width = info->dst_w; in BlitRGBtoRGBSurfaceAlpha128MMX()
241 int width = info->dst_w; in BlitRGBtoRGBSurfaceAlphaMMX()
330 int width = info->dst_w; in BlitRGBtoRGBPixelAlphaMMX()
396 int width = info->dst_w; in BlitRGBtoRGBSurfaceAlpha128()
425 int width = info->dst_w; in BlitRGBtoRGBSurfaceAlpha()
463 int width = info->dst_w; in BlitRGBtoRGBPixelAlpha()
517 int width = info->dst_w; in BlitRGBtoRGBPixelAlphaMMX3DNOW()
[all …]
DSDL_blit_N.c187 int width = info->dst_w; in Blit_RGB888_RGB565Altivec()
336 int width = info->dst_w; in Blit_RGB565_32Altivec()
483 int width = info->dst_w; in Blit_RGB555_32Altivec()
577 if (info->dst_w < 16) { in Blit32to32KeyAltivec()
630 int width = info->dst_w; in Blit32to32KeyAltivec()
703 int width = info->dst_w; in ConvertAltivec32to32_noprefetch()
786 int width = info->dst_w; in ConvertAltivec32to32_prefetch()
905 width = info->dst_w; in Blit_RGB888_index8()
1015 width = info->dst_w; in Blit_RGB101010_index8()
1132 width = info->dst_w; in Blit_RGB888_RGB555()
[all …]
DSDL_blit_slow.c55 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_Slow()
60 int n = info->dst_w; in SDL_Blit_Slow()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dconv1x1_base.c30 for (int dst_w = 0; dst_w < conv_param->output_w_; dst_w++) { in Conv1x1InputPack() local
31 int src_w = dst_w * conv_param->stride_w_ - conv_param->pad_l_; in Conv1x1InputPack()
35 memcpy(dst_h_ptr + dst_w * conv_param->input_channel_ * data_size, in Conv1x1InputPack()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dconv2d_transpose.cl27 int dst_w = get_global_id(1);
28 int rem_w = dst_w % stride.y;
29 int ceil_w = dst_w / stride.y;
30 dst_w = ceil_w * stride.y * 2 + rem_w;
34 if (dst_h >= dst_size.x || dst_w >= dst_size.y || dst_c >= dst_size.z || n >= dst_size.w) return;
41 int kw_start = dst_w + padding.y;
113 WRITE_IMAGE(dst_data, (int2)(dst_w * dst_size.z + dst_c, n * dst_size.x + dst_h), r0);
114 if (dst_h + stride.x < dst_size.x && dst_w < dst_size.y) {
115 … WRITE_IMAGE(dst_data, (int2)(dst_w * dst_size.z + dst_c, n * dst_size.x + dst_h + stride.x), r1);
117 if (dst_h < dst_size.x && dst_w + stride.y < dst_size.y) {
[all …]
/third_party/libdrm/exynos/
Dexynos_fimg2d.c506 unsigned int src_w, src_h, dst_w, dst_h; in g2d_copy() local
515 dst_w = w; in g2d_copy()
518 dst_w = dst->width - dst_x; in g2d_copy()
522 w = MIN(src_w, dst_w); in g2d_copy()
590 unsigned int src_w, src_h, dst_w, dst_h; in g2d_move() local
599 dst_w = w; in g2d_move()
602 dst_w = img->width - dst_x; in g2d_move()
606 w = MIN(src_w, dst_w); in g2d_move()
684 unsigned int dst_y, unsigned int dst_w, in g2d_copy_with_scale() argument
696 if (src_w == dst_w && src_h == dst_h) in g2d_copy_with_scale()
[all …]
/third_party/ffmpeg/doc/examples/
Dscaling_video.c56 int src_w = 320, src_h = 240, dst_w, dst_h; in main() local
76 if (av_parse_video_size(&dst_w, &dst_h, dst_size) < 0) { in main()
91 dst_w, dst_h, dst_pix_fmt, in main()
98 av_get_pix_fmt_name(dst_pix_fmt), dst_w, dst_h); in main()
112 dst_w, dst_h, dst_pix_fmt, 1)) < 0) { in main()
132 av_get_pix_fmt_name(dst_pix_fmt), dst_w, dst_h, dst_filename); in main()
/third_party/ffmpeg/libavfilter/
Dlswsutils.c23 int dst_w, int dst_h, enum AVPixelFormat dst_pix_fmt, in ff_scale_image() argument
30 dst_w, dst_h, dst_pix_fmt, in ff_scale_image()
37 av_get_pix_fmt_name(dst_pix_fmt), dst_w, dst_h); in ff_scale_image()
42 if ((ret = av_image_alloc(dst_data, dst_linesize, dst_w, dst_h, dst_pix_fmt, 16)) < 0) in ff_scale_image()
Ddrawutils.h104 int dst_w, int dst_h,
126 uint8_t *dst[], int dst_linesize[], int dst_w, int dst_h,
Dvf_overlay.c358 const int dst_w = dst->width; in blend_slice_packed_rgb() local
388 for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) { in blend_slice_packed_rgb()
440 … int dst_w, int dst_h, \
455 …int dst_wp = AV_CEIL_RSHIFT(dst_w, hsub); …
566 … int dst_w, int dst_h, \
590 …for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) { …
627 …const int dst_w = dst->width; …
630 …blend_plane_##depth##_##nbits##bits(ctx, dst, src, src_w, src_h, dst_w, dst_h, 0, 0, 0, …
633 …blend_plane_##depth##_##nbits##bits(ctx, dst, src, src_w, src_h, dst_w, dst_h, 1, hsub, vsub, …
636 …blend_plane_##depth##_##nbits##bits(ctx, dst, src, src_w, src_h, dst_w, dst_h, 2, hsub, vsub, …
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/sse/
DDepthwiseFp32_Sse.c123 float *dst_w = dst_h; in ConvDwFp32Center() local
129 for (; c1 < c4; c1 += C4NUM, dst_w += C4NUM * block_channel, src_w += C4NUM * in_sw_step) { in ConvDwFp32Center()
170 _mm_storeu_ps(dst_w, dst_w_ma1); in ConvDwFp32Center()
171 _mm_storeu_ps(dst_w + block_channel, dst_w_ma2); in ConvDwFp32Center()
172 _mm_storeu_ps(dst_w + 2 * block_channel, dst_w_ma3); in ConvDwFp32Center()
173 _mm_storeu_ps(dst_w + 3 * block_channel, dst_w_ma4); in ConvDwFp32Center()
177 for (; c1 < c2; c1 += C2NUM, dst_w += C2NUM * block_channel, src_w += C2NUM * in_sw_step) { in ConvDwFp32Center()
203 _mm_storeu_ps(dst_w, dst_w_ma1); in ConvDwFp32Center()
204 _mm_storeu_ps(dst_w + block_channel, dst_w_ma2); in ConvDwFp32Center()
208 for (; c1 < width; c1++, dst_w += block_channel, src_w += in_sw_step) { in ConvDwFp32Center()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dmatrix_combine_impl.cu27 size_t dst_w = src_width * batchIdx + src_w; in MatrixCombineKernel() local
28 output_addr[dst_h * dst_width + dst_w] = input_addr[pointIdx]; in MatrixCombineKernel()
42 size_t dst_w = src_width * batchIdx + src_w; in MatrixCombineKernel() local
43 output_addr[dst_h * dst_width + dst_w] = input_addr[pointIdx]; in MatrixCombineKernel()
49 size_t dst_w = src_width * (batch - 1) + src_w; in MatrixCombineKernel() local
50 output_addr[dst_h * dst_width + dst_w] = input_addr[src_coordinate]; in MatrixCombineKernel()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dconv_depthwise_fp16.c433 float16_t *dst_w = dst_data + out_w_start * conv_param->output_channel_; in ConvDwFp16() local
438 … ConvDwFp16Row(dst_w, src_kw, weight_kh, num_pixels, conv_param->output_channel_, in_sw_step); in ConvDwFp16()
526 float16_t *dst_w = dst_h; in DepthwiseCenterFp16() local
532 dst_w[c] = 0; in DepthwiseCenterFp16()
541 float16x8_t dst_8 = vld1q_f16(dst_w); in DepthwiseCenterFp16()
543 vst1q_f16(dst_w, dst_8); in DepthwiseCenterFp16()
546 dst_w[c] += src_kw[c] * weight_kw[c]; in DepthwiseCenterFp16()
557 dst_w[c] += bias[c]; in DepthwiseCenterFp16()
558 dst_w[c] = (is_relu) ? (MSMAX(0, dst_w[c])) : (dst_w[c]); in DepthwiseCenterFp16()
559 dst_w[c] = (is_relu6) ? (MSMIN(6, MSMAX(0, dst_w[c]))) : (dst_w[c]); in DepthwiseCenterFp16()
[all …]
/third_party/wayland-ivi-extension/screen-info/module/
Dscreen-info.h5 int dst_w; member
20 int dst_w; member
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_yuv.c116 int dst_w, in xa_yuv_planar_blit() argument
127 if (dst_w == 0 || dst_h == 0) in xa_yuv_planar_blit()
140 scale_x = (float)src_w / (float)dst_w; in xa_yuv_planar_blit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c561 unsigned dst_w = src_w; in fallback_copy_image() local
566 dst_w = DIV_ROUND_UP(dst_w, src_blk_w); in fallback_copy_image()
569 dst_w *= dst_blk_w; in fallback_copy_image()
579 line_bytes = _mesa_format_row_stride(dst_image->TexFormat, dst_w); in fallback_copy_image()
584 dst_x, dst_y, dst_w, dst_h, in fallback_copy_image()
589 dst_x, dst_y, dst_w, dst_h, in fallback_copy_image()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dconv_depthwise_fp32.c73 float *dst_w = dst_data + out_w_start * conv_param->output_channel_; in ConvDw() local
79 … ConvDwFp32Row(dst_w, src_kw, weight_kh, num_pixels, conv_param->output_channel_, in_sw_step); in ConvDw()
268 float *dst_w = dst_h; in ConvDwCenter() local
274 dst_w[c] = 0; in ConvDwCenter()
281 dst_w[c] += src_kw[c] * weight_kw[c]; in ConvDwCenter()
291 dst_w[c] += bias[c]; in ConvDwCenter()
292 dst_w[c] = (is_relu) ? (MSMAX(0, dst_w[c])) : (dst_w[c]); in ConvDwCenter()
293 dst_w[c] = (is_relu6) ? (MSMIN(6, MSMAX(0, dst_w[c]))) : (dst_w[c]); in ConvDwCenter()
295 dst_w += block_channel; in ConvDwCenter()
910 float *dst_w = dst_h + ow * sliding->block_channel_; in DeconvDwBorder() local
[all …]
Dresize_fp32.c313 float *dst_w = dst + w * channel; in BicubicInterpRow() local
334 MS_ST256_F32(dst_w + c, interp_value); in BicubicInterpRow()
352 MS_STQ_F32(dst_w + c, interp_value); in BicubicInterpRow()
356dst_w[c] = src0_w[c] * weight[0] + src1_w[c] * weight[1] + src2_w[c] * weight[2] + src3_w[c] * wei… in BicubicInterpRow()
367 float *dst_w = dst + w * channel; in BicubicInterpCol() local
388 MS_ST256_F32(dst_w + c, interp_value); in BicubicInterpCol()
406 MS_STQ_F32(dst_w + c, interp_value); in BicubicInterpCol()
410dst_w[c] = src0_w[c] * weights[0] + src1_w[c] * weights[1] + src2_w[c] * weights[2] + src3_w[c] * … in BicubicInterpCol()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dimage_process.h74 bool ResizeBilinear(const LiteMat &src, LiteMat &dst, int dst_w, int dst_h);
182 bool WarpAffineBilinear(const LiteMat &src, LiteMat &dst, const LiteMat &M, int dst_w, int dst_h,
193 bool WarpPerspectiveBilinear(const LiteMat &src, LiteMat &dst, const LiteMat &M, int dst_w, int dst…
/third_party/ffmpeg/tests/checkasm/
Dvideodsp.c50 #define check_emu_edge_size(type, src_w, src_h, dst_w, dst_h) \ argument
54 int bw = dst_w, bh = dst_h; \
/third_party/wayland-ivi-extension/screen-info/test-module/
Dcall-screen-info.c39 ilayer->dst_x, ilayer->dst_y, ilayer->dst_w, ilayer->dst_h); in screen_info_module_get()
65 isurface->dst_w, isurface->dst_h); in screen_info_module_get()

123