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

D Richard Felker III dalias at aerifal.cx
Thu Oct 31 21:15:23 CET 2002


On Thu, Oct 31, 2002 at 06:31:34PM +0100, Michael Niedermayer wrote:
> 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

No. AFAIK d_width/d_height don't have anything to do with desired
crop/expand size. However, crop/expand filters should update them to
preserve correct aspect for the vo. Also my vf_halfpack halves the
height of the image, but it leaves d_height untouched; the reason
should be obvious.

Rich




More information about the MPlayer-cvslog mailing list