Home | History | Annotate | Download | only in source

Lines Matching refs:width

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