diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-03-26 14:43:46 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-03-26 14:43:46 +0000 |
commit | a5adaebc130805962f83deccb29f47a7a2384fc8 (patch) | |
tree | 50ce22f99ced67b6d975632574ce4b392ed820ad /src/libffmpeg/libavcodec/jfdctfst.c | |
parent | 689bd7704fde776152e6883ce1b6022ec638304b (diff) | |
download | xine-lib-a5adaebc130805962f83deccb29f47a7a2384fc8.tar.gz xine-lib-a5adaebc130805962f83deccb29f47a7a2384fc8.tar.bz2 |
update ffmpeg. trying to keep local changes (see diff_to_ffmpeg_cvs.txt), let me
know if i overlooked something.
as usual, preliminary QA: tested non debug builds and several codecs including
divx3/4/5, mpeg4, xvid, msmpeg4v3, svq1, wmv7, dv (video/audio), wma
i also enabled wmv8 by default since it worked fine with the streams i have. i'm not
sure about current state of that so we might enable it only for non-x86 users in
case of trouble.
CVS patchset: 4488
CVS date: 2003/03/26 14:43:46
Diffstat (limited to 'src/libffmpeg/libavcodec/jfdctfst.c')
-rw-r--r-- | src/libffmpeg/libavcodec/jfdctfst.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/libffmpeg/libavcodec/jfdctfst.c b/src/libffmpeg/libavcodec/jfdctfst.c index 4e3b55bb5..899768d36 100644 --- a/src/libffmpeg/libavcodec/jfdctfst.c +++ b/src/libffmpeg/libavcodec/jfdctfst.c @@ -30,6 +30,11 @@ * quality-setting files than with low-quality ones. */ +/** + * @file jfdctfst.c + * Independent JPEG Group's fast AAN dct. + */ + #include <stdlib.h> #include <stdio.h> #include "common.h" @@ -78,10 +83,10 @@ */ #if CONST_BITS == 8 -#define FIX_0_382683433 ((INT32) 98) /* FIX(0.382683433) */ -#define FIX_0_541196100 ((INT32) 139) /* FIX(0.541196100) */ -#define FIX_0_707106781 ((INT32) 181) /* FIX(0.707106781) */ -#define FIX_1_306562965 ((INT32) 334) /* FIX(1.306562965) */ +#define FIX_0_382683433 ((int32_t) 98) /* FIX(0.382683433) */ +#define FIX_0_541196100 ((int32_t) 139) /* FIX(0.541196100) */ +#define FIX_0_707106781 ((int32_t) 181) /* FIX(0.707106781) */ +#define FIX_1_306562965 ((int32_t) 334) /* FIX(1.306562965) */ #else #define FIX_0_382683433 FIX(0.382683433) #define FIX_0_541196100 FIX(0.541196100) @@ -101,7 +106,7 @@ #endif -/* Multiply a DCTELEM variable by an INT32 constant, and immediately +/* Multiply a DCTELEM variable by an int32_t constant, and immediately * descale to yield a DCTELEM result. */ |