Mercurial > libavcodec.hg
diff alpha/mpegvideo_alpha.c @ 744:2f7da29ede37 libavcodec
Move Alpha optimized IDCT to own file. Based on a patch by M?ns
Rullg?rd <mru@users.sourceforge.net>.
I've left out the idctCol2 part, because W4 has recently been decreed
to be 16383, and also I doubt it will give a noticeable speedup.
| author | mellum |
|---|---|
| date | Fri, 11 Oct 2002 23:01:16 +0000 |
| parents | bf4304c46cda |
| children | f59c3f66363b |
line wrap: on
line diff
--- a/alpha/mpegvideo_alpha.c Fri Oct 11 13:49:16 2002 +0000 +++ b/alpha/mpegvideo_alpha.c Fri Oct 11 23:01:16 2002 +0000 @@ -21,6 +21,9 @@ #include "../dsputil.h" #include "../mpegvideo.h" +extern void simple_idct_put_axp(uint8_t *dest, int line_size, DCTELEM *block); +extern void simple_idct_add_axp(uint8_t *dest, int line_size, DCTELEM *block); + static void dct_unquantize_h263_axp(MpegEncContext *s, DCTELEM *block, int n, int qscale) { @@ -94,4 +97,6 @@ void MPV_common_init_axp(MpegEncContext *s) { s->dct_unquantize_h263 = dct_unquantize_h263_axp; + s->idct_put = simple_idct_put_axp; + s->idct_add = simple_idct_add_axp; }
