Home
last modified time | relevance | path

Searched refs:dst_width (Results 1 - 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/utils/
H A Drescaler_utils.c27 int dst_width, int dst_height, int dst_stride, in WebPRescalerInit()
29 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit()
31 const uint64_t total_size = 2ull * dst_width * num_channels * sizeof(*work); in WebPRescalerInit()
34 rescaler->x_expand = (src_width < dst_width); in WebPRescalerInit()
38 rescaler->dst_width = dst_width; in WebPRescalerInit()
78 rescaler->frow = work + num_channels * dst_width; in WebPRescalerInit()
139 for (x = 0; x < rescaler->num_channels * rescaler->dst_width; ++x) { in WebPRescalerImport()
24 WebPRescalerInit(WebPRescaler* const rescaler, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, rescaler_t* const work) WebPRescalerInit() argument
H A Drescaler_utils.h42 int dst_width, dst_height; // destination dimensions member
54 int dst_width, int dst_height, int dst_stride,
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c75 const unsigned dst_width = 8; in lp_build_alpha_test() local
80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha); in lp_build_alpha_test()
81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref); in lp_build_alpha_test()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Drescaler.c32 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowExpand_C()
65 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowShrink_C()
103 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRowExpand_C()
132 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRowShrink_C()
180 assert(wrk->src_width == 1 && wrk->dst_width <= 2); in WebPRescalerExportRow()
181 for (i = 0; i < wrk->num_channels * wrk->dst_width; ++i) { in WebPRescalerExportRow()
H A Drescaler_mips32.c27 const int x_out_max = wrk->dst_width * wrk->num_channels; in ImportRowShrink_MIPS32()
87 const int x_out_max = wrk->dst_width * wrk->num_channels; in ImportRowExpand_MIPS32()
152 const int x_out_max = wrk->dst_width * wrk->num_channels; in ExportRowExpand_MIPS32()
214 const int x_out_max = wrk->dst_width * wrk->num_channels;
H A Drescaler_mips_dsp_r2.c31 const int x_out_max = wrk->dst_width * wrk->num_channels;
170 const int x_out_max = wrk->dst_width * wrk->num_channels; in ExportRowExpand_MIPSdspR2()
H A Drescaler_sse2.c49 const rescaler_t* const frow_end = frow + wrk->dst_width * wrk->num_channels; in RescalerImportRowExpand_SSE2()
122 const rescaler_t* const frow_end = wrk->frow + 4 * wrk->dst_width; in RescalerImportRowShrink_SSE2()
232 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowExpand_SSE2()
290 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowShrink_SSE2()
H A Drescaler_neon.c67 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowExpand_NEON()
121 const int x_out_max = wrk->dst_width * wrk->num_channels; in RescalerExportRowShrink_NEON()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_sse.h582 * @param dst_width destination width in pixels
586 * @return final src_x value (i.e., src_x + dst_width*src_xstep)
590 int32_t dst_width, in util_sse2_stretch_row_8unorm()
598 assert(dst_width >= 0); in util_sse2_stretch_row_8unorm()
599 assert(dst_width % 4 == 0); in util_sse2_stretch_row_8unorm()
612 dst_width >>= 2; in util_sse2_stretch_row_8unorm()
613 while (dst_width) { in util_sse2_stretch_row_8unorm()
662 --dst_width; in util_sse2_stretch_row_8unorm()
589 util_sse2_stretch_row_8unorm(__m128i * restrict dst, int32_t dst_width, const uint32_t * restrict src, int32_t src_x, int32_t src_xstep) util_sse2_stretch_row_8unorm() argument
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c258 * by dst_width, the actual result type will have the same width.
261 * return { i32, i32, i32, i32 } where each value is in [0, 2^dst_width-1].
266 unsigned dst_width, in lp_build_clamped_float_to_unsigned_norm()
275 assert(dst_width <= src_type.width); in lp_build_clamped_float_to_unsigned_norm()
280 if (dst_width <= mantissa) { in lp_build_clamped_float_to_unsigned_norm()
293 ubound = (1ULL << dst_width); in lp_build_clamped_float_to_unsigned_norm()
296 bias = (double)(1ULL << (mantissa - dst_width)); in lp_build_clamped_float_to_unsigned_norm()
305 else if (dst_width == (mantissa + 1)) { in lp_build_clamped_float_to_unsigned_norm()
316 scale = (double)((1ULL << dst_width) - 1); in lp_build_clamped_float_to_unsigned_norm()
339 unsigned n = MIN2(src_type.width - 1u, dst_width); in lp_build_clamped_float_to_unsigned_norm()
264 lp_build_clamped_float_to_unsigned_norm(struct gallivm_state *gallivm, struct lp_type src_type, unsigned dst_width, LLVMValueRef src) lp_build_clamped_float_to_unsigned_norm() argument
[all...]
H A Dlp_bld_gather.c84 unsigned dst_width, in lp_build_gather_elem()
92 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); 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()
387 * For SSE, typical values are length=4, src_width=32, dst_width=32.
389 * When src_width < dst_width, the return value can be justified in
81 lp_build_gather_elem(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, boolean aligned, LLVMValueRef base_ptr, LLVMValueRef offsets, unsigned i, boolean vector_justify) lp_build_gather_elem() argument
H A Dlp_bld_gather.h47 unsigned dst_width,
H A Dlp_bld_conv.h56 unsigned dst_width,
/third_party/backends/backend/genesys/
H A Dimage_pipeline.cpp656 auto dst_width = width_; in get_next_row_data() local
664 if (src_width > dst_width) { in get_next_row_data()
668 for (unsigned dst_x = 0; dst_x < dst_width; dst_x++) { in get_next_row_data()
672 counter += dst_width; in get_next_row_data()
689 std::uint32_t counter = dst_width / 2; in get_next_row_data()
697 while ((counter < dst_width || src_x + 1 == src_width) && dst_x < dst_width) { in get_next_row_data()
705 counter -= dst_width; in get_next_row_data()
/third_party/ffmpeg/libavcodec/
H A Dproresenc_anatoliy.c478 unsigned dst_width, unsigned dst_height, int is_alpha_plane, in subimage_with_fill_template()
481 int box_width = FFMIN(width - x, dst_width); in subimage_with_fill_template()
510 for (; j < dst_width; j++) in subimage_with_fill_template()
513 dst += dst_width; in subimage_with_fill_template()
515 last_line = dst - dst_width; in subimage_with_fill_template()
517 for (j = 0; j < dst_width; ++j) { in subimage_with_fill_template()
520 dst += dst_width; in subimage_with_fill_template()
526 unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) in subimage_with_fill()
528 subimage_with_fill_template(src, x, y, stride, width, height, dst, dst_width, dst_height, 0, is_interlaced, is_top_field); in subimage_with_fill()
534 unsigned dst_width, unsigne in subimage_alpha_with_fill()
476 subimage_with_fill_template(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_alpha_plane, int is_interlaced, int is_top_field) subimage_with_fill_template() argument
524 subimage_with_fill(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) subimage_with_fill() argument
532 subimage_alpha_with_fill(uint16_t *src, unsigned x, unsigned y, unsigned stride, unsigned width, unsigned height, uint16_t *dst, unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) subimage_alpha_with_fill() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_blit.c676 unsigned dst_width, dst_height, src_width0, src_height0, src_widthFL, src_heightFL; in r600_resource_copy_region() local
700 dst_width = u_minify(dst->width0, dst_level); in r600_resource_copy_region()
720 dst_width = util_format_get_nblocksx(dst->format, dst_width); in r600_resource_copy_region()
745 dst_width = util_format_get_nblocksx(dst->format, dst_width); in r600_resource_copy_region()
790 dst_width, dst_height); in r600_resource_copy_region()
821 unsigned dst_width = u_minify(info->dst.resource->width0, info->dst.level); in do_hardware_msaa_resolve() local
844 dst_width == info->src.resource->width0 && in do_hardware_msaa_resolve()
848 info->dst.box.width == dst_width in do_hardware_msaa_resolve()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c782 int src_width, src_height, src_depth, dst_width, dst_height, dst_depth; in si_test_blit() local
805 dst_width = (rand() % max_dst_width) + 1; in si_test_blit()
813 dstx = rand() % (u_minify(tdst.width0, dst_level) - dst_width + 1); in si_test_blit()
842 dst_width = align(dst_width, util_format_get_blockwidth(tdst.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()
879 u_box_3d(dstx, dsty, dstz, dst_width, dst_heigh in si_test_blit()
[all...]
H A Dsi_sdma_copy_image.c247 unsigned dst_width = minify_as_blocks(sdst->buffer.b.b.width0, 0, sdst->surface.blk_w); in cik_sdma_copy_texture() local
296 unsigned tiled_width = tiled == ssrc ? src_width : dst_width; in cik_sdma_copy_texture()
297 unsigned linear_width = linear == ssrc ? src_width : dst_width; in cik_sdma_copy_texture()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_cse.cpp208 unsigned dst_width = in create_copy_instr() local
227 } else if (written != dst_width) { in create_copy_instr()
229 assert(written % dst_width == 0); in create_copy_instr()
230 const int sources = written / dst_width; in create_copy_instr()
/third_party/ffmpeg/libavfilter/
H A Dvf_yadif_cuda.c64 int dst_width, // Width is pixels per channel in call_kernel()
76 &dst_width, &dst_height, &dst_pitch, in call_kernel()
110 DIV_UP(dst_width, BLOCKX), DIV_UP(dst_height, BLOCKY), 1, in call_kernel()
57 call_kernel(AVFilterContext *ctx, CUfunction func, CUdeviceptr prev, CUdeviceptr cur, CUdeviceptr next, CUarray_format format, int channels, int src_width, int src_height, int src_pitch, CUdeviceptr dst, int dst_width, int dst_height, int dst_pitch, int parity, int tff) call_kernel() argument
H A Dvf_scale_cuda.c406 AVFrame *out_frame, int dst_width, int dst_height, int dst_pitch) in call_resize_kernel()
419 &dst_width, &dst_height, &dst_pitch, in call_resize_kernel()
424 DIV_UP(dst_width, BLOCKX), DIV_UP(dst_height, BLOCKY), 1, in call_resize_kernel()
404 call_resize_kernel(AVFilterContext *ctx, CUfunction func, CUtexObject src_tex[4], int src_width, int src_height, AVFrame *out_frame, int dst_width, int dst_height, int dst_pitch) call_resize_kernel() argument
/third_party/alsa-lib/src/pcm/
H A Dpcm_linear.c55 int src_endian, dst_endian, sign, src_width, dst_width; in snd_pcm_linear_convert_index() local
73 dst_width = snd_pcm_format_width(dst_format) / 8 - 1; in snd_pcm_linear_convert_index()
75 return src_width * 32 + src_endian * 16 + sign * 8 + dst_width * 2 + dst_endian; in snd_pcm_linear_convert_index()
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_blit.c697 unsigned dst_width = u_minify(info->dst.resource->width0, info->dst.level); in r300_is_simple_msaa_resolve() local
707 dst_width == info->src.resource->width0 && in r300_is_simple_msaa_resolve()
711 info->dst.box.width == dst_width && in r300_is_simple_msaa_resolve()
715 info->src.box.width == dst_width && in r300_is_simple_msaa_resolve()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dio_dec.c281 p->scaler_a->dst_width, num_lines_out, 1); in EmitRescaledAlphaYUV()
377 dst, p->scaler_y->dst_width); in ExportRGB()
420 const int width = p->scaler_a->dst_width; in ExportAlpha()
448 const int width = p->scaler_a->dst_width; in ExportAlphaRGBA4444()
H A Dvp8l_dec.c585 const int dst_width = rescaler->dst_width; in Export() local
589 WebPMultARGBRow(src, dst_width, 1); in Export()
590 VP8LConvertFromBGRA(src, dst_width, colorspace, dst); in Export()
671 const int dst_width = rescaler->dst_width; in ExportYUVA() local
675 WebPMultARGBRow(src, dst_width, 1); in ExportYUVA()
676 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA()

Completed in 23 milliseconds

12