Revision 40fa5140 libswscale/swscale_internal.h

View differences:

libswscale/swscale_internal.h
214 214
    uint64_t sparc_coeffs[10] __attribute__((aligned(8)));
215 215
#endif
216 216

  
217
    /* function pointers for swScale() */
218
    void (*yuv2nv12X  )(struct SwsContext *c,
219
                        const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize,
220
                        const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize,
221
                        uint8_t *dest, uint8_t *uDest,
222
                        int dstW, int chrDstW, int dstFormat);
223
    void (*yuv2yuv1   )(struct SwsContext *c,
224
                        const int16_t *lumSrc, const int16_t *chrSrc, const int16_t *alpSrc,
225
                        uint8_t *dest,
226
                        uint8_t *uDest, uint8_t *vDest, uint8_t *aDest,
227
                        long dstW, long chrDstW);
228
    void (*yuv2yuvX   )(struct SwsContext *c,
229
                        const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize,
230
                        const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize,
231
                        const int16_t **alpSrc,
232
                        uint8_t *dest,
233
                        uint8_t *uDest, uint8_t *vDest, uint8_t *aDest,
234
                        long dstW, long chrDstW);
235
    void (*yuv2packed1)(struct SwsContext *c,
236
                        const uint16_t *buf0,
237
                        const uint16_t *uvbuf0, const uint16_t *uvbuf1,
238
                        const uint16_t *abuf0,
239
                        uint8_t *dest,
240
                        int dstW, int uvalpha, int dstFormat, int flags, int y);
241
    void (*yuv2packed2)(struct SwsContext *c,
242
                        const uint16_t *buf0, const uint16_t *buf1,
243
                        const uint16_t *uvbuf0, const uint16_t *uvbuf1,
244
                        const uint16_t *abuf0, const uint16_t *abuf1,
245
                        uint8_t *dest,
246
                        int dstW, int yalpha, int uvalpha, int y);
247
    void (*yuv2packedX)(struct SwsContext *c,
248
                        const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize,
249
                        const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize,
250
                        const int16_t **alpSrc, uint8_t *dest,
251
                        long dstW, long dstY);
252

  
253
    void (*hyscale_internal)(uint8_t *dst, const uint8_t *src,
254
                             long width, uint32_t *pal);
255
    void (*hcscale_internal)(uint8_t *dstU, uint8_t *dstV,
256
                             const uint8_t *src1, const uint8_t *src2,
257
                             long width, uint32_t *pal);
258
    void (*hyscale_fast)(struct SwsContext *c,
259
                         int16_t *dst, int dstWidth,
260
                         const uint8_t *src, int srcW, int xInc);
261
    void (*hcscale_fast)(struct SwsContext *c,
262
                         int16_t *dst, int dstWidth,
263
                         const uint8_t *src1, const uint8_t *src2, int srcW, int xInc);
264

  
265
    void (*hScale)(int16_t *dst, int dstW, const uint8_t *src, int srcW,
266
                   int xInc, const int16_t *filter, const int16_t *filterPos, long filterSize);
267

  
217 268
} SwsContext;
218 269
//FIXME check init (where 0)
219 270

  

Also available in: Unified diff