diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-06-24 00:18:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-06-24 00:18:29 +0000 |
commit | 5859233b70289d2f5bf5474559a4efe3e17ff6e0 (patch) | |
tree | 9445778d6172b493b199816c5b959fdb619bd5f5 /postproc/swscale.h | |
parent | 0c51ef979f715b2e1ecb7f921f65a2a4883eec86 (diff) | |
download | ffmpeg-5859233b70289d2f5bf5474559a4efe3e17ff6e0.tar.gz |
100l (non mmx versions didnt compile)
some cleanup
Originally committed as revision 6541 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale.h')
-rw-r--r-- | postproc/swscale.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/postproc/swscale.h b/postproc/swscale.h index bd28e5b6e6..85af9a9d2a 100644 --- a/postproc/swscale.h +++ b/postproc/swscale.h @@ -24,9 +24,11 @@ #define SWS_POINT 0x10 #define SWS_AREA 0x20 +#define SWS_SRC_V_CHR_DROP_MASK 0x300 +#define SWS_SRC_V_CHR_DROP_SHIFT 8 + //the following 4 flags are not completly implemented //internal chrominace subsamling info -#define SWS_FULL_CHR_V 0x100 #define SWS_FULL_CHR_H_INT 0x200 //input subsampling info #define SWS_FULL_CHR_H_INP 0x400 @@ -46,6 +48,7 @@ typedef struct SwsContext{ int chrSrcHSubSample, chrSrcVSubSample; int chrIntHSubSample, chrIntVSubSample; int chrDstHSubSample, chrDstVSubSample; + int vChrDrop; int16_t **lumPixBuf; int16_t **chrPixBuf; @@ -125,6 +128,7 @@ void freeSwsContext(SwsContext *swsContext); SwsContext *getSwsContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat); SwsContext *getSwsContext(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter); +void swsGetFlagsAndFilterFromCmdLine(int *flags, SwsFilter **srcFilterParam, SwsFilter **dstFilterParam); SwsVector *getGaussianVec(double variance, double quality); SwsVector *getConstVec(double c, int length); |