Log in

View Full Version : ConvertToYV12/YUY2 parameter order


Gavino
1st March 2009, 18:36
There is an inconsistency between the implementation and documentation of the parameters to ConvertToYV12 and ConvertToYUY2. In the implementations, parameter "interlaced" comes before "matrix", but both the installed documentation and the wiki show these the other way round ("matrix" first). (Thus ConvertToYV12("PC.601") gives an error.)

OTOH, the ConvertToRGB set of functions all have "matrix" first in both implementation and documentation.

For compatibility with existing scripts, I guess we're stuck with the implemented functions, so I suppose the only solution is just to make the documentation consistent with that?

Fizick
1st March 2009, 20:27
we can not change 2.5.8 offline doc.
And we can not to change the Wiki. - for some strange reason, the wiki is describing non-released version 2.60

Wilbert
1st March 2009, 21:42
for some strange reason, the wiki is describing non-released version 2.60
What's strange about that? 2.60 needs to be documented some day ... I will correct the wiki.