Mercurial > libavcodec.hg
diff dsputil.h @ 764:d4726182dfd2 libavcodec
optimize block_permute()
optimize dct_quantize_c()
dont permute s->q_inter/intra_matrix
author | michaelni |
---|---|
date | Wed, 23 Oct 2002 15:11:07 +0000 |
parents | 8e1f0939d15d |
children | 6f5e87957bcb |
line wrap: on
line diff
--- a/dsputil.h Wed Oct 23 08:14:12 2002 +0000 +++ b/dsputil.h Wed Oct 23 15:11:07 2002 +0000 @@ -115,7 +115,11 @@ int pix_abs16x16_y2_c(UINT8 *blk1, UINT8 *blk2, int lx); int pix_abs16x16_xy2_c(UINT8 *blk1, UINT8 *blk2, int lx); -void block_permute(INT16 *block, UINT8 *permutation); +/** + * permute block according to permuatation. + * @param last last non zero element in scantable order + */ +void ff_block_permute(INT16 *block, UINT8 *permutation, const UINT8 *scantable, int last); #if defined(HAVE_MMX)