Lines Matching refs:height
31 int width, int height) {
37 width *= height;
38 height = 1;
72 for (y = 0; y < height; ++y) {
82 int width, int height) {
88 width *= height;
89 height = 1;
114 for (y = 0; y < height; ++y) {
129 int width, int height) {
133 width <= 0 || height == 0) {
136 // Negative height means invert the image.
137 if (height < 0) {
138 height = -height;
139 src_y = src_y + (height - 1) * src_stride_y;
140 src_u = src_u + (height - 1) * src_stride_u;
141 src_v = src_v + (height - 1) * src_stride_v;
146 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
147 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height);
148 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height);
160 int width, int height) {
163 width <= 0 || height == 0) {
166 // Negative height means invert the image.
167 if (height < 0) {
168 height = -height;
169 src_y = src_y + (height - 1) * src_stride_y;
170 src_u = src_u + (height - 1) * src_stride_u;
171 src_v = src_v + (height - 1) * src_stride_v;
177 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
178 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, width, height);
179 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, width, height);
187 int width, int height) {
188 if (!src_y || !dst_y || width <= 0 || height == 0) {
191 // Negative height means invert the image.
192 if (height < 0) {
193 height = -height;
194 src_y = src_y + (height - 1) * src_stride_y;
197 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
207 int width, int height) {
208 if (!src_y || !dst_y || width <= 0 || height == 0) {
211 // Negative height means invert the image.
212 if (height < 0) {
213 height = -height;
214 src_y = src_y + (height - 1) * src_stride_y;
217 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
224 int width, int height) {
227 // Negative height means invert the image.
228 if (height < 0) {
229 height = -height;
230 src_y = src_y + (height - 1) * src_stride_y;
267 for (y = 0; y < height; ++y) {
280 int width, int height) {
287 // Negative height means invert the image.
288 if (height < 0) {
289 height = -height;
290 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2;
298 width *= height;
299 height = 1;
335 for (y = 0; y < height; ++y) {
352 int width, int height) {
359 // Negative height means invert the image.
360 if (height < 0) {
361 height = -height;
362 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy;
370 width *= height;
371 height = 1;
407 for (y = 0; y < height; ++y) {
422 int width, int height) {
424 width <= 0 || height == 0) {
427 // Negative height means invert the image.
428 if (height < 0) {
429 height = -height;
430 src_y = src_y + (height - 1) * src_stride_y;
434 MirrorPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
446 int width, int height) {
448 int halfheight = (height + 1) >> 1;
450 width <= 0 || height == 0) {
453 // Negative height means invert the image.
454 if (height < 0) {
455 height = -height;
456 halfheight = (height + 1) >> 1;
457 src_y = src_y + (height - 1) * src_stride_y;
466 MirrorPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
477 int width, int height) {
481 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
484 // Negative height means invert the image.
485 if (height < 0) {
486 height = -height;
487 src_argb = src_argb + (height - 1) * src_stride_argb;
516 for (y = 0; y < height; ++y) {
550 int width, int height) {
554 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) {
557 // Negative height means invert the image.
558 if (height < 0) {
559 height = -height;
560 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
567 width *= height;
568 height = 1;
572 for (y = 0; y < height; ++y) {
587 int width, int height) {
591 if (!src_y0 || !src_y1 || !alpha || !dst_y || width <= 0 || height == 0) {
594 // Negative height means invert the image.
595 if (height < 0) {
596 height = -height;
597 dst_y = dst_y + (height - 1) * dst_stride_y;
606 width *= height;
607 height = 1;
628 for (y = 0; y < height; ++y) {
651 int width, int height) {
653 // Half width/height for UV.
660 !alpha || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) {
664 // Negative height means invert the image.
665 if (height < 0) {
666 height = -height;
667 dst_y = dst_y + (height - 1) * dst_stride_y;
676 width, height);
733 for (y = 0; y < height; y += 2) {
734 // last row of odd height image use 1 row of alpha instead of 2.
735 if (y == (height - 1)) {
738 // Subsample 2 rows of UV to half width and half height.
759 int width, int height) {
763 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) {
766 // Negative height means invert the image.
767 if (height < 0) {
768 height = -height;
769 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
776 width *= height;
777 height = 1;
806 for (y = 0; y < height; ++y) {
820 int width, int height) {
824 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) {
827 // Negative height means invert the image.
828 if (height < 0) {
829 height = -height;
830 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
837 width *= height;
838 height = 1;
872 for (y = 0; y < height; ++y) {
886 int width, int height) {
890 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) {
893 // Negative height means invert the image.
894 if (height < 0) {
895 height = -height;
896 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
903 width *= height;
904 height = 1;
933 for (y = 0; y < height; ++y) {
947 int width, int height) {
956 width <= 0 || height == 0) {
959 // Negative height means invert the image.
960 if (height < 0) {
961 height = -height;
962 dst_rgba = dst_rgba + (height - 1) * dst_stride_rgba;
999 for (y = 0; y < height; ++y) {
1015 int width, int height) {
1021 width, height);
1030 int width, int height) {
1036 width, height);
1044 int width, int height) {
1052 width <= 0 || height == 0) {
1055 // Negative height means invert the image.
1056 if (height < 0) {
1057 height = -height;
1058 dst_rgb565 = dst_rgb565 + (height - 1) * dst_stride_rgb565;
1086 for (y = 0; y < height; ++y) {
1101 int width, int height) {
1106 width <= 0 || height == 0) {
1109 // Negative height means invert the image.
1110 if (height < 0) {
1111 height = -height;
1112 src_raw = src_raw + (height - 1) * src_stride_raw;
1118 width *= height;
1119 height = 1;
1139 for (y = 0; y < height; ++y) {
1149 int width, int height,
1153 if (height < 0) {
1154 height = -height;
1155 dst_y = dst_y + (height - 1) * dst_stride_y;
1160 width *= height;
1161 height = 1;
1187 for (y = 0; y < height; ++y) {
1199 int width, int height,
1202 int halfheight = (height + 1) >> 1;
1207 width <= 0 || height == 0 ||
1215 SetPlane(start_y, dst_stride_y, width, height, value_y);
1225 int width, int height,
1230 width <= 0 || height == 0 ||
1234 if (height < 0) {
1235 height = -height;
1236 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
1242 width *= height;
1243 height = 1;
1262 for (y = 0; y < height; ++y) {
1285 int width, int height) {
1289 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1292 if (height < 0) {
1293 height = -height;
1294 src_argb = src_argb + (height - 1) * src_stride_argb;
1300 width *= height;
1301 height = 1;
1329 for (y = 0; y < height; ++y) {
1341 int width, int height) {
1345 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1348 if (height < 0) {
1349 height = -height;
1350 src_argb = src_argb + (height - 1) * src_stride_argb;
1356 width *= height;
1357 height = 1;
1378 for (y = 0; y < height; ++y) {
1390 int width, int height) {
1394 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1397 if (height < 0) {
1398 height = -height;
1399 src_argb = src_argb + (height - 1) * src_stride_argb;
1405 width *= height;
1406 height = 1;
1420 for (y = 0; y < height; ++y) {
1432 int width, int height) {
1437 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) {
1442 width *= height;
1443 height = 1;
1456 for (y = 0; y < height; ++y) {
1466 int dst_x, int dst_y, int width, int height) {
1470 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) {
1475 width *= height;
1476 height = 1;
1489 for (y = 0; y < height; ++y) {
1502 int width, int height) {
1506 if (!src_argb || !dst_argb || !matrix_argb || width <= 0 || height == 0) {
1509 if (height < 0) {
1510 height = -height;
1511 src_argb = src_argb + (height - 1) * src_stride_argb;
1517 width *= height;
1518 height = 1;
1531 for (y = 0; y < height; ++y) {
1544 int dst_x, int dst_y, int width, int height) {
1547 if (!dst_argb || !matrix_rgb || width <= 0 || height <= 0 ||
1570 &matrix_argb[0], width, height);
1578 int dst_x, int dst_y, int width, int height) {
1583 if (!dst_argb || !table_argb || width <= 0 || height <= 0 ||
1589 width *= height;
1590 height = 1;
1598 for (y = 0; y < height; ++y) {
1610 int dst_x, int dst_y, int width, int height) {
1615 if (!dst_argb || !table_argb || width <= 0 || height <= 0 ||
1621 width *= height;
1622 height = 1;
1630 for (y = 0; y < height; ++y) {
1649 int dst_x, int dst_y, int width, int height) {
1654 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0 ||
1660 width *= height;
1661 height = 1;
1674 for (y = 0; y < height; ++y) {
1686 int width, int height) {
1691 if (!dst_cumsum || !src_argb || width <= 0 || height <= 0) {
1700 for (y = 0; y < height; ++y) {
1710 // Caller should allocate CumulativeSum table of width * height * 16 bytes
1711 // aligned to 16 byte boundary. height can be radius * 2 + 2 to save memory
1717 int width, int height, int radius) {
1727 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1730 if (height < 0) {
1731 height = -height;
1732 src_argb = src_argb + (height - 1) * src_stride_argb;
1735 if (radius > height) {
1736 radius = height;
1762 for (y = 0; y < height; ++y) {
1764 int bot_y = ((y + radius) < height) ? (y + radius) : (height - 1);
1779 if ((y + radius) < height) {
1820 int width, int height, uint32 value) {
1824 if (!src_argb || !dst_argb || width <= 0 || height == 0 || value == 0u) {
1827 if (height < 0) {
1828 height = -height;
1829 src_argb = src_argb + (height - 1) * src_stride_argb;
1835 width *= height;
1836 height = 1;
1850 for (y = 0; y < height; ++y) {
1863 int width, int height, int interpolation) {
1868 if (!src0 || !src1 || !dst || width <= 0 || height == 0) {
1871 // Negative height means invert the image.
1872 if (height < 0) {
1873 height = -height;
1874 dst = dst + (height - 1) * dst_stride;
1881 width *= height;
1882 height = 1;
1919 for (y = 0; y < height; ++y) {
1933 int width, int height, int interpolation) {
1937 width * 4, height, interpolation);
1951 int width, int height, int interpolation) {
1953 int halfheight = (height + 1) >> 1;
1957 width <= 0 || height == 0) {
1963 width, height, interpolation);
1979 const uint8* shuffler, int width, int height) {
1984 width <= 0 || height == 0) {
1987 // Negative height means invert the image.
1988 if (height < 0) {
1989 height = -height;
1990 src_bgra = src_bgra + (height - 1) * src_stride_bgra;
1996 width *= height;
1997 height = 1;
2033 for (y = 0; y < height; ++y) {
2044 int width, int height,
2057 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
2060 // Negative height means invert the image.
2061 if (height < 0) {
2062 height = -height;
2063 src_argb = src_argb + (height - 1) * src_stride_argb;
2132 for (y = 0; y < height; ++y) {
2134 if (y < (height - 1)) {
2164 int width, int height) {
2184 width, height, SobelRow);
2191 int width, int height) {
2211 width, height, SobelToPlaneRow);
2219 int width, int height) {
2239 width, height, SobelXYRow);
2247 int width, int height) {
2252 if (!src_argb || !dst_argb || !poly || width <= 0 || height == 0) {
2255 // Negative height means invert the image.
2256 if (height < 0) {
2257 height = -height;
2258 src_argb = src_argb + (height - 1) * src_stride_argb;
2264 width *= height;
2265 height = 1;
2280 for (y = 0; y < height; ++y) {
2293 int width, int height) {
2298 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) {
2301 // Negative height means invert the image.
2302 if (height < 0) {
2303 height = -height;
2304 src_argb = src_argb + (height - 1) * src_stride_argb;
2310 width *= height;
2311 height = 1;
2320 for (y = 0; y < height; ++y) {
2332 int width, int height) {
2336 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
2339 // Negative height means invert the image.
2340 if (height < 0) {
2341 height = -height;
2342 src_argb = src_argb + (height - 1) * src_stride_argb;
2348 width *= height;
2349 height = 1;
2369 for (y = 0; y < height; ++y) {
2381 int width, int height) {
2382 if (!src_argb || !dst_a || width <= 0 || height == 0) {
2385 // Negative height means invert the image.
2386 if (height < 0) {
2387 height = -height;
2388 src_argb += (height - 1) * src_stride;
2393 width *= height;
2394 height = 1;
2412 for (int y = 0; y < height; ++y) {
2424 int width, int height) {
2428 if (!src_y || !dst_argb || width <= 0 || height == 0) {
2431 // Negative height means invert the image.
2432 if (height < 0) {
2433 height = -height;
2434 src_y = src_y + (height - 1) * src_stride_y;
2440 width *= height;
2441 height = 1;
2461 for (y = 0; y < height; ++y) {
2476 int width, int height) {
2486 width <= 0 || height == 0) {
2489 // Negative height means invert the image.
2490 if (height < 0) {
2491 height = -height;
2492 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2;
2549 for (y = 0; y < height - 1; y += 2) {
2560 if (height & 1) {
2574 int width, int height) {
2584 width <= 0 || height == 0) {
2587 // Negative height means invert the image.
2588 if (height < 0) {
2589 height = -height;
2590 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy;
2647 for (y = 0; y < height - 1; y += 2) {
2658 if (height & 1) {