config.h

来自「AMLOGIC DPF source code」· C头文件 代码 · 共 676 行 · 第 1/2 页

H
676
字号
/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* Protect against multiple inclusion */
#ifndef MPLAYER_CONFIG_H
#define MPLAYER_CONFIG_H 1

#ifndef LIMIT_SUPPORT
/* use GNU internationalization */
#define USE_I18N 1
#endif

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* Dynamic a/v plugins */
#undef DYNAMIC_PLUGINS

/* "restrict" keyword */
#define restrict __restrict

/* __builtin_expect branch prediction hint */
#define HAVE_BUILTIN_EXPECT 1

/* attribute(used) as needed by some compilers */
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)
# define attribute_used __attribute__((used))
#else
# define attribute_used
#endif

#define PREFIX "/usr/local"

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#define ENABLE_SIGHANDLER 1

/* enable/disable automatic gdb attach on crash, requires SIGHANDLER */
#undef CRASH_DEBUG

/* Toggles debugging informations */
#undef MP_DEBUG

#ifndef LIMIT_SUPPORT
/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1
#endif

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 2

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#define DVD_STRUCT_IN_LINUX_CDROM_H 1
#undef DVD_STRUCT_IN_SYS_CDIO_H
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#undef HAVE_BSD_DVD_STRUCT
#define HAVE_LINUX_DVD_STRUCT 1
#undef HAVE_OPENBSD_DVD_STRUCT
#undef DARWIN_DVD_IOCTL
#undef SOLARIS_USCSI
#undef HPUX_SCTL_IO
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define MPLAYER_DATADIR "/usr/local/share/mplayer"
#define MPLAYER_CONFDIR "/usr/local/etc/mplayer"
#define MPLAYER_LIBDIR "/usr/local/lib"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#ifndef LIMIT_SUPPORT
#define USE_STREAM_CACHE 1
#endif
/* Define to include support for XviD/Divx4Linux/OpenDivx */
#define USE_DIVX

/* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */
/* You have to change DECORE_LIBS in config.mak, too! */
#define NEW_DECORE 1

/* Define if you are using DivX5Linux Decore library */
#define DECORE_DIVX5 1

/* Define if you are using XviD library */
#undef HAVE_XVID3
#undef HAVE_XVID4
#undef DECORE_XVID
#undef ENCORE_XVID

/* Define if you are using the X.264 library */
#undef HAVE_X264

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#define HAVE_DIVX4ENCORE 1

/* Indicates if libmp3lame is available
   Note: for mencoder */
#undef HAVE_MP3LAME
#undef CONFIG_MP3LAME

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your sound card driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use nl_langinfo function */
#define USE_LANGINFO 1

/* define this to use RTC (/dev/rtc) for video timers */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if your system has the header file for the OSS sound interface
 * in /usr/include */
#undef HAVE_SOUNDCARD_H

/* Define this if your system has the sysinfo header */
#define HAVE_SYS_SYSINFO_H 1

/* Define this if your system has ftello() */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
/* Need these for FILE and off_t an config.h is usually before other includes*/
#include <stdio.h>
#include <sys/types.h>
off_t ftello(FILE *);
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc_demux(b)
#define MEMALIGN_HACK 1
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1


/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

#ifndef LIMIT_SUPPORT
/* Define this if you have zlib */
#define HAVE_ZLIB 1
#ifdef HAVE_ZLIB
#define CONFIG_ZLIB 1
#endif
#endif
/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has scandir & alphasort */
#define HAVE_SCANDIR 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has strlcpy */
#undef HAVE_STRLCPY
#ifndef HAVE_STRLCPY
unsigned int strlcpy (char *dest, const char *src, unsigned int size);
#endif

/* Define this if your system has strlcat */
#undef HAVE_STRLCAT
#ifndef HAVE_STRLCAT
unsigned int strlcat (char *dest, const char *src, unsigned int size);
#endif

/* Define this if your system has fseeko */
#define HAVE_FSEEKO 1
#ifndef HAVE_FSEEKO
/* Need these for FILE and off_t an config.h is usually before other includes*/
#include <stdio.h>
#include <sys/types.h>
int fseeko(FILE *, off_t, int);
#endif

#define HAVE_LOCALTIME_R 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* Define this if your system has swab */
#define HAVE_SWAB 1

/* Define this if your system has no posix select */
#undef HAVE_NO_POSIX_SELECT

/* Define this if your system has gettimeofday */
#define HAVE_GETTIMEOFDAY 1

/* Define this if your system has glob */
#define HAVE_GLOB 1

/* Define this if your system has pthreads */
#define HAVE_PTHREADS 1

/* Define this if you enabled thread support for libavcodec */
#define HAVE_THREADS 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/*
 * LIRCCD (LIRC client daemon)
 * See http://www.dolda2000.cjb.net/~fredrik/lirccd/
 */
#undef HAVE_LIRCC

/* DVD navigation support using libdvdnav */



/* Define this to enable MPEG 1/2 image postprocessing (requires a FAST CPU!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#define USE_WIN32DLL 1
#define WIN32_PATH "/usr/local/lib/codecs"

/* DirectShow support */
#define USE_DIRECTSHOW 1

/* Mac OS X specific features */
#undef MACOSX
#undef MACOSX_FINDER_SUPPORT
#undef MACOSX_BUNDLE

/* Build our Win32-loader */
#define WIN32_LOADER 1

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* ffmpeg's libavformat support (requires libavformat source) */
#define USE_LIBAVFORMAT 1
#undef CONFIG_WIN32

/* risky codecs */
#define CONFIG_RISKY 1

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

#define CONFIG_MPEGAUDIO_HP 1

/* Use amr codecs from libavcodec (requires amr sources) */
#undef AMR_NB
#undef AMR_NB_FIXED
#undef AMR_WB

/* Use codec libs included in mplayer CVS / source dist: */
#define USE_MP3LIB 1
#define USE_LIBA52 1
#undef CONFIG_DTS
#define USE_LIBMPEG2 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#define USE_XANIM 1
/* Default search path */
#define XACODEC_PATH "/usr/local/lib/codecs"

/* RealPlayer DLL support */
#define USE_REALCODECS 1
/* Default search path */
#define REALCODEC_PATH "/usr/local/lib/codecs"

/* LIVE.COM Streaming Media library support */
#undef STREAMING_LIVE_DOT_COM

#ifndef LIMIT_SUPPORT
/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1
#endif

/* Use unrarlib for Vobsubs */
#define USE_UNRARLIB 1

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?