Go to the documentation of this file.
21 #ifndef SWSCALE_SWSCALE_H
22 #define SWSCALE_SWSCALE_H
58 #define SWS_FAST_BILINEAR 1
59 #define SWS_BILINEAR 2
62 #define SWS_POINT 0x10
64 #define SWS_BICUBLIN 0x40
65 #define SWS_GAUSS 0x80
66 #define SWS_SINC 0x100
67 #define SWS_LANCZOS 0x200
68 #define SWS_SPLINE 0x400
70 #define SWS_SRC_V_CHR_DROP_MASK 0x30000
71 #define SWS_SRC_V_CHR_DROP_SHIFT 16
73 #define SWS_PARAM_DEFAULT 123456
75 #define SWS_PRINT_INFO 0x1000
79 #define SWS_FULL_CHR_H_INT 0x2000
81 #define SWS_FULL_CHR_H_INP 0x4000
82 #define SWS_DIRECT_BGR 0x8000
83 #define SWS_ACCURATE_RND 0x40000
84 #define SWS_BITEXACT 0x80000
85 #define SWS_ERROR_DIFFUSION 0x800000
87 #if FF_API_SWS_CPU_CAPS
92 #define SWS_CPU_CAPS_MMX 0x80000000
93 #define SWS_CPU_CAPS_MMXEXT 0x20000000
94 #define SWS_CPU_CAPS_MMX2 0x20000000
95 #define SWS_CPU_CAPS_3DNOW 0x40000000
96 #define SWS_CPU_CAPS_ALTIVEC 0x10000000
97 #define SWS_CPU_CAPS_BFIN 0x01000000
98 #define SWS_CPU_CAPS_SSE2 0x02000000
101 #define SWS_MAX_REDUCE_CUTOFF 0.002
103 #define SWS_CS_ITU709 1
105 #define SWS_CS_ITU601 5
106 #define SWS_CS_ITU624 5
107 #define SWS_CS_SMPTE170M 5
108 #define SWS_CS_SMPTE240M 7
109 #define SWS_CS_DEFAULT 5
170 #if FF_API_SWS_GETCONTEXT
220 const int srcStride[],
int srcSliceY,
int srcSliceH,
296 float lumaSharpen,
float chromaSharpen,
297 float chromaHShift,
float chromaVShift,