Lines Matching refs:dst_width

53                         uint8* dst, int dst_width) {
63 "+r"(dst_width) // %2
70 uint8* dst, int dst_width) {
93 "+r"(dst_width) // %3
104 uint8* dst_ptr, int dst_width) {
114 "subs %2, #2 \n" // dst_width -= 2
118 "+r"(dst_width) // %2
125 uint8* dst_ptr, int dst_width) {
160 "subs %2, #2 \n" // dst_width -= 2
165 "+r"(dst_width) // %2
271 uint8* dst_ptr, int dst_width) {
276 mov ecx, [esp + 16] // dst_width
299 uint8* dst_ptr, int dst_width) {
305 mov ecx, [esp + 4 + 16] // dst_width
343 uint8* dst_ptr, int dst_width) {
349 mov ecx, [esp + 32 + 16] // dst_width
375 uint8* dst_ptr, int dst_width) {
381 mov ecx, [esp + 32 + 16] // dst_width
434 uint8* dst_ptr, int dst_width) {
440 mov ecx, [esp + 32 + 16] // dst_width
467 uint8* dst_ptr, int dst_width) {
473 mov ecx, [esp + 32 + 16] // dst_width
540 uint8* dst_ptr, int dst_width) {
546 mov ecx, [esp + 32 + 16] // dst_width
590 uint8* dst_ptr, int dst_width) {
596 mov ecx, [esp + 32 + 16] // dst_width
647 uint8* dst_ptr, int dst_width) {
653 mov ecx, [esp + 32 + 16] // dst_width
709 uint8* dst_ptr, int dst_width) {
715 mov ecx, [esp + 32 + 16] // dst_width
743 uint8* dst_ptr, int dst_width) {
749 mov ecx, [esp + 32 + 16] // dst_width
807 uint8* dst_ptr, int dst_width) {
813 mov ecx, [esp + 32 + 16] // dst_width
859 mov ecx, [esp + 32 + 16] // dst_width
902 int src_stride, int dst_width,
910 mov ecx, [esp + 8 + 16] // dst_width
993 int src_stride, int dst_width,
1001 mov ecx, [esp + 8 + 16] // dst_width
1076 int dst_width) {
1080 mov ecx, [esp + 12] // dst_width
1127 uint8* dst_ptr, int dst_width) {
1144 "+r"(dst_width) // %2
1151 uint8* dst_ptr, int dst_width) {
1178 "+r"(dst_width) // %2
1186 uint8* dst_ptr, int dst_width) {
1204 "+r"(dst_width) // %2
1211 uint8* dst_ptr, int dst_width) {
1253 "+r"(dst_width), // %2
1262 uint8* dst_ptr, int dst_width) {
1281 "+r"(dst_width) // %2
1289 uint8* dst_ptr, int dst_width);
1360 uint8* dst_ptr, int dst_width);
1398 uint8* dst_ptr, int dst_width);
1459 uint8* dst_ptr, int dst_width);
1523 uint8* dst_ptr, int dst_width);
1560 uint8* dst_ptr, int dst_width);
1624 uint8* dst_ptr, int dst_width);
1722 int dst_width, int source_y_fraction);
1817 int dst_width, int source_y_fraction);
1899 uint8* dst_ptr, int dst_width) {
1950 "+r"(dst_width) // %2
1959 uint8* dst_ptr, int dst_width) {
1981 "+r"(dst_width) // %2
1990 uint8* dst_ptr, int dst_width) {
2033 "+r"(dst_width) // %2
2048 uint8* dst_ptr, int dst_width) {
2094 "+r"(dst_width) // %2
2110 uint8* dst_ptr, int dst_width) {
2130 "+r"(dst_width) // %2
2138 uint8* dst_ptr, int dst_width) {
2185 "+r"(dst_width) // %2
2196 uint8* dst_ptr, int dst_width) {
2223 "+r"(dst_width) // %2
2278 int dst_width, int source_y_fraction) {
2292 "+r"(dst_width) // %2
2312 "+r"(dst_width) // %2
2356 "+r"(dst_width), // %2
2370 int dst_width, int source_y_fraction) {
2384 "+r"(dst_width) // %2
2404 "+r"(dst_width) // %2
2439 "+r"(dst_width), // %2
2452 uint8* dst, int dst_width) {
2453 for (int x = 0; x < dst_width; ++x) {
2460 uint8* dst, int dst_width) {
2461 for (int x = 0; x < dst_width; ++x) {
2469 uint8* dst, int dst_width) {
2470 for (int x = 0; x < dst_width; ++x) {
2477 uint8* dst, int dst_width) {
2478 for (int x = 0; x < dst_width; ++x) {
2497 uint8* dst, int dst_width) {
2498 for (int x = 0; x < dst_width; ++x) {
2507 uint8* dst, int dst_width) {
2509 assert(dst_width <= kMaxOutputWidth);
2510 ScaleRowDown4Int_C(src_ptr, src_stride, src_row, dst_width * 2);
2513 dst_width * 2);
2514 ScaleRowDown2Int_C(src_row, kMaxOutputWidth, dst, dst_width);
2518 uint8* dst, int dst_width) {
2519 assert((dst_width % 3 == 0) && (dst_width > 0));
2520 uint8* dend = dst + dst_width;
2532 uint8* d, int dst_width) {
2533 assert((dst_width % 3 == 0) && (dst_width > 0));
2534 uint8* dend = d + dst_width;
2555 uint8* d, int dst_width) {
2556 assert((dst_width % 3 == 0) && (dst_width > 0));
2557 uint8* dend = d + dst_width;
2579 int dst_width) {
2580 assert((dst_width % 3 == 0) && (dst_width > 0));
2581 uint8* dend = dst_ptr + dst_width;
2594 int dst_width, int dx) {
2596 for (int j = 0; j < dst_width; ++j) {
2611 uint8* dst_ptr, int dst_width) {
2612 assert((dst_width % 3 == 0) && (dst_width > 0));
2614 ScaleFilterRows_SSE2(row, src_ptr, src_stride, dst_width * 4 / 3,
2616 ScaleFilterCols34_C(dst_ptr, row, dst_width);
2621 uint8* dst_ptr, int dst_width) {
2622 assert((dst_width % 3 == 0) && (dst_width > 0));
2624 ScaleFilterRows_SSE2(row, src_ptr, src_stride, dst_width * 4 / 3, 256 / 2);
2625 ScaleFilterCols34_C(dst_ptr, row, dst_width);
2630 uint8* dst, int dst_width) {
2631 assert(dst_width % 3 == 0);
2632 for (int x = 0; x < dst_width; x += 3) {
2643 uint8* dst_ptr, int dst_width) {
2644 assert((dst_width % 3 == 0) && (dst_width > 0));
2645 for (int i = 0; i < dst_width; i+=3) {
2667 uint8* dst_ptr, int dst_width) {
2668 assert((dst_width % 3 == 0) && (dst_width > 0));
2669 for (int i = 0; i < dst_width; i+=3) {
2687 int dst_width, int source_y_fraction) {
2688 assert(dst_width > 0);
2692 uint8* end = dst_ptr + dst_width;
2732 int dst_width, int dst_height,
2739 uint8* dst_ptr, int dst_width);
2743 (dst_width % 16 == 0) && (src_stride % 16 == 0) &&
2751 (dst_width % 16 == 0) && IS_ALIGNED(src_ptr, 16) &&
2761 ScaleRowDown2(src_ptr, src_stride, dst_ptr, dst_width);
2774 int dst_width, int dst_height,
2781 uint8* dst_ptr, int dst_width);
2785 (dst_width % 2 == 0) && (src_stride % 8 == 0) &&
2792 (dst_width % 8 == 0) && (src_stride % 16 == 0) &&
2803 ScaleRowDown4(src_ptr, src_stride, dst_ptr, dst_width);
2817 int dst_width, int dst_height,
2824 uint8* dst_ptr, int dst_width);
2827 (dst_width % 16 == 0) && dst_width <= kMaxOutputWidth &&
2834 ScaleRowDown8 = filtering && (dst_width <= kMaxOutputWidth) ?
2838 ScaleRowDown8(src_ptr, src_stride, dst_ptr, dst_width);
2851 int dst_width, int dst_height,
2855 assert(dst_width % 3 == 0);
2857 uint8* dst_ptr, int dst_width);
2859 uint8* dst_ptr, int dst_width);
2862 (dst_width % 24 == 0) && (src_stride % 16 == 0) &&
2876 (dst_width % 24 == 0) && (src_stride % 16 == 0) &&
2897 ScaleRowDown34_0(src_ptr, src_stride, dst_ptr, dst_width);
2901 ScaleRowDown34_1(src_ptr, src_stride, dst_ptr, dst_width);
2906 dst_ptr, dst_width);
2928 int dst_width, int dst_height,
2932 assert(dst_width % 3 == 0);
2934 uint8* dst_ptr, int dst_width);
2936 uint8* dst_ptr, int dst_width);
2939 (dst_width % 24 == 0) && (src_stride % 16 == 0) &&
2965 ScaleRowDown38_3(src_ptr, src_stride, dst_ptr, dst_width);
2971 ScaleRowDown38_2(src_ptr, src_stride, dst_ptr, dst_width);
2994 static void ScalePlaneBoxRow(int dst_width, int boxheight,
2998 for (int i = 0; i < dst_width; ++i) {
3016 static void ScaleAddCols2_C(int dst_width, int boxheight, int dx,
3024 for (int i = 0; i < dst_width; ++i) {
3032 static void ScaleAddCols1_C(int dst_width, int boxheight, int dx,
3037 for (int i = 0; i < dst_width; ++i) {
3053 int dst_width, int dst_height,
3056 assert(dst_width > 0);
3059 int dx = (src_width << 16) / dst_width;
3064 int dx = (src_width << 16) / dst_width;
3074 ScalePlaneBoxRow(dst_width, boxheight,
3084 void (*ScaleAddCols)(int dst_width, int boxheight, int dx,
3112 ScaleAddCols(dst_width, boxheight, dx, row, dst_ptr);
3122 int dst_width, int dst_height,
3126 int dx = (src_width << 16) / dst_width;
3137 int x = (dst_width < src_width) ? 32768 :
3138 (src_width << 16) / dst_width - 32768;
3139 for (int j = 0; j < dst_width; ++j) {
3151 dst += dst_stride - dst_width;
3163 int dst_width, int dst_height,
3166 assert(dst_width > 0);
3169 int dx = (src_width << 16) / dst_width;
3171 ScalePlaneBilinearSimple(src_width, src_height, dst_width, dst_height,
3178 int dst_width, int source_y_fraction);
3180 int dst_width, int dx);
3207 ScaleFilterCols(dst_ptr, row, dst_width, dx);
3224 int dst_width, int dst_height,
3228 int dx = (src_width << 16) / dst_width;
3234 for (int i = 0; i < dst_width; ++i) {
3238 dst += dst_stride - dst_width;
3246 int dst_width, int dst_height,
3251 ScalePlaneSimple(src_width, src_height, dst_width, dst_height,
3255 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height,
3269 int dst_width, int dst_height,
3274 ScalePlaneSimple(src_width, src_height, dst_width, dst_height,
3278 ScalePlaneBilinear(src_width, src_height, dst_width, dst_height,
3281 ScalePlaneBox(src_width, src_height, dst_width, dst_height,
3295 int dst_width, int dst_height,
3298 if (src_stride == src_width && dst_stride == dst_width) {
3316 int dst_width, int dst_height,
3320 if (dst_width == src_width && dst_height == src_height) {
3322 CopyPlane(src_width, src_height, dst_width, dst_height, src_stride,
3324 } else if (dst_width <= src_width && dst_height <= src_height) {
3328 ScalePlaneDown(src_width, src_height, dst_width, dst_height,
3330 } else if (4 * dst_width == 3 * src_width &&
3333 ScalePlaneDown34(src_width, src_height, dst_width, dst_height,
3335 } else if (2 * dst_width == src_width && 2 * dst_height == src_height) {
3337 ScalePlaneDown2(src_width, src_height, dst_width, dst_height,
3340 } else if (8 * dst_width == 3 * src_width &&
3343 ScalePlaneDown38(src_width, src_height, dst_width, dst_height,
3345 } else if (4 * dst_width == src_width && 4 * dst_height == src_height) {
3347 ScalePlaneDown4(src_width, src_height, dst_width, dst_height,
3349 } else if (8 * dst_width == src_width && 8 * dst_height == src_height) {
3351 ScalePlaneDown8(src_width, src_height, dst_width, dst_height,
3355 ScalePlaneDown(src_width, src_height, dst_width, dst_height,
3360 ScalePlaneAnySize(src_width, src_height, dst_width, dst_height,
3380 int dst_width, int dst_height,
3383 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) {
3399 int halfdst_width = (dst_width + 1) >> 1;
3403 dst_y, dst_stride_y, dst_width, dst_height,
3419 int dst_width, int dst_height,
3422 !dst_y || !dst_u || !dst_v || dst_width <= 0 || dst_height <= 0) {
3438 int halfdst_width = (dst_width + 1) >> 1;
3443 dst_y, dst_stride_y, dst_width, dst_height,
3455 uint8* dst, int dst_width, int dst_height, int ooffset,
3458 !dst || dst_width <= 0 || dst_height <= 0 || ooffset < 0 ||
3465 int halfdst_width = (dst_width + 1) >> 1;
3469 uint8* oyptr = dst + ooffset * dst_width;
3471 uint8* ouptr = dst + dst_width * dst_height + (ooffset >> 1) * halfdst_width;
3474 uint8* ovptr = dst + dst_width * dst_height + halfdst_width * halfoheight +
3477 src_width, src_height, oyptr, ouptr, ovptr, dst_width,
3478 halfdst_width, halfdst_width, dst_width, aheight, interpolate);