[FFmpeg-devel] [PATCH v10 04/13] lavc/tiff: Apply color scaling to uncompressed DNGs

Michael Niedermayer michael at niedermayer.cc
Thu Aug 8 01:21:50 EEST 2019


On Wed, Aug 07, 2019 at 06:27:14PM +0300, velocityra at gmail.com wrote:
> From: Nick Renieris <velocityra at gmail.com>
> 
> Signed-off-by: Nick Renieris <velocityra at gmail.com>
> ---
>  libavcodec/tiff.c | 22 +++++++++++++++++++++-
>  1 file changed, 21 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
> index c7e2adb3ae..b6f626daca 100644
> --- a/libavcodec/tiff.c
> +++ b/libavcodec/tiff.c
> @@ -679,6 +679,25 @@ static int tiff_unpack_strip(TiffContext *s, AVFrame *p, uint8_t *dst, int strid
>                  for (i = 0; i < width; i++)
>                      dst[i] = ff_reverse[src[i]];
>              }
> +
> +            /* Color processing for DNG images with uncompressed strips (non-tiled) */
> +            if (is_dng) {

This variable is only added in a later patch
so this does not build

also some change in this patchset breaks:
./ffplay tickets/2826/pred6disc7.jpg
file should be here:
https://trac.ffmpeg.org/raw-attachment/ticket/2826/pred6disc7.jpg

Thanks

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

Does the universe only have a finite lifespan? No, its going to go on
forever, its just that you wont like living in it. -- Hiranya Peiri
-------------- 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/4790fe45/attachment.sig>


More information about the ffmpeg-devel mailing list