Lines Matching full:height

82              int height) {  in I420Copy()  argument
84 int halfheight = (height + 1) >> 1; in I420Copy()
85 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I420Copy()
88 // Negative height means invert the image. in I420Copy()
89 if (height < 0) { in I420Copy()
90 height = -height; in I420Copy()
91 halfheight = (height + 1) >> 1; in I420Copy()
92 src_y = src_y + (height - 1) * src_stride_y; in I420Copy()
101 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Copy()
124 int height) { in I010Copy() argument
126 int halfheight = (height + 1) >> 1; in I010Copy()
127 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I010Copy()
130 // Negative height means invert the image. in I010Copy()
131 if (height < 0) { in I010Copy()
132 height = -height; in I010Copy()
133 halfheight = (height + 1) >> 1; in I010Copy()
134 src_y = src_y + (height - 1) * src_stride_y; in I010Copy()
143 CopyPlane_16(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I010Copy()
166 int height) { in I010ToI420() argument
168 int halfheight = (height + 1) >> 1; in I010ToI420()
169 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I010ToI420()
172 // Negative height means invert the image. in I010ToI420()
173 if (height < 0) { in I010ToI420()
174 height = -height; in I010ToI420()
175 halfheight = (height + 1) >> 1; in I010ToI420()
176 src_y = src_y + (height - 1) * src_stride_y; in I010ToI420()
186 height); in I010ToI420()
195 // 422 chroma is 1/2 width, 1x height
196 // 420 chroma is 1/2 width, 1/2 height
211 int height) { in I422ToI420() argument
215 dst_v, dst_stride_v, width, height, src_uv_width, height); in I422ToI420()
231 int height) { in I422ToNV21() argument
233 int halfheight = (height + 1) >> 1; in I422ToNV21()
234 // Negative height means invert the image. in I422ToNV21()
235 if (height < 0) { in I422ToNV21()
236 height = -height; in I422ToNV21()
237 halfheight = (height + 1) >> 1; in I422ToNV21()
238 src_y = src_y + (height - 1) * src_stride_y; in I422ToNV21()
239 src_u = src_u + (height - 1) * src_stride_u; in I422ToNV21()
240 src_v = src_v + (height - 1) * src_stride_v; in I422ToNV21()
252 height); in I422ToNV21()
261 // 422 chroma is 1/2 width, 1x height
262 // 420 chroma is 1/2 width, 1/2 height
276 int height) { in I422ToNV21() argument
284 int halfheight = (height + 1) >> 1; in I422ToNV21()
285 if (!src_u || !src_v || !dst_vu || width <= 0 || height == 0) { in I422ToNV21()
288 // Negative height means invert the image. in I422ToNV21()
289 if (height < 0) { in I422ToNV21()
290 height = -height; in I422ToNV21()
291 halfheight = (height + 1) >> 1; in I422ToNV21()
292 src_y = src_y + (height - 1) * src_stride_y; in I422ToNV21()
381 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, halfwidth, height); in I422ToNV21()
389 for (y = 0; y < height - 1; y += 2) { in I422ToNV21()
398 if (height & 1) { in I422ToNV21()
407 // 444 chroma is 1x width, 1x height
408 // 420 chroma is 1/2 width, 1/2 height
423 int height) { in I444ToI420() argument
426 dst_v, dst_stride_v, width, height, width, height); in I444ToI420()
442 int height) { in I444ToNV21() argument
444 int halfheight = (height + 1) >> 1; in I444ToNV21()
445 // Negative height means invert the image. in I444ToNV21()
446 if (height < 0) { in I444ToNV21()
447 height = -height; in I444ToNV21()
448 halfheight = (height + 1) >> 1; in I444ToNV21()
449 src_y = src_y + (height - 1) * src_stride_y; in I444ToNV21()
450 src_u = src_u + (height - 1) * src_stride_u; in I444ToNV21()
451 src_v = src_v + (height - 1) * src_stride_v; in I444ToNV21()
462 height); in I444ToNV21()
480 int height) { in I400ToI420() argument
482 int halfheight = (height + 1) >> 1; in I400ToI420()
483 if (!dst_u || !dst_v || width <= 0 || height == 0) { in I400ToI420()
486 // Negative height means invert the image. in I400ToI420()
487 if (height < 0) { in I400ToI420()
488 height = -height; in I400ToI420()
489 halfheight = (height + 1) >> 1; in I400ToI420()
490 src_y = src_y + (height - 1) * src_stride_y; in I400ToI420()
494 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400ToI420()
510 int height) { in I400ToNV21() argument
512 int halfheight = (height + 1) >> 1; in I400ToNV21()
513 if (!dst_vu || width <= 0 || height == 0) { in I400ToNV21()
516 // Negative height means invert the image. in I400ToNV21()
517 if (height < 0) { in I400ToNV21()
518 height = -height; in I400ToNV21()
519 halfheight = (height + 1) >> 1; in I400ToNV21()
520 src_y = src_y + (height - 1) * src_stride_y; in I400ToNV21()
524 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400ToNV21()
536 int height) { in CopyPlane2() argument
561 for (y = 0; y < height - 1; y += 2) { in CopyPlane2()
567 if (height & 1) { in CopyPlane2()
577 // Chroma is half width / half height. (420)
593 int height) { in X420ToI420() argument
595 int halfheight = (height + 1) >> 1; in X420ToI420()
596 if (!src_uv || !dst_u || !dst_v || width <= 0 || height == 0) { in X420ToI420()
599 // Negative height means invert the image. in X420ToI420()
600 if (height < 0) { in X420ToI420()
601 height = -height; in X420ToI420()
602 halfheight = (height + 1) >> 1; in X420ToI420()
604 dst_y = dst_y + (height - 1) * dst_stride_y; in X420ToI420()
615 width *= height; in X420ToI420()
616 height = 1; in X420ToI420()
629 CopyPlane(src_y, src_stride_y0, dst_y, dst_stride_y, width, height); in X420ToI420()
632 width, height); in X420ToI420()
656 int height) { in NV12ToI420() argument
659 dst_stride_v, width, height); in NV12ToI420()
675 int height) { in NV21ToI420() argument
678 dst_stride_u, width, height); in NV21ToI420()
692 int height) { in M420ToI420() argument
696 width, height); in M420ToI420()
710 int height) { in YUY2ToI420() argument
717 // Negative height means invert the image. in YUY2ToI420()
718 if (height < 0) { in YUY2ToI420()
719 height = -height; in YUY2ToI420()
720 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2; in YUY2ToI420()
776 for (y = 0; y < height - 1; y += 2) { in YUY2ToI420()
785 if (height & 1) { in YUY2ToI420()
803 int height) { in UYVYToI420() argument
810 // Negative height means invert the image. in UYVYToI420()
811 if (height < 0) { in UYVYToI420()
812 height = -height; in UYVYToI420()
813 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy; in UYVYToI420()
867 for (y = 0; y < height - 1; y += 2) { in UYVYToI420()
876 if (height & 1) { in UYVYToI420()
892 int height) { in AYUVToNV12() argument
898 // Negative height means invert the image. in AYUVToNV12()
899 if (height < 0) { in AYUVToNV12()
900 height = -height; in AYUVToNV12()
901 src_ayuv = src_ayuv + (height - 1) * src_stride_ayuv; in AYUVToNV12()
937 for (y = 0; y < height - 1; y += 2) { in AYUVToNV12()
945 if (height & 1) { in AYUVToNV12()
961 int height) { in AYUVToNV21() argument
967 // Negative height means invert the image. in AYUVToNV21()
968 if (height < 0) { in AYUVToNV21()
969 height = -height; in AYUVToNV21()
970 src_ayuv = src_ayuv + (height - 1) * src_stride_ayuv; in AYUVToNV21()
1006 for (y = 0; y < height - 1; y += 2) { in AYUVToNV21()
1014 if (height & 1) { in AYUVToNV21()
1032 int height) { in ARGBToI420() argument
1039 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ARGBToI420()
1042 // Negative height means invert the image. in ARGBToI420()
1043 if (height < 0) { in ARGBToI420()
1044 height = -height; in ARGBToI420()
1045 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBToI420()
1117 for (y = 0; y < height - 1; y += 2) { in ARGBToI420()
1126 if (height & 1) { in ARGBToI420()
1144 int height) { in BGRAToI420() argument
1151 if (!src_bgra || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in BGRAToI420()
1154 // Negative height means invert the image. in BGRAToI420()
1155 if (height < 0) { in BGRAToI420()
1156 height = -height; in BGRAToI420()
1157 src_bgra = src_bgra + (height - 1) * src_stride_bgra; in BGRAToI420()
1219 for (y = 0; y < height - 1; y += 2) { in BGRAToI420()
1228 if (height & 1) { in BGRAToI420()
1246 int height) { in ABGRToI420() argument
1253 if (!src_abgr || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in ABGRToI420()
1256 // Negative height means invert the image. in ABGRToI420()
1257 if (height < 0) { in ABGRToI420()
1258 height = -height; in ABGRToI420()
1259 src_abgr = src_abgr + (height - 1) * src_stride_abgr; in ABGRToI420()
1321 for (y = 0; y < height - 1; y += 2) { in ABGRToI420()
1330 if (height & 1) { in ABGRToI420()
1348 int height) { in RGBAToI420() argument
1355 if (!src_rgba || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in RGBAToI420()
1358 // Negative height means invert the image. in RGBAToI420()
1359 if (height < 0) { in RGBAToI420()
1360 height = -height; in RGBAToI420()
1361 src_rgba = src_rgba + (height - 1) * src_stride_rgba; in RGBAToI420()
1423 for (y = 0; y < height - 1; y += 2) { in RGBAToI420()
1432 if (height & 1) { in RGBAToI420()
1450 int height) { in RGB24ToI420() argument
1468 if (!src_rgb24 || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in RGB24ToI420()
1471 // Negative height means invert the image. in RGB24ToI420()
1472 if (height < 0) { in RGB24ToI420()
1473 height = -height; in RGB24ToI420()
1474 src_rgb24 = src_rgb24 + (height - 1) * src_stride_rgb24; in RGB24ToI420()
1550 for (y = 0; y < height - 1; y += 2) { in RGB24ToI420()
1568 if (height & 1) { in RGB24ToI420()
1599 int height) { in RGB24ToJ420() argument
1617 if (!src_rgb24 || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in RGB24ToJ420()
1620 // Negative height means invert the image. in RGB24ToJ420()
1621 if (height < 0) { in RGB24ToJ420()
1622 height = -height; in RGB24ToJ420()
1623 src_rgb24 = src_rgb24 + (height - 1) * src_stride_rgb24; in RGB24ToJ420()
1699 for (y = 0; y < height - 1; y += 2) { in RGB24ToJ420()
1717 if (height & 1) { in RGB24ToJ420()
1747 int height) { in RAWToI420() argument
1764 if (!src_raw || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in RAWToI420()
1767 // Negative height means invert the image. in RAWToI420()
1768 if (height < 0) { in RAWToI420()
1769 height = -height; in RAWToI420()
1770 src_raw = src_raw + (height - 1) * src_stride_raw; in RAWToI420()
1846 for (y = 0; y < height - 1; y += 2) { in RAWToI420()
1864 if (height & 1) { in RAWToI420()
1894 int height) { in RGB565ToI420() argument
1912 if (!src_rgb565 || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in RGB565ToI420()
1915 // Negative height means invert the image. in RGB565ToI420()
1916 if (height < 0) { in RGB565ToI420()
1917 height = -height; in RGB565ToI420()
1918 src_rgb565 = src_rgb565 + (height - 1) * src_stride_rgb565; in RGB565ToI420()
2000 for (y = 0; y < height - 1; y += 2) { in RGB565ToI420()
2018 if (height & 1) { in RGB565ToI420()
2048 int height) { in ARGB1555ToI420() argument
2067 height == 0) { in ARGB1555ToI420()
2070 // Negative height means invert the image. in ARGB1555ToI420()
2071 if (height < 0) { in ARGB1555ToI420()
2072 height = -height; in ARGB1555ToI420()
2073 src_argb1555 = src_argb1555 + (height - 1) * src_stride_argb1555; in ARGB1555ToI420()
2156 for (y = 0; y < height - 1; y += 2) { in ARGB1555ToI420()
2176 if (height & 1) { in ARGB1555ToI420()
2206 int height) { in ARGB4444ToI420() argument
2224 height == 0) { in ARGB4444ToI420()
2227 // Negative height means invert the image. in ARGB4444ToI420()
2228 if (height < 0) { in ARGB4444ToI420()
2229 height = -height; in ARGB4444ToI420()
2230 src_argb4444 = src_argb4444 + (height - 1) * src_stride_argb4444; in ARGB4444ToI420()
2336 for (y = 0; y < height - 1; y += 2) { in ARGB4444ToI420()
2355 if (height & 1) { in ARGB4444ToI420()
2379 int height) { in RGB24ToJ400() argument
2391 if (!src_rgb24 || !dst_yj || width <= 0 || height == 0) { in RGB24ToJ400()
2394 // Negative height means invert the image. in RGB24ToJ400()
2395 if (height < 0) { in RGB24ToJ400()
2396 height = -height; in RGB24ToJ400()
2397 src_rgb24 = src_rgb24 + (height - 1) * src_stride_rgb24; in RGB24ToJ400()
2459 for (y = 0; y < height - 1; y += 2) { in RGB24ToJ400()
2473 if (height & 1) { in RGB24ToJ400()
2518 int height) { in Android420ToI420() argument
2522 int halfheight = (height + 1) >> 1; in Android420ToI420()
2523 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in Android420ToI420()
2526 // Negative height means invert the image. in Android420ToI420()
2527 if (height < 0) { in Android420ToI420()
2528 height = -height; in Android420ToI420()
2529 halfheight = (height + 1) >> 1; in Android420ToI420()
2530 src_y = src_y + (height - 1) * src_stride_y; in Android420ToI420()
2539 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in Android420ToI420()