BUILD: Always enable indeo3 codec

This commit is contained in:
Max Horn 2011-05-05 16:34:17 +02:00
parent 8387b68c57
commit 717a7accf5
6 changed files with 0 additions and 38 deletions

23
configure vendored
View file

@ -145,7 +145,6 @@ _text_console=no
_mt32emu=yes _mt32emu=yes
_build_scalers=yes _build_scalers=yes
_build_hq_scalers=yes _build_hq_scalers=yes
_indeo3=auto
_enable_prof=no _enable_prof=no
_posix=no _posix=no
_global_constructors=no _global_constructors=no
@ -746,8 +745,6 @@ Optional Libraries:
--with-opengl-prefix=DIR Prefix where OpenGL (ES) is installed (optional) --with-opengl-prefix=DIR Prefix where OpenGL (ES) is installed (optional)
--disable-opengl disable OpenGL (ES) support [autodetect] --disable-opengl disable OpenGL (ES) support [autodetect]
--disable-indeo3 disable Indeo3 decoder [autodetect]
--with-png-prefix=DIR Prefix where libpng is installed (optional) --with-png-prefix=DIR Prefix where libpng is installed (optional)
--disable-png disable PNG decoder [autodetect] --disable-png disable PNG decoder [autodetect]
@ -806,8 +803,6 @@ for ac_option in $@; do
--enable-nasm) _nasm=yes ;; --enable-nasm) _nasm=yes ;;
--disable-nasm) _nasm=no ;; --disable-nasm) _nasm=no ;;
--enable-mpeg2) _mpeg2=yes ;; --enable-mpeg2) _mpeg2=yes ;;
--disable-indeo3) _indeo3=no ;;
--enable-indeo3) _indeo3=yes ;;
--disable-png) _png=no ;; --disable-png) _png=no ;;
--enable-png) _png=yes ;; --enable-png) _png=yes ;;
--disable-theoradec) _theoradec=no ;; --disable-theoradec) _theoradec=no ;;
@ -1935,7 +1930,6 @@ if test -n "$_host"; then
_backend="n64" _backend="n64"
_mt32emu=no _mt32emu=no
_build_scalers=no _build_scalers=no
_indeo3=no
_translation=no _translation=no
_keymapper=no _keymapper=no
_text_console=no _text_console=no
@ -2537,19 +2531,6 @@ define_in_config_if_yes "$_build_scalers" 'USE_SCALERS'
define_in_config_if_yes "$_build_hq_scalers" 'USE_HQ_SCALERS' define_in_config_if_yes "$_build_hq_scalers" 'USE_HQ_SCALERS'
#
# Check whether to compile the Indeo3 decoder
#
if test "$_indeo3" = auto ; then
# Autodetect. Build if either the gob engine or plugins are enabled
if test `get_engine_build gob` = yes || test "$_dynamic_modules" = yes ; then
_indeo3=yes
else
_indeo3=no
fi
fi
define_in_config_if_yes "$_indeo3" 'USE_INDEO3'
# #
# Check for math lib # Check for math lib
# #
@ -3157,10 +3138,6 @@ if test "$_mt32emu" = yes ; then
echo_n ", MT-32 emu" echo_n ", MT-32 emu"
fi fi
if test "$_indeo3" = yes ; then
echo_n ", Indeo3 decoder"
fi
if test "$_text_console" = yes ; then if test "$_text_console" = yes ; then
echo_n ", text console" echo_n ", text console"
fi fi

View file

