Revision e470691a

View differences:

libswscale/swscale_template.c
1818 1818
#endif
1819 1819
}
1820 1820

  
1821
static inline void nv12ToUV(uint8_t *dstU, uint8_t *dstV,
1822
                            const uint8_t *src1, const uint8_t *src2,
1823
                            long width, uint32_t *unused)
1821
static inline void RENAME(nv12ToUV)(uint8_t *dstU, uint8_t *dstV,
1822
                                    const uint8_t *src1, const uint8_t *src2,
1823
                                    long width, uint32_t *unused)
1824 1824
{
1825 1825
    RENAME(nvXXtoUV)(dstU, dstV, src1, width);
1826 1826
}
1827 1827

  
1828
static inline void nv21ToUV(uint8_t *dstU, uint8_t *dstV,
1829
                            const uint8_t *src1, const uint8_t *src2,
1830
                            long width, uint32_t *unused)
1828
static inline void RENAME(nv21ToUV)(uint8_t *dstU, uint8_t *dstV,
1829
                                    const uint8_t *src1, const uint8_t *src2,
1830
                                    long width, uint32_t *unused)
1831 1831
{
1832 1832
    RENAME(nvXXtoUV)(dstV, dstU, src1, width);
1833 1833
}
......
2962 2962
    switch(srcFormat) {
2963 2963
        case PIX_FMT_YUYV422  : c->hcscale_internal = RENAME(yuy2ToUV); break;
2964 2964
        case PIX_FMT_UYVY422  : c->hcscale_internal = RENAME(uyvyToUV); break;
2965
        case PIX_FMT_NV12     : c->hcscale_internal = nv12ToUV; break;
2966
        case PIX_FMT_NV21     : c->hcscale_internal = nv21ToUV; break;
2965
        case PIX_FMT_NV12     : c->hcscale_internal = RENAME(nv12ToUV); break;
2966
        case PIX_FMT_NV21     : c->hcscale_internal = RENAME(nv21ToUV); break;
2967 2967
        case PIX_FMT_RGB8     :
2968 2968
        case PIX_FMT_BGR8     :
2969 2969
        case PIX_FMT_PAL8     :

Also available in: Unified diff