[FFmpeg-devel] [PATCH v10 02/13] lavc/tiff: Decode embedded JPEGs in DNG images

Michael Niedermayer michael at niedermayer.cc
Thu Aug 8 01:32:43 EEST 2019


On Wed, Aug 07, 2019 at 06:27:12PM +0300, velocityra at gmail.com wrote:
> From: Nick Renieris <velocityra at gmail.com>
> 
> Used a technique similar to lavc/tdsc.c for invoking the MJPEG decoder.
> 
> This commit adds support for:
> - DNG tiles
> - DNG tile huffman lossless JPEG decoding
> - DNG 8-bpp ("packed" as dcraw calls it) decoding
> - DNG color scaling [1]
>   - LinearizationTable tag
>   - BlackLevel tag
> 
> [1]: As specified in the DNG Specification - Chapter 5
> 
> Signed-off-by: Nick Renieris <velocityra at gmail.com>
> ---
>  configure           |   1 +
>  libavcodec/Makefile |   2 +-
>  libavcodec/tiff.c   | 318 +++++++++++++++++++++++++++++++++++++++++++-
>  libavcodec/tiff.h   |   2 +
>  4 files changed, 315 insertions(+), 8 deletions(-)

breaks 
TEST    tiff-fax-g3s
--- ./tests/ref/fate/tiff-fax-g3s	2019-08-05 22:38:57.562197572 +0200
+++ tests/data/fate/tiff-fax-g3s	2019-08-08 00:31:26.473428768 +0200
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 2464x3248
 #sar 0: 1/1
-0,          0,          0,        1,  1000384, 0xb758eb8b
+0,          0,          0,        1, 16006144, 0xef95913a
Test tiff-fax-g3s failed. Look at tests/data/fate/tiff-fax-g3s.err for details.
make: *** [fate-tiff-fax-g3s] Error 1

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

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- 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/20190808/8617b35a/attachment.sig>


More information about the ffmpeg-devel mailing list