/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
H A D | scale_row.h | 88 int dst_width, int dst_height, 95 int dst_width, int dst_height, 103 int dst_width, int dst_height, 122 int dst_width, int dst_height, 127 uint8* dst, int dst_width); 129 uint16* dst, int dst_width); 131 uint8* dst, int dst_width); 133 uint16* dst, int dst_width); 135 uint8* dst, int dst_width); 137 uint16* dst, int dst_width); [all...] |
H A D | scale_argb.h | 26 int dst_width, int dst_height, 34 int dst_width, int dst_height, 48 int dst_width, int dst_height,
|
H A D | scale.h | 34 int dst_width, int dst_height, 41 int dst_width, int dst_height, 62 int dst_width, int dst_height, 73 int dst_width, int dst_height, 84 int dst_width, int dst_height, 90 uint8* dst_i420, int dst_width, int dst_height, int dst_yoffset,
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
H A D | scale_mips.cc | 25 uint8* dst, int dst_width) { 30 "srl $t9, %[dst_width], 4 \n" // iterations -> by 16 59 "andi $t9, %[dst_width], 0xf \n" // residue 75 : [dst_width] "r" (dst_width) 82 uint8* dst, int dst_width) { 89 "srl $t9, %[dst_width], 3 \n" // iterations -> step 8 146 "andi $t9, %[dst_width], 0x7 \n" // x = residue 175 : [dst_width] "r" (dst_width) 24 ScaleRowDown2_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 81 ScaleRowDown2Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 181 ScaleRowDown4_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 237 ScaleRowDown4Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 317 ScaleRowDown34_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 364 ScaleRowDown34_0_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 421 ScaleRowDown34_1_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 474 ScaleRowDown38_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 521 ScaleRowDown38_2_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 575 ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument [all...] |
H A D | scale_neon.cc | 27 uint8* dst, int dst_width) { 40 "+r"(dst_width) // %2 48 uint8* dst, int dst_width) { 64 "+r"(dst_width) // %2 72 uint8* dst, int dst_width) { 95 "+r"(dst_width) // %3 102 uint8* dst_ptr, int dst_width) { 114 "+r"(dst_width) // %2 121 uint8* dst_ptr, int dst_width) { 149 "+r"(dst_width), // 26 ScaleRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 47 ScaleRowDown2Linear_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 71 ScaleRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 101 ScaleRowDown4_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 120 ScaleRowDown4Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 161 ScaleRowDown34_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 182 ScaleRowDown34_0_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 242 ScaleRowDown34_1_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 297 ScaleRowDown38_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 324 ScaleRowDown38_3_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 444 ScaleRowDown38_2_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 587 ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 651 ScaleFilterRows_NEON(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) argument 749 ScaleARGBRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 773 ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 802 ScaleARGBRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 844 ScaleARGBRowDownEven_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 872 ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 928 ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 971 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument [all...] |
H A D | scale_neon64.cc | 25 uint8* dst, int dst_width) { 37 "+r"(dst_width) // %2 45 uint8* dst, int dst_width) { 60 "+r"(dst_width) // %2 68 uint8* dst, int dst_width) { 90 "+r"(dst_width) // %3 97 uint8* dst_ptr, int dst_width) { 108 "+r"(dst_width) // %2 115 uint8* dst_ptr, int dst_width) { 144 "+r"(dst_width) // 24 ScaleRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 44 ScaleRowDown2Linear_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 67 ScaleRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 96 ScaleRowDown4_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 114 ScaleRowDown4Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 153 ScaleRowDown34_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 173 ScaleRowDown34_0_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 233 ScaleRowDown34_1_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 288 ScaleRowDown38_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 313 ScaleRowDown38_3_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 442 ScaleRowDown38_2_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 590 ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 656 ScaleFilterRows_NEON(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) argument 755 ScaleARGBRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 778 ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 805 ScaleARGBRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 842 ScaleARGBRowDownEven_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 870 ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 928 ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 973 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument [all...] |
H A D | scale_common.cc | 32 uint8* dst, int dst_width) { 34 for (x = 0; x < dst_width - 1; x += 2) { 40 if (dst_width & 1) { 46 uint16* dst, int dst_width) { 48 for (x = 0; x < dst_width - 1; x += 2) { 54 if (dst_width & 1) { 60 uint8* dst, int dst_width) { 63 for (x = 0; x < dst_width - 1; x += 2) { 69 if (dst_width & 1) { 75 uint16* dst, int dst_width) { 31 ScaleRowDown2_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 45 ScaleRowDown2_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 59 ScaleRowDown2Linear_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 74 ScaleRowDown2Linear_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 89 ScaleRowDown2Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 106 ScaleRowDown2Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 123 ScaleRowDown4_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 137 ScaleRowDown4_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 151 ScaleRowDown4Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 187 ScaleRowDown4Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 223 ScaleRowDown34_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 236 ScaleRowDown34_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 250 ScaleRowDown34_0_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 272 ScaleRowDown34_0_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* d, int dst_width) argument 295 ScaleRowDown34_1_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 317 ScaleRowDown34_1_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* d, int dst_width) argument 340 ScaleCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 355 ScaleCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument 371 ScaleColsUp2_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 384 ScaleColsUp2_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument 401 ScaleFilterCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 425 ScaleFilterCols64_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x32, int dx) argument 454 ScaleFilterCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument 478 ScaleFilterCols64_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x32, int dx) argument 504 ScaleRowDown38_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 517 ScaleRowDown38_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 531 ScaleRowDown38_3_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 557 ScaleRowDown38_3_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int dst_width) argument 584 ScaleRowDown38_2_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 604 ScaleRowDown38_2_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int dst_width) argument 652 ScaleARGBRowDown2_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 670 ScaleARGBRowDown2Linear_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 684 ScaleARGBRowDown2Box_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 701 ScaleARGBRowDownEven_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 719 ScaleARGBRowDownEvenBox_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 739 ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 756 ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument 775 ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 798 ScaleARGBFilterCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 827 ScaleARGBFilterCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument 861 ScalePlaneVertical(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int y, int dy, int bpp, enum FilterMode filtering) argument 935 ScalePlaneVertical_16(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_argb, uint16* dst_argb, int x, int y, int dy, int wpp, enum FilterMode filtering) argument 1011 ScaleFilterReduce(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering) argument 1066 ScaleSlope(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering, int* x, int* y, int* dx, int* dy) argument [all...] |
H A D | scale.cc | 37 int dst_width, int dst_height, 43 uint8* dst_ptr, int dst_width) = 57 if (IS_ALIGNED(dst_width, 16)) { 69 if (IS_ALIGNED(dst_width, 16)) { 81 if (IS_ALIGNED(dst_width, 32)) { 102 ScaleRowDown2(src_ptr, src_stride, dst_ptr, dst_width); 109 int dst_width, int dst_height, 115 uint16* dst_ptr, int dst_width) = 126 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { 132 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 1 36 ScalePlaneDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 108 ScalePlaneDown2_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 162 ScalePlaneDown4(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 222 ScalePlaneDown4_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 269 ScalePlaneDown34(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 366 ScalePlaneDown34_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 461 ScalePlaneDown38(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 557 ScalePlaneDown38_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 657 ScaleAddCols2_C(int dst_width, int boxheight, int x, int dx, const uint16* src_ptr, uint8* dst_ptr) argument 674 ScaleAddCols2_16_C(int dst_width, int boxheight, int x, int dx, const uint32* src_ptr, uint16* dst_ptr) argument 692 ScaleAddCols0_C(int dst_width, int boxheight, int x, int, const uint16* src_ptr, uint8* dst_ptr) argument 702 ScaleAddCols1_C(int dst_width, int boxheight, int x, int dx, const uint16* src_ptr, uint8* dst_ptr) argument 714 ScaleAddCols1_16_C(int dst_width, int boxheight, int x, int dx, const uint32* src_ptr, uint16* dst_ptr) argument 732 ScalePlaneBox(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument 801 ScalePlaneBox_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr) argument 852 ScalePlaneBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 956 ScalePlaneBilinearDown_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 1053 ScalePlaneBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 1192 ScalePlaneBilinearUp_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 1328 ScalePlaneSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument 1360 ScalePlaneSimple_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr) argument 1397 ScalePlane(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, enum FilterMode filtering) argument 1480 ScalePlane_16(const uint16* src, int src_stride, int src_width, int src_height, uint16* dst, int dst_stride, int dst_width, int dst_height, enum FilterMode filtering) argument 1566 I420Scale(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, int src_width, int src_height, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int dst_width, int dst_height, enum FilterMode filtering) argument 1598 I420Scale_16(const uint16* src_y, int src_stride_y, const uint16* src_u, int src_stride_u, const uint16* src_v, int src_stride_v, int src_width, int src_height, uint16* dst_y, int dst_stride_y, uint16* dst_u, int dst_stride_u, uint16* dst_v, int dst_stride_v, int dst_width, int dst_height, enum FilterMode filtering) argument 1631 Scale(const uint8* src_y, const uint8* src_u, const uint8* src_v, int src_stride_y, int src_stride_u, int src_stride_v, int src_width, int src_height, uint8* dst_y, uint8* dst_u, uint8* dst_v, int dst_stride_y, int dst_stride_u, int dst_stride_v, int dst_width, int dst_height, LIBYUV_BOOL interpolate) argument 1651 ScaleOffset(const uint8* src, int src_width, int src_height, uint8* dst, int dst_width, int dst_height, int dst_yoffset, LIBYUV_BOOL interpolate) argument [all...] |
H A D | scale_gcc.cc | 100 uint8* dst_ptr, int dst_width) { 116 "+r"(dst_width) // %2 122 uint8* dst_ptr, int dst_width) { 147 "+r"(dst_width) // %2 153 uint8* dst_ptr, int dst_width) { 182 "+r"(dst_width) // %2 190 uint8* dst_ptr, int dst_width) { 212 "+r"(dst_width) // %2 218 uint8* dst_ptr, int dst_width) { 262 "+r"(dst_width), // 99 ScaleRowDown2_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 121 ScaleRowDown2Linear_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 152 ScaleRowDown2Box_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 189 ScaleRowDown4_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 217 ScaleRowDown4Box_SSE2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 270 ScaleRowDown34_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 305 ScaleRowDown34_1_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 370 ScaleRowDown34_0_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 439 ScaleRowDown38_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 468 ScaleRowDown38_2_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 513 ScaleRowDown38_3_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 622 ScaleFilterCols_SSSE3(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 695 ScaleColsUp2_SSE2(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 718 ScaleARGBRowDown2_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 739 ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 763 ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 795 ScaleARGBRowDownEven_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 828 ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 872 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 941 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 977 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument [all...] |
H A D | scale_argb.cc | 34 int dst_width, int dst_height, 42 uint8* dst_argb, int dst_width) = 60 if (IS_ALIGNED(dst_width, 4)) { 72 if (IS_ALIGNED(dst_width, 8)) { 84 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width); 94 int dst_width, int dst_height, 100 const int kRowSize = (dst_width * 2 * 4 + 31) & ~31; 104 uint8* dst_argb, int dst_width) = ScaleARGBRowDown2Box_C; 112 if (IS_ALIGNED(dst_width, 4)) { 120 if (IS_ALIGNED(dst_width, 33 ScaleARGBDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 93 ScaleARGBDown4Box(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument 140 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 187 ScaleARGBBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 297 ScaleARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 442 ScaleYUVToARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride_y, int src_stride_u, int src_stride_v, int dst_stride_argb, const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 662 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument 704 ScaleARGB(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument 812 ARGBScaleClip(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument 834 ARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, enum FilterMode filtering) argument [all...] |
/external/libyuv/files/source/ |
H A D | scale_mips.cc | 25 uint8* dst, int dst_width) { 30 "srl $t9, %[dst_width], 4 \n" // iterations -> by 16 58 "andi $t9, %[dst_width], 0xf \n" // residue 74 : [dst_width] "r" (dst_width) 81 uint8* dst, int dst_width) { 88 "srl $t9, %[dst_width], 3 \n" // iterations -> step 8 144 "andi $t9, %[dst_width], 0x7 \n" // x = residue 173 : [dst_width] "r" (dst_width) 24 ScaleRowDown2_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 80 ScaleRowDown2Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 179 ScaleRowDown4_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 234 ScaleRowDown4Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 313 ScaleRowDown34_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 359 ScaleRowDown34_0_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 415 ScaleRowDown34_1_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 467 ScaleRowDown38_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 513 ScaleRowDown38_2_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 566 ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument [all...] |
H A D | scale_neon.cc | 27 uint8* dst, int dst_width) { 39 "+r"(dst_width) // %2 47 uint8* dst, int dst_width) { 62 "+r"(dst_width) // %2 70 uint8* dst, int dst_width) { 92 "+r"(dst_width) // %3 99 uint8* dst_ptr, int dst_width) { 110 "+r"(dst_width) // %2 117 uint8* dst_ptr, int dst_width) { 144 "+r"(dst_width), // 26 ScaleRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 46 ScaleRowDown2Linear_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 69 ScaleRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 98 ScaleRowDown4_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 116 ScaleRowDown4Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 156 ScaleRowDown34_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 176 ScaleRowDown34_0_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 235 ScaleRowDown34_1_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 289 ScaleRowDown38_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 315 ScaleRowDown38_3_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 434 ScaleRowDown38_2_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 579 ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 642 ScaleFilterRows_NEON(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) argument 740 ScaleARGBRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 763 ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 791 ScaleARGBRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 832 ScaleARGBRowDownEven_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 859 ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 914 ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 956 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument [all...] |
H A D | scale_neon64.cc | 25 uint8* dst, int dst_width) { 37 "+r"(dst_width) // %2 45 uint8* dst, int dst_width) { 60 "+r"(dst_width) // %2 68 uint8* dst, int dst_width) { 90 "+r"(dst_width) // %3 97 uint8* dst_ptr, int dst_width) { 108 "+r"(dst_width) // %2 115 uint8* dst_ptr, int dst_width) { 144 "+r"(dst_width) // 24 ScaleRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 44 ScaleRowDown2Linear_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 67 ScaleRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 96 ScaleRowDown4_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 114 ScaleRowDown4Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 153 ScaleRowDown34_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 173 ScaleRowDown34_0_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 233 ScaleRowDown34_1_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 288 ScaleRowDown38_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 313 ScaleRowDown38_3_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 442 ScaleRowDown38_2_Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 590 ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 656 ScaleFilterRows_NEON(uint8* dst_ptr, const uint8* src_ptr, ptrdiff_t src_stride, int dst_width, int source_y_fraction) argument 755 ScaleARGBRowDown2_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 778 ScaleARGBRowDown2Linear_NEON(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 805 ScaleARGBRowDown2Box_NEON(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 842 ScaleARGBRowDownEven_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 870 ScaleARGBRowDownEvenBox_NEON(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 928 ScaleARGBCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 973 ScaleARGBFilterCols_NEON(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument [all...] |
H A D | scale_common.cc | 32 uint8* dst, int dst_width) { 34 for (x = 0; x < dst_width - 1; x += 2) { 40 if (dst_width & 1) { 46 uint16* dst, int dst_width) { 48 for (x = 0; x < dst_width - 1; x += 2) { 54 if (dst_width & 1) { 60 uint8* dst, int dst_width) { 63 for (x = 0; x < dst_width - 1; x += 2) { 69 if (dst_width & 1) { 75 uint16* dst, int dst_width) { 31 ScaleRowDown2_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 45 ScaleRowDown2_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 59 ScaleRowDown2Linear_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 74 ScaleRowDown2Linear_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 89 ScaleRowDown2Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 106 ScaleRowDown2Box_Odd_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 128 ScaleRowDown2Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 145 ScaleRowDown4_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 159 ScaleRowDown4_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 173 ScaleRowDown4Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 209 ScaleRowDown4Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 245 ScaleRowDown34_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 258 ScaleRowDown34_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 272 ScaleRowDown34_0_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 294 ScaleRowDown34_0_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* d, int dst_width) argument 317 ScaleRowDown34_1_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* d, int dst_width) argument 339 ScaleRowDown34_1_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* d, int dst_width) argument 362 ScaleCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 377 ScaleCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument 393 ScaleColsUp2_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 406 ScaleColsUp2_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument 429 ScaleFilterCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 453 ScaleFilterCols64_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x32, int dx) argument 483 ScaleFilterCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument 507 ScaleFilterCols64_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x32, int dx) argument 533 ScaleRowDown38_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst, int dst_width) argument 546 ScaleRowDown38_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst, int dst_width) argument 560 ScaleRowDown38_3_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 586 ScaleRowDown38_3_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int dst_width) argument 613 ScaleRowDown38_2_Box_C(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 633 ScaleRowDown38_2_Box_16_C(const uint16* src_ptr, ptrdiff_t src_stride, uint16* dst_ptr, int dst_width) argument 681 ScaleARGBRowDown2_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 699 ScaleARGBRowDown2Linear_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 713 ScaleARGBRowDown2Box_C(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 730 ScaleARGBRowDownEven_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 748 ScaleARGBRowDownEvenBox_C(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 768 ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 785 ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument 804 ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 828 ScaleARGBFilterCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 857 ScaleARGBFilterCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument 891 ScalePlaneVertical(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int y, int dy, int bpp, enum FilterMode filtering) argument 957 ScalePlaneVertical_16(int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_argb, uint16* dst_argb, int x, int y, int dy, int wpp, enum FilterMode filtering) argument 1033 ScaleFilterReduce(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering) argument 1088 ScaleSlope(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering, int* x, int* y, int* dx, int* dy) argument [all...] |
H A D | scale.cc | 37 int dst_width, int dst_height, 43 uint8* dst_ptr, int dst_width) = 57 if (IS_ALIGNED(dst_width, 16)) { 69 if (IS_ALIGNED(dst_width, 16)) { 81 if (IS_ALIGNED(dst_width, 32)) { 102 ScaleRowDown2(src_ptr, src_stride, dst_ptr, dst_width); 109 int dst_width, int dst_height, 115 uint16* dst_ptr, int dst_width) = 126 if (TestCpuFlag(kCpuHasNEON) && IS_ALIGNED(dst_width, 16)) { 132 if (TestCpuFlag(kCpuHasSSE2) && IS_ALIGNED(dst_width, 1 36 ScalePlaneDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 108 ScalePlaneDown2_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 162 ScalePlaneDown4(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 222 ScalePlaneDown4_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 269 ScalePlaneDown34(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 366 ScalePlaneDown34_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 461 ScalePlaneDown38(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 557 ScalePlaneDown38_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 657 ScaleAddCols2_C(int dst_width, int boxheight, int x, int dx, const uint16* src_ptr, uint8* dst_ptr) argument 674 ScaleAddCols2_16_C(int dst_width, int boxheight, int x, int dx, const uint32* src_ptr, uint16* dst_ptr) argument 691 ScaleAddCols0_C(int dst_width, int boxheight, int x, int, const uint16* src_ptr, uint8* dst_ptr) argument 701 ScaleAddCols1_C(int dst_width, int boxheight, int x, int dx, const uint16* src_ptr, uint8* dst_ptr) argument 713 ScaleAddCols1_16_C(int dst_width, int boxheight, int x, int dx, const uint32* src_ptr, uint16* dst_ptr) argument 731 ScalePlaneBox(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument 800 ScalePlaneBox_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr) argument 851 ScalePlaneBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 947 ScalePlaneBilinearDown_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 1044 ScalePlaneBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr, enum FilterMode filtering) argument 1175 ScalePlaneBilinearUp_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr, enum FilterMode filtering) argument 1311 ScalePlaneSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_ptr, uint8* dst_ptr) argument 1343 ScalePlaneSimple_16(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint16* src_ptr, uint16* dst_ptr) argument 1380 ScalePlane(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, enum FilterMode filtering) argument 1463 ScalePlane_16(const uint16* src, int src_stride, int src_width, int src_height, uint16* dst, int dst_stride, int dst_width, int dst_height, enum FilterMode filtering) argument 1549 I420Scale(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, int src_width, int src_height, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int dst_width, int dst_height, enum FilterMode filtering) argument 1581 I420Scale_16(const uint16* src_y, int src_stride_y, const uint16* src_u, int src_stride_u, const uint16* src_v, int src_stride_v, int src_width, int src_height, uint16* dst_y, int dst_stride_y, uint16* dst_u, int dst_stride_u, uint16* dst_v, int dst_stride_v, int dst_width, int dst_height, enum FilterMode filtering) argument 1614 Scale(const uint8* src_y, const uint8* src_u, const uint8* src_v, int src_stride_y, int src_stride_u, int src_stride_v, int src_width, int src_height, uint8* dst_y, uint8* dst_u, uint8* dst_v, int dst_stride_y, int dst_stride_u, int dst_stride_v, int dst_width, int dst_height, LIBYUV_BOOL interpolate) argument 1634 ScaleOffset(const uint8* src, int src_width, int src_height, uint8* dst, int dst_width, int dst_height, int dst_yoffset, LIBYUV_BOOL interpolate) argument [all...] |
H A D | scale_gcc.cc | 102 uint8* dst_ptr, int dst_width) { 118 "+r"(dst_width) // %2 124 uint8* dst_ptr, int dst_width) { 147 "+r"(dst_width) // %2 153 uint8* dst_ptr, int dst_width) { 184 "+r"(dst_width) // %2 193 uint8* dst_ptr, int dst_width) { 211 "+r"(dst_width) // %2 217 uint8* dst_ptr, int dst_width) { 242 "+r"(dst_width) // 101 ScaleRowDown2_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 123 ScaleRowDown2Linear_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 152 ScaleRowDown2Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 192 ScaleRowDown2_AVX2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 216 ScaleRowDown2Linear_AVX2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 247 ScaleRowDown2Box_AVX2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 289 ScaleRowDown4_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 317 ScaleRowDown4Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 373 ScaleRowDown4_AVX2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 403 ScaleRowDown4Box_AVX2(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 458 ScaleRowDown34_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 493 ScaleRowDown34_1_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 558 ScaleRowDown34_0_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 627 ScaleRowDown38_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 656 ScaleRowDown38_2_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 701 ScaleRowDown38_3_Box_SSSE3(const uint8* src_ptr, ptrdiff_t src_stride, uint8* dst_ptr, int dst_width) argument 835 ScaleFilterCols_SSSE3(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 928 ScaleColsUp2_SSE2(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument 951 ScaleARGBRowDown2_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 972 ScaleARGBRowDown2Linear_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 996 ScaleARGBRowDown2Box_SSE2(const uint8* src_argb, ptrdiff_t src_stride, uint8* dst_argb, int dst_width) argument 1028 ScaleARGBRowDownEven_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 1061 ScaleARGBRowDownEvenBox_SSE2(const uint8* src_argb, ptrdiff_t src_stride, int src_stepx, uint8* dst_argb, int dst_width) argument 1105 ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 1174 ScaleARGBColsUp2_SSE2(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument 1210 ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument [all...] |
H A D | scale_argb.cc | 34 int dst_width, int dst_height, 42 uint8* dst_argb, int dst_width) = 60 if (IS_ALIGNED(dst_width, 4)) { 72 if (IS_ALIGNED(dst_width, 8)) { 84 ScaleARGBRowDown2(src_argb, src_stride, dst_argb, dst_width); 94 int dst_width, int dst_height, 100 const int kRowSize = (dst_width * 2 * 4 + 31) & ~31; 104 uint8* dst_argb, int dst_width) = ScaleARGBRowDown2Box_C; 112 if (IS_ALIGNED(dst_width, 4)) { 120 if (IS_ALIGNED(dst_width, 33 ScaleARGBDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 93 ScaleARGBDown4Box(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument 140 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 187 ScaleARGBBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 289 ScaleARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 426 ScaleYUVToARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride_y, int src_stride_u, int src_stride_v, int dst_stride_argb, const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument 638 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument 680 ScaleARGB(const uint8* src, int src_stride, int src_width, int src_height, uint8* dst, int dst_stride, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument 788 ARGBScaleClip(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument 810 ARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, enum FilterMode filtering) argument 828 YUVToARGBScaleClip(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint32 src_fourcc, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, uint32 dst_fourcc, int dst_width, int dst_height, int clip_x, int clip_y, int clip_width, int clip_height, enum FilterMode filtering) argument [all...] |
/external/libyuv/files/include/libyuv/ |
H A D | scale_row.h | 107 int dst_width, int dst_height, 114 int dst_width, int dst_height, 122 int dst_width, int dst_height, 141 int dst_width, int dst_height, 146 uint8* dst, int dst_width); 148 uint16* dst, int dst_width); 150 uint8* dst, int dst_width); 152 uint16* dst, int dst_width); 154 uint8* dst, int dst_width); 156 uint8* dst, int dst_width); [all...] |
H A D | scale_argb.h | 26 int dst_width, int dst_height, 34 int dst_width, int dst_height, 47 int dst_width, int dst_height,
|
H A D | scale.h | 34 int dst_width, int dst_height, 41 int dst_width, int dst_height, 62 int dst_width, int dst_height, 73 int dst_width, int dst_height, 84 int dst_width, int dst_height, 90 uint8* dst_i420, int dst_width, int dst_height, int dst_yoffset,
|
/external/libyuv/files/unit_test/ |
H A D | rotate_test.cc | 20 int dst_width, int dst_height, 30 if (dst_width < 1) { 31 dst_width = 1; 44 int dst_i420_y_size = dst_width * dst_height; 45 int dst_i420_uv_size = ((dst_width + 1) / 2) * ((dst_height + 1) / 2); 56 dst_i420_c, dst_width, 57 dst_i420_c + dst_i420_y_size, (dst_width + 1) / 2, 59 (dst_width + 1) / 2, 68 dst_i420_opt, dst_width, 69 dst_i420_opt + dst_i420_y_size, (dst_width 19 I420TestRotate(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int benchmark_iterations, int disable_cpu_flags, int benchmark_cpu_info) argument 144 NV12TestRotate(int src_width, int src_height, int dst_width, int dst_height, libyuv::RotationMode mode, int benchmark_iterations, int disable_cpu_flags, int benchmark_cpu_info) argument [all...] |
/external/libyuv/files/util/ |
H A D | convert.cc | 32 int dst_width = 0, dst_height = 0; // new width and height variable 95 dst_width = atoi(argv[++c]); // NOLINT 147 if (dst_width == 0 || dst_height == 0) { 149 dst_width = rec_width; 152 dst_width = Abs(image_width); 164 int dst_width, int dst_height, 167 for (int x = 0; x < dst_width; x += kTileX) { 169 if (x + clip_width > dst_width) { 170 clip_width = dst_width - x; 179 dst_width, dst_heigh 161 TileARGBScale(const uint8* src_argb, int src_stride_argb, int src_width, int src_height, uint8* dst_argb, int dst_stride_argb, int dst_width, int dst_height, libyuv::FilterMode filtering) argument [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_gather.c | 77 unsigned dst_width, 84 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); 94 assert(src_width <= dst_width); 95 if (src_width > dst_width) 97 if (src_width < dst_width) 107 * For SSE, typical values are length=4, src_width=32, dst_width=32. 111 * @param dst_width result element width in bits (src will be expanded to fit) 119 unsigned dst_width, 128 src_width, dst_width, 133 LLVMTypeRef dst_elem_type = LLVMIntTypeInContext(gallivm->context, dst_width); 74 lp_build_gather_elem(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, LLVMValueRef base_ptr, LLVMValueRef offsets, unsigned i) argument 116 lp_build_gather(struct gallivm_state *gallivm, unsigned length, unsigned src_width, unsigned dst_width, LLVMValueRef base_ptr, LLVMValueRef offsets) argument [all...] |
H A D | lp_bld_gather.h | 47 unsigned dst_width, 56 unsigned dst_width,
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_alpha.c | 75 const unsigned dst_width = 8; local 80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha); 81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref);
|