Lines Matching refs:width
61 // 420 chroma is 1/2 width, 1/2 height
62 // 422 chroma is 1/2 width, 1x height
70 int width, int height) {
71 const int dst_uv_width = (Abs(width) + 1) >> 1;
79 width, height,
83 // 420 chroma is 1/2 width, 1/2 height
84 // 444 chroma is 1x width, 1x height
92 int width, int height) {
93 const int dst_uv_width = Abs(width);
101 width, height,
105 // 420 chroma is 1/2 width, 1/2 height
106 // 411 chroma is 1/4 width, 1x height
114 int width, int height) {
115 const int dst_uv_width = (Abs(width) + 3) >> 2;
123 width, height,
131 int width, int height) {
133 width <= 0 || height == 0) {
142 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
151 int width, int height) {
154 const uint8* src_v, uint8* dst_yuy2, int width) =
157 width <= 0 || height == 0) {
167 if (src_stride_y == width &&
168 src_stride_u * 2 == width &&
169 src_stride_v * 2 == width &&
170 dst_stride_yuy2 == width * 2) {
171 width *= height;
178 if (IS_ALIGNED(width, 16)) {
186 if (IS_ALIGNED(width, 16)) {
193 I422ToYUY2Row(src_y, src_u, src_v, dst_yuy2, width);
207 int width, int height) {
210 const uint8* src_v, uint8* dst_yuy2, int width) =
213 width <= 0 || height == 0) {
225 if (IS_ALIGNED(width, 16)) {
233 if (IS_ALIGNED(width, 16)) {
240 I422ToYUY2Row(src_y, src_u, src_v, dst_yuy2, width);
242 dst_yuy2 + dst_stride_yuy2, width);
249 I422ToYUY2Row(src_y, src_u, src_v, dst_yuy2, width);
259 int width, int height) {
262 const uint8* src_v, uint8* dst_uyvy, int width) =
265 width <= 0 || height == 0) {
275 if (src_stride_y == width &&
276 src_stride_u * 2 == width &&
277 src_stride_v * 2 == width &&
278 dst_stride_uyvy == width * 2) {
279 width *= height;
286 if (IS_ALIGNED(width, 16)) {
294 if (IS_ALIGNED(width, 16)) {
301 I422ToUYVYRow(src_y, src_u, src_v, dst_uyvy, width);
315 int width, int height) {
318 const uint8* src_v, uint8* dst_uyvy, int width) =
321 width <= 0 || height == 0) {
333 if (IS_ALIGNED(width, 16)) {
341 if (IS_ALIGNED(width, 16)) {
348 I422ToUYVYRow(src_y, src_u, src_v, dst_uyvy, width);
350 dst_uyvy + dst_stride_uyvy, width);
357 I422ToUYVYRow(src_y, src_u, src_v, dst_uyvy, width);
368 int width, int height) {
371 int width) = MergeUVRow_C;
373 int halfwidth = (width + 1) >> 1;
376 width <= 0 || height == 0) {
388 if (src_stride_y == width &&
389 dst_stride_y == width) {
390 width *= height;
427 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
444 int width, int height) {
450 width, height);
459 int width, int height) {
466 int width) = I422ToRGBARow_C;
468 width <= 0 || height == 0) {
480 if (IS_ALIGNED(width, 8)) {
488 if (IS_ALIGNED(width, 16)) {
496 if (IS_ALIGNED(width, 8)) {
502 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) &&
512 I422ToRGBARow(src_y, src_u, src_v, dst_rgba, yuvconstants, width);
529 int width, int height) {
535 width, height);
544 int width, int height) {
550 width, height);
559 int width, int height) {
566 int width) = I422ToRGB24Row_C;
568 width <= 0 || height == 0) {
580 if (IS_ALIGNED(width, 8)) {
588 if (IS_ALIGNED(width, 16)) {
596 if (IS_ALIGNED(width, 8)) {
603 I422ToRGB24Row(src_y, src_u, src_v, dst_rgb24, yuvconstants, width);
620 int width, int height) {
626 width, height);
635 int width, int height) {
641 width, height);
650 int width, int height) {
657 int width) = I422ToARGB1555Row_C;
659 width <= 0 || height == 0) {
671 if (IS_ALIGNED(width, 8)) {
679 if (IS_ALIGNED(width, 16)) {
687 if (IS_ALIGNED(width, 8)) {
695 width);
713 int width, int height) {
720 int width) = I422ToARGB4444Row_C;
722 width <= 0 || height == 0) {
734 if (IS_ALIGNED(width, 8)) {
742 if (IS_ALIGNED(width, 16)) {
750 if (IS_ALIGNED(width, 8)) {
758 width);
775 int width, int height) {
782 int width) = I422ToRGB565Row_C;
784 width <= 0 || height == 0) {
796 if (IS_ALIGNED(width, 8)) {
804 if (IS_ALIGNED(width, 16)) {
812 if (IS_ALIGNED(width, 8)) {
819 I422ToRGB565Row(src_y, src_u, src_v, dst_rgb565, &kYuvI601Constants, width);
844 const uint8* dither4x4, int width, int height) {
851 int width) = I422ToARGBRow_C;
853 const uint32 dither4, int width) = ARGBToRGB565DitherRow_C;
855 width <= 0 || height == 0) {
870 if (IS_ALIGNED(width, 8)) {
878 if (IS_ALIGNED(width, 16)) {
886 if (IS_ALIGNED(width, 8)) {
892 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) &&
902 if (IS_ALIGNED(width, 4)) {
910 if (IS_ALIGNED(width, 8)) {
918 if (IS_ALIGNED(width, 8)) {
925 align_buffer_64(row_argb, width * 4);
927 I422ToARGBRow(src_y, src_u, src_v, row_argb, &kYuvI601Constants, width);
929 *(uint32*)(dither4x4 + ((y & 3) << 2)), width);
948 int width, int height,
953 width <= 0 || height == 0) {
963 dst_sample_stride ? dst_sample_stride : width * 2,
964 width, height);
971 dst_sample_stride ? dst_sample_stride : width * 2,
972 width, height);
979 dst_sample_stride ? dst_sample_stride : width * 2,
980 width, height);
987 dst_sample_stride ? dst_sample_stride : width * 2,
988 width, height);
995 dst_sample_stride ? dst_sample_stride : width * 2,
996 width, height);
1003 dst_sample_stride ? dst_sample_stride : width * 3,
1004 width, height);
1011 dst_sample_stride ? dst_sample_stride : width * 3,
1012 width, height);
1019 dst_sample_stride ? dst_sample_stride : width * 4,
1020 width, height);
1027 dst_sample_stride ? dst_sample_stride : width * 4,
1028 width, height);
1035 dst_sample_stride ? dst_sample_stride : width * 4,
1036 width, height);
1043 dst_sample_stride ? dst_sample_stride : width * 4,
1044 width, height);
1049 dst_sample_stride ? dst_sample_stride : width,
1050 width, height);
1053 uint8* dst_uv = dst_sample + width * height;
1058 dst_sample_stride ? dst_sample_stride : width,
1060 dst_sample_stride ? dst_sample_stride : width,
1061 width, height);
1065 uint8* dst_vu = dst_sample + width * height;
1070 dst_sample_stride ? dst_sample_stride : width,
1072 dst_sample_stride ? dst_sample_stride : width,
1073 width, height);
1081 int halfwidth = (width + 1) / 2;
1086 dst_v = dst_sample + width * height;
1089 dst_u = dst_sample + width * height;
1095 dst_sample, width,
1098 width, height);
1103 int halfwidth = (width + 1) / 2;
1107 dst_v = dst_sample + width * height;
1110 dst_u = dst_sample + width * height;
1116 dst_sample, width,
1119 width, height);
1127 dst_v = dst_sample + width * height;
1128 dst_u = dst_v + width * height;
1130 dst_u = dst_sample + width * height;
1131 dst_v = dst_u + width * height;
1136 dst_sample, width,
1137 dst_u, width,
1138 dst_v, width,
1139 width, height);
1143 int quarterwidth = (width + 3) / 4;
1144 uint8* dst_u = dst_sample + width * height;
1149 dst_sample, width,
1152 width, height);