[FFmpeg-devel] [PATCH] pngdec: set correct range

wm4 nfxjfg at googlemail.com
Fri May 8 00:08:57 CEST 2015

On Thu, 7 May 2015 22:00:32 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> wm4 <nfxjfg <at> googlemail.com> writes:
> > > I believe this is slightly misleading: gray8 and 
> > > gray16 are interpreted as full-range by default 
> > > since years.
> > 
> > Really? Where?
> In the software scaler.

Doesn't matter much from the API user point of view. Not everyone uses

There is the (unwritten?) convention that YUV is limited range, and RGB
is full range. GRAY is somewhat both, but at least the pixdesc tables
do not mark it as RGB.

What is your opinion about this?

More information about the ffmpeg-devel mailing list