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

2016-04-21 Thread Paul B Mahol
On 4/21/16, Umair Khan wrote: > Hi, > > This patch is the second qualification task of my project. > The patch isn't final yet. > I've got it reviewed by Thilo Borgmann and now sending it here. > > Currently, it decodes the floating point data perfectly, and prints > the output to the console. > I

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

2016-04-21 Thread Umair Khan
>> This patch is the second qualification task of my project. >> The patch isn't final yet. >> I've got it reviewed by Thilo Borgmann and now sending it here. > > this is not what I meant to be done. The complete patch is not yet ready for > a list review - it does not make sense for anyone on thi

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

2016-04-21 Thread Nicolas George
Le tridi 3 floréal, an CCXXIV, Nicolas George 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

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

2016-04-21 Thread Nicolas George
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 c

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

2016-04-21 Thread Thilo Borgmann
Hi, > This patch is the second qualification task of my project. > The patch isn't final yet. > I've got it reviewed by Thilo Borgmann and now sending it here. this is not what I meant to be done. The complete patch is not yet ready for a list review - it does not make sense for anyone on this

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

2016-04-21 Thread Carl Eugen Hoyos
Umair Khan gmail.com> writes: > Currently, it decodes the floating point data perfectly, > and prints the output to the console. > +typedef union { > + float f; > + struct { > +unsigned int mantissa : 23; > +unsigned int exponent : 8; > +unsigned int sign : 1; > + } parts; > +} C

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

2016-04-21 Thread Umair Khan
Hi, This patch is the second qualification task of my project. The patch isn't final yet. I've got it reviewed by Thilo Borgmann and now sending it here. Currently, it decodes the floating point data perfectly, and prints the output to the console. I matched the output float values with the ones