[FFmpeg-devel] [PATCH v5 1/2] lavc/mjpegdec: Decode Huffman-coded lossless JPEGs embedded in DNGs

Michael Niedermayer michael at niedermayer.cc
Thu Jul 25 13:58:03 EEST 2019


On Wed, Jul 24, 2019 at 01:20:13PM +0300, velocityra at gmail.com wrote:
> From: Nick Renieris <velocityra at gmail.com>
> 
> Main image data in DNGs is usually comprised of tiles, each of which is a Huffman-encoded lossless JPEG.
> 
> Tested for ljpeg regressions with:
> `ffmpeg -f lavfi -i testsrc=d=1 -vcodec ljpeg test.avi`
> `ffmpeg test.avi out.avi`
> The modified code in ljpeg_decode_rgb_scan runs without issues.
> 
> Signed-off-by: Nick Renieris <velocityra at gmail.com>
> ---
>  libavcodec/mjpegdec.c | 54 ++++++++++++++++++++++++++++++++++++-------
>  libavcodec/mjpegdec.h |  1 +
>  2 files changed, 47 insertions(+), 8 deletions(-)

breaks
tickets/842/testimgl.jpg
should be here: https://trac.ffmpeg.org/raw-attachment/ticket/842/testimgl.jpg

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190725/20f32aaa/attachment.sig>


More information about the ffmpeg-devel mailing list