config.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 676 行 · 第 1/2 页
H
676 行
/* gui support, please do not edit this option */
#undef HAVE_NEW_GUI
/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/dsp"
#define PATH_DEV_MIXER "/dev/mixer"
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#undef HAVE_ALSA1X
#define USE_ARTS 1
#define USE_ESD 1
#define HAVE_ESD_LATENCY
#undef USE_POLYP
#undef HAVE_SYS_ASOUNDLIB_H
#undef HAVE_ALSA_ASOUNDLIB_H
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#undef HAVE_WIN32WAVEOUT
#undef HAVE_NAS
/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE
/* Enable TV Interface support */
#define USE_TV 1
/* Enable EDL support */
#define USE_EDL
/* Enable Video 4 Linux TV interface support */
#define HAVE_TV_V4L 1
/* Enable Video 4 Linux 2 TV interface support */
#define HAVE_TV_V4L2 1
/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
#ifndef PLATFORM_ARC
#define ARCH_X86 1
#endif
/* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC,
* define ARCH_PPC if ARCH_POWERPC is set to cope with that.
*/
#ifdef ARCH_POWERPC
#define ARCH_PPC 1
#endif
/* the same issue as with ARCH_POWERPC but with ffmpeg/libavcodec */
#ifdef ARCH_ARMV4L
#define ARCH_ARM 1
#endif
/* only gcc3 can compile mvi instructions */
/* Define this for Cygwin build for win32 */
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ 686
#define MP_WORDSIZE 32
#define TARGET_LINUX 1
#define HAVE_VCD 1
#ifdef sun
#define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#elif defined(HPUX)
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#elif defined(WIN32)
#define DEFAULT_CDROM_DEVICE "D:"
#define DEFAULT_DVD_DEVICE "D:"
#elif defined(SYS_DARWIN)
#define DEFAULT_CDROM_DEVICE "/dev/disk1"
#define DEFAULT_DVD_DEVICE "/dev/rdiskN"
#elif defined(__OpenBSD__)
#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#endif
/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
** --enable/--disable options of the ./configure script!
** See ./configure --help for details.
**
*---------------------------------------------------------------------------*/
/* C99 lrintf function available */
#define HAVE_LRINTF 1
/* yes, we have inttypes.h */
#define HAVE_INTTYPES_H 1
/* int_fastXY_t emulation */
/* nanosleep support */
#define HAVE_NANOSLEEP 1
/* SMB support */
#ifndef LIMIT_SUPPORT
#define LIBSMBCLIENT
#endif
/* termcap flag for getch2.c */
#define USE_TERMCAP 1
/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1
/* enable PNG support */
#define HAVE_PNG 1
/* enable JPEG support */
#define HAVE_JPEG 1
/* enable PNM support */
#define HAVE_PNM
/* enable md5sum support */
#define HAVE_MD5SUM
/* enable GIF support */
#define HAVE_GIF 1
#define HAVE_GIF_4 1
#undef HAVE_GIF_TVT_HACK
/* enable FreeType support */
#define HAVE_FREETYPE
/* enable Fontconfig support */
#define HAVE_FONTCONFIG
/* enable FriBiDi usage */
#undef USE_FRIBIDI
/* enable ENCA usage */
#undef HAVE_ENCA
/* liblzo support */
#undef USE_LIBLZO
/* libmad support */
#undef USE_LIBMAD
/* enable OggVorbis support */
// cancled by rain temporily
//#define HAVE_OGGVORBIS 1
/* enable Tremor as vorbis decoder */
#define TREMOR 1
/* enable OggTheora support */
#undef HAVE_OGGTHEORA
/* enable Matroska support */
#define HAVE_MATROSKA 1
/* enable FAAD (AAC) support */
#undef HAVE_FAAD
#undef USE_INTERNAL_FAAD
/* enable LADSPA plugin support */
#undef HAVE_LADSPA
#ifndef LIMIT_SUPPORT
/* enable network */
#define MPLAYER_NETWORK 1
/* enable ftp support */
#define HAVE_FTP 1
#endif
/* enable vstream support */
#undef HAVE_VSTREAM
/* enable winsock2 instead of Unix functions*/
#undef HAVE_WINSOCK2
/* define this to use inet_aton() instead of inet_pton() */
#undef USE_ATON
/* enables / disables cdparanoia support */
#define HAVE_CDDA
/* enables / disables VIDIX usage */
#define CONFIG_VIDIX 1
/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK
/* enables / disables QTX codecs */
#define USE_QTX_CODECS 1
/* enables / disables osd menu */
#undef HAVE_MENU
/* enables / disables subtitles sorting */
#define USE_SORTSUB 1
/* XMMS input plugin support */
#undef HAVE_XMMS
#define XMMS_INPUT_PLUGIN_DIR ""
/* enables inet6 support */
#define HAVE_AF_INET6 1
/* do we have gethostbyname2? */
#define HAVE_GETHOSTBYNAME2 1
/* Extension defines */
#undef HAVE_3DNOW // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#undef HAVE_3DNOWEX // only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX 1 // only define if you have MMX (newer x86 chips, not P54C/PPro)
#define HAVE_MMX2 1 // only define if you have MMX2 (Athlon/PIII/4/CelII)
#define HAVE_SSE 1 // only define if you have SSE (Intel Pentium III/4 or Celeron II)
#define HAVE_SSE2 1 // only define if you have SSE2 (Intel Pentium 4)
// only define if you have Altivec (G4)
// enables usage of altivec.h
#undef HAVE_MLIB // Sun mediaLib, available only on solaris
// only define if you have VIS ( ultrasparc )
/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif
/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#undef HAVE_XVMC
#define HAVE_XF86VM 1
#define HAVE_XF86XK 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#undef HAVE_DIRECTX
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_TDFX_VID
#undef HAVE_DIRECTFB
#undef HAVE_ZR
#undef HAVE_BL
#undef HAVE_MGA
#undef HAVE_XMGA
#define HAVE_FBDEV 1
#undef HAVE_DXR2
#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAS_DVBIN_SUPPORT
#undef HAVE_SVGALIB
#define HAVE_VESA 1
#define HAVE_XDPMS 1
#undef HAVE_AA
#undef HAVE_CACA
#define HAVE_TGA 1
#undef HAVE_TOOLAME
/* used by GUI: */
#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif
#define DEMUX_PRINT_GET_PACKET 0x1
#define DEMUX_PRINT_FILL_BUFFER 0x2
#define DEMUX_PRINT_BUILD_INDEX 0x4
#define DEMUX_MEMORY_ALLOC_LOG 0x8
#define DEMUX_PRINT_BUILD_KEYINFO 0x10
#define DEMUX_PRINT_AVSYNC 0x20
#define DEMUX_PRINT_PROFILE 0x40
#define DEMUX_PRINT_LINENO 0x80
#ifdef PLATFORM_ARC
extern char* demux_block_ptr;
char* strdup_demux(const char* string);
#ifndef USE_DEMUX_HEAP
#define calloc_demux AVMem_calloc
#define malloc_demux AVMem_malloc
#define realloc_demux AVMem_realloc
#define free_mem_demux(a) AVMem_free(a)
#define strdup_demux strdup
#else
#if (OS_TASK_DEBUGHELPER_EN&2)
#define calloc_demux(nelem,elem_size) AVMem_rtl_calloc(nelem,elem_size,demux_block_ptr, __LINE__, __FILE__)
#define malloc_demux(size) AVMem_rtl_malloc(size,demux_block_ptr, __LINE__, __FILE__)
#define realloc_demux(p,new_len) AVMem_rtl_realloc(p,new_len,demux_block_ptr, __LINE__, __FILE__)
#define free_mem_demux(p) AVMem_rtl_free(p,demux_block_ptr)
#else
#define calloc_demux(nelem,elem_size) AVMem_rtl_calloc(nelem,elem_size,demux_block_ptr)
#define malloc_demux(size) AVMem_rtl_malloc(size,demux_block_ptr)
#define realloc_demux(p,new_len) AVMem_rtl_realloc(p,new_len,demux_block_ptr)
#define free_mem_demux(p) AVMem_rtl_free(p,demux_block_ptr)
#endif
#endif
#ifdef DEBUG_DEMUX
#define demux_print printf
#else
void demux_print_avos(const char* fmt, ...) ;
#define demux_print demux_print_avos
#endif
#endif
#endif /* MPLAYER_CONFIG_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?