Lines Matching refs:width

34                int width, int height) {  in I420ToI422()  argument
37 width <= 0 || height == 0) { in I420ToI422()
50 int halfwidth = (width + 1) >> 1; in I420ToI422()
51 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; in I420ToI422()
73 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToI422()
114 int width, int height) { in I420ToI444() argument
117 width <= 0 || height == 0) { in I420ToI444()
133 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToI444()
136 int halfwidth = (width + 1) >> 1; in I420ToI444()
141 width, height, in I420ToI444()
148 width, height, in I420ToI444()
164 int width, int height) { in I420ToI411() argument
167 width <= 0 || height == 0) { in I420ToI411()
183 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I420ToI411()
186 int halfwidth = (width + 1) >> 1; in I420ToI411()
188 int quarterwidth = (width + 3) >> 2; in I420ToI411()
210 int width, int height) { in I400Copy() argument
212 width <= 0 || height == 0) { in I400Copy()
221 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); in I400Copy()
237 uint8* dst_frame, int width) { in I42xToYUY2Row_SSE2() argument
276 uint8* dst_frame, int width) { in I42xToUYVYRow_SSE2() argument
314 uint8* dst_frame, int width) { in I42xToYUY2Row_SSE2() argument
337 "+rm"(width) // %4 in I42xToYUY2Row_SSE2()
350 uint8* dst_frame, int width) { in I42xToUYVYRow_SSE2() argument
373 "+rm"(width) // %4 in I42xToUYVYRow_SSE2()
386 uint8* dst_frame, int width) { in I42xToYUY2Row_C() argument
387 for (int x = 0; x < width - 1; x += 2) { in I42xToYUY2Row_C()
397 if (width & 1) { in I42xToYUY2Row_C()
408 uint8* dst_frame, int width) { in I42xToUYVYRow_C() argument
409 for (int x = 0; x < width - 1; x += 2) { in I42xToUYVYRow_C()
419 if (width & 1) { in I42xToUYVYRow_C()
447 static void UYVYToV210Row_C(const uint8* src_uyvy, uint8* dst_v210, int width) { in UYVYToV210Row_C() argument
448 for (int x = 0; x < width; x += 6) { in UYVYToV210Row_C()
472 int width, int height) { in I422ToYUY2() argument
474 width <= 0 || height == 0) { in I422ToYUY2()
484 const uint8* src_v, uint8* dst_frame, int width) = in I422ToYUY2()
488 IS_ALIGNED(width, 16) && in I422ToYUY2()
496 I42xToYUY2Row(src_y, src_u, src_y, dst_frame, width); in I422ToYUY2()
510 int width, int height) { in I420ToYUY2() argument
512 width <= 0 || height == 0) { in I420ToYUY2()
522 const uint8* src_v, uint8* dst_frame, int width) = in I420ToYUY2()
526 IS_ALIGNED(width, 16) && in I420ToYUY2()
534 I42xToYUY2Row(src_y, src_u, src_v, dst_frame, width); in I420ToYUY2()
536 dst_frame + dst_stride_frame, width); in I420ToYUY2()
543 I42xToYUY2Row(src_y, src_u, src_v, dst_frame, width); in I420ToYUY2()
554 int width, int height) { in I422ToUYVY() argument
556 width <= 0 || height == 0) { in I422ToUYVY()
566 const uint8* src_v, uint8* dst_frame, int width) = in I422ToUYVY()
570 IS_ALIGNED(width, 16) && in I422ToUYVY()
578 I42xToUYVYRow(src_y, src_u, src_y, dst_frame, width); in I422ToUYVY()
592 int width, int height) { in I420ToUYVY() argument
594 width <= 0 || height == 0) { in I420ToUYVY()
604 const uint8* src_v, uint8* dst_frame, int width) = in I420ToUYVY()
608 IS_ALIGNED(width, 16) && in I420ToUYVY()
616 I42xToUYVYRow(src_y, src_u, src_v, dst_frame, width); in I420ToUYVY()
618 dst_frame + dst_stride_frame, width); in I420ToUYVY()
625 I42xToUYVYRow(src_y, src_u, src_v, dst_frame, width); in I420ToUYVY()
635 int width, int height) { in I420ToV210() argument
636 if (width * 16 / 6 > kMaxStride) { // Row buffer of V210 is required. in I420ToV210()
639 width <= 0 || height == 0) { in I420ToV210()
654 const uint8* src_v, uint8* dst_frame, int width) = in I420ToV210()
658 IS_ALIGNED(width, 16) && in I420ToV210()
665 I42xToUYVYRow(src_y, src_u, src_v, row, width); in I420ToV210()
666 UYVYToV210Row(row, dst_frame, width); in I420ToV210()
667 I42xToUYVYRow(src_y + src_stride_y, src_u, src_v, row, width); in I420ToV210()
668 UYVYToV210Row(row, dst_frame + dst_stride_frame, width); in I420ToV210()
676 I42xToUYVYRow(src_y, src_u, src_v, row, width); in I420ToV210()
677 UYVYToV210Row(row, dst_frame, width); in I420ToV210()
688 int width, int height) { in I420ToARGB() argument
690 width <= 0 || height == 0) { in I420ToARGB()
703 int width) = I422ToARGBRow_C; in I420ToARGB()
707 if (IS_ALIGNED(width, 16)) { in I420ToARGB()
712 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) { in I420ToARGB()
714 if (IS_ALIGNED(width, 8)) { in I420ToARGB()
724 I422ToARGBRow(src_y, src_u, src_v, dst_argb, width); in I420ToARGB()
741 int width, int height) { in I420ToBGRA() argument
744 width <= 0 || height == 0) { in I420ToBGRA()
757 int width) = I422ToBGRARow_C; in I420ToBGRA()
761 if (IS_ALIGNED(width, 16)) { in I420ToBGRA()
766 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) { in I420ToBGRA()
768 if (IS_ALIGNED(width, 8)) { in I420ToBGRA()
778 I422ToBGRARow(src_y, src_u, src_v, dst_bgra, width); in I420ToBGRA()
795 int width, int height) { in I420ToABGR() argument
798 width <= 0 || height == 0) { in I420ToABGR()
811 int width) = I422ToABGRRow_C; in I420ToABGR()
815 if (IS_ALIGNED(width, 16)) { in I420ToABGR()
820 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) { in I420ToABGR()
822 if (IS_ALIGNED(width, 8)) { in I420ToABGR()
832 I422ToABGRRow(src_y, src_u, src_v, dst_abgr, width); in I420ToABGR()
849 int width, int height) { in I420ToRGBA() argument
852 width <= 0 || height == 0) { in I420ToRGBA()
865 int width) = I422ToRGBARow_C; in I420ToRGBA()
869 if (IS_ALIGNED(width, 16)) { in I420ToRGBA()
874 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) { in I420ToRGBA()
876 if (IS_ALIGNED(width, 8)) { in I420ToRGBA()
886 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, width); in I420ToRGBA()
903 int width, int height) { in I420ToRGB24() argument
906 width <= 0 || height == 0) { in I420ToRGB24()
919 int width) = I422ToRGB24Row_C; in I420ToRGB24()
923 if (IS_ALIGNED(width, 16)) { in I420ToRGB24()
928 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) { in I420ToRGB24()
930 if (IS_ALIGNED(width, 8)) { in I420ToRGB24()
940 I422ToRGB24Row(src_y, src_u, src_v, dst_rgb24, width); in I420ToRGB24()
957 int width, int height) { in I420ToRAW() argument
960 width <= 0 || height == 0) { in I420ToRAW()
973 int width) = I422ToRAWRow_C; in I420ToRAW()
977 if (IS_ALIGNED(width, 16)) { in I420ToRAW()
982 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) { in I420ToRAW()
984 if (IS_ALIGNED(width, 8)) { in I420ToRAW()
994 I422ToRAWRow(src_y, src_u, src_v, dst_raw, width); in I420ToRAW()
1011 int width, int height) { in I420ToRGB565() argument
1014 width <= 0 || height == 0) { in I420ToRGB565()
1027 int width) = I422ToARGBRow_C; in I420ToRGB565()
1043 if (width * 2 <= kMaxStride) { in I420ToRGB565()
1046 if (IS_ALIGNED(width, 4)) { in I420ToRGB565()
1053 I422ToARGBRow(src_y, src_u, src_v, row, width); in I420ToRGB565()
1054 ARGBToRGB565Row(row, dst_rgb, width); in I420ToRGB565()
1071 int width, int height) { in I420ToARGB1555() argument
1074 width <= 0 || height == 0) { in I420ToARGB1555()
1087 int width) = I422ToARGBRow_C; in I420ToARGB1555()
1103 if (width * 2 <= kMaxStride) { in I420ToARGB1555()
1106 if (IS_ALIGNED(width, 4)) { in I420ToARGB1555()
1113 I422ToARGBRow(src_y, src_u, src_v, row, width); in I420ToARGB1555()
1114 ARGBToARGB1555Row(row, dst_argb, width); in I420ToARGB1555()
1131 int width, int height) { in I420ToARGB4444() argument
1134 width <= 0 || height == 0) { in I420ToARGB4444()
1147 int width) = I422ToARGBRow_C; in I420ToARGB4444()
1163 if (width * 2 <= kMaxStride) { in I420ToARGB4444()
1166 if (IS_ALIGNED(width, 4)) { in I420ToARGB4444()
1173 I422ToARGBRow(src_y, src_u, src_v, row, width); in I420ToARGB4444()
1174 ARGBToARGB4444Row(row, dst_argb, width); in I420ToARGB4444()
1191 int width, int height, in ConvertFromI420() argument
1194 width <= 0 || height == 0) { in ConvertFromI420()
1205 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1206 width, height); in ConvertFromI420()
1213 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1214 width, height); in ConvertFromI420()
1222 (width + 47) / 48 * 128, in ConvertFromI420()
1223 width, height); in ConvertFromI420()
1230 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1231 width, height); in ConvertFromI420()
1238 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1239 width, height); in ConvertFromI420()
1246 dst_sample_stride ? dst_sample_stride : width * 2, in ConvertFromI420()
1247 width, height); in ConvertFromI420()
1254 dst_sample_stride ? dst_sample_stride : width * 3, in ConvertFromI420()
1255 width, height); in ConvertFromI420()
1262 dst_sample_stride ? dst_sample_stride : width * 3, in ConvertFromI420()
1263 width, height); in ConvertFromI420()
1270 dst_sample_stride ? dst_sample_stride : width * 4, in ConvertFromI420()
1271 width, height); in ConvertFromI420()
1278 dst_sample_stride ? dst_sample_stride : width * 4, in ConvertFromI420()
1279 width, height); in ConvertFromI420()
1286 dst_sample_stride ? dst_sample_stride : width * 4, in ConvertFromI420()
1287 width, height); in ConvertFromI420()
1294 dst_sample_stride ? dst_sample_stride : width * 4, in ConvertFromI420()
1295 width, height); in ConvertFromI420()
1302 dst_sample_stride ? dst_sample_stride : width, in ConvertFromI420()
1303 width, height); in ConvertFromI420()
1310 dst_sample_stride ? dst_sample_stride : width, in ConvertFromI420()
1311 width, height); in ConvertFromI420()
1318 dst_sample_stride ? dst_sample_stride : width, in ConvertFromI420()
1319 width, height); in ConvertFromI420()
1326 dst_sample_stride ? dst_sample_stride : width, in ConvertFromI420()
1327 width, height); in ConvertFromI420()
1332 dst_sample_stride ? dst_sample_stride : width, in ConvertFromI420()
1333 width, height); in ConvertFromI420()
1340 int halfwidth = (width + 1) / 2; in ConvertFromI420()
1345 dst_v = dst_sample + width * height; in ConvertFromI420()
1348 dst_u = dst_sample + width * height; in ConvertFromI420()
1354 dst_sample, width, in ConvertFromI420()
1357 width, height); in ConvertFromI420()
1362 int halfwidth = (width + 1) / 2; in ConvertFromI420()
1366 dst_v = dst_sample + width * height; in ConvertFromI420()
1369 dst_u = dst_sample + width * height; in ConvertFromI420()
1375 dst_sample, width, in ConvertFromI420()
1378 width, height); in ConvertFromI420()
1386 dst_v = dst_sample + width * height; in ConvertFromI420()
1387 dst_u = dst_v + width * height; in ConvertFromI420()
1389 dst_u = dst_sample + width * height; in ConvertFromI420()
1390 dst_v = dst_u + width * height; in ConvertFromI420()
1395 dst_sample, width, in ConvertFromI420()
1396 dst_u, width, in ConvertFromI420()
1397 dst_v, width, in ConvertFromI420()
1398 width, height); in ConvertFromI420()
1402 int quarterwidth = (width + 3) / 4; in ConvertFromI420()
1403 uint8* dst_u = dst_sample + width * height; in ConvertFromI420()
1408 dst_sample, width, in ConvertFromI420()
1411 width, height); in ConvertFromI420()