@ -738,7 +738,6 @@ const Feature s_features[] = {
{ "mt32emu", "USE_MT32EMU", "", true, "integrated MT-32 emulator" }, { "mt32emu", "USE_MT32EMU", "", true, "integrated MT-32 emulator" },
{ "nasm", "USE_NASM", "", true, "IA-32 assembly support" }, // This feature is special in the regard, that it needs additional handling. { "nasm", "USE_NASM", "", true, "IA-32 assembly support" }, // This feature is special in the regard, that it needs additional handling.
{ "opengl", "USE_OPENGL", "opengl32", true, "OpenGL support" }, { "opengl", "USE_OPENGL", "opengl32", true, "OpenGL support" },
{ "indeo3", "USE_INDEO3", "", true, "Indeo3 codec support"},
{ "translation", "USE_TRANSLATION", "", true, "Translation support" }, { "translation", "USE_TRANSLATION", "", true, "Translation support" },
{ "vkeybd", "ENABLE_VKEYBD", "", false, "Virtual keyboard support"}, { "vkeybd", "ENABLE_VKEYBD", "", false, "Virtual keyboard support"},
{ "langdetect", "USE_DETECTLANG", "", true, "System language detection support" } // This feature actually depends on "translation", there { "langdetect", "USE_DETECTLANG", "", true, "System language detection support" } // This feature actually depends on "translation", there

View file

@ -399,10 +399,8 @@ Codec *AviDecoder::createCodec() {
return new MSRLEDecoder(_bmInfo.width, _bmInfo.height, _bmInfo.bitCount); return new MSRLEDecoder(_bmInfo.width, _bmInfo.height, _bmInfo.bitCount);
case ID_CVID: case ID_CVID:
return new CinepakDecoder(_bmInfo.bitCount); return new CinepakDecoder(_bmInfo.bitCount);
#ifdef USE_INDEO3
case ID_IV32: case ID_IV32:
return new Indeo3Decoder(_bmInfo.width, _bmInfo.height); return new Indeo3Decoder(_bmInfo.width, _bmInfo.height);
#endif
#ifdef VIDEO_CODECS_TRUEMOTION1_H #ifdef VIDEO_CODECS_TRUEMOTION1_H
case ID_DUCK: case ID_DUCK:
return new TrueMotion1Decoder(_bmInfo.width, _bmInfo.height); return new TrueMotion1Decoder(_bmInfo.width, _bmInfo.height);

View file

@ -22,8 +22,6 @@
#include "common/scummsys.h" #include "common/scummsys.h"
#ifdef USE_INDEO3
/* Intel Indeo 3 decompressor, derived from ffmpeg. /* Intel Indeo 3 decompressor, derived from ffmpeg.
* *
* Original copyright note: * Intel Indeo 3 (IV31, IV32, etc.) video decoder for ffmpeg * Original copyright note: * Intel Indeo 3 (IV31, IV32, etc.) video decoder for ffmpeg
@ -3516,5 +3514,3 @@ const uint32 Indeo3Decoder::correctionhighorder[] = {
}; };
} // End of namespace Video } // End of namespace Video
#endif // USE_INDEO3

View file

@ -22,8 +22,6 @@
#include "common/scummsys.h" #include "common/scummsys.h"
#ifdef USE_INDEO3
/* Intel Indeo 3 decompressor, derived from ffmpeg. /* Intel Indeo 3 decompressor, derived from ffmpeg.
* *
* Original copyright note: * Original copyright note:
@ -87,5 +85,3 @@ private:
} // End of namespace Video } // End of namespace Video
#endif // VIDEO_CODECS_INDEO3_H #endif // VIDEO_CODECS_INDEO3_H
#endif // USE_INDEO3

View file

@ -1624,11 +1624,7 @@ bool VMDDecoder::openExternalCodec() {
if (_videoCodec == kVideoCodecIndeo3) { if (_videoCodec == kVideoCodecIndeo3) {
_isPaletted = false; _isPaletted = false;
#ifdef USE_INDEO3
_codec = new Indeo3Decoder(_width, _height); _codec = new Indeo3Decoder(_width, _height);
#else
warning("VMDDecoder::openExternalCodec(): Indeo3 decoder not compiled in");
#endif
} else { } else {
warning("VMDDecoder::openExternalCodec(): Unknown video codec FourCC \"%s\"", warning("VMDDecoder::openExternalCodec(): Unknown video codec FourCC \"%s\"",