Home | History | Annotate | Download | only in source

Lines Matching refs:dst_width

57                         uint8* dst, int dst_width);
60 uint8* dst, int dst_width);
64 uint8* dst_ptr, int dst_width);
66 uint8* dst_ptr, int dst_width);
74 uint8* dst_ptr, int dst_width);
77 uint8* dst_ptr, int dst_width);
80 uint8* dst_ptr, int dst_width);
86 uint8* dst_ptr, int dst_width);
90 uint8* dst_ptr, int dst_width);
94 uint8* dst_ptr, int dst_width);
99 int dst_width, int source_y_fraction);
203 uint8* dst_ptr, int dst_width) {
208 mov ecx, [esp + 16] // dst_width
232 uint8* dst_ptr, int dst_width) {
238 mov ecx, [esp + 4 + 16] // dst_width
277 uint8* dst_ptr, int dst_width) {
282 mov ecx, [esp + 16] // dst_width
307 uint8* dst_ptr, int dst_width) {
313 mov ecx, [esp + 4 + 16] // dst_width
352 uint8* dst_ptr, int dst_width) {
357 mov ecx, [esp + 16] // dst_width
383 uint8* dst_ptr, int dst_width) {
390 mov ecx, [esp + 8 + 16] // dst_width
445 uint8* dst_ptr, int dst_width) {
450 mov ecx, [esp + 16] // dst_width
477 uint8* dst_ptr, int dst_width) {
485 mov ecx, [esp + 12 + 16] // dst_width
555 uint8* dst_ptr, int dst_width) {
560 mov ecx, [esp + 16] // dst_width
605 uint8* dst_ptr, int dst_width) {
611 mov ecx, [esp + 4 + 16] // dst_width
664 uint8* dst_ptr, int dst_width) {
670 mov ecx, [esp + 4 + 16] // dst_width
727 uint8* dst_ptr, int dst_width) {
732 mov ecx, [esp + 16] // dst_width
760 uint8* dst_ptr, int dst_width) {
766 mov ecx, [esp + 4 + 16] // dst_width
826 uint8* dst_ptr, int dst_width) {
832 mov ecx, [esp + 4 + 16] // dst_width
882 mov ecx, [esp + 16 + 16] // dst_width
937 ptrdiff_t src_stride, int dst_width,
945 mov ecx, [esp + 8 + 16] // dst_width
1028 ptrdiff_t src_stride, int dst_width,
1036 mov ecx, [esp + 8 + 16] // dst_width
1120 uint8* dst_ptr, int dst_width) {
1138 "+r"(dst_width) // %2
1148 uint8* dst_ptr, int dst_width) {
1176 "+r"(dst_width) // %2
1186 uint8* dst_ptr, int dst_width) {
1204 "+r"(dst_width) // %2
1215 uint8* dst_ptr, int dst_width) {
1243 "+r"(dst_width) // %2
1254 uint8* dst_ptr, int dst_width) {
1273 "+r"(dst_width) // %2
1283 uint8* dst_ptr, int dst_width) {
1326 "+r"(dst_width), // %2
1338 uint8* dst_ptr, int dst_width) {
1358 "+r"(dst_width) // %2
1368 uint8* dst_ptr, int dst_width) {
1422 "+rm"(dst_width), // %2
1435 uint8* dst_ptr, int dst_width) {
1464 "+r"(dst_width) // %2
1475 uint8* dst_ptr, int dst_width) {
1530 "+r"(dst_width) // %2
1542 uint8* dst_ptr, int dst_width) {
1601 "+r"(dst_width) // %2
1613 uint8* dst_ptr, int dst_width) {
1633 "+r"(dst_width) // %2
1645 uint8* dst_ptr, int dst_width) {
1680 "+r"(dst_width) // %2
1691 uint8* dst_ptr, int dst_width) {
1745 "+r"(dst_width) // %2
1809 int dst_width, int source_y_fraction) {
1867 "+r"(dst_width), // %2
1882 dst_width, int source_y_fraction) {
1938 "+r"(dst_width), // %2
1951 uint8* dst, int dst_width) {
1952 uint8* dend = dst + dst_width - 1;
1959 if (dst_width & 1) {
1965 uint8* dst, int dst_width) {
1968 uint8* dend = dst + dst_width - 1;
1976 if (dst_width & 1) {
1982 uint8* dst, int dst_width) {
1983 uint8* dend = dst + dst_width - 1;
1990 if (dst_width & 1) {
1996 uint8* dst, int dst_width) {
1998 uint8* dend = dst + dst_width - 1;
2019 if (dst_width & 1) {
2037 uint8* dst, int dst_width) {
2038 uint8* dend = dst + dst_width - 1;
2045 if (dst_width & 1) {
2053 uint8* dst, int dst_width) {
2055 assert(dst_width <= kMaxOutputWidth);
2056 ScaleRowDown4Int_C(src_ptr, src_stride, src_row, dst_width * 2);
2059 dst_width * 2);
2060 ScaleRowDown2Int_C(src_row, kMaxOutputWidth, dst, dst_width);
2064 uint8* dst, int dst_width) {
2065 assert((dst_width % 3 == 0) && (dst_width > 0));
2066 uint8* dend = dst + dst_width;
2078 uint8* d, int dst_width) {
2079 assert((dst_width % 3 == 0) && (dst_width > 0));
2082 uint8* dend = d + dst_width;
2101 uint8* d, int dst_width) {
2102 assert((dst_width % 3 == 0) && (dst_width > 0));
2105 uint8* dend = d + dst_width;
2127 int dst_width, int x, int dx) {
2128 for (int j = 0; j < dst_width - 1; j += 2) {
2141 if (dst_width & 1) {
2154 int dst_width) {
2155 assert((dst_width % 3 == 0) && (dst_width > 0));
2157 uint8* dend = dst_ptr + dst_width;
2171 uint8* dst_ptr, int dst_width) {
2172 assert((dst_width % 3 == 0) && (dst_width > 0));
2174 ScaleFilterRows_SSE2(row, src_ptr, src_stride, dst_width * 4 / 3, 256 / 4);
2175 ScaleFilterCols34_C(dst_ptr, row, dst_width);
2181 uint8* dst_ptr, int dst_width) {
2182 assert((dst_width % 3 == 0) && (dst_width > 0));
2184 ScaleFilterRows_SSE2(row, src_ptr, src_stride, dst_width * 4 / 3, 256 / 2);
2185 ScaleFilterCols34_C(dst_ptr, row, dst_width);
2190 uint8* dst, int dst_width) {
2191 assert(dst_width % 3 == 0);
2192 for (int x = 0; x < dst_width; x += 3) {
2204 uint8* dst_ptr, int dst_width) {
2205 assert((dst_width % 3 == 0) && (dst_width > 0));
2207 for (int i = 0; i < dst_width; i += 3) {
2229 uint8* dst_ptr, int dst_width) {
2230 assert((dst_width % 3 == 0) && (dst_width > 0));
2232 for (int i = 0; i < dst_width; i += 3) {
2250 int dst_width, int source_y_fraction) {
2251 assert(dst_width > 0);
2255 uint8* end = dst_ptr + dst_width;
2295 int dst_width, int dst_height,
2300 uint8* dst_ptr, int dst_width) =
2304 IS_ALIGNED(dst_width, 16)) {
2308 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 16)) {
2320 ScaleRowDown2(src_ptr, src_stride, dst_ptr, dst_width);
2333 int dst_width, int dst_height,
2338 uint8* dst_ptr, int dst_width) =
2342 IS_ALIGNED(dst_width, 4)) {
2347 IS_ALIGNED(dst_width, 8) &&
2354 ScaleRowDown4(src_ptr, src_stride, dst_ptr, dst_width);
2368 int dst_width, int dst_height,
2373 uint8* dst_ptr, int dst_width) =
2374 filtering && (dst_width <= kMaxOutputWidth) ?
2378 IS_ALIGNED(dst_width, 4) &&
2385 ScaleRowDown8(src_ptr, src_stride, dst_ptr, dst_width);
2398 int dst_width, int dst_height,
2402 assert(dst_width % 3 == 0);
2404 uint8* dst_ptr, int dst_width);
2406 uint8* dst_ptr, int dst_width);
2415 if (TestCpuFlag(kCpuHasNEON) && (dst_width % 24 == 0)) {
2426 if (TestCpuFlag(kCpuHasSSE2) && (dst_width % 24 == 0) &&
2433 if (TestCpuFlag(kCpuHasSSSE3) && (dst_width % 24 == 0) &&
2446 ScaleRowDown34_0(src_ptr, src_stride, dst_ptr, dst_width);
2449 ScaleRowDown34_1(src_ptr, src_stride, dst_ptr, dst_width);
2453 dst_ptr, dst_width);
2460 ScaleRowDown34_0(src_ptr, src_stride, dst_ptr, dst_width);
2463 ScaleRowDown34_1(src_ptr, 0, dst_ptr, dst_width);
2465 ScaleRowDown34_0(src_ptr, 0, dst_ptr, dst_width);
2487 int dst_width, int dst_height,
2491 assert(dst_width % 3 == 0);
2493 uint8* dst_ptr, int dst_width);
2495 uint8* dst_ptr, int dst_width);
2504 if (TestCpuFlag(kCpuHasNEON) && (dst_width % 12 == 0)) {
2514 if (TestCpuFlag(kCpuHasSSSE3) && (dst_width % 24 == 0) &&
2527 ScaleRowDown38_3(src_ptr, src_stride, dst_ptr, dst_width);
2530 ScaleRowDown38_3(src_ptr, src_stride, dst_ptr, dst_width);
2533 ScaleRowDown38_2(src_ptr, src_stride, dst_ptr, dst_width);
2540 ScaleRowDown38_3(src_ptr, src_stride, dst_ptr, dst_width);
2543 ScaleRowDown38_3(src_ptr, 0, dst_ptr, dst_width);
2545 ScaleRowDown38_3(src_ptr, 0, dst_ptr, dst_width);
2563 static void ScalePlaneBoxRow_C(int dst_width, int boxheight,
2566 for (int i = 0; i < dst_width; ++i) {
2584 static void ScaleAddCols2_C(int dst_width, int boxheight, int x, int dx,
2591 for (int i = 0; i < dst_width; ++i) {
2599 static void ScaleAddCols1_C(int dst_width, int boxheight, int x, int dx,
2603 for (int i = 0; i < dst_width; ++i) {
2619 int dst_width, int dst_height,
2622 assert(dst_width > 0);
2624 int dx = (src_width << 16) / dst_width;
2640 ScalePlaneBoxRow_C(dst_width, boxheight,
2650 void (*ScaleAddCols)(int dst_width, int boxheight, int x, int dx,
2673 ScaleAddCols(dst_width, boxheight, x, dx, row, dst_ptr);
2683 int dst_width, int dst_height,
2686 int dx = (src_width << 16) / dst_width;
2698 for (int j = 0; j < dst_width; ++j) {
2725 int dst_width, int dst_height,
2728 assert(dst_width > 0);
2731 ScalePlaneBilinearSimple(src_width, src_height, dst_width, dst_height,
2738 int dst_width, int source_y_fraction) =
2758 int dx = (src_width << 16) / dst_width;
2768 ScaleFilterCols_C(dst_ptr, row, dst_width, x, dx);
2785 int dst_width, int dst_height,
2788 int dx = (src_width << 16) / dst_width;
2796 for (int i = 0; i < dst_width; ++i) {
2809 int dst_width, int dst_height,
2814 ScalePlaneSimple(src_width, src_height, dst_width, dst_height,
2818 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height,
2832 int dst_width, int dst_height,
2837 ScalePlaneSimple(src_width, src_height, dst_width, dst_height,
2841 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height,
2844 ScalePlaneBox(src_width, src_height, dst_width, dst_height,
2857 int dst_width, int dst_height,
2868 if (dst_width == src_width && dst_height == src_height) {
2870 CopyPlane(src, src_stride, dst, dst_stride, dst_width, dst_height);
2871 } else if (dst_width <= src_width && dst_height <= src_height) {
2875 ScalePlaneDown(src_width, src_height, dst_width, dst_height,
2877 } else if (4 * dst_width == 3 * src_width &&
2880 ScalePlaneDown34(src_width, src_height, dst_width, dst_height,
2882 } else if (2 * dst_width == src_width && 2 * dst_height == src_height) {
2884 ScalePlaneDown2(src_width, src_height, dst_width, dst_height,
2887 } else if (8 * dst_width == 3 * src_width &&
2890 ScalePlaneDown38(src_width, src_height, dst_width, dst_height,
2892 } else if (4 * dst_width == src_width && 4 * dst_height == src_height &&
2895 ScalePlaneDown4(src_width, src_height, dst_width, dst_height,
2897 } else if (8 * dst_width == src_width && 8 * dst_height == src_height &&
2900 ScalePlaneDown8(src_width, src_height, dst_width, dst_height,
2904 ScalePlaneDown(src_width, src_height, dst_width, dst_height,
2909 ScalePlaneAnySize(src_width, src_height, dst_width, dst_height,
2927 int dst_width, int dst_height,
2930 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) {
2946 int dst_halfwidth = (dst_width + 1) >> 1;
2954 if ((dst_width & 1) && dst_stride_u && dst_halfwidth > abs(dst_stride_u)) {
2955 dst_halfwidth = dst_width >> 1;
2972 dst_y, dst_stride_y, dst_width, dst_height,
2990 int dst_width, int dst_height,
2993 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) {
3009 int dst_halfwidth = (dst_width + 1) >> 1;
3018 if ((dst_width & 1) && dst_stride_u && dst_halfwidth > abs(dst_stride_u)) {
3019 dst_halfwidth = dst_width >> 1;
3036 dst_y, dst_stride_y, dst_width, dst_height,
3050 uint8* dst, int dst_width, int dst_height, int dst_yoffset,
3053 !dst || dst_width <= 0 || dst_height <= 0 || dst_yoffset < 0 ||
3060 int dst_halfwidth = (dst_width + 1) >> 1;
3067 uint8* dst_y = dst + dst_yoffset * dst_width;
3068 uint8* dst_u = dst + dst_width * dst_height +
3070 uint8* dst_v = dst + dst_width * dst_height + dst_halfwidth * dst_halfheight +
3073 src_width, src_height, dst_y, dst_u, dst_v, dst_width,
3074 dst_halfwidth, dst_halfwidth, dst_width, aheight, interpolate);