# HG changeset patch # User michael # Date 1221256013 0 # Node ID f5565112d12f81113df5f85c66389fda4a1bc97e # Parent 21590d0bb4e685408af94711508da222d6e274de Add bitexact flag. diff -r 21590d0bb4e6 -r f5565112d12f libswscale/swscale.h --- a/libswscale/swscale.h Fri Sep 12 21:25:42 2008 +0000 +++ b/libswscale/swscale.h Fri Sep 12 21:46:53 2008 +0000 @@ -75,6 +75,7 @@ #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 -r 21590d0bb4e6 -r f5565112d12f libswscale/swscale_avoption.c --- a/libswscale/swscale_avoption.c Fri Sep 12 21:25:42 2008 +0000 +++ b/libswscale/swscale_avoption.c Fri Sep 12 21:46:53 2008 +0000 @@ -53,6 +53,7 @@ { "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 } };