View | Details | Raw Unified
Collapse All | Expand All

(-) vice-1.18/src/gfxoutputdrv/ffmpeg/common.h.unpatched (-3 / +6 lines)
 Lines 18-23    Link Here 
//#define A32_BITSTREAM_READER
//#define A32_BITSTREAM_READER
#define LIBMPEG2_BITSTREAM_READER_HACK //add BERO
#define LIBMPEG2_BITSTREAM_READER_HACK //add BERO
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES)
#    define EMULATE_INTTYPES
#endif
#ifndef M_PI
#ifndef M_PI
#define M_PI    3.14159265358979323846
#define M_PI    3.14159265358979323846
#endif
#endif
 Lines 93-99    Link Here 
#endif
#endif
#endif
#endif
#define EMULATE_INTTYPES
#ifndef EMULATE_INTTYPES
#ifndef EMULATE_INTTYPES
#   include <inttypes.h>
#   include <inttypes.h>
#else
#else
 Lines 255-261    Link Here 
extern const uint32_t inverse[256];
extern const uint32_t inverse[256];
#ifdef ARCH_X86
#if defined(ARCH_X86) || defined(ARCH_X86_64)
#    define FASTDIV(a,b) \
#    define FASTDIV(a,b) \
    ({\
    ({\
        int ret,dmy;\
        int ret,dmy;\
 Lines 1219-1225    Link Here 
#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24))
#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24))
#ifdef ARCH_X86
#if defined(ARCH_X86) || defined(ARCH_X86_64)
#define MASK_ABS(mask, level)\
#define MASK_ABS(mask, level)\
            asm volatile(\
            asm volatile(\
		"cdq			\n\t"\
		"cdq			\n\t"\