[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.39,1.40

D Richard Felker III dalias at aerifal.cx
Sun Apr 27 19:44:03 CEST 2003


On Sun, Apr 27, 2003 at 07:58:20PM +0200, Arpi wrote:
> Hi,
> 
> > BTW, soon I'm going to write vf_aspect or vf_dsize or something (can't
> > decide what to call it) that lets you set the d_width/d_height at an
> > arbitrary point in the filter chain, so that the rest of the chain can
> > compute with and preserve it properly when cropping, expanding, and
> > scaling. However, before I write it, I need to figure out how to pass
> > get_image, put_image, and draw_slice through properly so it doesn't
> > affect performance in any way...
> 
> just don't set them (their function pointers in open()), then it will
> be assumed as pass-thru filter (see vf_dvbscale for example)

Ah, very cool, thanks. libmpcodecs design is very nice, imo!

Rich



More information about the MPlayer-cvslog mailing list