[MPlayer-dev-eng] software scaling

Arpi arpi at thot.banki.hu
Mon Oct 15 21:21:22 CEST 2001


Hi,

I've separated my old YV12->BGR scaler routine and put to postproc/swscale.c

It's full C, but optimized in algorithm-level. the 3 inner loops should
be done in MMX, because C sux at vector multiply and 0..255 range clipping...

Is someone (Michael, Nick) interested? I think it's a 5 minute work for you...

For testing, you can use x11:

mplayer -vo x11 -zoom file.mpg

note: input (codec) must be YV12  (ffmpeg codecs or libmpeg2 are ok)
      output (X11) must be 24/32bpp. 15/16 not yet supported... (easy to add)


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list