[MPlayer-dev-eng] MPlayer porting for RGB-655 machine

Michael Niedermayer michaelni at gmx.at
Thu Jul 24 14:32:00 CEST 2003


Hi

On Thursday 24 July 2003 14:06, armin.gerritsen at philips.com wrote:
> >    I am trying to port MPlayer for a 16 bpp RGB - 655,
> >  machine running on X, Directcolor, without any
> > hardware
> >  acceleration.Could you tell me where shuld i modify
> > for
> >  this?
> >
> >    I guess it assumes RGB-565 somewhere and computes
> >  pixels. I am not able to locate the place.
>
> Look in ../postproc
>
> There you'll have yuv2rgb.c
>
> This is where I did it for some embedded ARM system, and where I understood
> it should happen.
hmm, can we have the source/patch? :)

anyway, the correct way is to add a new image format in 
libmpcodecs/img_format.*, perhaps (IMGFMT_RGB|16|128)
and then add support for it in postproc/* and libmpcodecs/*

[...]
-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en



More information about the MPlayer-dev-eng mailing list