diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-10-12 19:37:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-13 00:01:39 +0200 |
commit | 9f3bfe30dd99b093a469e566dbd95448b32f80e9 (patch) | |
tree | 71aba6a09f800c415c0917a4f32cc1186cc67460 /libavcodec/mpegvideo.h | |
parent | 97437bd17a8c5d4135b2f3b1b299bd7bb72ce02c (diff) | |
download | ffmpeg-9f3bfe30dd99b093a469e566dbd95448b32f80e9.tar.gz |
mpegvideo: dnxhdenc: permute 10bits content
Dequant or encoding were trying to reverse a scan that hadn't been
applied...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index a2cd8e8c94..df1a13fff6 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -660,7 +660,8 @@ int ff_dct_encode_init(MpegEncContext *s); void ff_convert_matrix(MpegEncContext *s, int (*qmat)[64], uint16_t (*qmat16)[2][64], const uint16_t *quant_matrix, int bias, int qmin, int qmax, int intra); int ff_dct_quantize_c(MpegEncContext *s, int16_t *block, int n, int qscale, int *overflow); - +void ff_block_permute(int16_t *block, uint8_t *permutation, + const uint8_t *scantable, int last); void ff_init_block_index(MpegEncContext *s); void ff_mpv_motion(MpegEncContext *s, |