[FFmpeg-devel] [PATCH] pngdec: set correct range
nfxjfg at googlemail.com
Thu May 7 23:50:49 CEST 2015
On Thu, 7 May 2015 21:47:22 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> wm4 <nfxjfg <at> googlemail.com> writes:
> > AV_PIX_FMT_GRAY8/16 are considered YUV formats,
> > and the color_range is not set - so the API user
> > will have to assume limitted range. (Unless the
> > API user adds a special-case for the PNG decoder.)
> I believe this is slightly misleading: gray8 and
> gray16 are interpreted as full-range by default
> since years.
I've verified that libavcodec does not set the range flag for PNGs.
More information about the ffmpeg-devel