Mercurial > libavcodec.hg
annotate simple_idct.h @ 827:770578c6c300 libavcodec
added MACE (Macintosh Audio Compression/Expansion) 3:1 & 6:1 support
contribution by Laszlo Torok <torokl@alpha.dfmk.hu>
4CC 'MAC3' and 'MAC6' in Quicktime.
It works for mono streams, needs to be fixed for stereo when I get my hands on a stereo sample :)
patch by (Franois Revol <revol at free dot fr>)
author | michaelni |
---|---|
date | Sat, 02 Nov 2002 10:39:22 +0000 |
parents | 2b7ff6dfee35 |
children | caa77cd960c0 |
rev | line source |
---|---|
175
bd77d3cbb233
new IDCT code by Michael Niedermayer (michaelni@gmx.at) - #define SIMPLE_IDCT to enable
arpi_esp
parents:
diff
changeset
|
1 /* |
429 | 2 * Simple IDCT |
3 * | |
4 * Copyright (c) 2001 Michael Niedermayer <michaelni@gmx.at> | |
5 * | |
6 * This library is free software; you can redistribute it and/or | |
7 * modify it under the terms of the GNU Lesser General Public | |
8 * License as published by the Free Software Foundation; either | |
9 * version 2 of the License, or (at your option) any later version. | |
10 * | |
11 * This library is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 * Lesser General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU Lesser General Public | |
17 * License along with this library; if not, write to the Free Software | |
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 */ | |
175
bd77d3cbb233
new IDCT code by Michael Niedermayer (michaelni@gmx.at) - #define SIMPLE_IDCT to enable
arpi_esp
parents:
diff
changeset
|
20 |
479 | 21 void simple_idct_put(UINT8 *dest, int line_size, INT16 *block); |
22 void simple_idct_add(UINT8 *dest, int line_size, INT16 *block); | |
706
e65798d228ea
idct permutation cleanup, idct can be selected per context now
michaelni
parents:
633
diff
changeset
|
23 void ff_simple_idct_mmx(short *block); |
e65798d228ea
idct permutation cleanup, idct can be selected per context now
michaelni
parents:
633
diff
changeset
|
24 void ff_simple_idct_add_mmx(UINT8 *dest, int line_size, INT16 *block); |
e65798d228ea
idct permutation cleanup, idct can be selected per context now
michaelni
parents:
633
diff
changeset
|
25 void ff_simple_idct_put_mmx(UINT8 *dest, int line_size, INT16 *block); |
633 | 26 void simple_idct(short *block); |
719 | 27 |
28 void simple_idct248_put(UINT8 *dest, int line_size, INT16 *block); |