comparison dsputil.h @ 1008:fb6cbb8a04a3 libavcodec

fixing DCTELEM != short
author michaelni
date Wed, 15 Jan 2003 19:21:21 +0000
parents b2cf2a1d9a51
children b4172ff70d27
comparison
equal deleted inserted replaced
1007:b2cf2a1d9a51 1008:fb6cbb8a04a3
23 #include "avcodec.h" 23 #include "avcodec.h"
24 24
25 //#define DEBUG 25 //#define DEBUG
26 /* dct code */ 26 /* dct code */
27 typedef short DCTELEM; 27 typedef short DCTELEM;
28 //typedef int DCTELEM;
28 29
29 void fdct_ifast (DCTELEM *data); 30 void fdct_ifast (DCTELEM *data);
30 void ff_jpeg_fdct_islow (DCTELEM *data); 31 void ff_jpeg_fdct_islow (DCTELEM *data);
31 32
32 void j_rev_dct (DCTELEM *data); 33 void j_rev_dct (DCTELEM *data);
154 155
155 /** 156 /**
156 * permute block according to permuatation. 157 * permute block according to permuatation.
157 * @param last last non zero element in scantable order 158 * @param last last non zero element in scantable order
158 */ 159 */
159 void ff_block_permute(INT16 *block, UINT8 *permutation, const UINT8 *scantable, int last); 160 void ff_block_permute(DCTELEM *block, UINT8 *permutation, const UINT8 *scantable, int last);
160 161
161 #define emms_c() 162 #define emms_c()
162 163
163 /* should be defined by architectures supporting 164 /* should be defined by architectures supporting
164 one or more MultiMedia extension */ 165 one or more MultiMedia extension */