Displaying 1 result from an estimated 1 matches for "eightoffset".
2005 Jul 20
1
MMX IDCT for theora-exp
...:49:45.187242000 +0200
@@ -0,0 +1,650 @@
+#include <ogg/ogg.h>
+#include "dct.h"
+#include "idct.h"
+
+#define ASM asm
+/* 4 masks come in order low word to high */
+#define MaskOffset 0
+/* 7 cosines come in order pi/16 * (1 ... 7) */
+#define CosineOffset 32
+#define EightOffset 88
+#define IdctAdjustBeforeShift 8
+
+
+ogg_uint16_t __attribute__((aligned(8),used)) idctconstants[(4+7+1) * 4];
+ogg_uint16_t idctcosTbl[ 7] =
+{
+ 64277, 60547, 54491, 46341, 36410, 25080, 12785
+};
+
+/* I'm leaving original VP3 table even I'm not using it whole. It can be used
+ f...