view libmpdvdkit2/config.h @ 7962:1d2d47aa8717

some card/mobo combos can't handle buffers larger than 128kB, we change the default buffer to 128kB, add warnings if the buffer becomes full, add a commandline option to enlarge the buffer and give suggestions to users to lessen the buffer size requirements (lower quality/resolution). 128kB should, however, be enough for everybody :-). Bug reported by Brain Edmonds, cause explained (to allow me to fix the driver) by Ronald Bultje (mjpegtools developer)
author rik
date Tue, 29 Oct 2002 19:06:26 +0000
parents 24c517eeac25
children acab62e4e026
line wrap: on
line source


/* Version number of package */
#define VERSION "1.2.2"
#define HAVE_UNISTD_H 1

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#ifdef HAVE_MPLAYER

#include "../config.h"

#else

#undef WORDS_BIGENDIAN

/* Define if you have the <stddef.h> header file.  */
#define HAVE_STDDEF_H 1

/* Define if <sys/dvdio.h> defines dvd_struct. */
#undef DVD_STRUCT_IN_SYS_DVDIO_H

/* Define if <sys/cdio.h> defines dvd_struct. */
#undef DVD_STRUCT_IN_SYS_CDIO_H

/* Define if <linux/cdrom.h> defines DVD_STRUCT. */
#define DVD_STRUCT_IN_LINUX_CDROM_H 1

/* Define if <dvd.h> defines DVD_STRUCT. */
#undef DVD_STRUCT_IN_DVD_H

/* Define if <extras/BSDI_dvdioctl/dvd.h> defines DVD_STRUCT. */
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H

/* HPUX SCSI headers. */
#undef HPUX_SCTL

/* Have userspace SCSI headers. */
#undef SOLARIS_USCSI

/* Define if Linux-like dvd_struct is defined. */
#define HAVE_LINUX_DVD_STRUCT 1

/* Define if BSD-like dvd_struct is defined. */
#undef HAVE_BSD_DVD_STRUCT

#endif

/* assert support */
#undef HAVE_ASSERT_H

#ifndef HAVE_ASSERT_H
 #define assert( ... ) do {} while(0)
#endif