From: Michael Niedermayer Date: Wed, 10 Jun 2015 18:58:26 +0000 (+0200) Subject: Merge commit 'd1dd0d404c085f4fce7b8358b4aea677761c5d88' X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=21d8e2c0b5aa5bae900fcfeb7f29de1d2261c2bd;p=ffmpeg Merge commit 'd1dd0d404c085f4fce7b8358b4aea677761c5d88' * commit 'd1dd0d404c085f4fce7b8358b4aea677761c5d88': mpegvideo: Move block permutation function where is used Merged-by: Michael Niedermayer --- 21d8e2c0b5aa5bae900fcfeb7f29de1d2261c2bd diff --cc libavcodec/mpegvideo.h index 95ddc0f6660,1a6857dd425..e538695a98b --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@@ -674,14 -638,8 +674,8 @@@ void ff_mpv_motion(MpegEncContext *s op_pixels_func (*pix_op)[4], qpel_mc_func (*qpix_op)[16]); - /** - * permute block according to permuatation. - * @param last last non zero element in scantable order - */ - void ff_block_permute(int16_t *block, uint8_t *permutation, const uint8_t *scantable, int last); - static inline void ff_update_block_index(MpegEncContext *s){ - const int block_size = 8; + const int block_size= 8 >> s->avctx->lowres; s->block_index[0]+=2; s->block_index[1]+=2;