diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-12 03:02:09 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-12 03:02:09 +0200 |
commit | eea92133a16e7e0a837ad680afd4a05d08683a61 (patch) | |
tree | 5b7dab8bc94dd988746bd1a0973c5fa65b184484 /libavcodec/mqc.h | |
parent | b395fd3de7dab14841b3c7898aaea04d29c11bc7 (diff) | |
download | ffmpeg-eea92133a16e7e0a837ad680afd4a05d08683a61.tar.gz |
avcodec/mqcdec: Support raw bypass and non reseting init
Some broken code that used the old mqc is removed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mqc.h')
-rw-r--r-- | libavcodec/mqc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/mqc.h b/libavcodec/mqc.h index c0827bd526..e4123c2109 100644 --- a/libavcodec/mqc.h +++ b/libavcodec/mqc.h @@ -43,6 +43,7 @@ typedef struct MqcState { unsigned int c; unsigned int ct; uint8_t cx_states[19]; + int raw; } MqcState; /* encoder */ @@ -65,8 +66,10 @@ int ff_mqc_flush(MqcState *mqc); * Initialize MQ-decoder. * @param mqc MQ decoder state * @param bp byte poiter + * @param raw raw mode + * @param reset reset states */ -void ff_mqc_initdec(MqcState *mqc, uint8_t *bp); +void ff_mqc_initdec(MqcState *mqc, uint8_t *bp, int raw, int reset); /** * MQ decoder. |