Lines Matching full:height
34 int height) { in CopyPlane() argument
37 // Negative height means invert the image. in CopyPlane()
38 if (height < 0) { in CopyPlane()
39 height = -height; in CopyPlane()
40 dst_y = dst_y + (height - 1) * dst_stride_y; in CopyPlane()
45 width *= height; in CopyPlane()
46 height = 1; in CopyPlane()
76 for (y = 0; y < height; ++y) { in CopyPlane()
83 // TODO(fbarchard): Consider support for negative height.
91 int height) { in CopyPlane_16() argument
96 width *= height; in CopyPlane_16()
97 height = 1; in CopyPlane_16()
117 for (y = 0; y < height; ++y) { in CopyPlane_16()
132 int height) { in Convert16To8Plane() argument
137 // Negative height means invert the image. in Convert16To8Plane()
138 if (height < 0) { in Convert16To8Plane()
139 height = -height; in Convert16To8Plane()
140 dst_y = dst_y + (height - 1) * dst_stride_y; in Convert16To8Plane()
145 width *= height; in Convert16To8Plane()
146 height = 1; in Convert16To8Plane()
167 for (y = 0; y < height; ++y) { in Convert16To8Plane()
182 int height) { in Convert8To16Plane() argument
187 // Negative height means invert the image. in Convert8To16Plane()
188 if (height < 0) { in Convert8To16Plane()
189 height = -height; in Convert8To16Plane()
190 dst_y = dst_y + (height - 1) * dst_stride_y; in Convert8To16Plane()
195 width *= height; in Convert8To16Plane()
196 height = 1; in Convert8To16Plane()
217 for (y = 0; y < height; ++y) { in Convert8To16Plane()
239 int height) { in I422Copy() argument
241 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I422Copy()
244 // Negative height means invert the image. in I422Copy()
245 if (height < 0) { in I422Copy()
246 height = -height; in I422Copy()
247 src_y = src_y + (height - 1) * src_stride_y; in I422Copy()
248 src_u = src_u + (height - 1) * src_stride_u; in I422Copy()
249 src_v = src_v + (height - 1) * src_stride_v; in I422Copy()
256 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I422Copy()
258 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, halfwidth, height); in I422Copy()
259 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, halfwidth, height); in I422Copy()
278 int height) { in I444Copy() argument
279 if (!src_u || !src_v || !dst_u || !dst_v || width <= 0 || height == 0) { in I444Copy()
282 // Negative height means invert the image. in I444Copy()
283 if (height < 0) { in I444Copy()
284 height = -height; in I444Copy()
285 src_y = src_y + (height - 1) * src_stride_y; in I444Copy()
286 src_u = src_u + (height - 1) * src_stride_u; in I444Copy()
287 src_v = src_v + (height - 1) * src_stride_v; in I444Copy()
294 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I444Copy()
296 CopyPlane(src_u, src_stride_u, dst_u, dst_stride_u, width, height); in I444Copy()
297 CopyPlane(src_v, src_stride_v, dst_v, dst_stride_v, width, height); in I444Copy()
308 int height) { in I400ToI400() argument
309 if (!src_y || !dst_y || width <= 0 || height == 0) { in I400ToI400()
312 // Negative height means invert the image. in I400ToI400()
313 if (height < 0) { in I400ToI400()
314 height = -height; in I400ToI400()
315 src_y = src_y + (height - 1) * src_stride_y; in I400ToI400()
318 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400ToI400()
333 int height) { in I420ToI400() argument
338 if (!src_y || !dst_y || width <= 0 || height == 0) { in I420ToI400()
341 // Negative height means invert the image. in I420ToI400()
342 if (height < 0) { in I420ToI400()
343 height = -height; in I420ToI400()
344 src_y = src_y + (height - 1) * src_stride_y; in I420ToI400()
348 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToI400()
353 // Width and height are plane sizes (typically half pixel width).
362 int height) { in SplitUVPlane() argument
366 // Negative height means invert the image. in SplitUVPlane()
367 if (height < 0) { in SplitUVPlane()
368 height = -height; in SplitUVPlane()
369 dst_u = dst_u + (height - 1) * dst_stride_u; in SplitUVPlane()
370 dst_v = dst_v + (height - 1) * dst_stride_v; in SplitUVPlane()
377 width *= height; in SplitUVPlane()
378 height = 1; in SplitUVPlane()
422 for (y = 0; y < height; ++y) { in SplitUVPlane()
439 int height) { in MergeUVPlane() argument
443 // Negative height means invert the image. in MergeUVPlane()
444 if (height < 0) { in MergeUVPlane()
445 height = -height; in MergeUVPlane()
446 dst_uv = dst_uv + (height - 1) * dst_stride_uv; in MergeUVPlane()
452 width *= height; in MergeUVPlane()
453 height = 1; in MergeUVPlane()
497 for (y = 0; y < height; ++y) { in MergeUVPlane()
517 int height) { in NV21ToNV12() argument
523 int halfheight = (height + 1) >> 1; in NV21ToNV12()
524 if (!src_vu || !dst_uv || width <= 0 || height == 0) { in NV21ToNV12()
527 // Negative height means invert the image. in NV21ToNV12()
528 if (height < 0) { in NV21ToNV12()
529 height = -height; in NV21ToNV12()
530 halfheight = (height + 1) >> 1; in NV21ToNV12()
531 src_y = src_y + (height - 1) * src_stride_y; in NV21ToNV12()
552 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in NV21ToNV12()
564 // Width and height are plane sizes (typically half pixel width).
575 int height) { in SplitRGBPlane() argument
579 // Negative height means invert the image. in SplitRGBPlane()
580 if (height < 0) { in SplitRGBPlane()
581 height = -height; in SplitRGBPlane()
582 dst_r = dst_r + (height - 1) * dst_stride_r; in SplitRGBPlane()
583 dst_g = dst_g + (height - 1) * dst_stride_g; in SplitRGBPlane()
584 dst_b = dst_b + (height - 1) * dst_stride_b; in SplitRGBPlane()
592 width *= height; in SplitRGBPlane()
593 height = 1; in SplitRGBPlane()
621 for (y = 0; y < height; ++y) { in SplitRGBPlane()
641 int height) { in MergeRGBPlane() argument
647 // Negative height means invert the image. in MergeRGBPlane()
648 if (height < 0) { in MergeRGBPlane()
649 height = -height; in MergeRGBPlane()
650 dst_rgb = dst_rgb + (height - 1) * dst_stride_rgb; in MergeRGBPlane()
656 width *= height; in MergeRGBPlane()
657 height = 1; in MergeRGBPlane()
685 for (y = 0; y < height; ++y) { in MergeRGBPlane()
701 int height) { in MirrorPlane() argument
704 // Negative height means invert the image. in MirrorPlane()
705 if (height < 0) { in MirrorPlane()
706 height = -height; in MirrorPlane()
707 src_y = src_y + (height - 1) * src_stride_y; in MirrorPlane()
752 for (y = 0; y < height; ++y) { in MirrorPlane()
770 int height) { in YUY2ToI422() argument
776 if (!src_yuy2 || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in YUY2ToI422()
779 // Negative height means invert the image. in YUY2ToI422()
780 if (height < 0) { in YUY2ToI422()
781 height = -height; in YUY2ToI422()
782 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2; in YUY2ToI422()
788 width * height <= 32768) { in YUY2ToI422()
789 width *= height; in YUY2ToI422()
790 height = 1; in YUY2ToI422()
844 for (y = 0; y < height; ++y) { in YUY2ToI422()
866 int height) { in UYVYToI422() argument
872 if (!src_uyvy || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in UYVYToI422()
875 // Negative height means invert the image. in UYVYToI422()
876 if (height < 0) { in UYVYToI422()
877 height = -height; in UYVYToI422()
878 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy; in UYVYToI422()
884 width * height <= 32768) { in UYVYToI422()
885 width *= height; in UYVYToI422()
886 height = 1; in UYVYToI422()
940 for (y = 0; y < height; ++y) { in UYVYToI422()
958 int height) { in YUY2ToY() argument
962 if (!src_yuy2 || !dst_y || width <= 0 || height == 0) { in YUY2ToY()
965 // Negative height means invert the image. in YUY2ToY()
966 if (height < 0) { in YUY2ToY()
967 height = -height; in YUY2ToY()
968 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2; in YUY2ToY()
973 width *= height; in YUY2ToY()
974 height = 1; in YUY2ToY()
1018 for (y = 0; y < height; ++y) { in YUY2ToY()
1033 int height) { in I400Mirror() argument
1034 if (!src_y || !dst_y || width <= 0 || height == 0) { in I400Mirror()
1037 // Negative height means invert the image. in I400Mirror()
1038 if (height < 0) { in I400Mirror()
1039 height = -height; in I400Mirror()
1040 src_y = src_y + (height - 1) * src_stride_y; in I400Mirror()
1044 MirrorPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400Mirror()
1063 int height) { in I420Mirror() argument
1065 int halfheight = (height + 1) >> 1; in I420Mirror()
1067 height == 0) { in I420Mirror()
1070 // Negative height means invert the image. in I420Mirror()
1071 if (height < 0) { in I420Mirror()
1072 height = -height; in I420Mirror()
1073 halfheight = (height + 1) >> 1; in I420Mirror()
1074 src_y = src_y + (height - 1) * src_stride_y; in I420Mirror()
1083 MirrorPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420Mirror()
1097 int height) { in ARGBMirror() argument
1101 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBMirror()
1104 // Negative height means invert the image. in ARGBMirror()
1105 if (height < 0) { in ARGBMirror()
1106 height = -height; in ARGBMirror()
1107 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBMirror()
1152 for (y = 0; y < height; ++y) { in ARGBMirror()
1200 int height) { in ARGBBlend() argument
1204 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) { in ARGBBlend()
1207 // Negative height means invert the image. in ARGBBlend()
1208 if (height < 0) { in ARGBBlend()
1209 height = -height; in ARGBBlend()
1210 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBBlend()
1216 width *= height; in ARGBBlend()
1217 height = 1; in ARGBBlend()
1221 for (y = 0; y < height; ++y) { in ARGBBlend()
1241 int height) { in BlendPlane() argument
1246 if (!src_y0 || !src_y1 || !alpha || !dst_y || width <= 0 || height == 0) { in BlendPlane()
1249 // Negative height means invert the image. in BlendPlane()
1250 if (height < 0) { in BlendPlane()
1251 height = -height; in BlendPlane()
1252 dst_y = dst_y + (height - 1) * dst_stride_y; in BlendPlane()
1259 width *= height; in BlendPlane()
1260 height = 1; in BlendPlane()
1289 for (y = 0; y < height; ++y) { in BlendPlane()
1323 int height) { in I420Blend() argument
1325 // Half width/height for UV. in I420Blend()
1333 !alpha || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in I420Blend()
1337 // Negative height means invert the image. in I420Blend()
1338 if (height < 0) { in I420Blend()
1339 height = -height; in I420Blend()
1340 dst_y = dst_y + (height - 1) * dst_stride_y; in I420Blend()
1346 dst_y, dst_stride_y, width, height); in I420Blend()
1422 for (y = 0; y < height; y += 2) { in I420Blend()
1423 // last row of odd height image use 1 row of alpha instead of 2. in I420Blend()
1424 if (y == (height - 1)) { in I420Blend()
1427 // Subsample 2 rows of UV to half width and half height. in I420Blend()
1452 int height) { in ARGBMultiply() argument
1456 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) { in ARGBMultiply()
1459 // Negative height means invert the image. in ARGBMultiply()
1460 if (height < 0) { in ARGBMultiply()
1461 height = -height; in ARGBMultiply()
1462 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBMultiply()
1468 width *= height; in ARGBMultiply()
1469 height = 1; in ARGBMultiply()
1514 for (y = 0; y < height; ++y) { in ARGBMultiply()
1532 int height) { in ARGBAdd() argument
1536 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) { in ARGBAdd()
1539 // Negative height means invert the image. in ARGBAdd()
1540 if (height < 0) { in ARGBAdd()
1541 height = -height; in ARGBAdd()
1542 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBAdd()
1548 width *= height; in ARGBAdd()
1549 height = 1; in ARGBAdd()
1599 for (y = 0; y < height; ++y) { in ARGBAdd()
1617 int height) { in ARGBSubtract() argument
1621 if (!src_argb0 || !src_argb1 || !dst_argb || width <= 0 || height == 0) { in ARGBSubtract()
1624 // Negative height means invert the image. in ARGBSubtract()
1625 if (height < 0) { in ARGBSubtract()
1626 height = -height; in ARGBSubtract()
1627 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBSubtract()
1633 width *= height; in ARGBSubtract()
1634 height = 1; in ARGBSubtract()
1679 for (y = 0; y < height; ++y) { in ARGBSubtract()
1698 int height) { in I422ToRGBAMatrix() argument
1704 if (!src_y || !src_u || !src_v || !dst_rgba || width <= 0 || height == 0) { in I422ToRGBAMatrix()
1707 // Negative height means invert the image. in I422ToRGBAMatrix()
1708 if (height < 0) { in I422ToRGBAMatrix()
1709 height = -height; in I422ToRGBAMatrix()
1710 dst_rgba = dst_rgba + (height - 1) * dst_stride_rgba; in I422ToRGBAMatrix()
1746 for (y = 0; y < height; ++y) { in I422ToRGBAMatrix()
1767 int height) { in I422ToRGBA() argument
1770 &kYuvI601Constants, width, height); in I422ToRGBA()
1784 int height) { in I422ToBGRA() argument
1789 width, height); in I422ToBGRA()
1801 int height) { in NV12ToRGB565() argument
1806 if (!src_y || !src_uv || !dst_rgb565 || width <= 0 || height == 0) { in NV12ToRGB565()
1809 // Negative height means invert the image. in NV12ToRGB565()
1810 if (height < 0) { in NV12ToRGB565()
1811 height = -height; in NV12ToRGB565()
1812 dst_rgb565 = dst_rgb565 + (height - 1) * dst_stride_rgb565; in NV12ToRGB565()
1848 for (y = 0; y < height; ++y) { in NV12ToRGB565()
1866 int height) { in RAWToRGB24() argument
1870 if (!src_raw || !dst_rgb24 || width <= 0 || height == 0) { in RAWToRGB24()
1873 // Negative height means invert the image. in RAWToRGB24()
1874 if (height < 0) { in RAWToRGB24()
1875 height = -height; in RAWToRGB24()
1876 src_raw = src_raw + (height - 1) * src_stride_raw; in RAWToRGB24()
1881 width *= height; in RAWToRGB24()
1882 height = 1; in RAWToRGB24()
1918 for (y = 0; y < height; ++y) { in RAWToRGB24()
1930 int height, in SetPlane() argument
1934 if (height < 0) { in SetPlane()
1935 height = -height; in SetPlane()
1936 dst_y = dst_y + (height - 1) * dst_stride_y; in SetPlane()
1941 width *= height; in SetPlane()
1942 height = 1; in SetPlane()
1973 for (y = 0; y < height; ++y) { in SetPlane()
1990 int height, in I420Rect() argument
1995 int halfheight = (height + 1) >> 1; in I420Rect()
1999 if (!dst_y || !dst_u || !dst_v || width <= 0 || height == 0 || x < 0 || in I420Rect()
2005 SetPlane(start_y, dst_stride_y, width, height, value_y); in I420Rect()
2018 int height, in ARGBRect() argument
2023 if (!dst_argb || width <= 0 || height == 0 || dst_x < 0 || dst_y < 0) { in ARGBRect()
2026 if (height < 0) { in ARGBRect()
2027 height = -height; in ARGBRect()
2028 dst_argb = dst_argb + (height - 1) * dst_stride_argb; in ARGBRect()
2034 width *= height; in ARGBRect()
2035 height = 1; in ARGBRect()
2062 for (y = 0; y < height; ++y) { in ARGBRect()
2088 int height) { in ARGBAttenuate() argument
2092 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBAttenuate()
2095 if (height < 0) { in ARGBAttenuate()
2096 height = -height; in ARGBAttenuate()
2097 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBAttenuate()
2102 width *= height; in ARGBAttenuate()
2103 height = 1; in ARGBAttenuate()
2147 for (y = 0; y < height; ++y) { in ARGBAttenuate()
2162 int height) { in ARGBUnattenuate() argument
2166 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBUnattenuate()
2169 if (height < 0) { in ARGBUnattenuate()
2170 height = -height; in ARGBUnattenuate()
2171 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBUnattenuate()
2176 width *= height; in ARGBUnattenuate()
2177 height = 1; in ARGBUnattenuate()
2198 for (y = 0; y < height; ++y) { in ARGBUnattenuate()
2213 int height) { in ARGBGrayTo() argument
2217 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBGrayTo()
2220 if (height < 0) { in ARGBGrayTo()
2221 height = -height; in ARGBGrayTo()
2222 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBGrayTo()
2227 width *= height; in ARGBGrayTo()
2228 height = 1; in ARGBGrayTo()
2252 for (y = 0; y < height; ++y) { in ARGBGrayTo()
2267 int height) { in ARGBGray() argument
2272 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) { in ARGBGray()
2277 width *= height; in ARGBGray()
2278 height = 1; in ARGBGray()
2302 for (y = 0; y < height; ++y) { in ARGBGray()
2316 int height) { in ARGBSepia() argument
2320 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0) { in ARGBSepia()
2325 width *= height; in ARGBSepia()
2326 height = 1; in ARGBSepia()
2350 for (y = 0; y < height; ++y) { in ARGBSepia()
2366 int height) { in ARGBColorMatrix() argument
2371 if (!src_argb || !dst_argb || !matrix_argb || width <= 0 || height == 0) { in ARGBColorMatrix()
2374 if (height < 0) { in ARGBColorMatrix()
2375 height = -height; in ARGBColorMatrix()
2376 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBColorMatrix()
2381 width *= height; in ARGBColorMatrix()
2382 height = 1; in ARGBColorMatrix()
2405 for (y = 0; y < height; ++y) { in ARGBColorMatrix()
2422 int height) { in RGBColorMatrix() argument
2425 if (!dst_argb || !matrix_rgb || width <= 0 || height <= 0 || dst_x < 0 || in RGBColorMatrix()
2447 dst_stride_argb, &matrix_argb[0], width, height); in RGBColorMatrix()
2459 int height) { in ARGBColorTable() argument
2464 if (!dst_argb || !table_argb || width <= 0 || height <= 0 || dst_x < 0 || in ARGBColorTable()
2470 width *= height; in ARGBColorTable()
2471 height = 1; in ARGBColorTable()
2479 for (y = 0; y < height; ++y) { in ARGBColorTable()
2495 int height) { in RGBColorTable() argument
2500 if (!dst_argb || !table_argb || width <= 0 || height <= 0 || dst_x < 0 || in RGBColorTable()
2506 width *= height; in RGBColorTable()
2507 height = 1; in RGBColorTable()
2515 for (y = 0; y < height; ++y) { in RGBColorTable()
2540 int height) { in ARGBQuantize() argument
2545 if (!dst_argb || width <= 0 || height <= 0 || dst_x < 0 || dst_y < 0 || in ARGBQuantize()
2551 width *= height; in ARGBQuantize()
2552 height = 1; in ARGBQuantize()
2570 for (y = 0; y < height; ++y) { in ARGBQuantize()
2585 int height) { in ARGBComputeCumulativeSum() argument
2591 if (!dst_cumsum || !src_argb || width <= 0 || height <= 0) { in ARGBComputeCumulativeSum()
2606 for (y = 0; y < height; ++y) { in ARGBComputeCumulativeSum()
2616 // Caller should allocate CumulativeSum table of width * height * 16 bytes
2617 // aligned to 16 byte boundary. height can be radius * 2 + 2 to save memory
2627 int height, in ARGBBlur() argument
2640 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBBlur()
2643 if (height < 0) { in ARGBBlur()
2644 height = -height; in ARGBBlur()
2645 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBBlur()
2648 if (radius > height) { in ARGBBlur()
2649 radius = height; in ARGBBlur()
2679 for (y = 0; y < height; ++y) { in ARGBBlur()
2681 int bot_y = ((y + radius) < height) ? (y + radius) : (height - 1); in ARGBBlur()
2696 if ((y + radius) < height) { in ARGBBlur()
2740 int height, in ARGBShade() argument
2745 if (!src_argb || !dst_argb || width <= 0 || height == 0 || value == 0u) { in ARGBShade()
2748 if (height < 0) { in ARGBShade()
2749 height = -height; in ARGBShade()
2750 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBShade()
2755 width *= height; in ARGBShade()
2756 height = 1; in ARGBShade()
2780 for (y = 0; y < height; ++y) { in ARGBShade()
2797 int height, in InterpolatePlane() argument
2803 if (!src0 || !src1 || !dst || width <= 0 || height == 0) { in InterpolatePlane()
2806 // Negative height means invert the image. in InterpolatePlane()
2807 if (height < 0) { in InterpolatePlane()
2808 height = -height; in InterpolatePlane()
2809 dst = dst + (height - 1) * dst_stride; in InterpolatePlane()
2814 width *= height; in InterpolatePlane()
2815 height = 1; in InterpolatePlane()
2859 for (y = 0; y < height; ++y) { in InterpolatePlane()
2877 int height, in ARGBInterpolate() argument
2881 width * 4, height, interpolation); in ARGBInterpolate()
2905 int height, in I420Interpolate() argument
2908 int halfheight = (height + 1) >> 1; in I420Interpolate()
2910 !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { in I420Interpolate()
2914 dst_stride_y, width, height, interpolation); in I420Interpolate()
2930 int height) { in ARGBShuffle() argument
2934 if (!src_bgra || !dst_argb || width <= 0 || height == 0) { in ARGBShuffle()
2937 // Negative height means invert the image. in ARGBShuffle()
2938 if (height < 0) { in ARGBShuffle()
2939 height = -height; in ARGBShuffle()
2940 src_bgra = src_bgra + (height - 1) * src_stride_bgra; in ARGBShuffle()
2945 width *= height; in ARGBShuffle()
2946 height = 1; in ARGBShuffle()
2990 for (y = 0; y < height; ++y) { in ARGBShuffle()
3004 int height, in ARGBSobelize() argument
3018 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBSobelize()
3021 // Negative height means invert the image. in ARGBSobelize()
3022 if (height < 0) { in ARGBSobelize()
3023 height = -height; in ARGBSobelize()
3024 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBSobelize()
3129 for (y = 0; y < height; ++y) { in ARGBSobelize()
3131 if (y < (height - 1)) { in ARGBSobelize()
3164 int height) { in ARGBSobel() argument
3200 width, height, SobelRow); in ARGBSobel()
3210 int height) { in ARGBSobelToPlane() argument
3246 height, SobelToPlaneRow); in ARGBSobelToPlane()
3257 int height) { in ARGBSobelXY() argument
3293 width, height, SobelXYRow); in ARGBSobelXY()
3304 int height) { in ARGBPolynomial() argument
3308 if (!src_argb || !dst_argb || !poly || width <= 0 || height == 0) { in ARGBPolynomial()
3311 // Negative height means invert the image. in ARGBPolynomial()
3312 if (height < 0) { in ARGBPolynomial()
3313 height = -height; in ARGBPolynomial()
3314 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBPolynomial()
3319 width *= height; in ARGBPolynomial()
3320 height = 1; in ARGBPolynomial()
3335 for (y = 0; y < height; ++y) { in ARGBPolynomial()
3352 int height) { in HalfFloatPlane() argument
3356 if (!src_y || !dst_y || width <= 0 || height == 0) { in HalfFloatPlane()
3361 // Negative height means invert the image. in HalfFloatPlane()
3362 if (height < 0) { in HalfFloatPlane()
3363 height = -height; in HalfFloatPlane()
3364 src_y = src_y + (height - 1) * src_stride_y; in HalfFloatPlane()
3369 width *= height; in HalfFloatPlane()
3370 height = 1; in HalfFloatPlane()
3416 for (y = 0; y < height; ++y) { in HalfFloatPlane()
3453 int height) { in ARGBLumaColorTable() argument
3458 if (!src_argb || !dst_argb || !luma || width <= 0 || height == 0) { in ARGBLumaColorTable()
3461 // Negative height means invert the image. in ARGBLumaColorTable()
3462 if (height < 0) { in ARGBLumaColorTable()
3463 height = -height; in ARGBLumaColorTable()
3464 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBLumaColorTable()
3469 width *= height; in ARGBLumaColorTable()
3470 height = 1; in ARGBLumaColorTable()
3479 for (y = 0; y < height; ++y) { in ARGBLumaColorTable()
3494 int height) { in ARGBCopyAlpha() argument
3498 if (!src_argb || !dst_argb || width <= 0 || height == 0) { in ARGBCopyAlpha()
3501 // Negative height means invert the image. in ARGBCopyAlpha()
3502 if (height < 0) { in ARGBCopyAlpha()
3503 height = -height; in ARGBCopyAlpha()
3504 src_argb = src_argb + (height - 1) * src_stride_argb; in ARGBCopyAlpha()
3509 width *= height; in ARGBCopyAlpha()
3510 height = 1; in ARGBCopyAlpha()
3538 for (y = 0; y < height; ++y) { in ARGBCopyAlpha()
3553 int height) { in ARGBExtractAlpha() argument
3554 if (!src_argb || !dst_a || width <= 0 || height == 0) { in ARGBExtractAlpha()
3557 // Negative height means invert the image. in ARGBExtractAlpha()
3558 if (height < 0) { in ARGBExtractAlpha()
3559 height = -height; in ARGBExtractAlpha()
3560 src_argb += (height - 1) * src_stride_argb; in ARGBExtractAlpha()
3565 width *= height; in ARGBExtractAlpha()
3566 height = 1; in ARGBExtractAlpha()
3602 for (int y = 0; y < height; ++y) { in ARGBExtractAlpha()
3617 int height) { in ARGBCopyYToAlpha() argument
3621 if (!src_y || !dst_argb || width <= 0 || height == 0) { in ARGBCopyYToAlpha()
3624 // Negative height means invert the image. in ARGBCopyYToAlpha()
3625 if (height < 0) { in ARGBCopyYToAlpha()
3626 height = -height; in ARGBCopyYToAlpha()
3627 src_y = src_y + (height - 1) * src_stride_y; in ARGBCopyYToAlpha()
3632 width *= height; in ARGBCopyYToAlpha()
3633 height = 1; in ARGBCopyYToAlpha()
3661 for (y = 0; y < height; ++y) { in ARGBCopyYToAlpha()
3680 int height) { in YUY2ToNV12() argument
3688 if (!src_yuy2 || !dst_y || !dst_uv || width <= 0 || height == 0) { in YUY2ToNV12()
3691 // Negative height means invert the image. in YUY2ToNV12()
3692 if (height < 0) { in YUY2ToNV12()
3693 height = -height; in YUY2ToNV12()
3694 src_yuy2 = src_yuy2 + (height - 1) * src_stride_yuy2; in YUY2ToNV12()
3783 for (y = 0; y < height - 1; y += 2) { in YUY2ToNV12()
3794 if (height & 1) { in YUY2ToNV12()
3812 int height) { in UYVYToNV12() argument
3820 if (!src_uyvy || !dst_y || !dst_uv || width <= 0 || height == 0) { in UYVYToNV12()
3823 // Negative height means invert the image. in UYVYToNV12()
3824 if (height < 0) { in UYVYToNV12()
3825 height = -height; in UYVYToNV12()
3826 src_uyvy = src_uyvy + (height - 1) * src_stride_uyvy; in UYVYToNV12()
3915 for (y = 0; y < height - 1; y += 2) { in UYVYToNV12()
3926 if (height & 1) { in UYVYToNV12()