[libav-devel] [PATCH][RFC] lavu: add deprecation guards to full scale formats

Luca Barbato lu_zero at gentoo.org
Wed Mar 12 08:12:52 CET 2014


On 12/03/14 07:48, Vittorio Giovara wrote:
> ---
> As noted by wm4 the full scale formats have been deprecated for ages but
> the entries of the enum have not (which this patch takes care of).
> 
> Also I'm a bit puzzled that pixel formats are in lavu while color space and
> color range are in lavc. Would it be better to move them all to lavu?
> 
> Another point, (again AFAIU) pixel format/range/space seem to be more a frame
> property, instead of a context one (kinda like interlacing). Would it make sense
> to move everything there? The API I would envision would be an entry in AVFrame
> and an AVFrameSideData for the color range and spaces.
> 

I think swscale is the reason...

lu



More information about the libav-devel mailing list