diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-03-05 23:55:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-05 23:55:52 +0000 |
commit | a9badb51bffd508918a20674d821b786bd94d12c (patch) | |
tree | a1f8ae1d16cfa8d11579281132e2eaf7bcc9be8a /libavcodec/dsputil.c | |
parent | 3c5ce6dc99584a9a355e353cdba74b82ff703119 (diff) | |
download | ffmpeg-a9badb51bffd508918a20674d821b786bd94d12c.tar.gz |
ff_block_permute() dox
Originally committed as revision 1628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 58297f3f09..e568bcc106 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -1625,6 +1625,12 @@ static int sad8x8_c(void *s, uint8_t *a, uint8_t *b, int stride){ return pix_abs8x8_c(a,b,stride); } +/** + * permutes an 8x8 block. + * @param block the block :) + * @param permutation the permutation vector + * @param last the last non zero coefficient in scantable order, used to speed the permutation up + */ void ff_block_permute(DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last) { int i; |