Home
last modified time | relevance | path

Searched refs:dst_height (Results 1 – 23 of 23) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_scale_cuda.cu27 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()
36 float vscale = (float)src_height / (float)dst_height; 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()
64 float vscale = (float)src_height / (float)dst_height; 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()
95 float vscale = (float)src_height / (float)dst_height; in Subsample_Bilinear_uchar4()
120 int dst_width, int dst_height, int dst_pitch, in Subsample_Bilinear_ushort() argument
[all …]
Dvf_yadif_cuda.cu101 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 …]
Dvf_yadif_cuda.c61 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()
Dvf_nnedi.c217 const int dst_height = frame_data->padded_height[plane]; in copy_pad() local
235 for (y = 6 + off; y < dst_height - 6; y += 2) { in copy_pad()
253 for (y = dst_height - 6 + off; y < dst_height; y += 2, c += 4) in copy_pad()
731 int dst_height = s->planeheight[plane]; in get_frame() local
746 frame_data->padded_height[plane] = dst_height + 12; in get_frame()
758 frame_data->lcount[plane] = av_calloc(dst_height, sizeof(int32_t) * 16); in get_frame()
762 memset(frame_data->lcount[plane], 0, dst_height * sizeof(int32_t) * 16); in get_frame()
Dvf_scale_cuda.c344 uint8_t *dst_dptr, int dst_width, int dst_height, int dst_pitch, in call_resize_kernel() argument
351 …void *args_uchar[] = { &tex, &dst_devptr, &dst_width, &dst_height, &dst_pitch, &src_width, &src_he… in call_resize_kernel()
376 DIV_UP(dst_width, BLOCKX), DIV_UP(dst_height, BLOCKY), 1, in call_resize_kernel()
/third_party/pixman/test/
Daffine-test.c34 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 …]
Dscaling-test.c60 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 …]
Dcomposite-traps-test.c54 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()
Dscaling-crash-test.c20 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()
Dblitters-test.c239 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/
Drescaler_utils.c24 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()
Drescaler_utils.h42 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/
Drescaler_utils.c27 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()
Drescaler_utils.h42 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/weston/clients/
Dscaler.c71 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/ffmpeg/libavcodec/
Dproresenc_anatoliy.c474 … unsigned dst_width, unsigned dst_height, int is_alpha_plane, in subimage_with_fill_template() argument
484 box_height = FFMIN(height - y, dst_height); in subimage_with_fill_template()
488 box_height = FFMIN(height/2 - y, dst_height); in subimage_with_fill_template()
512 for (; i < dst_height; i++) { 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
532 …subimage_with_fill_template(src, x, y, stride, width, height, dst, dst_width, dst_height, 1, is_in… in subimage_alpha_with_fill()
Dindeo3.c1028 ptrdiff_t dst_pitch, int dst_height) in output_plane() argument
1034 dst_height = FFMIN(dst_height, plane->height); in output_plane()
1035 for (y = 0; y < dst_height; y++) { in output_plane()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_rescale_enc.c170 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/
Dpicture_rescale_enc.c170 int dst_width, int dst_height, int dst_stride, in RescalePlane() argument
176 dst, dst_width, dst_height, dst_stride, in RescalePlane()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler.c178 assert(wrk->src_height == wrk->dst_height && wrk->x_add == 1); in WebPRescalerExportRow()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler.c179 assert(wrk->src_height == wrk->dst_height && wrk->x_add == 1); in WebPRescalerExportRow()
/third_party/libdrm/include/drm/
Di915_drm.h1383 __u16 dst_height; member
/third_party/weston/libweston/
Dcompositor.c6992 int32_t dst_height) in viewport_set_destination() argument
7006 if (dst_width == -1 && dst_height == -1) { in viewport_set_destination()
7013 if (dst_width <= 0 || dst_height <= 0) { in viewport_set_destination()
7017 dst_width, dst_height); in viewport_set_destination()
7022 surface->pending.buffer_viewport.surface.height = dst_height; in viewport_set_destination()