diff mbox

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

Message ID 20190807223243.GJ3219@michaelspb
State Not Applicable
Headers show

Commit Message

Michael Niedermayer Aug. 7, 2019, 10:32 p.m. UTC
On Wed, Aug 07, 2019 at 06:27:12PM +0300, velocityra@gmail.com wrote:
> From: Nick Renieris <velocityra@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@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
Test tiff-fax-g3s failed. Look at tests/data/fate/tiff-fax-g3s.err for details.
make: *** [fate-tiff-fax-g3s] Error 1

[...]
diff mbox

Patch

--- ./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