diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-24 00:18:29 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-24 00:18:29 +0000 |
commit | d6648864bab3589a76a507159c1bc586f4755bee (patch) | |
tree | 594b867256f95db1ae2402c97233534306906ebb /postproc/swscale.h | |
parent | c20f4d0b428109bd9db1d0e1699a911eb46d7bd4 (diff) | |
download | mpv-d6648864bab3589a76a507159c1bc586f4755bee.tar.bz2 mpv-d6648864bab3589a76a507159c1bc586f4755bee.tar.xz |
100l (non mmx versions didnt compile)
some cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6541 b3059339-0415-0410-9bf9-f77b7e298cf2
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); |