diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-11-01 18:12:53 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-11-01 18:12:53 +0000 |
commit | ad86ea038a0b4803c7e3f1a82a293e2ee538e345 (patch) | |
tree | 24aa3f8a8900028189d268d75854049dfa386794 /src/libffmpeg/libavcodec/libpostproc/postprocess.c | |
parent | 72ae3e51758986775949a7ba2002a526d359389f (diff) | |
download | xine-lib-ad86ea038a0b4803c7e3f1a82a293e2ee538e345.tar.gz xine-lib-ad86ea038a0b4803c7e3f1a82a293e2ee538e345.tar.bz2 |
big ffmpeg patch
* do not define CONFIG_ENCODERS any more, use a stripped down XINE_MPEG_ENCODER,
which will only compile an I-frame-only MPEG1 encoder (speeds up compile time)
* fix a lot of warnings in ffmpeg (a good deal of which have already been
submitted to the ffmpeg project by Mike)
* simplify some Makefiles
CVS patchset: 5667
CVS date: 2003/11/01 18:12:53
Diffstat (limited to 'src/libffmpeg/libavcodec/libpostproc/postprocess.c')
-rw-r--r-- | src/libffmpeg/libavcodec/libpostproc/postprocess.c | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/libffmpeg/libavcodec/libpostproc/postprocess.c b/src/libffmpeg/libavcodec/libpostproc/postprocess.c index 0db5341e3..11267b666 100644 --- a/src/libffmpeg/libavcodec/libpostproc/postprocess.c +++ b/src/libffmpeg/libavcodec/libpostproc/postprocess.c @@ -105,13 +105,13 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks //#define NUM_BLOCKS_AT_ONCE 16 //not used yet #ifdef ARCH_X86 -static const uint64_t __attribute__((aligned(8))) w05= 0x0005000500050005LL; -static const uint64_t __attribute__((aligned(8))) w20= 0x0020002000200020LL; - uint64_t __attribute__((aligned(8))) b00= 0x0000000000000000LL; -static const uint64_t __attribute__((aligned(8))) b01= 0x0101010101010101LL; -static const uint64_t __attribute__((aligned(8))) b02= 0x0202020202020202LL; -static const uint64_t __attribute__((aligned(8))) b08= 0x0808080808080808LL; -static const uint64_t __attribute__((aligned(8))) b80= 0x8080808080808080LL; +static const uint64_t __attribute__((aligned(8))) w05= 0x0005000500050005ULL; +static const uint64_t __attribute__((aligned(8))) w20= 0x0020002000200020ULL; +static const uint64_t __attribute__((aligned(8))) b00= 0x0000000000000000ULL; +static const uint64_t __attribute__((aligned(8))) b01= 0x0101010101010101ULL; +static const uint64_t __attribute__((aligned(8))) b02= 0x0202020202020202ULL; +static const uint64_t __attribute__((aligned(8))) b08= 0x0808080808080808ULL; +static const uint64_t __attribute__((aligned(8))) b80= 0x8080808080808080ULL; #endif @@ -153,13 +153,6 @@ static char *replaceTable[]= NULL //End Marker }; -#ifdef ARCH_X86 -static inline void unusedVariableWarningFixer() -{ - if(w05 + w20 + b00 + b01 + b02 + b08 + b80 == 0) b00=0; -} -#endif - // The horizontal Functions exist only in C cuz the MMX code is faster with vertical filters and transposing /** |