[FFmpeg-devel] [PATCH] add ME_T/ESA to avcodec.h

Michael Niedermayer michaelni
Sat Jun 7 04:50:01 CEST 2008


On Fri, Jun 06, 2008 at 07:25:24PM -0700, Baptiste Coudurier wrote:
[...]
> 2) adding a way to override AVOptions range for qmax etc.. which needs
> to be hardcoded because user has no business saying that qmax max value
> for mpeg-2 is 7821637. 

true


> Mainly because bumping default max value to 1024
> would require every codec supporting qmax to check if value is valid.

I see the problem, i dont know which solution is best but

qmax in mpeg2 depends on the use of non linear quantizer IIRC (unless i
have the place of where the max is applied wrong ...)
then most options depend on the profile & level, some might depend on
the pixelformat 420 vs. 422 vs. 444

So simple per codec ranges are not enough at all ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080607/0873d1cf/attachment.pgp>



More information about the ffmpeg-devel mailing list