/third_party/ffmpeg/libavfilter/ |
D | vf_scale_cuda.cu | 28 int dst_width, int dst_height, int dst_pitch, in Subsample_Nearest() argument 35 if (yo < dst_height && xo < dst_width) in Subsample_Nearest() 38 float vscale = (float)src_height / (float)dst_height; in Subsample_Nearest() 49 int dst_width, int dst_height, int dst_pitch, in Subsample_Bilinear() argument 56 if (yo < dst_height && xo < dst_width) in Subsample_Bilinear() 59 float vscale = (float)src_height / (float)dst_height; in Subsample_Bilinear() 84 int dst_width, int dst_height, int dst_pitch, \ 89 dst_width, dst_height, dst_pitch, \ 105 int dst_width, int dst_height, int dst_pitch, \ 110 dst_width, dst_height, dst_pitch, \
|
D | vf_scale_cuda_bicubic.cu | 88 int dst_width, int dst_height, int dst_pitch, in Subsample_Bicubic() argument 95 if (yo < dst_height && xo < dst_width) in Subsample_Bicubic() 98 float vscale = (float)src_height / (float)dst_height; in Subsample_Bicubic() 131 int dst_width, int dst_height, int dst_pitch, in Subsample_FastBicubic() argument 138 if (yo < dst_height && xo < dst_width) in Subsample_FastBicubic() 141 float vscale = (float)src_height / (float)dst_height; in Subsample_FastBicubic() 184 int dst_width, int dst_height, int dst_pitch, \ 189 dst_width, dst_height, dst_pitch, \ 206 int dst_width, int dst_height, int dst_pitch, \ 211 dst_width, dst_height, dst_pitch, \
|
D | vf_yadif_cuda.cu | 101 int dst_width, int dst_height, int dst_pitch, in yadif_single() argument 109 if (xo >= dst_width || yo >= dst_height) { in yadif_single() 171 int dst_width, int dst_height, int dst_pitch, in yadif_double() argument 178 if (xo >= dst_width || yo >= dst_height) { in yadif_double() 247 int dst_width, int dst_height, int dst_pitch, in yadif_uchar() argument 252 dst_width, dst_height, dst_pitch, in yadif_uchar() 261 int dst_width, int dst_height, int dst_pitch, in yadif_ushort() argument 266 dst_width, dst_height, dst_pitch, in yadif_ushort() 275 int dst_width, int dst_height, int dst_pitch, in yadif_uchar2() argument 280 dst_width, dst_height, dst_pitch, in yadif_uchar2() [all …]
|
D | vf_yadif_cuda.c | 61 int dst_height, // Height is pixels per channel in call_kernel() argument 72 &dst_width, &dst_height, &dst_pitch, in call_kernel() 106 DIV_UP(dst_width, BLOCKX), DIV_UP(dst_height, BLOCKY), 1, in call_kernel()
|
/third_party/pixman/test/ |
D | affine-test.c | 34 int dst_width, dst_height; in test_composite() local 60 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; in test_composite() 73 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); in test_composite() 75 h = prng_rand_n (dst_height * 3 / 2 - dst_y); in test_composite() 78 dstbuf = (uint32_t *)malloc (dst_stride * dst_height); in test_composite() 81 prng_randmemset (dstbuf, dst_stride * dst_height, 0); in test_composite() 91 dstbuf += (dst_stride / 4) * (dst_height - 1); in test_composite() 105 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite() 226 src_width, src_height, dst_width, dst_height); in test_composite() 267 clip_boxes[i].y1 = prng_rand_n (dst_height); in test_composite() [all …]
|
D | scaling-test.c | 60 int dst_width, dst_height; in test_composite() local 114 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; in test_composite() 135 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); in test_composite() 137 h = prng_rand_n (dst_height * 3 / 2 - dst_y); in test_composite() 141 dstbuf = (uint32_t *)malloc (dst_stride * dst_height); in test_composite() 145 prng_randmemset (dstbuf, dst_stride * dst_height, 0); in test_composite() 165 dstbuf += (dst_stride / 4) * (dst_height - 1); in test_composite() 176 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite() 322 clip_boxes[i].y1 = prng_rand_n (dst_height); in test_composite() 326 clip_boxes[i].y1 + prng_rand_n (dst_height - clip_boxes[i].y1); in test_composite() [all …]
|
D | composite-traps-test.c | 54 int dst_width, dst_height; in test_composite() local 156 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; in test_composite() 160 dst_bits = (uint32_t *)make_random_bytes (dst_stride * dst_height); in test_composite() 164 dst_bits += (dst_stride / 4) * (dst_height - 1); in test_composite() 169 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); in test_composite() 172 dst_format, dst_width, dst_height, dst_bits, dst_stride); in test_composite() 208 clip_boxes[i].y1 = prng_rand_n (dst_height); in test_composite() 212 clip_boxes[i].y1 + prng_rand_n (dst_height - clip_boxes[i].y1); in test_composite() 235 dst_bits += (dst_stride / 4) * (dst_height - 1); in test_composite()
|
D | scaling-crash-test.c | 20 int32_t dst_height, in run_test() argument 56 dstbuf = (uint32_t *)malloc (dst_width * dst_height * 4); in run_test() 59 memset (dstbuf, 0x33, dst_width * dst_height * 4); in run_test() 71 PIXMAN_a8r8g8b8, dst_width, dst_height, dstbuf, dst_width * 4); in run_test() 82 src_x, src_y, 0, 0, 0, 0, dst_width, dst_height); in run_test() 87 for (i = 0; i < dst_width * dst_height; i++) in run_test()
|
D | blitters-test.c | 239 int dst_width, dst_height; in test_composite() local 291 dst_height = pixman_image_get_height (dst_img); in test_composite() 299 dst_y = prng_rand_n (dst_height); in test_composite() 345 h = prng_rand_n (dst_height - dst_y + 1); in test_composite() 354 src_width, src_height, dst_width, dst_height); in test_composite()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | rescaler_utils.c | 24 int dst_width, int dst_height, int dst_stride, in WebPRescalerInit() argument 27 const int y_add = src_height, y_sub = dst_height; in WebPRescalerInit() 29 wrk->y_expand = (src_height < dst_height); in WebPRescalerInit() 33 wrk->dst_height = dst_height; in WebPRescalerInit() 55 (uint64_t)dst_height * WEBP_RESCALER_ONE / (wrk->x_add * wrk->y_add); in WebPRescalerInit()
|
D | rescaler_utils.h | 42 int dst_width, dst_height; // destination dimensions member 53 int dst_width, int dst_height, int dst_stride, 86 return (rescaler->dst_y >= rescaler->dst_height); in WebPRescalerOutputDone()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | rescaler_utils.c | 27 int dst_width, int dst_height, int dst_stride, in WebPRescalerInit() argument 30 const int y_add = src_height, y_sub = dst_height; in WebPRescalerInit() 35 rescaler->y_expand = (src_height < dst_height); in WebPRescalerInit() 39 rescaler->dst_height = dst_height; in WebPRescalerInit() 60 const uint64_t num = (uint64_t)dst_height * WEBP_RESCALER_ONE; in WebPRescalerInit()
|
D | rescaler_utils.h | 42 int dst_width, dst_height; // destination dimensions member 54 int dst_width, int dst_height, int dst_stride, 87 return (rescaler->dst_y >= rescaler->dst_height); in WebPRescalerOutputDone()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_blit.c | 338 unsigned dst_height, in r100_blit() argument 364 if (reg_height + dst_y_offset > dst_height) in r100_blit() 365 reg_height = dst_height - dst_y_offset; in r100_blit() 401 emit_cb_setup(r100, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height); in r100_blit()
|
D | radeon_blit.h | 49 unsigned dst_height,
|
/third_party/weston/clients/ |
D | scaler.c | 71 int32_t dst_height = SURFACE_HEIGHT; in set_my_viewport() local 105 dst_width, dst_height); in set_my_viewport() 111 dst_width, dst_height); in set_my_viewport()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_blit.c | 486 unsigned dst_height, argument 512 if (reg_height + dst_y_offset > dst_height) 513 reg_height = dst_height - dst_y_offset; 549 emit_cb_setup(r200, dst_bo, dst_offset, dst_mesaformat, dst_pitch, dst_width, dst_height);
|
D | r200_blit.h | 49 unsigned dst_height,
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 683 unsigned dst_width, dst_height, src_width0, src_height0, src_widthFL, src_heightFL; in r600_resource_copy_region() local 708 dst_height = u_minify(dst->height0, dst_level); in r600_resource_copy_region() 728 dst_height = util_format_get_nblocksy(dst->format, dst_height); in r600_resource_copy_region() 797 dst_width, dst_height); in r600_resource_copy_region() 829 unsigned dst_height = u_minify(info->dst.resource->height0, info->dst.level); in do_hardware_msaa_resolve() local 852 dst_height == info->src.resource->height0 && in do_hardware_msaa_resolve() 856 info->dst.box.height == dst_height && in do_hardware_msaa_resolve() 861 info->src.box.height == dst_height && in do_hardware_msaa_resolve()
|
/third_party/ffmpeg/libavcodec/ |
D | proresenc_anatoliy.c | 476 … unsigned dst_width, unsigned dst_height, int is_alpha_plane, in subimage_with_fill_template() argument 486 box_height = FFMIN(height - y, dst_height); in subimage_with_fill_template() 490 box_height = FFMIN(height/2 - y, dst_height); in subimage_with_fill_template() 514 for (; i < dst_height; i++) { in subimage_with_fill_template() 524 unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) in subimage_with_fill() argument 526 …subimage_with_fill_template(src, x, y, stride, width, height, dst, dst_width, dst_height, 0, is_in… in subimage_with_fill() 532 … unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) in subimage_alpha_with_fill() argument 534 …subimage_with_fill_template(src, x, y, stride, width, height, dst, dst_width, dst_height, 1, is_in… in subimage_alpha_with_fill()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/ |
D | warp_affine.cc | 337 int dst_height = std::min(128, dst.height_); in Remap() local 338 int dst_width = std::min(buf_size / dst_height, dst.width_); in Remap() 339 dst_height = std::min(buf_size / dst_width, dst.height_); in Remap() 343 LiteMat _xyblock(dst_width, dst_height, 2, LDataType::INT16); in Remap() 344 LiteMat _ablock(dst_width, dst_height, 1, LDataType::UINT16); in Remap() 345 for (y = 0; y < dst.height_; y += dst_height) { in Remap() 347 int bheight = std::min(dst_height, dst.height_ - y); in Remap()
|
D | image_process.cc | 84 int dst_height) { in ResizeBilinear3C() argument 86 double scale_height = static_cast<double>(src_height) / dst_height; in ResizeBilinear3C() 88 if (dst_height >= (INT_MAX / 2 - dst_width)) { in ResizeBilinear3C() 91 int *data_buf = new int[2 * dst_width + 2 * dst_height]; in ResizeBilinear3C() 96 int16_t *x_weight = reinterpret_cast<int16_t *>(data_buf + dst_width + dst_height); in ResizeBilinear3C() 100 InitBilinearWeight(y_offset, y_weight, scale_height, dst_height, src_height, 1); in ResizeBilinear3C() 109 for (int y = 0; y < dst_height; y++) { in ResizeBilinear3C() 166 int dst_height) { in ResizeBilinear1C() argument 168 double scale_height = static_cast<double>(src_height) / dst_height; in ResizeBilinear1C() 170 if (dst_height >= (INT_MAX / 2 - dst_width)) { in ResizeBilinear1C() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_blit.c | 912 unsigned dst_width, dst_height, src_width0, src_height0; in si_resource_copy_region() local 943 dst_height = u_minify(dst->height0, dst_level); in si_resource_copy_region() 962 dst_height = util_format_get_nblocksy(dst->format, dst_height); in si_resource_copy_region() 1039 dst_height); in si_resource_copy_region() 1104 unsigned dst_height = u_minify(info->dst.resource->height0, info->dst.level); in do_hardware_msaa_resolve() local 1130 dst_width == info->src.resource->width0 && dst_height == info->src.resource->height0 && in do_hardware_msaa_resolve() 1132 info->dst.box.height == dst_height && info->dst.box.depth == 1 && info->src.box.x == 0 && in do_hardware_msaa_resolve() 1134 info->src.box.height == dst_height && info->src.box.depth == 1 && !dst->surface.is_linear && in do_hardware_msaa_resolve()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_rescale_enc.c | 170 int dst_width, int dst_height, int dst_stride, in RescalePlane() argument 176 dst, dst_width, dst_height, dst_stride, in RescalePlane()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | picture_rescale_enc.c | 170 int dst_width, int dst_height, int dst_stride, in RescalePlane() argument 176 dst, dst_width, dst_height, dst_stride, in RescalePlane()
|