• Home
  • Raw
  • Download

Lines Matching refs:width

83                int width,  in I420ToI422()  argument
85 const int dst_uv_width = (Abs(width) + 1) >> 1; in I420ToI422()
89 dst_v, dst_stride_v, width, height, dst_uv_width, in I420ToI422()
108 int width, in I420ToI444() argument
110 const int dst_uv_width = Abs(width); in I420ToI444()
114 dst_v, dst_stride_v, width, height, dst_uv_width, in I420ToI444()
124 int width, in I400Copy() argument
126 if (!src_y || !dst_y || width <= 0 || height == 0) { in I400Copy()
135 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400Copy()
148 int width, in I422ToYUY2() argument
152 const uint8* src_v, uint8* dst_yuy2, int width) = in I422ToYUY2()
154 if (!src_y || !src_u || !src_v || !dst_yuy2 || width <= 0 || height == 0) { in I422ToYUY2()
164 if (src_stride_y == width && src_stride_u * 2 == width && in I422ToYUY2()
165 src_stride_v * 2 == width && dst_stride_yuy2 == width * 2) { in I422ToYUY2()
166 width *= height; in I422ToYUY2()
173 if (IS_ALIGNED(width, 16)) { in I422ToYUY2()
181 if (IS_ALIGNED(width, 16)) { in I422ToYUY2()
188 I422ToYUY2Row(src_y, src_u, src_v, dst_yuy2, width); in I422ToYUY2()
206 int width, in I420ToYUY2() argument
210 const uint8* src_v, uint8* dst_yuy2, int width) = in I420ToYUY2()
212 if (!src_y || !src_u || !src_v || !dst_yuy2 || width <= 0 || height == 0) { in I420ToYUY2()
224 if (IS_ALIGNED(width, 16)) { in I420ToYUY2()
232 if (IS_ALIGNED(width, 16)) { in I420ToYUY2()
240 if (IS_ALIGNED(width, 32)) { in I420ToYUY2()
247 I422ToYUY2Row(src_y, src_u, src_v, dst_yuy2, width); in I420ToYUY2()
249 dst_yuy2 + dst_stride_yuy2, width); in I420ToYUY2()
256 I422ToYUY2Row(src_y, src_u, src_v, dst_yuy2, width); in I420ToYUY2()
270 int width, in I422ToUYVY() argument
274 const uint8* src_v, uint8* dst_uyvy, int width) = in I422ToUYVY()
276 if (!src_y || !src_u || !src_v || !dst_uyvy || width <= 0 || height == 0) { in I422ToUYVY()
286 if (src_stride_y == width && src_stride_u * 2 == width && in I422ToUYVY()
287 src_stride_v * 2 == width && dst_stride_uyvy == width * 2) { in I422ToUYVY()
288 width *= height; in I422ToUYVY()
295 if (IS_ALIGNED(width, 16)) { in I422ToUYVY()
303 if (IS_ALIGNED(width, 16)) { in I422ToUYVY()
311 if (IS_ALIGNED(width, 32)) { in I422ToUYVY()
318 I422ToUYVYRow(src_y, src_u, src_v, dst_uyvy, width); in I422ToUYVY()
336 int width, in I420ToUYVY() argument
340 const uint8* src_v, uint8* dst_uyvy, int width) = in I420ToUYVY()
342 if (!src_y || !src_u || !src_v || !dst_uyvy || width <= 0 || height == 0) { in I420ToUYVY()
354 if (IS_ALIGNED(width, 16)) { in I420ToUYVY()
362 if (IS_ALIGNED(width, 16)) { in I420ToUYVY()
370 if (IS_ALIGNED(width, 32)) { in I420ToUYVY()
377 I422ToUYVYRow(src_y, src_u, src_v, dst_uyvy, width); in I420ToUYVY()
379 dst_uyvy + dst_stride_uyvy, width); in I420ToUYVY()
386 I422ToUYVYRow(src_y, src_u, src_v, dst_uyvy, width); in I420ToUYVY()
403 int width, in I420ToNV12() argument
405 if (!src_y || !src_u || !src_v || !dst_y || !dst_uv || width <= 0 || in I420ToNV12()
409 int halfwidth = (width + 1) / 2; in I420ToNV12()
412 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToNV12()
430 int width, in I420ToNV21() argument
434 width, height); in I420ToNV21()
447 int width, in I420ToRGBAMatrix() argument
452 const struct YuvConstants* yuvconstants, int width) = in I420ToRGBAMatrix()
454 if (!src_y || !src_u || !src_v || !dst_rgba || width <= 0 || height == 0) { in I420ToRGBAMatrix()
466 if (IS_ALIGNED(width, 8)) { in I420ToRGBAMatrix()
474 if (IS_ALIGNED(width, 16)) { in I420ToRGBAMatrix()
482 if (IS_ALIGNED(width, 8)) { in I420ToRGBAMatrix()
488 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) && in I420ToRGBAMatrix()
499 if (IS_ALIGNED(width, 8)) { in I420ToRGBAMatrix()
506 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, yuvconstants, width); in I420ToRGBAMatrix()
527 int width, in I420ToRGBA() argument
531 &kYuvI601Constants, width, height); in I420ToRGBA()
544 int width, in I420ToBGRA() argument
550 width, height); in I420ToBGRA()
563 int width, in I420ToRGB24Matrix() argument
568 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB24Matrix()
570 if (!src_y || !src_u || !src_v || !dst_rgb24 || width <= 0 || height == 0) { in I420ToRGB24Matrix()
582 if (IS_ALIGNED(width, 8)) { in I420ToRGB24Matrix()
590 if (IS_ALIGNED(width, 16)) { in I420ToRGB24Matrix()
598 if (IS_ALIGNED(width, 8)) { in I420ToRGB24Matrix()
606 if (IS_ALIGNED(width, 16)) { in I420ToRGB24Matrix()
613 I422ToRGB24Row(src_y, src_u, src_v, dst_rgb24, yuvconstants, width); in I420ToRGB24Matrix()
634 int width, in I420ToRGB24() argument
638 &kYuvI601Constants, width, height); in I420ToRGB24()
651 int width, in I420ToRAW() argument
657 width, height); in I420ToRAW()
670 int width, in I420ToARGB1555() argument
676 int width) = I422ToARGB1555Row_C; in I420ToARGB1555()
677 if (!src_y || !src_u || !src_v || !dst_argb1555 || width <= 0 || in I420ToARGB1555()
690 if (IS_ALIGNED(width, 8)) { in I420ToARGB1555()
698 if (IS_ALIGNED(width, 16)) { in I420ToARGB1555()
706 if (IS_ALIGNED(width, 8)) { in I420ToARGB1555()
714 if (IS_ALIGNED(width, 4)) { in I420ToARGB1555()
722 if (IS_ALIGNED(width, 8)) { in I420ToARGB1555()
730 width); in I420ToARGB1555()
751 int width, in I420ToARGB4444() argument
757 int width) = I422ToARGB4444Row_C; in I420ToARGB4444()
758 if (!src_y || !src_u || !src_v || !dst_argb4444 || width <= 0 || in I420ToARGB4444()
771 if (IS_ALIGNED(width, 8)) { in I420ToARGB4444()
779 if (IS_ALIGNED(width, 16)) { in I420ToARGB4444()
787 if (IS_ALIGNED(width, 8)) { in I420ToARGB4444()
795 if (IS_ALIGNED(width, 4)) { in I420ToARGB4444()
803 if (IS_ALIGNED(width, 8)) { in I420ToARGB4444()
811 width); in I420ToARGB4444()
832 int width, in I420ToRGB565() argument
837 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB565()
839 if (!src_y || !src_u || !src_v || !dst_rgb565 || width <= 0 || height == 0) { in I420ToRGB565()
851 if (IS_ALIGNED(width, 8)) { in I420ToRGB565()
859 if (IS_ALIGNED(width, 16)) { in I420ToRGB565()
867 if (IS_ALIGNED(width, 8)) { in I420ToRGB565()
875 if (IS_ALIGNED(width, 8)) { in I420ToRGB565()
882 I422ToRGB565Row(src_y, src_u, src_v, dst_rgb565, &kYuvI601Constants, width); in I420ToRGB565()
903 int width, in I422ToRGB565() argument
908 const struct YuvConstants* yuvconstants, int width) = in I422ToRGB565()
910 if (!src_y || !src_u || !src_v || !dst_rgb565 || width <= 0 || height == 0) { in I422ToRGB565()
922 if (IS_ALIGNED(width, 8)) { in I422ToRGB565()
930 if (IS_ALIGNED(width, 16)) { in I422ToRGB565()
938 if (IS_ALIGNED(width, 8)) { in I422ToRGB565()
946 if (IS_ALIGNED(width, 8)) { in I422ToRGB565()
953 I422ToRGB565Row(src_y, src_u, src_v, dst_rgb565, &kYuvI601Constants, width); in I422ToRGB565()
978 int width, in I420ToRGB565Dither() argument
983 const struct YuvConstants* yuvconstants, int width) = in I420ToRGB565Dither()
986 const uint32 dither4, int width) = in I420ToRGB565Dither()
988 if (!src_y || !src_u || !src_v || !dst_rgb565 || width <= 0 || height == 0) { in I420ToRGB565Dither()
1003 if (IS_ALIGNED(width, 8)) { in I420ToRGB565Dither()
1011 if (IS_ALIGNED(width, 16)) { in I420ToRGB565Dither()
1019 if (IS_ALIGNED(width, 8)) { in I420ToRGB565Dither()
1025 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) && in I420ToRGB565Dither()
1035 if (IS_ALIGNED(width, 8)) { in I420ToRGB565Dither()
1043 if (IS_ALIGNED(width, 4)) { in I420ToRGB565Dither()
1051 if (IS_ALIGNED(width, 8)) { in I420ToRGB565Dither()
1059 if (IS_ALIGNED(width, 8)) { in I420ToRGB565Dither()
1067 if (IS_ALIGNED(width, 8)) { in I420ToRGB565Dither()
1074 align_buffer_64(row_argb, width * 4); in I420ToRGB565Dither()
1076 I422ToARGBRow(src_y, src_u, src_v, row_argb, &kYuvI601Constants, width); in I420ToRGB565Dither()
1079 width); // NOLINT in I420ToRGB565Dither()
1102 int width, in ConvertFromI420() argument
1107 if (!y || !u || !v || !dst_sample || width <= 0 || height == 0) { in ConvertFromI420()
1114 dst_sample_stride ? dst_sample_stride : width * 2, width, in ConvertFromI420()
1119 dst_sample_stride ? dst_sample_stride : width * 2, width, in ConvertFromI420()
1124 dst_sample_stride ? dst_sample_stride : width * 2, width, in ConvertFromI420()
1129 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1130 width, height); in ConvertFromI420()
1134 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1135 width, height); in ConvertFromI420()
1139 dst_sample_stride ? dst_sample_stride : width * 3, width, in ConvertFromI420()
1144 dst_sample_stride ? dst_sample_stride : width * 3, width, in ConvertFromI420()
1149 dst_sample_stride ? dst_sample_stride : width * 4, width, in ConvertFromI420()
1154 dst_sample_stride ? dst_sample_stride : width * 4, width, in ConvertFromI420()
1159 dst_sample_stride ? dst_sample_stride : width * 4, width, in ConvertFromI420()
1164 dst_sample_stride ? dst_sample_stride : width * 4, width, in ConvertFromI420()
1169 dst_sample_stride ? dst_sample_stride : width, width, in ConvertFromI420()
1173 uint8* dst_uv = dst_sample + width * height; in ConvertFromI420()
1175 dst_sample_stride ? dst_sample_stride : width, dst_uv, in ConvertFromI420()
1176 dst_sample_stride ? dst_sample_stride : width, width, in ConvertFromI420()
1181 uint8* dst_vu = dst_sample + width * height; in ConvertFromI420()
1183 dst_sample_stride ? dst_sample_stride : width, dst_vu, in ConvertFromI420()
1184 dst_sample_stride ? dst_sample_stride : width, width, in ConvertFromI420()
1192 dst_sample_stride = dst_sample_stride ? dst_sample_stride : width; in ConvertFromI420()
1206 width, height); in ConvertFromI420()
1211 dst_sample_stride = dst_sample_stride ? dst_sample_stride : width; in ConvertFromI420()
1224 width, height); in ConvertFromI420()
1229 dst_sample_stride = dst_sample_stride ? dst_sample_stride : width; in ConvertFromI420()
1241 dst_sample_stride, width, height); in ConvertFromI420()