Revision 80853cfc libswscale/swscale.c

View differences:

libswscale/swscale.c
1863 1863
    } else if (flags & SWS_CPU_CAPS_MMX) {
1864 1864
        sws_init_swScale_MMX(c);
1865 1865
        return swScale_MMX;
1866
    } else {
1867
        sws_init_swScale_C(c);
1868
        return swScale_C;
1869 1866
    }
1870

  
1871 1867
#else
1872 1868
#if ARCH_PPC
1873 1869
    if (flags & SWS_CPU_CAPS_ALTIVEC) {
1874 1870
        sws_init_swScale_altivec(c);
1875 1871
        return swScale_altivec;
1876
    } else {
1877
        sws_init_swScale_C(c);
1878
        return swScale_C;
1879 1872
    }
1880 1873
#endif
1881
    sws_init_swScale_C(c);
1882
    return swScale_C;
1883 1874
#endif /* ARCH_X86 && CONFIG_GPL */
1884 1875
#else //CONFIG_RUNTIME_CPUDETECT
1885 1876
#if   COMPILE_TEMPLATE_MMX2
......
1894 1885
#elif COMPILE_TEMPLATE_ALTIVEC
1895 1886
    sws_init_swScale_altivec(c);
1896 1887
    return swScale_altivec;
1897
#else
1898
    sws_init_swScale_C(c);
1899
    return swScale_C;
1900 1888
#endif
1901 1889
#endif //!CONFIG_RUNTIME_CPUDETECT
1890

  
1891
    sws_init_swScale_C(c);
1892
    return swScale_C;
1902 1893
}
1903 1894

  
1904 1895
static int PlanarToNV12Wrapper(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSliceY,

Also available in: Unified diff