[MPlayer-G2-dev] MID proposal

Alex Beregszaszi alex at fsn.hu
Sat Nov 1 20:51:48 CET 2003


Hi,

> > > What is the point of depth? How is it defined?
> > Depth is the number of bits used for describe a pixel, bpp means the
> > bytes which are used to store a pixel. RGB24 has depth=24 but can
> > have both bpp=24 and bpp=32.
> 
> I know that much. But how is depth defined for YUV? Is there even any
> point of knowing the depth..?
For YUV you must round down depth, but imho it has not much sense to
speak about depth in case of YUV. Depth field is only usable for RGB
colorspace so we wouldn't need those IMGFMT_RGB/BGR_DEPTH macros. 

 
> IMO not. Info about interlacing does definitely belong in the video
> pipeline, BUT most of the time it wouldn't even be known yet when
> you're using MIDs, and like Arpi said MIDs should come from a table of
> constants.
Let's drop this field for now.

[snip]
> Anyway, IMO the x,y stuff is not acceptable. It's too much of a burden
> to ask every single filter to know how to process partial images by
> itself, and there's no advantage.
Your mechanism is interesting, and yes, it's up to you if you drop these
fields or not. Note: I only copied MPI from the current headers. If we
all agree on a MID definition, we can work on a new MPI using MID.

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-G2-dev mailing list