Go to the documentation of this file.
21 #ifndef SWSCALE_SWSCALE_H
22 #define SWSCALE_SWSCALE_H
56 #define SWS_FAST_BILINEAR 1
57 #define SWS_BILINEAR 2
60 #define SWS_POINT 0x10
62 #define SWS_BICUBLIN 0x40
63 #define SWS_GAUSS 0x80
64 #define SWS_SINC 0x100
65 #define SWS_LANCZOS 0x200
66 #define SWS_SPLINE 0x400
68 #define SWS_SRC_V_CHR_DROP_MASK 0x30000
69 #define SWS_SRC_V_CHR_DROP_SHIFT 16
71 #define SWS_PARAM_DEFAULT 123456
73 #define SWS_PRINT_INFO 0x1000
77 #define SWS_FULL_CHR_H_INT 0x2000
79 #define SWS_FULL_CHR_H_INP 0x4000
80 #define SWS_DIRECT_BGR 0x8000
81 #define SWS_ACCURATE_RND 0x40000
82 #define SWS_BITEXACT 0x80000
83 #define SWS_ERROR_DIFFUSION 0x800000
85 #if FF_API_SWS_CPU_CAPS
90 #define SWS_CPU_CAPS_MMX 0x80000000
91 #define SWS_CPU_CAPS_MMXEXT 0x20000000
92 #define SWS_CPU_CAPS_MMX2 0x20000000
93 #define SWS_CPU_CAPS_3DNOW 0x40000000
94 #define SWS_CPU_CAPS_ALTIVEC 0x10000000
95 #define SWS_CPU_CAPS_BFIN 0x01000000
96 #define SWS_CPU_CAPS_SSE2 0x02000000
99 #define SWS_MAX_REDUCE_CUTOFF 0.002
101 #define SWS_CS_ITU709 1
103 #define SWS_CS_ITU601 5
104 #define SWS_CS_ITU624 5
105 #define SWS_CS_SMPTE170M 5
106 #define SWS_CS_SMPTE240M 7
107 #define SWS_CS_DEFAULT 5
175 #if FF_API_SWS_GETCONTEXT
225 const int srcStride[],
int srcSliceY,
int srcSliceH,
226 uint8_t *
const dst[],
const int dstStride[]);
301 float lumaSharpen,
float chromaSharpen,
302 float chromaHShift,
float chromaVShift,