[x264-devel] Re: [PATCH] move x264_levels extern from x264.h to set.h

Loren Merritt lorenm at u.washington.edu
Thu Feb 1 04:10:59 CET 2007


On Thu, 1 Feb 2007, Limin Wang wrote:

> I think x264_levels[] is used by x264 library internally and shouldn't
> be exposed out to public interface. Is it true?

I don't know of any applications that use x264_levels[], but I think it 
should be part of the API. Because selecting a level is only informative, 
it doesn't modify all the other settings to be compliant with the level. 
(And x264 can't do the enforcement, because levels limit some things 
like resolution and framerate that x264 can't change.)
So if an application wants to do the levels configuration rather than pass 
it on to the user, it needs to access the table of constraints.

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list