[Ffmpeg-devel] [PATCH] Vorbis decoder

Balatoni Denes dbalatoni
Tue May 17 16:56:10 CEST 2005


Hi!

So last time I sent a version with the _fastXY_t types - these types are used 
to ease porting to obscure hardware. Are there perhaps any
more comments?

2005. m?jus 13. 18.27-kor Michael Niedermayer ezeket a bolcs gondolatokat 
fogalmazta meg:
> Hi
>
> On Friday 13 May 2005 17:28, Balatoni Denes wrote:
> [...]
>
> > > > +    uint32_t ret=0;
> > >
> > > exact width types should only be used when an exact width is needed
> > > (not for local variables like ret,i, ...)
> >
> > I tried to use the possible minimal size for each variable. So if for
> > example somebody wants to port this decoder to C64 or ZX Spectrum, he
> > will know where he can use native 8 bit types, or needs 16 bits, or must
> > use more than 16 bits (in those cases 32 bits are usually not needed
> > though).

>
> (u)int_fastXY_t is what you should use if you dislike int/short/long
>
> [...]
> --
> Michael

thanks
bye
Denes


-- 
- Use the Source Luke ! -





More information about the ffmpeg-devel mailing list