search for: flac__byte_to_unary_t

Displaying 1 result from an estimated 1 matches for "flac__byte_to_unary_t".

2014 Oct 11
1
bitmath.h static array
...(word) >> 8] + 16 : byte_to_unary_table[(word)] + 24; } It seems that it adds a copy of byte_to_unary_table[] array to any file that includes this header. Maybe it's better to move this array from bitmath.h to bitmath.c? It will be something like this: extern const unsigned char FLAC__byte_to_unary_table[]; static inline unsigned int FLAC__clz_soft_uint32(unsigned int word) { return (word) > 0xffffff ? FLAC__byte_to_unary_table[(word) >> 24] : (word) > 0xffff ? FLAC__byte_to_unary_table[(word) >> 16] + 8 : (word) > 0xff ? FLAC__byte_to_unary_table[(word) >...