Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/tests/checkasm/
Dvideodsp.c50 #define check_emu_edge_size(type, src_w, src_h, dst_w, dst_h) \ argument
52 LOCAL_ALIGNED_16(type, src0, [src_w * src_h]); \
53 LOCAL_ALIGNED_16(type, src1, [src_w * src_h]); \
55 int pw = src_w, ph = src_h; \
57 randomize_buffers(src_w, src_h); \
59 iter_1d(type, y, 0 - src_h, x, 0 - src_w, src_w - 0); \
60 iter_1d(type, x, src_w - 0, y, 0 - src_h, src_h - 0); \
61 iter_1d(type, y, src_h - 0, x, 0 - src_w, src_w - 0); \
62 iter_1d(type, x, 0 - src_w, y, 0 - src_h, src_h - 0); \
75 int src_w, int src_h); \
/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
75 int src_w; in generate_rowbytes() member
86 if ((src_w == last.src_w) && (dst_w == last.dst_w) && (bpp == last.bpp)) { in generate_rowbytes()
90 last.src_w = src_w; in generate_rowbytes()
114 inc = (src_w << 16) / dst_w; in generate_rowbytes()
152 static void name(type *src, int src_w, type *dst, int dst_w) \
159 inc = (src_w << 16) / dst_w; \
177 copy_row3(Uint8 * src, int src_w, Uint8 * dst, int dst_w) in DEFINE_COPY_ROW()
184 inc = (src_w << 16) / dst_w; in DEFINE_COPY_ROW()
DSDL_blit_auto.c39 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Scale()
134 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Blend_Scale()
239 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate_Scale()
358 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_RGB888_Modulate_Blend_Scale()
436 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_BGR888_Scale()
534 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_BGR888_Blend_Scale()
639 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_BGR888_Modulate_Scale()
758 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_BGR888_Modulate_Blend_Scale()
836 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_ARGB8888_Scale()
935 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_RGB888_ARGB8888_Blend_Scale()
[all …]
DSDL_blit.c72 info->src_w = srcrect->w; in SDL_SoftBlit()
76 info->src_pitch - info->src_w * info->src_fmt->BytesPerPixel; in SDL_SoftBlit()
DSDL_surface.c664 int src_w, src_h; in SDL_UpperBlitScaled() local
676 src_w = src->w; in SDL_UpperBlitScaled()
679 src_w = srcrect->w; in SDL_UpperBlitScaled()
691 if (dst_w == src_w && dst_h == src_h) { in SDL_UpperBlitScaled()
696 scaling_w = (double)dst_w / src_w; in SDL_UpperBlitScaled()
714 src_x1 = src_w - 1; in SDL_UpperBlitScaled()
719 src_x1 = src_x0 + src_w - 1; in SDL_UpperBlitScaled()
/third_party/ffmpeg/libavformat/
Dos_support.h199 wchar_t *src_w, *dest_w; local
202 if (utf8towchar(src_utf8, &src_w))
205 av_free(src_w);
208 if (!src_w || !dest_w) {
209 av_free(src_w);
214 ret = MoveFileExW(src_w, dest_w, MOVEFILE_REPLACE_EXISTING);
215 av_free(src_w);
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dmatrix_combine_impl.cu25 size_t src_w = (pointIdx - batchIdx * src_height * src_width) % src_width; in MatrixCombineKernel() local
27 size_t dst_w = src_width * batchIdx + src_w; in MatrixCombineKernel()
40 size_t src_w = (pointIdx - batchIdx * src_height * src_width) % src_width; in MatrixCombineKernel() local
42 size_t dst_w = src_width * batchIdx + src_w; in MatrixCombineKernel()
46 size_t src_w = (pointIdx - (batch - 1) * src_height * src_width) % res_width; in MatrixCombineKernel() local
47 size_t src_coordinate = (batch - 1) * src_height * src_width + src_h * src_width + src_w; in MatrixCombineKernel()
49 size_t dst_w = src_width * (batch - 1) + src_w; in MatrixCombineKernel()
/third_party/libdrm/exynos/
Dexynos_fimg2d.c506 unsigned int src_w, src_h, dst_w, dst_h; in g2d_copy() local
508 src_w = w; in g2d_copy()
511 src_w = src->width - src_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
592 src_w = w; in g2d_move()
595 src_w = img->width - src_x; in g2d_move()
606 w = MIN(src_w, dst_w); in g2d_move()
682 unsigned int src_y, unsigned int src_w, in g2d_copy_with_scale() argument
696 if (src_w == dst_w && src_h == dst_h) in g2d_copy_with_scale()
[all …]
Dexynos_fimg2d.h320 unsigned int src_y, unsigned int src_w,
330 unsigned int src_w, unsigned int src_h, unsigned int dst_x,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dconv1x1_base.c31 int src_w = dst_w * conv_param->stride_w_ - conv_param->pad_l_; in Conv1x1InputPack() local
32 if (src_w < 0 || src_w >= conv_param->input_w_) { in Conv1x1InputPack()
36 …src_h_ptr + src_w * conv_param->input_channel_ * data_size, conv_param->input_channel_ * data_size… in Conv1x1InputPack()
/third_party/ffmpeg/doc/examples/
Dscaling_video.c56 int src_w = 320, src_h = 240, dst_w, dst_h; in main() local
90 sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in main()
97 av_get_pix_fmt_name(src_pix_fmt), src_w, src_h, in main()
105 src_w, src_h, src_pix_fmt, 16)) < 0) { in main()
120 fill_yuv_image(src_data, src_linesize, src_w, src_h, i); in main()
/third_party/ffmpeg/libavfilter/
Dlswsutils.c25 int src_w, int src_h, enum AVPixelFormat src_pix_fmt, in ff_scale_image() argument
29 struct SwsContext *sws_ctx = sws_getContext(src_w, src_h, src_pix_fmt, in ff_scale_image()
36 av_get_pix_fmt_name(src_pix_fmt), src_w, src_h, in ff_scale_image()
Dvf_waveform.c692 const int src_w = AV_CEIL_RSHIFT(in->width, shift_w); in lowpass16() local
695 const int slicew_start = column ? (src_w * jobnr) / nb_jobs : 0; in lowpass16()
696 const int slicew_end = column ? (src_w * (jobnr+1)) / nb_jobs : src_w; in lowpass16()
829 const int src_w = AV_CEIL_RSHIFT(in->width, shift_w); in lowpass() local
832 const int slicew_start = column ? (src_w * jobnr) / nb_jobs : 0; in lowpass()
833 const int slicew_end = column ? (src_w * (jobnr+1)) / nb_jobs : src_w; in lowpass()
973 const int src_w = in->width; in flat16() local
976 const int slicew_start = column ? (src_w * jobnr) / nb_jobs : 0; in flat16()
977 const int slicew_end = column ? (src_w * (jobnr+1)) / nb_jobs : src_w; in flat16()
1030 for (x = 0; x < src_w; x++) { in flat16()
[all …]
Dvf_overlay.c356 const int src_w = src->width; in blend_slice_packed_rgb() local
388 for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) { in blend_slice_packed_rgb()
439 … int src_w, int src_h, \
453 …int src_wp = AV_CEIL_RSHIFT(src_w, hsub); …
565 … int src_w, int src_h, \
590 …for (jmax = FFMIN(-x + dst_w, src_w); j < jmax; j++) { …
625 …const int src_w = src->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 …]
Dlswsutils.h35 int src_w, int src_h, enum AVPixelFormat src_pix_fmt,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/sse/
DDepthwiseFp32_Sse.c124 const float *src_w = src_h; in ConvDwFp32Center() local
129 for (; c1 < c4; c1 += C4NUM, dst_w += C4NUM * block_channel, src_w += C4NUM * in_sw_step) { in ConvDwFp32Center()
130 const float *src_kh = src_w, *weight_kh = weight; in ConvDwFp32Center()
177 for (; c1 < c2; c1 += C2NUM, dst_w += C2NUM * block_channel, src_w += C2NUM * in_sw_step) { in ConvDwFp32Center()
178 const float *src_kh = src_w, *weight_kh = weight; in ConvDwFp32Center()
208 for (; c1 < width; c1++, dst_w += block_channel, src_w += in_sw_step) { in ConvDwFp32Center()
209 const float *src_kh = src_w, *weight_kh = weight; in ConvDwFp32Center()
246 const float *src_w = src_h; in DeconvDwFp32Center() local
250 __m128 src_w_ma = _mm_loadu_ps(src_w); in DeconvDwFp32Center()
320 src_w += block_channel; in DeconvDwFp32Center()
/third_party/wayland-ivi-extension/screen-info/module/
Dscreen-info.h9 int src_w; member
24 int src_w; member
Dscreen-info.c75 ilayer->src_w = p->source_width; in get_screens_info()
100 isurface->src_w = p->source_width; in get_screens_info()
/third_party/mesa3d/src/mesa/main/
Dcopyimage.c614 GLuint src_w, src_h, dst_w, dst_h; in _mesa_CopyImageSubData() local
637 &srcIntFormat, &src_w, &src_h, &src_num_samples, in _mesa_CopyImageSubData()
672 (srcWidth % src_bw != 0 && (srcX + srcWidth) != src_w) || in _mesa_CopyImageSubData()
773 GLuint src_w, src_h, dst_w, dst_h; in _mesa_CopyImageSubDataNV() local
795 &srcIntFormat, &src_w, &src_h, &src_num_samples, in _mesa_CopyImageSubDataNV()
842 (srcWidth % src_bw != 0 && (srcX + srcWidth) != src_w) || in _mesa_CopyImageSubDataNV()
/third_party/wayland-ivi-extension/screen-info/test-module/
Dcall-screen-info.c41 ilayer->src_x, ilayer->src_y, ilayer->src_w, ilayer->src_h); in screen_info_module_get()
68 isurface->src_w, isurface->src_h); in screen_info_module_get()
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_yuv.c112 int src_w, in xa_yuv_planar_blit() argument
140 scale_x = (float)src_w / (float)dst_w; in xa_yuv_planar_blit()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c545 int src_w, int src_h) in fallback_copy_image() argument
561 unsigned dst_w = src_w; in fallback_copy_image()
577 line_bytes = _mesa_format_row_stride(src_image->TexFormat, src_w); in fallback_copy_image()
597 src_x, src_y, src_w, src_h, in fallback_copy_image()
602 src_x, src_y, src_w, src_h, in fallback_copy_image()
/third_party/weston/libweston/backend-drm/
Dstate-helpers.c241 state->src_w = wl_fixed_from_double(sxf2 - sxf1) << 8; in drm_plane_state_coords_for_view()
253 if (state->src_w > (uint32_t) ((buffer->width << 16) - state->src_x)) in drm_plane_state_coords_for_view()
254 state->src_w = (buffer->width << 16) - state->src_x; in drm_plane_state_coords_for_view()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dconv_1x1_x86_fp32.c81 const float *src_w = input_data + ic + ohw_start * in_sw_step; in Conv1x1SWFp32() local
89 …kernel[oc_block - 1][hw_block / ow_block_num[oc_block - 1]](dst_w, src_w, weight, bias, act_type, … in Conv1x1SWFp32()
92 src_w += hw_block * in_sw_step; in Conv1x1SWFp32()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dconv2d_transpose.cl46 int src_w = kw_start / stride.y;
47 int kw = src_w * stride.y;
52 int src_w_copy = src_w;

123