[MPlayer-dev-eng] [PATCH] New VO drivers.

D Richard Felker III dalias at aerifal.cx
Mon Sep 20 07:05:14 CEST 2004


On Mon, Sep 20, 2004 at 06:15:00AM +0200, Ivo wrote:
> On Monday 20 September 2004 05:36, Jan Knutar wrote:
> > Are there thoughts of removing vo_pgm?
> 
> Yes. My last sentence was:
> 
> > Next step will be to remove vo_pgm and vo_md5 in a few days.
> 
> The same functionality is in vo_pnm.
> 
> -vo pgm
> 
> can be replaced by:
> 
> -vo pnm:pgmyuv
> 
> vo_pgm wasn't true PGM in the first place (meaning a grayscale image of the 
> frame) but it was PGMYUV. Also, vo_pnm is much faster as it does not copy 
> the whole frame to a local variable, but it gets its data directly from the 
> mp_image structure that's passed to draw_image, thus avoiding a costly 
> memcpy.

if you want to make it even faster, you could support direct rendering
(get_image) into mmap'd files. :)))

but this won't work with out-of-order rendering and other bad filter
behavior, so it's probably a better idea not to. :)

rich




More information about the MPlayer-dev-eng mailing list