[FFmpeg-devel] [PATCH][GSoC] Implement floating point decoding in ALS

Nicolas George george at nsup.org
Thu Apr 21 15:11:44 CEST 2016


Le tridi 3 floréal, an CCXXIV, Carl Eugen Hoyos a écrit :
> > +typedef union {
> > +  float f;
> > +  struct {
> > +    unsigned int mantissa : 23;
> > +    unsigned int exponent : 8;
> > +    unsigned int sign : 1;
> > +  } parts;
> > +} CFloat;
>
> Will this work on all systems where FFmpeg can currently be 
> compiled? Or do you have to use the softfloat api from 
> libavutil or reuse lagarith code?

Definitely not. This is the kind of code that should get someone who teaches
it fired.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160421/88e6d53a/attachment.sig>


More information about the ffmpeg-devel mailing list