Lines Matching refs:height
34 int width, int height) {
37 width <= 0 || height == 0) {
40 // Negative height means invert the image.
41 if (height < 0) {
42 height = -height;
43 dst_y = dst_y + (height - 1) * dst_stride_y;
44 dst_u = dst_u + (height - 1) * dst_stride_u;
45 dst_v = dst_v + (height - 1) * dst_stride_v;
73 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
78 for (y = 0; y < height - 1; y += 2) {
84 if (height & 1) {
89 for (y = 0; y < height - 1; y += 2) {
95 if (height & 1) {
114 int width, int height) {
117 width <= 0 || height == 0) {
120 // Negative height means invert the image.
121 if (height < 0) {
122 height = -height;
123 dst_y = dst_y + (height - 1) * dst_stride_y;
124 dst_u = dst_u + (height - 1) * dst_stride_u;
125 dst_v = dst_v + (height - 1) * dst_stride_v;
133 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
137 int halfheight = (height + 1) >> 1;
141 width, height,
148 width, height,
155 // 420 chroma is 1/2 width, 1/2 height
156 // 411 chroma is 1/4 width, 1x height
164 int width, int height) {
167 width <= 0 || height == 0) {
170 // Negative height means invert the image.
171 if (height < 0) {
172 height = -height;
173 dst_y = dst_y + (height - 1) * dst_stride_y;
174 dst_u = dst_u + (height - 1) * dst_stride_u;
175 dst_v = dst_v + (height - 1) * dst_stride_v;
183 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
187 int halfheight = (height + 1) >> 1;
191 ScalePlaneBilinear(halfwidth, halfheight, // from 1/2 width, 1/2 height
192 quarterwidth, height, // to 1/4 width, 1x height
198 ScalePlaneBilinear(halfwidth, halfheight, // from 1/2 width, 1/2 height
199 quarterwidth, height, // to 1/4 width, 1x height
210 int width, int height) {
212 width <= 0 || height == 0) {
215 // Negative height means invert the image.
216 if (height < 0) {
217 height = -height;
218 src_y = src_y + (height - 1) * src_stride_y;
221 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
472 int width, int height) {
474 width <= 0 || height == 0) {
477 // Negative height means invert the image.
478 if (height < 0) {
479 height = -height;
480 dst_frame = dst_frame + (height - 1) * dst_stride_frame;
495 for (int y = 0; y < height; ++y) {
510 int width, int height) {
512 width <= 0 || height == 0) {
515 // Negative height means invert the image.
516 if (height < 0) {
517 height = -height;
518 dst_frame = dst_frame + (height - 1) * dst_stride_frame;
533 for (int y = 0; y < height - 1; y += 2) {
542 if (height & 1) {
554 int width, int height) {
556 width <= 0 || height == 0) {
559 // Negative height means invert the image.
560 if (height < 0) {
561 height = -height;
562 dst_frame = dst_frame + (height - 1) * dst_stride_frame;
577 for (int y = 0; y < height; ++y) {
592 int width, int height) {
594 width <= 0 || height == 0) {
597 // Negative height means invert the image.
598 if (height < 0) {
599 height = -height;
600 dst_frame = dst_frame + (height - 1) * dst_stride_frame;
615 for (int y = 0; y < height - 1; y += 2) {
624 if (height & 1) {
635 int width, int height) {
639 width <= 0 || height == 0) {
642 // Negative height means invert the image.
643 if (height < 0) {
644 height = -height;
645 dst_frame = dst_frame + (height - 1) * dst_stride_frame;
664 for (int y = 0; y < height - 1; y += 2) {
675 if (height & 1) {
688 int width, int height) {
690 width <= 0 || height == 0) {
693 // Negative height means invert the image.
694 if (height < 0) {
695 height = -height;
696 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
723 for (int y = 0; y < height; ++y) {
741 int width, int height) {
744 width <= 0 || height == 0) {
747 // Negative height means invert the image.
748 if (height < 0) {
749 height = -height;
750 dst_bgra = dst_bgra + (height - 1) * dst_stride_bgra;
777 for (int y = 0; y < height; ++y) {
795 int width, int height) {
798 width <= 0 || height == 0) {
801 // Negative height means invert the image.
802 if (height < 0) {
803 height = -height;
804 dst_abgr = dst_abgr + (height - 1) * dst_stride_abgr;
831 for (int y = 0; y < height; ++y) {
849 int width, int height) {
852 width <= 0 || height == 0) {
855 // Negative height means invert the image.
856 if (height < 0) {
857 height = -height;
858 dst_rgba = dst_rgba + (height - 1) * dst_stride_rgba;
885 for (int y = 0; y < height; ++y) {
903 int width, int height) {
906 width <= 0 || height == 0) {
909 // Negative height means invert the image.
910 if (height < 0) {
911 height = -height;
912 dst_rgb24 = dst_rgb24 + (height - 1) * dst_stride_rgb24;
939 for (int y = 0; y < height; ++y) {
957 int width, int height) {
960 width <= 0 || height == 0) {
963 // Negative height means invert the image.
964 if (height < 0) {
965 height = -height;
966 dst_raw = dst_raw + (height - 1) * dst_stride_raw;
993 for (int y = 0; y < height; ++y) {
1011 int width, int height) {
1014 width <= 0 || height == 0) {
1017 // Negative height means invert the image.
1018 if (height < 0) {
1019 height = -height;
1020 dst_rgb = dst_rgb + (height - 1) * dst_stride_rgb;
1052 for (int y = 0; y < height; ++y) {
1071 int width, int height) {
1074 width <= 0 || height == 0) {
1077 // Negative height means invert the image.
1078 if (height < 0) {
1079 height = -height;
1080 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
1112 for (int y = 0; y < height; ++y) {
1131 int width, int height) {
1134 width <= 0 || height == 0) {
1137 // Negative height means invert the image.
1138 if (height < 0) {
1139 height = -height;
1140 dst_argb = dst_argb + (height - 1) * dst_stride_argb;
1172 for (int y = 0; y < height; ++y) {
1191 int width, int height,
1194 width <= 0 || height == 0) {
1206 width, height);
1214 width, height);
1223 width, height);
1231 width, height);
1239 width, height);
1247 width, height);
1255 width, height);
1263 width, height);
1271 width, height);
1279 width, height);
1287 width, height);
1295 width, height);
1303 width, height);
1311 width, height);
1319 width, height);
1327 width, height);
1333 width, height);
1341 int halfheight = (height + 1) / 2;
1345 dst_v = dst_sample + width * height;
1348 dst_u = dst_sample + width * height;
1357 width, height);
1366 dst_v = dst_sample + width * height;
1367 dst_u = dst_v + halfwidth * height;
1369 dst_u = dst_sample + width * height;
1370 dst_v = dst_u + halfwidth * height;
1378 width, height);
1386 dst_v = dst_sample + width * height;
1387 dst_u = dst_v + width * height;
1389 dst_u = dst_sample + width * height;
1390 dst_v = dst_u + width * height;
1398 width, height);
1403 uint8* dst_u = dst_sample + width * height;
1404 uint8* dst_v = dst_u + quarterwidth * height;
1411 width, height);