[FFmpeg-devel] [PATCH] Common ACELP routines (3/3) - LPC decoding routines

Michael Niedermayer michaelni
Fri Apr 25 18:52:45 CEST 2008


On Fri, Apr 25, 2008 at 10:34:56PM +0700, Vladimir Voroshilov wrote:
> Michael Niedermayer wrote: 
[....]
> > also please change the Q12/15 notation to some normal fixed point one with
> > min/one/max
> 
> Like this?:
> 
> /**
>  * \param param1 bla bla bla
> ...
>  * \return some value
>  *
>  *  allowed values for param1:
>  *   min: -0x10000
>  *   max:  0x10000
>  *   one   0x01000
>  */
> 
> Or something different?
> Give me sample please.

-0x10000 <= 4.12 <= 0x10000
4.12 meaning 4 bits before the decimal point, 12 bits afterwards
Just a suggestion of course, maybe there are better ways to write this down

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080425/453ae4aa/attachment.pgp>



More information about the ffmpeg-devel mailing list