[MPlayer-dev-eng] enhancement for yuv4mpeg output driver

Trent Piepho xyzzy at speakeasy.org
Fri Jan 21 00:27:37 CET 2005


On Fri, 21 Jan 2005, Michael Niedermayer wrote:
> i seriously doubt that gcc passes floating point numbers via registers, 
> instead its passed as a double over the stack

Yes, as a double, which isn't a float, which is what mplayer uses.

> 
> but it works if u limit it to 30000 ...

It doesn't work in all cases, here's one at random:
431/13695 -> 902/28661

Why is av_d2q better if it only works in special cases?

Here is another case, a very real one, where it doesn't work:  60000/1001. 
That is MPEG frame rate code 7, which is used for 4 of the 18 ATSC standard
formats.  If mplayer and av_d2q() can't even get ATSC standardized formats
right, much less typical AVI files, isn't that a problem?




More information about the MPlayer-dev-eng mailing list