[Mplayer-cvslog] CVS: main/DOCS/tech libmpcodecs.txt,1.4,1.5

Michael Niedermayer michaelni at gmx.at
Thu Oct 31 18:31:34 CET 2002


Hi

On Thursday 31 October 2002 17:52, Arpi wrote:
> Hi,
>
> > On Thursday 31 October 2002 15:26, Arpi of Ize wrote:
> > > Update of /cvsroot/mplayer/main/DOCS/tech
> > > In directory mail:/var/tmp.root/cvs-serv19311
> > >
> > > Modified Files:
> > > 	libmpcodecs.txt
> > > Log Message:
> > > some docs about video filter api
> > >
> > :)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
>
> heh :)
> it was not intend to be a joke :)
> btw tell me if something is missing, unclear, unreadable etc...
ok

perhaps we should mention that query_format() is for the input format and not 
the output and that a filter must call query format of the next filter to 
select an acceptable output format

width vs. d_width is allso confusing
if i understand it correctly then
* normal filters which dont resize/crop/expand should use width/height & just 
pass d_width/d_height untouched to the next filter
* scale/crop/expand filters should convert from width/height -> 
d_width/d_height unless the user explicitly requests another size, they 
should allso pass d_width/d_height unchanged

chroma_x_shift, chroma_y_shift
they specify the chroma subsampling for yuv formats:
chroma_width = luma_width >>chroma_x_shift;
chroma_height= luma_height>>chroma_y_shift;

[...]

Michael



More information about the MPlayer-cvslog mailing list