avcodec/jpegls: print coding parameters stored in LSE

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-04-11 23:30:39 +02:00
parent 662a8d8827
commit 88ceede1fd
1 changed files with 5 additions and 0 deletions

View File

@ -66,6 +66,11 @@ int ff_jpegls_decode_lse(MJpegDecodeContext *s)
s->t3 = get_bits(&s->gb, 16); s->t3 = get_bits(&s->gb, 16);
s->reset = get_bits(&s->gb, 16); s->reset = get_bits(&s->gb, 16);
if(s->avctx->debug & FF_DEBUG_PICT_INFO) {
av_log(s->avctx, AV_LOG_DEBUG, "Coding parameters maxval:%d T1:%d T2:%d T3:%d reset:%d\n",
s->maxval, s->t1, s->t2, s->t3, s->reset);
}
// ff_jpegls_reset_coding_parameters(s, 0); // ff_jpegls_reset_coding_parameters(s, 0);
//FIXME quant table? //FIXME quant table?
break; break;