[Mplayer-cvslog] CVS: main/DOCS/tech colorspaces.txt,1.1,1.2

Arpi of Ize arpi at mplayer.dev.hu
Sun Mar 24 19:44:18 CET 2002


Update of /cvsroot/mplayer/main/DOCS/tech
In directory mplayer:/var/tmp.root/cvs-serv19308

Modified Files:
	colorspaces.txt 
Log Message:
fixes, extended by mplayer's planes[]


Index: colorspaces.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/colorspaces.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- colorspaces.txt	24 Mar 2002 18:42:05 -0000	1.1
+++ colorspaces.txt	24 Mar 2002 18:44:15 -0000	1.2
@@ -33,12 +33,17 @@
 Conclusion:
 Y = luminance, the weighted average of R G B components. (0=black 255=white)
 U = Cb = blue component (0=green 128=grey 255=blue)
-V = Cv = red component  (0=green 128=grey 255=red)
+V = Cr = red component  (0=green 128=grey 255=red)
 
 MPlayer side:
 =============
 In MPlayer, we usually have 3 pointers to the Y, U and V planes, so it
-doesn't matter what is they order in memory.
+doesn't matter what is they order in memory:
+    for mp_image_t and libvo's draw_slice():
+	planes[0] = Y = luminance
+	planes[1] = U = Cb = blue
+	planes[2] = V = Cr = red
+
 But there are some codecs (vfw, dshow) and vo drivers (xv) ignoring the 2nd
 and 3rd pointer, and use only a single pointer to the planar yuv image. In
 this case we must know the right order and alignment of planes in the memory!




More information about the MPlayer-cvslog mailing list