Home
last modified time | relevance | path

Searched refs:src_width (Results 1 – 25 of 69) sorted by relevance

123

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_gather.c83 unsigned src_width, in lp_build_gather_elem() argument
91 LLVMTypeRef src_type = LLVMIntTypeInContext(gallivm->context, src_width); in lp_build_gather_elem()
121 } else if (!util_is_power_of_two_or_zero(src_width)) { in lp_build_gather_elem()
132 if (((src_width / 24) * 24 == src_width) && in lp_build_gather_elem()
133 util_is_power_of_two_or_zero(src_width / 24)) { in lp_build_gather_elem()
134 LLVMSetAlignment(res, src_width / 24); in lp_build_gather_elem()
140 assert(src_width <= dst_width); in lp_build_gather_elem()
141 if (src_width < dst_width) { in lp_build_gather_elem()
146 LLVMConstInt(dst_elem_type, dst_width - src_width, 0), ""); in lp_build_gather_elem()
166 unsigned src_width, in lp_build_gather_elem_vec() argument
[all …]
Dlp_bld_gather.h46 unsigned src_width,
57 unsigned src_width,
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Drescaler_utils.c22 void WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, in WebPRescalerInit() argument
26 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit()
28 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit()
30 wrk->src_width = src_width; in WebPRescalerInit()
77 int WebPRescalerGetScaledDimensions(int src_width, int src_height, in WebPRescalerGetScaledDimensions() argument
89 (int)(((uint64_t)src_width * height + src_height - 1) / src_height); in WebPRescalerGetScaledDimensions()
92 if (height == 0 && src_width > 0) { in WebPRescalerGetScaledDimensions()
94 (int)(((uint64_t)src_height * width + src_width - 1) / src_width); in WebPRescalerGetScaledDimensions()
Drescaler_utils.h41 int src_width, src_height; // source dimensions member
51 int src_width, int src_height,
61 int WebPRescalerGetScaledDimensions(int src_width, int src_height,
/third_party/ffmpeg/libavfilter/
Dvf_thumbnail_cuda.cu26 int *histogram, int src_width, int src_height) in Thumbnail_uchar() argument
30 if (y < src_height && x < src_width) in Thumbnail_uchar()
38 int *histogram, int src_width, int src_height) in Thumbnail_uchar2() argument
43 if (y < src_height && x < src_width) in Thumbnail_uchar2()
52 int *histogram, int src_width, int src_height) in Thumbnail_ushort() argument
57 if (y < src_height && x < src_width) in Thumbnail_ushort()
65 int *histogram, int src_width, int src_height) in Thumbnail_ushort2() argument
70 if (y < src_height && x < src_width) in Thumbnail_ushort2()
Dvf_scale_cuda.cu29 int src_width, int src_height, in Subsample_Nearest() argument
37 float hscale = (float)src_width / (float)dst_width; in Subsample_Nearest()
50 int src_width, int src_height, in Subsample_Bilinear() argument
58 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear()
85 int src_width, int src_height, \
90 src_width, src_height, \
106 int src_width, int src_height, \
111 src_width, src_height, \
Dvf_scale_cuda_bicubic.cu89 int src_width, int src_height, in Subsample_Bicubic() argument
97 float hscale = (float)src_width / (float)dst_width; in Subsample_Bicubic()
132 int src_width, int src_height, in Subsample_FastBicubic() argument
140 float hscale = (float)src_width / (float)dst_width; in Subsample_FastBicubic()
185 int src_width, int src_height, \
190 src_width, src_height, \
207 int src_width, int src_height, \
212 src_width, src_height, \
Dvf_yadif_cuda.cu102 int src_width, int src_height, in yadif_single() argument
172 int src_width, int src_height, in yadif_double() argument
248 int src_width, int src_height, in yadif_uchar() argument
253 src_width, src_height, in yadif_uchar()
262 int src_width, int src_height, in yadif_ushort() argument
267 src_width, src_height, in yadif_ushort()
276 int src_width, int src_height, in yadif_uchar2() argument
281 src_width, src_height, in yadif_uchar2()
290 int src_width, int src_height, in yadif_ushort2() argument
295 src_width, src_height, in yadif_ushort2()
/third_party/skia/third_party/externals/libwebp/src/utils/
Drescaler_utils.c25 int src_width, int src_height, in WebPRescalerInit() argument
29 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit()
34 rescaler->x_expand = (src_width < dst_width); in WebPRescalerInit()
36 rescaler->src_width = src_width; in WebPRescalerInit()
85 int WebPRescalerGetScaledDimensions(int src_width, int src_height, in WebPRescalerGetScaledDimensions() argument
98 (int)(((uint64_t)src_width * height + src_height - 1) / src_height); in WebPRescalerGetScaledDimensions()
101 if (height == 0 && src_width > 0) { in WebPRescalerGetScaledDimensions()
103 (int)(((uint64_t)src_height * width + src_width - 1) / src_width); in WebPRescalerGetScaledDimensions()
Drescaler_utils.h41 int src_width, src_height; // source dimensions member
52 int src_width, int src_height,
62 int WebPRescalerGetScaledDimensions(int src_width, int src_height,
/third_party/gstreamer/gstplugins_good/gst/videomixer/
Dblend.c53 gint src_width, src_height; \
55 src_width = GST_VIDEO_FRAME_WIDTH (srcframe); \
73 src_width -= -xpos; \
82 if (xpos + src_width > dest_width) { \
83 src_width = dest_width - xpos; \
89 if (src_height > 0 && src_width > 0) { \
92 LOOP (dest, src, src_height, src_width, src_stride, dest_stride, s_alpha); \
99 gint src_width, gint src_stride, gint dest_stride, guint s_alpha) \
103 s_alpha, src_width, src_height); \
206 gint src_stride, gint dest_stride, gint src_width, gint src_height, \
[all …]
/third_party/gstreamer/gstplugins_base/gst/compositor/
Dblend.c52 gint src_width, src_height; \
54 src_width = GST_VIDEO_FRAME_WIDTH (srcframe); \
75 src_width -= -xpos; \
84 if (xpos + src_width > dest_width) { \
85 src_width = dest_width - xpos; \
91 if (src_height > 0 && src_width > 0) { \
94 LOOP (dest, src, src_height, src_width, src_stride, dest_stride, s_alpha, \
102 gint src_width, gint src_stride, gint dest_stride, guint s_alpha, \
111 memcpy (dest, src, 4 * src_width); \
117 s_alpha, src_width, src_height); \
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexcompress_bptc_tmp.h657 decompress_rgba_unorm_block(int src_width, int src_height, in decompress_rgba_unorm_block() argument
682 memset(result, 0, 4 * src_width); in decompress_rgba_unorm_block()
727 for(x = 0; x < src_width; x += 1) { in decompress_rgba_unorm_block()
1034 decompress_rgb_float_block(unsigned src_width, unsigned src_height, in decompress_rgb_float_block() argument
1067 memset(result, 0, sizeof result[0] * 4 * src_width); in decompress_rgb_float_block()
1068 for(x = 0; x < src_width; x += 1) { in decompress_rgb_float_block()
1094 for(x = 0; x < src_width; x += 1) { in decompress_rgb_float_block()
1301 int src_width, int src_height, in write_rgb_indices_unorm() argument
1326 for (x = 0; x < src_width; x++) { in write_rgb_indices_unorm()
1344 if (src_width < BLOCK_SIZE) in write_rgb_indices_unorm()
[all …]
Dtexcompress_etc.h71 unsigned src_width,
78 unsigned src_width,
Dtexcompress_etc.c142 unsigned src_width, in _mesa_etc1_unpack_rgba8888() argument
147 src_width, src_height); in _mesa_etc1_unpack_rgba8888()
1220 unsigned src_width, in _mesa_unpack_etc2_format() argument
1228 src_width, src_height); in _mesa_unpack_etc2_format()
1232 src_width, src_height, bgra); in _mesa_unpack_etc2_format()
1236 src_width, src_height); in _mesa_unpack_etc2_format()
1240 src_width, src_height, bgra); in _mesa_unpack_etc2_format()
1244 src_width, src_height); in _mesa_unpack_etc2_format()
1248 src_width, src_height); in _mesa_unpack_etc2_format()
1252 src_width, src_height); in _mesa_unpack_etc2_format()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-blend.c301 gint i, j, global_alpha_val, src_width, src_height, dest_width, dest_height; in gst_video_blend() local
317 src_width = GST_VIDEO_FRAME_WIDTH (src); in gst_video_blend()
325 GST_LOG ("blend src %dx%d onto dest %dx%d @ %d,%d", src_width, src_height, in gst_video_blend()
329 if (x + src_width <= 0 || y + src_height <= 0 in gst_video_blend()
377 src_width -= src_xoff; in gst_video_blend()
389 if (x + src_width > dest_width) in gst_video_blend()
390 src_width = dest_width - x; in gst_video_blend()
395 tmpsrcline = g_malloc (sizeof (guint8) * (src_width + 8) * 4); in gst_video_blend()
404 src_xoff, src_yoff, src_width); in gst_video_blend()
409 matrix (tmpsrcline, src_width); in gst_video_blend()
[all …]
/third_party/gstreamer/gstplugins_good/ext/libcaca/
Dgstcacatv.c87 GST_VIDEO_FRAME_PLANE_DATA (out_frame, 0), cacatv->src_width, in gst_cacatv_transform_frame()
88 cacatv->src_height, 4 * cacatv->src_width); in gst_cacatv_transform_frame()
207 GValue src_width = G_VALUE_INIT; in gst_cacatv_transform_caps() local
214 g_value_init (&src_width, G_TYPE_INT); in gst_cacatv_transform_caps()
217 cacatv->src_width = in gst_cacatv_transform_caps()
222 g_value_set_int (&src_width, cacatv->src_width); in gst_cacatv_transform_caps()
225 gst_caps_set_value (ret, "width", &src_width); in gst_cacatv_transform_caps()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler_mips32.c90 const int src_width = wrk->src_width; in ImportRowExpand_MIPS32() local
138 [x_stride1]"r"(x_stride1), [src_width]"r"(src_width), in ImportRowExpand_MIPS32()
Drescaler.c42 int right = (wrk->src_width > 1) ? src[x_in + x_stride] : left; in WebPRescalerImportRowExpand_C()
52 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowExpand_C()
78 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowShrink_C()
179 assert(wrk->src_width == 1 && wrk->dst_width <= 2); in WebPRescalerExportRow()
Dyuv.c129 int src_width, int do_store) { in WebPConvertARGBToUV_C() argument
131 const int uv_width = src_width >> 1; in WebPConvertARGBToUV_C()
152 if (src_width & 1) { // last pixel in WebPConvertARGBToUV_C()
248 int src_width, int do_store);
/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler_mips32.c90 const int src_width = wrk->src_width; in ImportRowExpand_MIPS32() local
138 [x_stride1]"r"(x_stride1), [src_width]"r"(src_width), in ImportRowExpand_MIPS32()
Drescaler.c43 (wrk->src_width > 1) ? (rescaler_t)src[x_in + x_stride] : left; in WebPRescalerImportRowExpand_C()
53 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowExpand_C()
79 assert(x_in < wrk->src_width * x_stride); in WebPRescalerImportRowShrink_C()
180 assert(wrk->src_width == 1 && wrk->dst_width <= 2); in WebPRescalerExportRow()
Dyuv.c129 int src_width, int do_store) { in WebPConvertARGBToUV_C() argument
131 const int uv_width = src_width >> 1; in WebPConvertARGBToUV_C()
152 if (src_width & 1) { // last pixel in WebPConvertARGBToUV_C()
248 int src_width, int do_store);
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_image_copy_region.c782 int src_width, src_height, src_depth, dst_width, dst_height, dst_depth; in si_test_blit() local
801 src_width = (rand() % max_src_width) + 1; in si_test_blit()
809 srcx = rand() % (u_minify(tsrc.width0, src_level) - src_width + 1); in si_test_blit()
839 src_width = align(src_width, util_format_get_blockwidth(tsrc.format)); in si_test_blit()
846 if (src_width > dst_width) in si_test_blit()
847 src_width = dst_width; in si_test_blit()
855 if (src_width < dst_width) in si_test_blit()
856 dst_width = src_width; in si_test_blit()
866 srcx += src_width; in si_test_blit()
867 src_width = -src_width; in si_test_blit()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_blt.c248 uint32_t src_width = src_box->width, src_height = src_box->height; in crocus_emit_blt() local
274 src_width = DIV_ROUND_UP(src_width, (int)bw); in crocus_emit_blt()
321 for (uint32_t chunk_x = 0; chunk_x < src_width; chunk_x += max_chunk_size) { in crocus_emit_blt()
323 const uint32_t chunk_w = MIN2(max_chunk_size, src_width - chunk_x); in crocus_emit_blt()
368 blt_set_alpha_to_one(batch, dst, 0, 0, src_width, src_height); in crocus_emit_blt()

123