8 /* Dummy, only useful for compilation! */
9 #define SWS_FAST_BILINEAR 1
10 #define SWS_BILINEAR 2
13 #define SWS_POINT 0x10
15 #define SWS_BICUBLIN 0x40
16 #define SWS_GAUSS 0x80
17 #define SWS_SINC 0x100
18 #define SWS_LANCZOS 0x200
19 #define SWS_SPLINE 0x400
21 #define SwsFilter void
23 struct ImgReSampleContext *resampling_ctx;
24 enum PixelFormat src_pix_fmt, dst_pix_fmt;
27 struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat,
28 int dstW, int dstH, int dstFormat,
29 int flags, SwsFilter *srcFilter,
30 SwsFilter *dstFilter, double *param);
32 int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[],
33 int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);
35 void sws_freeContext(struct SwsContext *swsContext);
41 #endif /* SWSCALE_EMU_H */