search for: flac__bitwriter_write_raw_uint64

Displaying 3 results from an estimated 3 matches for "flac__bitwriter_write_raw_uint64".

2012 Apr 07
1
[PATCH 2/2] Update and improve autotools build
...itWriter *bw, FLAC__int32 val, unsigned bits) { /* zero-out unused bits */ if(bits < 32) @@ -356,7 +352,7 @@ FLaC__INLINE FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLA return FLAC__bitwriter_write_raw_uint32(bw, (FLAC__uint32)val, bits); } -FLaC__INLINE FLAC__bool FLAC__bitwriter_write_raw_uint64(FLAC__BitWriter *bw, FLAC__uint64 val, unsigned bits) +inline FLAC__bool FLAC__bitwriter_write_raw_uint64(FLAC__BitWriter *bw, FLAC__uint64 val, unsigned bits) { /* this could be a little faster but it's not used for much */ if(bits > 32) { @@ -368,7 +364,7 @@ FLaC__INLINE FLAC__bool FL...
2015 Dec 16
2
about word size in bitreader/bitwriter
...This implies that there was intention to set FLAC__BYTES_PER_WORD to 8 on 64-bit architectures. However currently the code in bitreader.c/bitwriter.c doesn't care much about 64-bit words: there are places like const FLAC__uint32 mask2 = FLAC__WORD_ALL_ONES >> (31-parameter); and FLAC__bitwriter_write_raw_uint64() simply calls FLAC__bitwriter_write_raw_uint32() twice... And there were three patches -- <http://git.xiph.org/?p=flac.git;a=commitdiff;h=66bd44bacc28cb154b5c9349cf3288da9ec74501> <http://git.xiph.org/?p=flac.git;a=commitdiff;h=387b72731dbf79450050987b9b36bf70f286b098> <http://gi...
2013 May 04
5
Bug fix and compatibility patches for 1.3.0pre4
...doesn't pick them up externally. To * fix that we add extern declarations here. */ +extern FLAC__bool FLAC__bitwriter_write_zeroes(FLAC__BitWriter *bw, unsigned bits); extern FLAC__bool FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits); extern FLAC__bool FLAC__bitwriter_write_raw_uint64(FLAC__BitWriter *bw, FLAC__uint64 val, unsigned bits); extern FLAC__bool FLAC__bitwriter_write_raw_uint32_little_endian(FLAC__BitWriter *bw, FLAC__uint32 val); diff -Naur flac-1.3.0pre4/src/libFLAC/include/private/bitmath.h flac-1.3.0pre4-patched/src/libFLAC/include/private/bitmath.h --- flac-1.3....