Skip to content

Commit

Permalink
BUILD: Always enable indeo3 codec
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed May 25, 2011
1 parent 8387b68 commit 717a7ac
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 38 deletions.
23 changes: 0 additions & 23 deletions configure
Expand Up @@ -145,7 +145,6 @@ _text_console=no
_mt32emu=yes
_build_scalers=yes
_build_hq_scalers=yes
_indeo3=auto
_enable_prof=no
_posix=no
_global_constructors=no
Expand Down Expand Up @@ -746,8 +745,6 @@ Optional Libraries:
--with-opengl-prefix=DIR Prefix where OpenGL (ES) is installed (optional)
--disable-opengl disable OpenGL (ES) support [autodetect]
--disable-indeo3 disable Indeo3 decoder [autodetect]
--with-png-prefix=DIR Prefix where libpng is installed (optional)
--disable-png disable PNG decoder [autodetect]
Expand Down Expand Up @@ -806,8 +803,6 @@ for ac_option in $@; do
--enable-nasm) _nasm=yes ;;
--disable-nasm) _nasm=no ;;
--enable-mpeg2) _mpeg2=yes ;;
--disable-indeo3) _indeo3=no ;;
--enable-indeo3) _indeo3=yes ;;
--disable-png) _png=no ;;
--enable-png) _png=yes ;;
--disable-theoradec) _theoradec=no ;;
Expand Down Expand Up @@ -1935,7 +1930,6 @@ if test -n "$_host"; then
_backend="n64"
_mt32emu=no
_build_scalers=no
_indeo3=no
_translation=no
_keymapper=no
_text_console=no
Expand Down Expand Up @@ -2537,19 +2531,6 @@ define_in_config_if_yes "$_build_scalers" 'USE_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
#
Expand Down Expand Up @@ -3157,10 +3138,6 @@ if test "$_mt32emu" = yes ; then
echo_n ", MT-32 emu"
fi

if test "$_indeo3" = yes ; then
echo_n ", Indeo3 decoder"
fi

if test "$_text_console" = yes ; then
echo_n ", text console"
fi
Expand Down
1 change: 0 additions & 1 deletion devtools/create_project/create_project.cpp
Expand Up @@ -738,7 +738,6 @@ const Feature s_features[] = {
{ "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.
{ "opengl", "USE_OPENGL", "opengl32", true, "OpenGL support" },
{ "indeo3", "USE_INDEO3", "", true, "Indeo3 codec support"},
{ "translation", "USE_TRANSLATION", "", true, "Translation support" },
{ "vkeybd", "ENABLE_VKEYBD", "", false, "Virtual keyboard support"},
{ "langdetect", "USE_DETECTLANG", "", true, "System language detection support" } // This feature actually depends on "translation", there
Expand Down
2 changes: 0 additions & 2 deletions video/avi_decoder.cpp
Expand Up @@ -399,10 +399,8 @@ Codec *AviDecoder::createCodec() {
return new MSRLEDecoder(_bmInfo.width, _bmInfo.height, _bmInfo.bitCount);
case ID_CVID:
return new CinepakDecoder(_bmInfo.bitCount);
#ifdef USE_INDEO3
case ID_IV32:
return new Indeo3Decoder(_bmInfo.width, _bmInfo.height);
#endif
#ifdef VIDEO_CODECS_TRUEMOTION1_H
case ID_DUCK:
return new TrueMotion1Decoder(_bmInfo.width, _bmInfo.height);
Expand Down
4 changes: 0 additions & 4 deletions video/codecs/indeo3.cpp
Expand Up @@ -22,8 +22,6 @@

#include "common/scummsys.h"

#ifdef USE_INDEO3

/* Intel Indeo 3 decompressor, derived from ffmpeg.
*
* Original copyright note: * Intel Indeo 3 (IV31, IV32, etc.) video decoder for ffmpeg
Expand Down Expand Up @@ -3516,5 +3514,3 @@ const uint32 Indeo3Decoder::correctionhighorder[] = {
};

} // End of namespace Video

#endif // USE_INDEO3
4 changes: 0 additions & 4 deletions video/codecs/indeo3.h
Expand Up @@ -22,8 +22,6 @@

#include "common/scummsys.h"

#ifdef USE_INDEO3

/* Intel Indeo 3 decompressor, derived from ffmpeg.
*
* Original copyright note:
Expand Down Expand Up @@ -87,5 +85,3 @@ class Indeo3Decoder : public Codec {
} // End of namespace Video

#endif // VIDEO_CODECS_INDEO3_H

#endif // USE_INDEO3
4 changes: 0 additions & 4 deletions video/coktel_decoder.cpp
Expand Up @@ -1624,11 +1624,7 @@ bool VMDDecoder::openExternalCodec() {
if (_videoCodec == kVideoCodecIndeo3) {
_isPaletted = false;

#ifdef USE_INDEO3
_codec = new Indeo3Decoder(_width, _height);
#else
warning("VMDDecoder::openExternalCodec(): Indeo3 decoder not compiled in");
#endif

} else {
warning("VMDDecoder::openExternalCodec(): Unknown video codec FourCC \"%s\"",
Expand Down

0 comments on commit 717a7ac

Please sign in to comment.