[FFmpeg-cvslog] avcodec/jpegls: print coding parameters stored in LSE

Michael Niedermayer git at videolan.org
Fri Apr 11 23:47:57 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Apr 11 23:30:39 2014 +0200| [88ceede1fd7835080da11c4e9a74af69bdfc5412] | committer: Michael Niedermayer

avcodec/jpegls: print coding parameters stored in LSE

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88ceede1fd7835080da11c4e9a74af69bdfc5412
---

 libavcodec/jpeglsdec.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/jpeglsdec.c b/libavcodec/jpeglsdec.c
index d8e2bdb..add7200 100644
--- a/libavcodec/jpeglsdec.c
+++ b/libavcodec/jpeglsdec.c
@@ -66,6 +66,11 @@ int ff_jpegls_decode_lse(MJpegDecodeContext *s)
         s->t3     = 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);
         //FIXME quant table?
         break;



More information about the ffmpeg-cvslog mailing list