[MPlayer-dev-eng] Native codecs from libavcodecs

Michael Niedermayer michaelni at gmx.at
Fri Oct 10 01:04:36 CEST 2003


Hi

On Friday 10 October 2003 00:18, Roberto Togni wrote:
> On 2003.10.09 23:55, Michael Niedermayer wrote:
> > Hi
> >
> > On Thursday 09 October 2003 23:48, Roberto Togni wrote:
>
> [...]
>
> > > Everyting is stored in cpu endianness except 24bit rgb, that have
> >
> > two
> >
> > > explicit formats RGB24 and BGR24 :(((
> >
> > what would u suggest instead (and why) ? these formats arent used
> > much
> > yet in
> > libavcodec so we could still change them
>
> I'd like to have RGB24 and RGB32 with the same order, so i can easily
> output RGB24 source to RGB32 destination by incrementing destination
> pointer (es for BGR32: outupt 3 bytes; pointer = 3 + (use_rgb32==1);).
>
> Having a well defined byte ordering allows a codec to output image one
> byte at a time, else it will have to pack them together and output as a
> word/dword (or do different thing based on endianness).
>
> Does RGBA32 implies the existance of an alpho plane, or is just a label
> for 32bpp RGB format?
its 32bpp RGB AFAIK

[...]
-- 
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