Mercurial > libavcodec.hg
comparison dsputil.h @ 625:bb6a69f9d409 libavcodec
slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
per context DCT selection
author | michaelni |
---|---|
date | Thu, 29 Aug 2002 23:55:32 +0000 |
parents | 92e99e506920 |
children | 23a093d6e450 |
comparison
equal
deleted
inserted
replaced
624:35353e4520d8 | 625:bb6a69f9d409 |
---|---|
25 //#define DEBUG | 25 //#define DEBUG |
26 /* dct code */ | 26 /* dct code */ |
27 typedef short DCTELEM; | 27 typedef short DCTELEM; |
28 | 28 |
29 void fdct_ifast (DCTELEM *data); | 29 void fdct_ifast (DCTELEM *data); |
30 void ff_jpeg_fdct_islow (DCTELEM *data); | |
30 | 31 |
31 void j_rev_dct (DCTELEM *data); | 32 void j_rev_dct (DCTELEM *data); |
32 | 33 |
33 void fdct_mmx(DCTELEM *block); | 34 void fdct_mmx(DCTELEM *block); |
34 | |
35 extern void (*av_fdct)(DCTELEM *block); | |
36 | 35 |
37 /* encoding scans */ | 36 /* encoding scans */ |
38 extern UINT8 ff_alternate_horizontal_scan[64]; | 37 extern UINT8 ff_alternate_horizontal_scan[64]; |
39 extern UINT8 ff_alternate_vertical_scan[64]; | 38 extern UINT8 ff_alternate_vertical_scan[64]; |
40 extern UINT8 zigzag_direct[64]; | 39 extern UINT8 zigzag_direct[64]; |