diff dsputil.h @ 1784:65f7bd09f37b libavcodec

quantizer noise shaping optimization
author michael
date Fri, 06 Feb 2004 02:12:37 +0000
parents e31754bc5b65
children 9a73e6dc5d68
line wrap: on
line diff
--- a/dsputil.h	Thu Feb 05 05:22:44 2004 +0000
+++ b/dsputil.h	Fri Feb 06 02:12:37 2004 +0000
@@ -285,6 +285,11 @@
 #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);