changeset 1101:a3a8017dee70 libavcodec

more idiot proof dox
author michaelni
date Thu, 06 Mar 2003 02:04:54 +0000
parents 207f27932628
children eeaa1e837efb
files dsputil.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Wed Mar 05 23:55:52 2003 +0000
+++ b/dsputil.c	Thu Mar 06 02:04:54 2003 +0000
@@ -1627,9 +1627,11 @@
 
 /**
  * permutes an 8x8 block.
- * @param block the block :)
+ * @param block the block which will be permuted according to the given permutation vector
  * @param permutation the permutation vector
  * @param last the last non zero coefficient in scantable order, used to speed the permutation up
+ * @param scantable the used scantable, this is only used to speed the permutation up, the block is not 
+ *                  (inverse) permutated to scantable order!
  */
 void ff_block_permute(DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last)
 {
@@ -1652,6 +1654,9 @@
     }
 }
 
+/**
+ * memset(blocks, 0, sizeof(DCTELEM)*6*64)
+ */
 static void clear_blocks_c(DCTELEM *blocks)
 {
     memset(blocks, 0, sizeof(DCTELEM)*6*64);