search for: flac__uint16

Displaying 4 results from an estimated 4 matches for "flac__uint16".

Did you mean: flac__int16
2007 Aug 24
0
Fixes to make flac build on Solaris
...orig 2006-11-30 >> 15:58:34.067469000 +0000 >> +++ flac-1.1.3/src/plugin_common/tags.c 2006-11-30 16:00:10.958487000 >> +0000 >> @@ -29,7 +29,7 @@ >> #include "FLAC/metadata.h" >> >> >> -static __inline unsigned local__wide_strlen(const FLAC__uint16 *s) >> +static inline unsigned local__wide_strlen(const FLAC__uint16 *s) >> { >> unsigned n = 0; >> while(*s++) >> @@ -43,7 +43,7 @@ >> * and a more clear explanation at the end of this section: >> * http://www.cl.cam.ac.uk/~mgk25/unicode.html#ut...
2012 Feb 07
2
[PATCH] Remove even more CPP hackery
...+#endif + +#if !(defined(_MSC_VER) || defined(__BORLANDC__)) #include <inttypes.h> #endif +#if HAVE_STDINT_H +#include <stdint.h> +#endif + typedef signed char FLAC__int8; typedef unsigned char FLAC__uint8; @@ -46,13 +54,6 @@ typedef __int64 FLAC__int64; typedef unsigned __int16 FLAC__uint16; typedef unsigned __int32 FLAC__uint32; typedef unsigned __int64 FLAC__uint64; -#elif defined(__EMX__) -typedef short FLAC__int16; -typedef long FLAC__int32; -typedef long long FLAC__int64; -typedef unsigned short FLAC__uint16; -typedef unsigned long FLAC__uint32; -typedef unsigned long long FLAC...
2005 Feb 02
0
two small-ish optimizations (death by a thousand cuts)
...ocate_output_(FLAC__StreamDecoder *decoder, unsigned size, unsigned channels) { unsigned i; @@ -1380,8 +1418,6 @@ FLAC__bool read_frame_(FLAC__StreamDecoder *decoder, FLAC__bool *got_a_frame, FLAC__bool do_full_decode) { unsigned channel; - unsigned i; - FLAC__int32 mid, side, left, right; FLAC__uint16 frame_crc; /* the one we calculate from the input stream */ FLAC__uint32 x; @@ -1446,41 +1482,9 @@ if(!FLAC__bitbuffer_read_raw_uint32(decoder->private_->input, &x, FLAC__FRAME_FOOTER_CRC_LEN, read_callback_, decoder)) return false; /* the read_callback_ sets the state for us */...
2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...itReader { FLAC__CPUInfo cpu_info; }; -static FLaC__INLINE void crc16_update_word_(FLAC__BitReader *br, uint32_t word) +static inline void crc16_update_word_(FLAC__BitReader *br, uint32_t word) { register unsigned crc = br->read_crc16; #if FLAC__BYTES_PER_WORD == 4 @@ -373,17 +369,17 @@ FLAC__uint16 FLAC__bitreader_get_read_crc16(FLAC__BitReader *br) return br->read_crc16; } -FLaC__INLINE FLAC__bool FLAC__bitreader_is_consumed_byte_aligned(const FLAC__BitReader *br) +inline FLAC__bool FLAC__bitreader_is_consumed_byte_aligned(const FLAC__BitReader *br) { return ((br->consumed_bits...