MID proposal

Alex Beregszaszi <[email protected]>
Newsgroups gmane.comp.video.mplayer.g2.devel
Message-ID <[email protected]>
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 <[email protected]>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.