% grep QCONST16 fixed_generic.h
#define QCONST16(x,bits)
((celt_word16)(.5+(x)*(((celt_word32)1)<<(bits))))
On 11-06-06 10:24 AM, Mike Hooper wrote:> Gents,
>
> In Version 8.1, QCONST16 is defined as follows in arch.h within the
> FLOATING_POINT section:
>
> *#define*QCONST16(x,bits) (x)
>
> However, in both celt.c and quant_bands.c, QCONST16 is referenced
> without a conditional FLOATING_POINT define. So when I compile as
> FIXED_POINT I get an ?undefined identifier? for QCONST16. Am I doing
> something wrong?
>
> Thx,
>
> MikeH
>
>
>
> _______________________________________________
> celt-dev mailing list
> celt-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/celt-dev