Home
last modified time | relevance | path

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

1234

/external/libyuv/files/unit_test/
Dscale_argb_test.cc21 int dst_width, int dst_height, in ARGBTestFilter() argument
30 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; in ARGBTestFilter()
52 dst_width, dst_height, f); in ARGBTestFilter()
57 dst_width, dst_height, f); in ARGBTestFilter()
65 dst_width, dst_height, f); in ARGBTestFilter()
75 dst_width, dst_height, f); in ARGBTestFilter()
88 for (i = b; i < (dst_height + b); ++i) { in ARGBTestFilter()
108 const int dst_height = src_height / 2; in TEST_F() local
112 dst_width, dst_height, in TEST_F()
123 const int dst_height = src_height / 4; in TEST_F() local
[all …]
Dscale_test.cc21 int dst_width, int dst_height, in TestFilter() argument
38 int dst_height_uv = (dst_height + rounding) >> 1; in TestFilter()
40 int dst_y_plane_size = (dst_width + b * 2) * (dst_height + b * 2); in TestFilter()
78 dst_width, dst_height, f); in TestFilter()
87 dst_width, dst_height, f); in TestFilter()
99 dst_width, dst_height, f); in TestFilter()
113 dst_width, dst_height, f); in TestFilter()
126 for (i = b; i < (dst_height + b); ++i) { in TestFilter()
169 const int dst_height = src_height / 2; in TEST_F() local
173 dst_width, dst_height, in TEST_F()
[all …]
Drotate_argb_test.cc21 int dst_width, int dst_height, in ARGBTestRotate() argument
30 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; in ARGBTestRotate()
84 for (i = b; i < (dst_height + b); ++i) { in ARGBTestRotate()
103 const int dst_height = 720; in TEST_F() local
106 dst_width, dst_height, kRotate0, in TEST_F()
115 const int dst_height = 1280; in TEST_F() local
118 dst_width, dst_height, kRotate90, in TEST_F()
127 const int dst_height = 720; in TEST_F() local
130 dst_width, dst_height, kRotate180, in TEST_F()
139 const int dst_height = 1280; in TEST_F() local
[all …]
/external/chromium_org/third_party/libyuv/source/
Dscale.cc40 int dst_width, int dst_height, in ScalePlaneDown2() argument
86 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown2()
94 int dst_width, int dst_height, in ScalePlaneDown2_16() argument
142 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown2_16()
154 int dst_width, int dst_height, in ScalePlaneDown4() argument
189 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown4()
197 int dst_width, int dst_height, in ScalePlaneDown4_16() argument
234 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown4_16()
244 int dst_width, int dst_height, in ScalePlaneDown34() argument
299 for (y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown34()
[all …]
Dscale_argb.cc34 int dst_width, int dst_height, in ScaleARGBDown2() argument
74 for (j = 0; j < dst_height; ++j) { in ScaleARGBDown2()
85 int dst_width, int dst_height, in ScaleARGBDown4Box() argument
112 for (j = 0; j < dst_height; ++j) { in ScaleARGBDown4Box()
127 int dst_width, int dst_height, in ScaleARGBDownEven() argument
158 for (j = 0; j < dst_height; ++j) { in ScaleARGBDownEven()
167 int dst_width, int dst_height, in ScaleARGBBilinearDown() argument
253 for (j = 0; j < dst_height; ++j) { in ScaleARGBBilinearDown()
275 int dst_width, int dst_height, in ScaleARGBBilinearUp() argument
380 for (j = 0; j < dst_height; ++j) { in ScaleARGBBilinearUp()
[all …]
/external/chromium_org/third_party/libyuv/util/
Dconvert.cc32 int dst_width = 0, dst_height = 0; // new width and height variable
96 dst_height = atoi(argv[++c]); // NOLINT in ParseOptions()
147 if (dst_width == 0 || dst_height == 0) { in ParseOptions()
150 dst_height = rec_height; in ParseOptions()
153 dst_height = Abs(image_height); in ParseOptions()
164 int dst_width, int dst_height, in TileARGBScale() argument
166 for (int y = 0; y < dst_height; y += kTileY) { in TileARGBScale()
173 if (y + clip_height > dst_height) { in TileARGBScale()
174 clip_height = dst_height - y; in TileARGBScale()
179 dst_width, dst_height, in TileARGBScale()
[all …]
/external/chromium_org/third_party/libyuv/unit_test/
Dscale_argb_test.cc23 int dst_width, int dst_height, in ARGBTestFilter() argument
35 int dst_argb_plane_size = (dst_width + b * 2) * (dst_height + b * 2) * 4; in ARGBTestFilter()
48 dst_width, dst_height, f); in ARGBTestFilter()
53 dst_width, dst_height, f); in ARGBTestFilter()
60 dst_width, dst_height, f); in ARGBTestFilter()
70 dst_width, dst_height, f); in ARGBTestFilter()
83 for (i = b; i < (dst_height + b); ++i) { in ARGBTestFilter()
105 int dst_width, int dst_height, in TileARGBScale() argument
107 for (int y = 0; y < dst_height; y += kTileY) { in TileARGBScale()
114 if (y + clip_height > dst_height) { in TileARGBScale()
[all …]
Drotate_test.cc22 int dst_width, int dst_height, in I420TestRotate() argument
34 if (dst_height < 1) { in I420TestRotate()
35 dst_height = 1; in I420TestRotate()
45 int dst_i420_y_size = dst_width * dst_height; in I420TestRotate()
46 int dst_i420_uv_size = ((dst_width + 1) / 2) * ((dst_height + 1) / 2); in I420TestRotate()
135 int dst_width, int dst_height, in NV12TestRotate() argument
147 if (dst_height < 1) { in NV12TestRotate()
148 dst_height = 1; in NV12TestRotate()
158 int dst_i420_y_size = dst_width * dst_height; in NV12TestRotate()
159 int dst_i420_uv_size = ((dst_width + 1) / 2) * ((dst_height + 1) / 2); in NV12TestRotate()
Drotate_argb_test.cc22 int dst_width, int dst_height, in TestRotateBpp() argument
35 if (dst_height < 1) { in TestRotateBpp()
36 dst_height = 1; in TestRotateBpp()
46 int dst_argb_plane_size = dst_stride_argb * dst_height; in TestRotateBpp()
89 int dst_width, int dst_height, in ARGBTestRotate() argument
93 dst_width, dst_height, in ARGBTestRotate()
146 int dst_width, int dst_height, in TestRotatePlane() argument
150 dst_width, dst_height, in TestRotatePlane()
Dscale_test.cc22 int dst_width, int dst_height, in TestFilter() argument
44 int dst_height_uv = (dst_height + 1) >> 1; in TestFilter()
46 int dst_y_plane_size = (dst_width + b * 2) * (dst_height + b * 2); in TestFilter()
69 dst_width, dst_height, f); in TestFilter()
82 dst_width, dst_height, f); in TestFilter()
96 for (i = b; i < (dst_height + b); ++i) { in TestFilter()
138 int dst_width, int dst_height, in TestFilter_16() argument
180 int dst_height_uv = (dst_height + 1) >> 1; in TestFilter_16()
182 int dst_y_plane_size = (dst_width + b * 2) * (dst_height + b * 2); in TestFilter_16()
206 dst_width, dst_height, f); in TestFilter_16()
[all …]
/external/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()
93 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite()
214 src_width, src_height, dst_width, dst_height); in test_composite()
255 clip_boxes[i].y1 = prng_rand_n (dst_height); in test_composite()
259 clip_boxes[i].y1 + prng_rand_n (dst_height - clip_boxes[i].y1); 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()
157 dst_fmt, dst_width, dst_height, dstbuf, dst_stride); in test_composite()
249 src_width, src_height, dst_width, dst_height); in test_composite()
318 clip_boxes[i].y1 = prng_rand_n (dst_height); in test_composite()
322 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
150 dst_height = prng_rand_n (MAX_DST_HEIGHT) + 1; in test_composite()
154 dst_bits = (uint32_t *)make_random_bytes (dst_stride * dst_height); in test_composite()
157 dst_y = -(dst_height / 4) + prng_rand_n (dst_height * 3 / 2); in test_composite()
160 dst_format, dst_width, dst_height, dst_bits, dst_stride); in test_composite()
196 clip_boxes[i].y1 = prng_rand_n (dst_height); in test_composite()
200 clip_boxes[i].y1 + prng_rand_n (dst_height - clip_boxes[i].y1); in test_composite()
220 for (i = 0; i < dst_stride * dst_height / 4; i++) in test_composite()
230 for (i = 0; i < dst_height; i++) in test_composite()
239 crc32 = compute_crc32 (0, dst_bits, dst_stride * dst_height); 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()
/external/chromium_org/third_party/libyuv/include/libyuv/
Dscale.h34 int dst_width, int dst_height,
40 int dst_width, int dst_height,
61 int dst_width, int dst_height,
72 int dst_width, int dst_height,
83 int dst_width, int dst_height,
89 uint8* dst_i420, int dst_width, int dst_height, int dst_yoffset,
Dscale_argb.h26 int dst_width, int dst_height,
34 int dst_width, int dst_height,
48 int dst_width, int dst_height,
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.c3053 int dst_width, int dst_height, in ScalePlaneDown2() argument
3082 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown2()
3097 int dst_width, int dst_height, in ScalePlaneDown4() argument
3126 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown4()
3142 int dst_width, int dst_height, in ScalePlaneDown8() argument
3166 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown8()
3181 int dst_width, int dst_height, in ScalePlaneDown34() argument
3239 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown34()
3274 int dst_width, int dst_height, in ScalePlaneDown38() argument
3322 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown38()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
Dscale.c3053 int dst_width, int dst_height, in ScalePlaneDown2() argument
3082 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown2()
3097 int dst_width, int dst_height, in ScalePlaneDown4() argument
3126 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown4()
3142 int dst_width, int dst_height, in ScalePlaneDown8() argument
3166 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown8()
3181 int dst_width, int dst_height, in ScalePlaneDown34() argument
3239 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown34()
3274 int dst_width, int dst_height, in ScalePlaneDown38() argument
3322 for (y = 0; y < dst_height; ++y) { in ScalePlaneDown38()
[all …]
/external/libyuv/files/source/
Dscale.cc2295 int dst_width, int dst_height, in ScalePlaneDown2() argument
2319 for (int y = 0; y < dst_height; ++y) { in ScalePlaneDown2()
2333 int dst_width, int dst_height, in ScalePlaneDown4() argument
2353 for (int y = 0; y < dst_height; ++y) { in ScalePlaneDown4()
2368 int dst_width, int dst_height, in ScalePlaneDown8() argument
2384 for (int y = 0; y < dst_height; ++y) { in ScalePlaneDown8()
2398 int dst_width, int dst_height, in ScalePlaneDown34() argument
2445 for (int y = 0; y < dst_height - 2; y += 3) { in ScalePlaneDown34()
2459 if ((dst_height % 3) == 2) { in ScalePlaneDown34()
2464 } else if ((dst_height % 3) == 1) { in ScalePlaneDown34()
[all …]
Dscale_argb.cc795 int dst_width, int dst_height, in ScaleARGBDown2() argument
813 for (int y = 0; y < dst_height; ++y) { in ScaleARGBDown2()
828 int dst_width, int dst_height, in ScaleARGBDownEven() argument
847 int row_step = src_height / dst_height; in ScaleARGBDownEven()
850 for (int y = 0; y < dst_height; ++y) { in ScaleARGBDownEven()
862 int dst_width, int dst_height, in ScaleARGBBilinear() argument
866 assert(dst_height > 0); in ScaleARGBBilinear()
886 int dy = (src_height << 16) / dst_height; in ScaleARGBBilinear()
890 for (int j = 0; j < dst_height; ++j) { in ScaleARGBBilinear()
931 int dst_width, int dst_height, in ScaleARGBSimple() argument
[all …]
/external/libyuv/files/include/libyuv/
Dscale.h33 int dst_width, int dst_height,
54 int dst_width, int dst_height,
64 int dst_width, int dst_height,
70 uint8* dst, int dst_width, int dst_height, int dst_yoffset,
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dscale.h45 int dst_width, int dst_height,
54 int dst_width, int dst_height,
59 uint8* dst, int dst_width, int dst_height, int dst_yoffset,
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/
Dscale.h45 int dst_width, int dst_height,
54 int dst_width, int dst_height,
59 uint8* dst, int dst_width, int dst_height, int dst_yoffset,
/external/chromium_org/chrome/browser/ui/views/profiles/
Davatar_menu_button.cc70 int dst_height = Round(button_icon_.height() * scale); in OnPaint() local
75 int dst_y = Round((height() - dst_height) / 2.0); in OnPaint()
77 button_icon_.height(), dst_x, dst_y, dst_width, dst_height, false); in OnPaint()
/external/chromium_org/third_party/webrtc/common_video/libyuv/
Dscaler.cc29 int dst_width, int dst_height, in Set() argument
33 if (src_width < 1 || src_height < 1 || dst_width < 1 || dst_height < 1) in Set()
42 dst_height_ = dst_height; in Set()

1234