[MPlayer-dev-eng] mencoder crop?
Arpi
arpi at thot.banki.hu
Thu Dec 6 21:43:07 CET 2001
Hi,
> > > iam trying that currently :)
> >
> > the only way to implement it at clean way:
> >
> > decode full image to Wi*Hi size (i=input).
> > copy/resize the Wc*Hc (c=crop) area to a new Wo*Ho (o=out) buffer and
> > call the encoder codec with this buffer. additional colorspace conversion
> > can be done at this copy/scale step.
> ive just implemented it the dirty way :(
> change width height and origin and leave stride ... seems to work though
>
> >
> > if you want, i can implement it in a few minutes.
> i dont need it at the moment, i just saw it on the todo list so i thought ill
> implement it ... if u want me to commit my dirty variant than say so
> otherwise u can implement the clean one ...
send me a patch - then i'll see :)
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