Lines Matching refs:height
30 int width, int height) {
51 for (int y = 0; y < height; ++y) {
64 int width, int height) {
65 if (!src_y || !dst_y || width <= 0 || height == 0) {
68 // Negative height means invert the image.
69 if (height < 0) {
70 height = -height;
71 src_y = src_y + (height - 1) * src_stride_y;
74 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
81 int width, int height) {
101 for (int y = 0; y < height; ++y) {
114 int width, int height) {
115 // Negative height means invert the image.
116 if (height < 0) {
117 height = -height;
118 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2;
159 for (int y = 0; y < height; ++y) {
176 int width, int height) {
177 // Negative height means invert the image.
178 if (height < 0) {
179 height = -height;
180 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy;
221 for (int y = 0; y < height; ++y) {
240 int width, int height) {
242 width <= 0 || height == 0) {
245 // Negative height means invert the image.
246 if (height < 0) {
247 height = -height;
248 int halfheight = (height + 1) >> 1;
249 src_y = src_y + (height - 1) * src_stride_y;
258 int halfheight = (height + 1) >> 1;
260 MirrorPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
271 int width, int height) {
272 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
275 // Negative height means invert the image.
276 if (height < 0) {
277 height = -height;
278 src_argb = src_argb + (height - 1) * src_stride_argb;
293 for (int y = 0; y < height; ++y) {
327 int width, int height) {
328 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) {
331 // Negative height means invert the image.
332 if (height < 0) {
333 height = -height;
334 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
340 for (int y = 0; y < height; ++y) {
353 int width, int height) {
354 if (!src_argb || !dst_y || width <= 0 || height == 0) {
357 if (height < 0) {
358 height = -height;
359 src_argb = src_argb + (height - 1) * src_stride_argb;
373 for (int y = 0; y < height; ++y) {
382 // same as I420 except UV plane is full height
388 int width, int height) {
389 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) {
392 if (height < 0) {
393 height = -height;
394 src_argb = src_argb + (height - 1) * src_stride_argb;
420 for (int y = 0; y < height; ++y) {
437 int width, int height) {
440 width <= 0 || height == 0) {
443 // Negative height means invert the image.
444 if (height < 0) {
445 height = -height;
446 dst_bgra = dst_bgra + (height - 1) * dst_stride_bgra;
473 for (int y = 0; y < height; ++y) {
489 int width, int height) {
492 width <= 0 || height == 0) {
495 // Negative height means invert the image.
496 if (height < 0) {
497 height = -height;
498 dst_abgr = dst_abgr + (height - 1) * dst_stride_abgr;
525 for (int y = 0; y < height; ++y) {
541 int width, int height) {
544 width <= 0 || height == 0) {
547 // Negative height means invert the image.
548 if (height < 0) {
549 height = -height;
550 dst_rgba = dst_rgba + (height - 1) * dst_stride_rgba;
577 for (int y = 0; y < height; ++y) {
591 int width, int height) {
593 width <= 0 || height == 0) {
596 // Negative height means invert the image.
597 if (height < 0) {
598 height = -height;
599 src_argb = src_argb + (height - 1) * src_stride_argb;
618 for (int y = 0; y < height; ++y) {
630 int width, int height) {
631 if (!src_argb || !dst_rgb24 || width <= 0 || height == 0) {
634 if (height < 0) {
635 height = -height;
636 src_argb = src_argb + (height - 1) * src_stride_argb;
664 for (int y = 0; y < height; ++y) {
676 int width, int height) {
677 if (!src_argb || !dst_raw || width <= 0 || height == 0) {
680 if (height < 0) {
681 height = -height;
682 src_argb = src_argb + (height - 1) * src_stride_argb;
710 for (int y = 0; y < height; ++y) {
722 int width, int height) {
723 if (!src_argb || !dst_rgb565 || width <= 0 || height == 0) {
726 if (height < 0) {
727 height = -height;
728 src_argb = src_argb + (height - 1) * src_stride_argb;
745 for (int y = 0; y < height; ++y) {
757 int width, int height) {
758 if (!src_argb || !dst_argb1555 || width <= 0 || height == 0) {
761 if (height < 0) {
762 height = -height;
763 src_argb = src_argb + (height - 1) * src_stride_argb;
780 for (int y = 0; y < height; ++y) {
792 int width, int height) {
793 if (!src_argb || !dst_argb4444 || width <= 0 || height == 0) {
796 if (height < 0) {
797 height = -height;
798 src_argb = src_argb + (height - 1) * src_stride_argb;
815 for (int y = 0; y < height; ++y) {
829 int width, int height) {
830 if (!src_y || !src_uv || !dst_rgb565 || width <= 0 || height == 0) {
833 // Negative height means invert the image.
834 if (height < 0) {
835 height = -height;
836 dst_rgb565 = dst_rgb565 + (height - 1) * dst_stride_rgb565;
863 for (int y = 0; y < height; ++y) {
880 int width, int height) {
881 if (!src_y || !src_vu || !dst_rgb565 || width <= 0 || height == 0) {
884 // Negative height means invert the image.
885 if (height < 0) {
886 height = -height;
887 dst_rgb565 = dst_rgb565 + (height - 1) * dst_stride_rgb565;
909 for (int y = 0; y < height; ++y) {
923 int width, int height,
941 for (int y = 0; y < height; ++y) {
953 int width, int height,
956 width <= 0 || height <= 0 ||
964 int halfheight = (height + 1) >> 1;
969 SetPlane(start_y, dst_stride_y, width, height, value_y);
979 int width, int height,
982 width <= 0 || height <= 0 ||
990 SetRows32_NEON(dst, value, width, dst_stride_argb, height);
996 SetRows32_X86(dst, value, width, dst_stride_argb, height);
1000 SetRows32_C(dst, value, width, dst_stride_argb, height);
1020 int width, int height) {
1021 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1024 if (height < 0) {
1025 height = -height;
1026 src_argb = src_argb + (height - 1) * src_stride_argb;
1046 for (int y = 0; y < height; ++y) {
1058 int width, int height) {
1059 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1062 if (height < 0) {
1063 height = -height;
1064 src_argb = src_argb + (height - 1) * src_stride_argb;
1077 for (int y = 0; y < height; ++y) {
1089 int width, int height) {
1090 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1093 if (height < 0) {
1094 height = -height;
1095 src_argb = src_argb + (height - 1) * src_stride_argb;
1108 for (int y = 0; y < height; ++y) {
1120 int width, int height) {
1121 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) {
1133 for (int y = 0; y < height; ++y) {
1143 int dst_x, int dst_y, int width, int height) {
1144 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) {
1155 for (int y = 0; y < height; ++y) {
1166 int dst_x, int dst_y, int width, int height) {
1167 if (!dst_argb || !matrix_argb || width <= 0 || height <= 0 ||
1180 for (int y = 0; y < height; ++y) {
1192 int dst_x, int dst_y, int width, int height) {
1193 if (!dst_argb || !table_argb || width <= 0 || height <= 0 ||
1205 for (int y = 0; y < height; ++y) {
1222 int dst_x, int dst_y, int width, int height) {
1223 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0 ||
1236 for (int y = 0; y < height; ++y) {
1248 int width, int height) {
1249 if (!dst_cumsum || !src_argb || width <= 0 || height <= 0) {
1261 for (int y = 0; y < height; ++y) {
1271 // Caller should allocate CumulativeSum table of width * height * 16 bytes
1272 // aligned to 16 byte boundary. height can be radius * 2 + 2 to save memory
1278 int width, int height, int radius) {
1279 if (!src_argb || !dst_argb || width <= 0 || height == 0) {
1305 for (int y = 0; y < height; ++y) {
1307 int bot_y = ((y + radius) < height) ? (y + radius) : (height - 1);
1319 if ((y + radius) < height) {
1362 int width, int height, uint32 value) {
1363 if (!src_argb || !dst_argb || width <= 0 || height == 0 || value == 0u) {
1366 if (height < 0) {
1367 height = -height;
1368 src_argb = src_argb + (height - 1) * src_stride_argb;
1381 for (int y = 0; y < height; ++y) {
1394 int width, int height, int interpolation) {
1395 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) {
1398 // Negative height means invert the image.
1399 if (height < 0) {
1400 height = -height;
1401 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
1415 for (int y = 0; y < height; ++y) {