[Ffmpeg-devel] Fixed point arithmetic RealAudio G2 (cook) decoder

Vadim Lebedev vadim
Wed Mar 14 00:25:27 CET 2007



Ian Braithwaite wrote:

>Benjamin Larsson wrote:
>
>  
>
>>Can you split the 4:th patch in cosmetics and non cosmetics and
>>repost it ?
>>    
>>
>
>OK - here's the cosmetics.
>"Rename subband_coef_noise to subband_coef_sign"
>
>Bit late in the evening to be posting patches, hope I havn't messed up...
>
>
>Regards,
>Ian
>  
>
Ian,   i think the in the following code 'int category'  should be 'int 
*category' ....


> /**
>- * Unpack the subband_coef_index and subband_coef_noise vectors.
>+ * Unpack the subband_coef_index and subband_coef_sign vectors.
>  *
>  * @param q                     pointer to the COOKContext
>  * @param category              pointer to the category array
>  * @param subband_coef_index    array of indexes to quant_centroid_tab
>- * @param subband_coef_noise    use random noise instead of predetermined value
>+ * @param subband_coef_sign     signs of coefficients
>  */
> 
> static int unpack_SQVH(COOKContext *q, int category, int* subband_coef_index,
>-                       int* subband_coef_noise) {
>+                       int* subband_coef_sign) {
>
>  
>


Thanks
Vadim




More information about the ffmpeg-devel mailing list