diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-06 02:12:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-06 02:12:37 +0000 |
commit | 364a17974979dcddf41b7e88b2f34e721ca8855a (patch) | |
tree | 7c1b0984c45490a1cff19afc753f9492410adbf1 /libavcodec/dsputil.h | |
parent | 46026f4e5b55f82c50258b7f2be24bf3c763a173 (diff) | |
download | ffmpeg-364a17974979dcddf41b7e88b2f34e721ca8855a.tar.gz |
quantizer noise shaping optimization
Originally committed as revision 2750 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index fbe2c684e1..0a77c7f4fc 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -285,6 +285,11 @@ typedef struct DSPContext { #define FF_SIMPLE_IDCT_PERM 3 #define FF_TRANSPOSE_IDCT_PERM 4 + int (*try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale); + void (*add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale); +#define BASIS_SHIFT 16 +#define RECON_SHIFT 6 + } DSPContext; void dsputil_static_init(void); |