diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-12 21:46:53 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-12 21:46:53 +0000 |
commit | ceb700babbb5b4d82d16d470805fa041064c3c94 (patch) | |
tree | 162dc1ffa037b8d73088571c026b5878857e8045 /libswscale | |
parent | b82ecd6258b840b9351c886171119bd0b0a1f077 (diff) | |
download | ffmpeg-ceb700babbb5b4d82d16d470805fa041064c3c94.tar.gz |
Add bitexact flag.
Originally committed as revision 27592 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.h | 1 | ||||
-rw-r--r-- | libswscale/swscale_avoption.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 98e9b2ee0e..95ff4f1770 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -75,6 +75,7 @@ unsigned swscale_version(void); #define SWS_FULL_CHR_H_INP 0x4000 #define SWS_DIRECT_BGR 0x8000 #define SWS_ACCURATE_RND 0x40000 +#define SWS_BITEXACT 0x80000 #define SWS_CPU_CAPS_MMX 0x80000000 #define SWS_CPU_CAPS_MMX2 0x20000000 diff --git a/libswscale/swscale_avoption.c b/libswscale/swscale_avoption.c index 1878b4ea8f..996843df1d 100644 --- a/libswscale/swscale_avoption.c +++ b/libswscale/swscale_avoption.c @@ -53,6 +53,7 @@ static const AVOption options[] = { { "bfin", "Blackfin SIMD acceleration", 0, FF_OPT_TYPE_CONST, SWS_CPU_CAPS_BFIN, INT_MIN, INT_MAX, VE, "sws_flags" }, { "full_chroma_int", "full chroma interpolation", 0 , FF_OPT_TYPE_CONST, SWS_FULL_CHR_H_INT, INT_MIN, INT_MAX, VE, "sws_flags" }, { "full_chroma_inp", "full chroma input", 0 , FF_OPT_TYPE_CONST, SWS_FULL_CHR_H_INP, INT_MIN, INT_MAX, VE, "sws_flags" }, + { "bitexact", "", 0 , FF_OPT_TYPE_CONST, SWS_BITEXACT, INT_MIN, INT_MAX, VE, "sws_flags" }, { NULL } }; |