diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-16 19:19:23 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-16 19:25:17 +0000 |
commit | 58dd885f9ae7feee002773253e345e11e7142739 (patch) | |
tree | fbc4ca8c9d0367b61a7654b0f479bf528cb04058 /libavcodec/mpeg12.h | |
parent | 8e2105297daecba193ce6f264becd2d5245f2d9d (diff) | |
parent | 7c25ffe070c286874a8c3513f7504b90e1626b0c (diff) | |
download | ffmpeg-58dd885f9ae7feee002773253e345e11e7142739.tar.gz |
Merge commit '7c25ffe070c286874a8c3513f7504b90e1626b0c'
* commit '7c25ffe070c286874a8c3513f7504b90e1626b0c':
mpeg1: Make intra-block decoding independent of MpegEncContext
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/mpeg12.h')
-rw-r--r-- | libavcodec/mpeg12.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.h b/libavcodec/mpeg12.h index 16ca195a47..f8e2d23824 100644 --- a/libavcodec/mpeg12.h +++ b/libavcodec/mpeg12.h @@ -50,7 +50,12 @@ static inline int decode_dc(GetBitContext *gb, int component) return diff; } -int ff_mpeg1_decode_block_intra(MpegEncContext *s, int16_t *block, int n); +int ff_mpeg1_decode_block_intra(GetBitContext *gb, + const uint16_t *quant_matrix, + uint8_t *const scantable, int last_dc[3], + int16_t *block, int index, int qscale, + int block_last_index[12]); + void ff_mpeg1_clean_buffers(MpegEncContext *s); int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size, AVCodecParserContext *s); |