Commit 0f387f81 authored by michaelni's avatar michaelni

ff_block_permute() dox


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1628 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 050bc164
...@@ -1625,6 +1625,12 @@ static int sad8x8_c(void *s, uint8_t *a, uint8_t *b, int stride){ ...@@ -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); 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) void ff_block_permute(DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment