Mercurial > libavcodec.hg
comparison dsputil.h @ 1241:6a873cad413e libavcodec
more idct_permute docs
author | michaelni |
---|---|
date | Sun, 11 May 2003 10:19:05 +0000 |
parents | ca979193f8e1 |
children | e8c3884f2c7e |
comparison
equal
deleted
inserted
replaced
1240:c95ff60bc1a1 | 1241:6a873cad413e |
---|---|
238 */ | 238 */ |
239 void (*idct_add)(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); | 239 void (*idct_add)(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/*align 16*/); |
240 | 240 |
241 /** | 241 /** |
242 * idct input permutation. | 242 * idct input permutation. |
243 * several optimized IDCTs need a permutated input (relative to the normal order of the reference | |
244 * IDCT) | |
245 * this permutation must be performed before the idct_put/add, note, normally this can be merged | |
246 * with the zigzag/alternate scan<br> | |
243 * an example to avoid confusion: | 247 * an example to avoid confusion: |
244 * - (->decode coeffs -> zigzag reorder -> dequant -> reference idct ->...) | 248 * - (->decode coeffs -> zigzag reorder -> dequant -> reference idct ->...) |
245 * - (x -> referece dct -> reference idct -> x) | 249 * - (x -> referece dct -> reference idct -> x) |
246 * - (x -> referece dct -> simple_mmx_perm = idct_permutation -> simple_idct_mmx -> x) | 250 * - (x -> referece dct -> simple_mmx_perm = idct_permutation -> simple_idct_mmx -> x) |
247 * - (->decode coeffs -> zigzag reorder -> simple_mmx_perm -> dequant -> simple_idct_mmx ->...) | 251 * - (->decode coeffs -> zigzag reorder -> simple_mmx_perm -> dequant -> simple_idct_mmx ->...) |