Browse code

Add a CONFIG_SWSCALE_ALPHA option for alpha channel scaling (enabled by default)

Originally committed as revision 18075 to svn://svn.ffmpeg.org/ffmpeg/trunk

Cédric Schieli authored on 2009/03/20 23:12:47
Showing 1 changed files
... ...
@@ -92,6 +92,7 @@ show_help(){
92 92
   echo "  --disable-ipv6           disable IPv6 support [no]"
93 93
   echo "  --disable-mpegaudio-hp   faster (but less accurate) MPEG audio decoding [no]"
94 94
   echo "  --enable-gray            enable full grayscale support (slower color)"
95
+  echo "  --disable-swscale-alpha  disable alpha channel support in swscale"
95 96
   echo "  --disable-fastdiv        disable table-based division"
96 97
   echo "  --enable-small           optimize for size instead of speed"
97 98
   echo "  --disable-aandct         disable AAN DCT code"
... ...
@@ -802,6 +803,7 @@ CONFIG_LIST="
802 802
     shared
803 803
     small
804 804
     static
805
+    swscale_alpha
805 806
     x11grab
806 807
     zlib
807 808
 "
... ...
@@ -1178,6 +1180,7 @@ enable optimizations
1178 1178
 enable protocols
1179 1179
 enable static
1180 1180
 enable stripping
1181
+enable swscale_alpha
1181 1182
 
1182 1183
 # build settings
1183 1184
 add_cflags -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112