diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-02-01 19:25:09 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-02-01 19:25:09 +0000 |
commit | 1e621b18b22bed3596321d5265bd7c88d831834f (patch) | |
tree | 947ce7d6a15d648f0b764d9f65bb969773d4ee2f /postproc/swscale.h | |
parent | 1f347f225daac26baefc5b3154458b749d6962a9 (diff) | |
download | ffmpeg-1e621b18b22bed3596321d5265bd7c88d831834f.tar.gz |
YUY2, BGR24, BGR32 input support (no mmx yet)
Originally committed as revision 4468 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale.h')
-rw-r--r-- | postproc/swscale.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/postproc/swscale.h b/postproc/swscale.h index 755d07e07e..1440745078 100644 --- a/postproc/swscale.h +++ b/postproc/swscale.h @@ -23,7 +23,15 @@ #define SWS_X 8 #define SWS_POINT 0x10 #define SWS_AREA 0x20 -#define SWS_FULL_UV_IPOL 0x100 + +//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 +#define SWS_DIRECT_BGR 0x800 + #define SWS_PRINT_INFO 0x1000 #define SWS_MAX_REDUCE_CUTOFF 0.002 @@ -31,7 +39,7 @@ /* this struct should be aligned on at least 32-byte boundary */ typedef struct{ int srcW, srcH, dstW, dstH; - int chrDstW, chrDstH; + int chrSrcW, chrSrcH, chrDstW, chrDstH; int lumXInc, chrXInc; int lumYInc, chrYInc; int dstFormat, srcFormat; @@ -50,6 +58,7 @@ typedef struct{ // Contain simply the values from v(Lum|Chr)Filter just nicely packed for mmx int16_t *lumMmxFilter; int16_t *chrMmxFilter; + uint8_t formatConvBuffer[4000]; //FIXME dynamic alloc, but we have to change alot of code for this to be usefull int hLumFilterSize; int hChrFilterSize; |