Mercurial > mplayer.hg
comparison DOCS/tech/colorspaces.txt @ 5322:329896ab1989
typo...
author | arpi |
---|---|
date | Mon, 25 Mar 2002 02:10:08 +0000 |
parents | ba5c92e64c5d |
children | 6ce9c6231bdd |
comparison
equal
deleted
inserted
replaced
5321:c8270b550383 | 5322:329896ab1989 |
---|---|
41 doesn't matter what is they order in memory: | 41 doesn't matter what is they order in memory: |
42 for mp_image_t and libvo's draw_slice(): | 42 for mp_image_t and libvo's draw_slice(): |
43 planes[0] = Y = luminance | 43 planes[0] = Y = luminance |
44 planes[1] = U = Cb = blue | 44 planes[1] = U = Cb = blue |
45 planes[2] = V = Cr = red | 45 planes[2] = V = Cr = red |
46 Note: planes[1] is ALWAYS U, and planes[2] is V, the fourcc | |
47 (YV12 vs. I420) doesn't matter here! So, every codecs using 3 pointers | |
48 (not only the first one) normally supports YV12 and I420 (=IYUV) too! | |
46 | 49 |
47 But there are some codecs (vfw, dshow) and vo drivers (xv) ignoring the 2nd | 50 But there are some codecs (vfw, dshow) and vo drivers (xv) ignoring the 2nd |
48 and 3rd pointer, and use only a single pointer to the planar yuv image. In | 51 and 3rd pointer, and use only a single pointer to the planar yuv image. In |
49 this case we must know the right order and alignment of planes in the memory! | 52 this case we must know the right order and alignment of planes in the memory! |
50 | 53 |