[MPlayer-G2-dev] MID proposal
Alex Beregszaszi
alex at fsn.hu
Sat Nov 1 16:38:14 CET 2003
Hi,
Here's my idea of a IMGFMT replacement: MID stands for MPlayer Image
Description.
MID {
imgfmt (?)
type (rgb or yuv)
bpp
depth
chroma_x_shift
chroma_y_shift
num_planes (>1 -> planar)
fields (interlacing)
}
MPI {
mid
flags
type
width, height
x,y,w,h
planes
stride
...
}
The advantage of this is that it would be safe to change query_format to
the following: query_format(vo_instance, mid, width, height) and other
apperances of complicated imgfmt usage, it would reduce code.
--
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)
More information about the MPlayer-G2-dev
mailing list