[Theora-dev] Theora with DirectX earlier than 9

Sebastien Daloz sebastien.daloz at gmail.com
Mon May 30 06:37:37 PDT 2005


After some tests, I realize YV12 is DWord aligned.
But taking the case Y need a 1 byte to be Dword aligned, what is the
pitch for U and V ? Their stride are defined in Microsoft's page
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/YUVFormats.asp)
as the half of the Y stride. But 1/2 is not an integer, so it is an
aligment of 1 byte for each U and V, 1 for U and 0 for V (or the
contrary), or 1 byte each every 2 rows ?

I have tested with 0 byte alignment for U and V and it doesn't work.


Seb.


More information about the Theora-dev mailing list