Mercurial > libavcodec.hg
comparison dsputil.c @ 1100:207f27932628 libavcodec
ff_block_permute() dox
author | michaelni |
---|---|
date | Wed, 05 Mar 2003 23:55:52 +0000 |
parents | f59c3f66363b |
children | a3a8017dee70 |
comparison
equal
deleted
inserted
replaced
1099:988b180afd31 | 1100:207f27932628 |
---|---|
1623 | 1623 |
1624 static int sad8x8_c(void *s, uint8_t *a, uint8_t *b, int stride){ | 1624 static int sad8x8_c(void *s, uint8_t *a, uint8_t *b, int stride){ |
1625 return pix_abs8x8_c(a,b,stride); | 1625 return pix_abs8x8_c(a,b,stride); |
1626 } | 1626 } |
1627 | 1627 |
1628 /** | |
1629 * permutes an 8x8 block. | |
1630 * @param block the block :) | |
1631 * @param permutation the permutation vector | |
1632 * @param last the last non zero coefficient in scantable order, used to speed the permutation up | |
1633 */ | |
1628 void ff_block_permute(DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last) | 1634 void ff_block_permute(DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last) |
1629 { | 1635 { |
1630 int i; | 1636 int i; |
1631 DCTELEM temp[64]; | 1637 DCTELEM temp[64]; |
1632 | 1638 |