Revision a680708d

View differences:

libswscale/swscale_template.c
2073 2073
    assert(src1 == src2);
2074 2074
}
2075 2075

  
2076
static inline void RENAME(bgr16ToY)(uint8_t *dst, uint8_t *src, int width)
2076
static inline void RENAME(rgb16ToY)(uint8_t *dst, uint8_t *src, int width)
2077 2077
{
2078 2078
    int i;
2079 2079
    for (i=0; i<width; i++)
......
2087 2087
    }
2088 2088
}
2089 2089

  
2090
static inline void RENAME(bgr16ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2090
static inline void RENAME(rgb16ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2091 2091
{
2092 2092
    int i;
2093 2093
    assert(src1==src2);
......
2109 2109
    }
2110 2110
}
2111 2111

  
2112
static inline void RENAME(bgr15ToY)(uint8_t *dst, uint8_t *src, int width)
2112
static inline void RENAME(rgb15ToY)(uint8_t *dst, uint8_t *src, int width)
2113 2113
{
2114 2114
    int i;
2115 2115
    for (i=0; i<width; i++)
......
2123 2123
    }
2124 2124
}
2125 2125

  
2126
static inline void RENAME(bgr15ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2126
static inline void RENAME(rgb15ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2127 2127
{
2128 2128
    int i;
2129 2129
    assert(src1==src2);
......
2206 2206
    }
2207 2207
}
2208 2208

  
2209
static inline void RENAME(rgb16ToY)(uint8_t *dst, uint8_t *src, int width)
2209
static inline void RENAME(bgr16ToY)(uint8_t *dst, uint8_t *src, int width)
2210 2210
{
2211 2211
    int i;
2212 2212
    for (i=0; i<width; i++)
......
2220 2220
    }
2221 2221
}
2222 2222

  
2223
static inline void RENAME(rgb16ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2223
static inline void RENAME(bgr16ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2224 2224
{
2225 2225
    int i;
2226 2226
    assert(src1 == src2);
......
2239 2239
    }
2240 2240
}
2241 2241

  
2242
static inline void RENAME(rgb15ToY)(uint8_t *dst, uint8_t *src, int width)
2242
static inline void RENAME(bgr15ToY)(uint8_t *dst, uint8_t *src, int width)
2243 2243
{
2244 2244
    int i;
2245 2245
    for (i=0; i<width; i++)
......
2253 2253
    }
2254 2254
}
2255 2255

  
2256
static inline void RENAME(rgb15ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2256
static inline void RENAME(bgr15ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, int width)
2257 2257
{
2258 2258
    int i;
2259 2259
    assert(src1 == src2);

Also available in: Unified diff