# HG changeset patch # User mellum # Date 1033779462 0 # Node ID fb7d96d818cf237c8cfb70078bcfb0692ba624ca # Parent 9cda14fe33d93583d16fb988961a764208a96155 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? diff -r 9cda14fe33d9 -r fb7d96d818cf alpha/mpegvideo_alpha.c --- a/alpha/mpegvideo_alpha.c Sat Oct 05 00:12:58 2002 +0000 +++ b/alpha/mpegvideo_alpha.c Sat Oct 05 00:57:42 2002 +0000 @@ -21,8 +21,6 @@ #include "../dsputil.h" #include "../mpegvideo.h" -extern UINT8 zigzag_end[64]; - static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block, int n, int qscale) { @@ -41,7 +39,7 @@ } n_coeffs = 64; // does not always use zigzag table } 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; @@ -93,5 +91,6 @@ 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; }