/third_party/ffmpeg/libavfilter/ |
D | vf_scale_cuda.cu | 27 int dst_width, int dst_height, int dst_pitch, in Subsample_Bilinear_uchar() argument 33 if (yo < dst_height && xo < dst_width) in Subsample_Bilinear_uchar() 35 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar() 55 int dst_width, int dst_height, int dst_pitch2, in Subsample_Bilinear_uchar2() argument 61 if (yo < dst_height && xo < dst_width) in Subsample_Bilinear_uchar2() 63 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar2() 86 int dst_width, int dst_height, int dst_pitch, in Subsample_Bilinear_uchar4() argument 92 if (yo < dst_height && xo < dst_width) in Subsample_Bilinear_uchar4() 94 float hscale = (float)src_width / (float)dst_width; in Subsample_Bilinear_uchar4() 120 int dst_width, int dst_height, int dst_pitch, in Subsample_Bilinear_ushort() argument [all …]
|
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 | 60 int dst_width, // Width 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()
|
D | vf_nnedi.c | 220 const int dst_width = frame_data->padded_width[plane]; in copy_pad() local 241 for (x = dst_width - 32; x < dst_width; x++, c += 2) in copy_pad() 251 dst_width * sizeof(uint8_t)); in copy_pad() 256 dst_width * sizeof(uint8_t)); in copy_pad() 732 int dst_width = s->linesize[plane]; in get_frame() local 745 frame_data->padded_width[plane] = dst_width + 64; in get_frame()
|
/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 26 const int x_add = src_width, x_sub = dst_width; in WebPRescalerInit() 28 wrk->x_expand = (src_width < dst_width); in WebPRescalerInit() 32 wrk->dst_width = dst_width; in WebPRescalerInit() 71 wrk->frow = work + num_channels * dst_width; in WebPRescalerInit() 72 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work)); in WebPRescalerInit() 127 for (x = 0; x < wrk->num_channels * wrk->dst_width; ++x) { in WebPRescalerImport()
|
D | rescaler_utils.h | 42 int dst_width, dst_height; // destination dimensions member 53 int dst_width, int dst_height, int dst_stride,
|
/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 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()
|
D | rescaler_utils.h | 42 int dst_width, dst_height; // destination dimensions member 54 int dst_width, int dst_height, int dst_stride,
|
/third_party/pixman/test/ |
D | affine-test.c | 34 int dst_width, dst_height; in test_composite() local 59 dst_width = prng_rand_n (MAX_DST_WIDTH) + 1; in test_composite() 62 dst_stride = dst_width * dst_bpp + prng_rand_n (MAX_STRIDE) * dst_bpp; in test_composite() 72 dst_x = -(dst_width / 4) + prng_rand_n (dst_width * 3 / 2); in test_composite() 74 w = prng_rand_n (dst_width * 3 / 2 - dst_x); 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() 266 clip_boxes[i].x1 = prng_rand_n (dst_width); in test_composite() 269 clip_boxes[i].x1 + prng_rand_n (dst_width - clip_boxes[i].x1); in test_composite()
|
D | scaling-crash-test.c | 19 run_test (int32_t dst_width, 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 | scaling-test.c | 60 int dst_width, dst_height; in test_composite() local 113 dst_width = prng_rand_n (MAX_DST_WIDTH) + 1; in test_composite() 117 dst_stride = dst_width * dst_bpp + prng_rand_n (MAX_STRIDE) * dst_bpp; in test_composite() 134 dst_x = -(dst_width / 4) + prng_rand_n (dst_width * 3 / 2); in test_composite() 136 w = prng_rand_n (dst_width * 3 / 2 - dst_x); in test_composite() 176 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite() 321 clip_boxes[i].x1 = prng_rand_n (dst_width); in test_composite() 324 clip_boxes[i].x1 + prng_rand_n (dst_width - clip_boxes[i].x1); in test_composite() 375 dst_width, dst_height, dst_x, dst_y); in test_composite()
|
D | composite-traps-test.c | 54 int dst_width, dst_height; in test_composite() local 155 dst_width = prng_rand_n (MAX_DST_WIDTH) + 1; in test_composite() 157 dst_stride = dst_width * dst_bpp + prng_rand_n (MAX_STRIDE) * dst_bpp; in test_composite() 168 dst_x = -(dst_width / 4) + prng_rand_n (dst_width * 3 / 2); in test_composite() 172 dst_format, dst_width, dst_height, dst_bits, dst_stride); in test_composite() 207 clip_boxes[i].x1 = prng_rand_n (dst_width); in test_composite() 210 clip_boxes[i].x1 + prng_rand_n (dst_width - clip_boxes[i].x1); in test_composite()
|
D | blitters-test.c | 239 int dst_width, dst_height; in test_composite() local 290 dst_width = pixman_image_get_width (dst_img); in test_composite() 298 dst_x = prng_rand_n (dst_width); in test_composite() 344 w = prng_rand_n (dst_width - dst_x + 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/dsp/ |
D | rescaler.c | 32 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowExpand_C() 64 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRowShrink_C() 102 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRowExpand_C() 131 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRowShrink_C() 179 assert(wrk->src_width == 1 && wrk->dst_width <= 2); in WebPRescalerExportRow() 180 for (i = 0; i < wrk->num_channels * wrk->dst_width; ++i) { in WebPRescalerExportRow()
|
D | rescaler_mips32.c | 27 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;
|
D | rescaler_mips_dsp_r2.c | 31 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()
|
D | rescaler_sse2.c | 49 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()
|
D | rescaler_neon.c | 67 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/skia/third_party/externals/libwebp/src/dsp/ |
D | rescaler.c | 32 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()
|
D | rescaler_mips32.c | 27 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;
|
D | rescaler_mips_dsp_r2.c | 31 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()
|
D | rescaler_sse2.c | 49 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()
|
D | rescaler_neon.c | 67 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/ffmpeg/libavcodec/ |
D | proresenc_anatoliy.c | 474 … unsigned dst_width, unsigned dst_height, int is_alpha_plane, in subimage_with_fill_template() argument 477 int box_width = FFMIN(width - x, dst_width); in subimage_with_fill_template() 506 for (; j < dst_width; j++) in subimage_with_fill_template() 509 dst += dst_width; in subimage_with_fill_template() 511 last_line = dst - dst_width; in subimage_with_fill_template() 513 for (j = 0; j < dst_width; ++j) { in subimage_with_fill_template() 516 dst += dst_width; in subimage_with_fill_template() 522 unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) in subimage_with_fill() argument 524 …subimage_with_fill_template(src, x, y, stride, width, height, dst, dst_width, dst_height, 0, is_in… in subimage_with_fill() 530 … unsigned dst_width, unsigned dst_height, int is_interlaced, int is_top_field) in subimage_alpha_with_fill() argument [all …]
|
/third_party/weston/clients/ |
D | scaler.c | 70 int32_t dst_width = SURFACE_WIDTH; in set_my_viewport() local 105 dst_width, dst_height); in set_my_viewport() 111 dst_width, dst_height); in set_my_viewport()
|