-h
5th December 2002, 07:51
Just to clear up some issues and convince myself that the universe hasn't folded in on itself, this is my current understanding of the planar colorspaces. Forgive how basic it is:
YV12: Y plane is stored, followed by half-width/half-height V plane (whose stride is half the Y plane's), followed by a similarly sized U plane.
I420 / IYUV: As with YV12, but the U plane comes before the V plane.
And with the mod-4 requirements of VfW, any YV12/I420/IYUV image going through VfW will have at least a mod-4 stride for the Y-plane, even if the line width is only mod-2.
Please tell me this is true.
I have.. strange things happening to my chroma information.
-h
YV12: Y plane is stored, followed by half-width/half-height V plane (whose stride is half the Y plane's), followed by a similarly sized U plane.
I420 / IYUV: As with YV12, but the U plane comes before the V plane.
And with the mod-4 requirements of VfW, any YV12/I420/IYUV image going through VfW will have at least a mod-4 stride for the Y-plane, even if the line width is only mod-2.
Please tell me this is true.
I have.. strange things happening to my chroma information.
-h