diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-07 21:04:32 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-02-07 22:05:25 +0100 |
commit | 0b016eb99d38738e2c53e36549a4732a0f863b2e (patch) | |
tree | 2402133365339f6e203b1c21da89363e49d9cf40 /libavcodec/mpegvideo.h | |
parent | a1d36730342edf7281e5992a7f8aafabc2464ed0 (diff) | |
download | ffmpeg-0b016eb99d38738e2c53e36549a4732a0f863b2e.tar.gz |
dsputil: Move ff_block_permute to mpegvideo_enc
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 1294d0c924..f3f982742b 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -815,6 +815,12 @@ int ff_alloc_picture(MpegEncContext *s, Picture *pic, int shared); extern const enum AVPixelFormat ff_pixfmt_list_420[]; extern const enum AVPixelFormat ff_hwaccel_pixfmt_list_420[]; +/** + * 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; |