Commit 7f4717cc authored by mellum's avatar mellum

Make compilable again after DCT cleanup. It gives wrong results,

though, so I disabled it for now. Anybody knows offhand what might be
the reason?


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1005 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7b575ddb
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include "../dsputil.h" #include "../dsputil.h"
#include "../mpegvideo.h" #include "../mpegvideo.h"
extern UINT8 zigzag_end[64];
static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block, static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block,
int n, int qscale) int n, int qscale)
{ {
...@@ -41,7 +39,7 @@ static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block, ...@@ -41,7 +39,7 @@ static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block,
} }
n_coeffs = 64; // does not always use zigzag table n_coeffs = 64; // does not always use zigzag table
} else { } else {
n_coeffs = zigzag_end[s->block_last_index[n]]; n_coeffs = s->intra_scantable.raster_end[s->block_last_index[n]];
} }
qmul = qscale << 1; qmul = qscale << 1;
...@@ -93,5 +91,6 @@ static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block, ...@@ -93,5 +91,6 @@ static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block,
void MPV_common_init_axp(MpegEncContext *s) void MPV_common_init_axp(MpegEncContext *s)
{ {
s->dct_unquantize_h263 = dct_unquantize_h263_axp; /* disabled for now, buggy */
//s->dct_unquantize_h263 = dct_unquantize_h263_axp;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment