Lines Matching refs:height
69 int width, int height) {
71 int halfheight = (height + 1) >> 1;
74 width <= 0 || height == 0) {
77 // Negative height means invert the image.
78 if (height < 0) {
79 height = -height;
80 halfheight = (height + 1) >> 1;
81 src_y = src_y + (height - 1) * src_stride_y;
90 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
98 // 422 chroma is 1/2 width, 1x height
99 // 420 chroma is 1/2 width, 1/2 height
107 int width, int height) {
115 width, height,
116 src_uv_width, height);
119 // 444 chroma is 1x width, 1x height
120 // 420 chroma is 1/2 width, 1/2 height
128 int width, int height) {
135 width, height,
136 width, height);
139 // 411 chroma is 1/4 width, 1x height
140 // 420 chroma is 1/2 width, 1/2 height
148 int width, int height) {
156 width, height,
157 src_uv_width, height);
166 int width, int height) {
168 int halfheight = (height + 1) >> 1;
170 width <= 0 || height == 0) {
173 // Negative height means invert the image.
174 if (height < 0) {
175 height = -height;
176 halfheight = (height + 1) >> 1;
177 src_y = src_y + (height - 1) * src_stride_y;
180 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
188 int width, int height) {
218 for (y = 0; y < height - 1; y += 2) {
224 if (height & 1) {
234 // Chroma is half width / half height. (420)
244 int width, int height) {
247 int halfheight = (height + 1) >> 1;
252 width <= 0 || height == 0) {
255 // Negative height means invert the image.
256 if (height < 0) {
257 height = -height;
258 halfheight = (height + 1) >> 1;
259 dst_y = dst_y + (height - 1) * dst_stride_y;
270 width *= height;
271 height = 1;
320 CopyPlane(src_y, src_stride_y0, dst_y, dst_stride_y, width, height);
323 width, height);
344 int width, int height) {
350 width, height);
360 int width, int height) {
366 width, height);
375 int width, int height) {
381 width, height);
390 int width, int height) {
396 // Negative height means invert the image.
397 if (height < 0) {
398 height = -height;
399 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2;
433 for (y = 0; y < height - 1; y += 2) {
442 if (height & 1) {
455 int width, int height) {
461 // Negative height means invert the image.
462 if (height < 0) {
463 height = -height;
464 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy;
498 for (y = 0; y < height - 1; y += 2) {
507 if (height & 1) {
520 int width, int height) {
528 width <= 0 || height == 0) {
531 // Negative height means invert the image.
532 if (height < 0) {
533 height = -height;
534 src_argb = src_argb + (height - 1) * src_stride_argb;
574 for (y = 0; y < height - 1; y += 2) {
583 if (height & 1) {
596 int width, int height) {
604 width <= 0 || height == 0) {
607 // Negative height means invert the image.
608 if (height < 0) {
609 height = -height;
610 src_bgra = src_bgra + (height - 1) * src_stride_bgra;
640 for (y = 0; y < height - 1; y += 2) {
649 if (height & 1) {
662 int width, int height) {
670 width <= 0 || height == 0) {
673 // Negative height means invert the image.
674 if (height < 0) {
675 height = -height;
676 src_abgr = src_abgr + (height - 1) * src_stride_abgr;
706 for (y = 0; y < height - 1; y += 2) {
715 if (height & 1) {
728 int width, int height) {
736 width <= 0 || height == 0) {
739 // Negative height means invert the image.
740 if (height < 0) {
741 height = -height;
742 src_rgba = src_rgba + (height - 1) * src_stride_rgba;
772 for (y = 0; y < height - 1; y += 2) {
781 if (height & 1) {
794 int width, int height) {
810 width <= 0 || height == 0) {
813 // Negative height means invert the image.
814 if (height < 0) {
815 height = -height;
816 src_rgb24 = src_rgb24 + (height - 1) * src_stride_rgb24;
868 for (y = 0; y < height - 1; y += 2) {
885 if (height & 1) {
908 int width, int height) {
924 width <= 0 || height == 0) {
927 // Negative height means invert the image.
928 if (height < 0) {
929 height = -height;
930 src_raw = src_raw + (height - 1) * src_stride_raw;
982 for (y = 0; y < height - 1; y += 2) {
999 if (height & 1) {
1022 int width, int height) {
1038 width <= 0 || height == 0) {
1041 // Negative height means invert the image.
1042 if (height < 0) {
1043 height = -height;
1044 src_rgb565 = src_rgb565 + (height - 1) * src_stride_rgb565;
1104 for (y = 0; y < height - 1; y += 2) {
1121 if (height & 1) {
1144 int width, int height) {
1160 width <= 0 || height == 0) {
1163 // Negative height means invert the image.
1164 if (height < 0) {
1165 height = -height;
1166 src_argb1555 = src_argb1555 + (height - 1) * src_stride_argb1555;
1226 for (y = 0; y < height - 1; y += 2) {
1245 if (height & 1) {
1268 int width, int height) {
1284 width <= 0 || height == 0) {
1287 // Negative height means invert the image.
1288 if (height < 0) {
1289 height = -height;
1290 src_argb4444 = src_argb4444 + (height - 1) * src_stride_argb4444;
1350 for (y = 0; y < height - 1; y += 2) {
1369 if (height & 1) {