#ifndef WH_CONFIG_H_bbc6ae2f_ #define WH_CONFIG_H_bbc6ae2f_ /* This file is in the public domain. */ /* * Configuration defines. * * Rather than hack on the code to remove dependencies on these * definitions, I've found it more expedient to just provide the * definitions. In ffmpeg, these would be generated by its configure * script. I was of course not about to go near that; these were * found by reading over the code (in some cases, while adapting; in * others, after tracking down issues). * * In particular, to the best of my understanding, this is not a * derivative work within the sense the term is used in copyright law. */ /* True if we want to compile to smaller code, omitting fluff. */ #define CONFIG_SMALL 0 /* True if CPU is big-endian. XXX This should not be done this way! */ #define AV_HAVE_BIGENDIAN 0 /* See get_bits.h. */ #define CONFIG_SAFE_BITSTREAM_READER 1 /* Compile in support for grayscale-only operation. */ #define CONFIG_GRAY 1 /* Compile in support for threading. */ #define HAVE_THREADS 0 /* Not sure what AVX is, but 1 is the conservative setting. */ #define HAVE_AVX 1 /* Use built-at-compile-time tables. */ #define CONFIG_HARDCODED_TABLES 0 /* Dunno, beyond what the name says. XXX it doesn't work to turn this off. */ #define CONFIG_FFT_FLOAT 1 /* Dunno what this is. Build explodes if it's not defined, though. */ /* Explodes at run time if it's set to 0. */ #define CONFIG_MDCT 1 /* Compile in support for various encoders/decoders. All I know is what I can infer from the names, which isn't much in most cases. */ #define CONFIG_H264_DECODER 1 #define CONFIG_H264_ENCODER 1 #define CONFIG_H263_DECODER 0 #define CONFIG_H263_ENCODER 0 #define CONFIG_H261_DECODER 0 #define CONFIG_H261_ENCODER 0 #define CONFIG_WMV2_DECODER 0 #define CONFIG_WMV2_ENCODER 0 #define CONFIG_SVQ3_DECODER 1 #define CONFIG_VP3_DECODER 1 #define CONFIG_VP5_DECODER 1 #define CONFIG_VP6_DECODER 1 #define CONFIG_EATGQ_DECODER 1 #define CONFIG_MPEG_XVMC_DECODER 1 #endif