Mercurial > libavcodec.hg
comparison dsputil.h @ 1324:7d328fd9d8a5 libavcodec
the return of the idct with 16bit output by ("Ivan Kalvachev" <ivan at cacad dot com>)
author | michaelni |
---|---|
date | Sat, 21 Jun 2003 01:11:31 +0000 |
parents | 7979b98470c8 |
children | daa70b33fc44 |
comparison
equal
deleted
inserted
replaced
1323:e9da5a651eab | 1324:7d328fd9d8a5 |
---|---|
32 | 32 |
33 | 33 |
34 //#define DEBUG | 34 //#define DEBUG |
35 /* dct code */ | 35 /* dct code */ |
36 typedef short DCTELEM; | 36 typedef short DCTELEM; |
37 //typedef int DCTELEM; | |
38 | 37 |
39 void fdct_ifast (DCTELEM *data); | 38 void fdct_ifast (DCTELEM *data); |
40 void ff_jpeg_fdct_islow (DCTELEM *data); | 39 void ff_jpeg_fdct_islow (DCTELEM *data); |
41 | 40 |
42 void j_rev_dct (DCTELEM *data); | 41 void j_rev_dct (DCTELEM *data); |
238 void (*bswap_buf)(uint32_t *dst, uint32_t *src, int w); | 237 void (*bswap_buf)(uint32_t *dst, uint32_t *src, int w); |
239 | 238 |
240 /* (I)DCT */ | 239 /* (I)DCT */ |
241 void (*fdct)(DCTELEM *block/* align 16*/); | 240 void (*fdct)(DCTELEM *block/* align 16*/); |
242 | 241 |
242 /* IDCT really*/ | |
243 void (*idct)(DCTELEM *block/* align 16*/); | |
244 | |
243 /** | 245 /** |
244 * block -> idct -> clip to unsigned 8 bit -> dest. | 246 * block -> idct -> clip to unsigned 8 bit -> dest. |
245 * (-1392, 0, 0, ...) -> idct -> (-174, -174, ...) -> put -> (0, 0, ...) | 247 * (-1392, 0, 0, ...) -> idct -> (-174, -174, ...) -> put -> (0, 0, ...) |
246 * @param line_size size in bytes of a horizotal line of dest | 248 * @param line_size size in bytes of a horizotal line of dest |
247 */ | 249 */ |