Commit Graph

362 Commits

Author SHA1 Message Date
Josh Coalson
bb6712e9e4 FLAC__ize all the #defines 2001-04-24 22:54:07 +00:00
Josh Coalson
64f4fbcaf7 start some read optimizations 2001-04-24 02:36:08 +00:00
Josh Coalson
9661108c68 #ifdef mallocs of optimization buffers 2001-04-24 01:30:10 +00:00
Josh Coalson
aef013c0fa rearrange some of the latest optimizations 2001-04-24 01:25:42 +00:00
Josh Coalson
afcd877c84 ifdef out the precompute-partition-sums and partition-escape-search stuff 2001-04-18 22:59:25 +00:00
Josh Coalson
f76a3618a5 break out the partition sum precomputation to its own function 2001-04-18 02:28:11 +00:00
Josh Coalson
6994dd82c4 minor speed optimization 2001-04-18 02:21:21 +00:00
Josh Coalson
d4e0ddbdca speed up rice partitioning by precomputing the partition sums 2001-04-18 02:20:52 +00:00
Josh Coalson
671fadb23a fix bug with samples_decoded 2001-04-17 17:32:01 +00:00
Josh Coalson
eae4dde233 document GCC compiler bug that produces false warning 2001-04-16 05:33:22 +00:00
Josh Coalson
7531b0088f fix bug where sample number is incorrectly calculated for the last block 2001-04-14 00:24:32 +00:00
Josh Coalson
9e1e2ab695 change to ignore PLACEHODLERs when checking seek points 2001-04-13 22:47:21 +00:00
Josh Coalson
0a72e18b22 add support for writing SEEKTABLE block 2001-04-13 19:17:16 +00:00
Josh Coalson
a57921613b fix function signature to make .h file 2001-04-13 19:16:52 +00:00
Josh Coalson
0fbe7ce062 write implementation of FLAC__seek_table_is_valid() 2001-04-13 19:01:56 +00:00
Josh Coalson
5906c2d9f5 add seek_table.c 2001-04-13 18:57:20 +00:00
Josh Coalson
a8b4fc51df initial import 2001-04-13 18:53:17 +00:00
Josh Coalson
3372cc0275 fix compiler warning 2001-04-13 18:44:46 +00:00
Josh Coalson
6ff59c56f6 fix compile error 2001-04-13 18:43:53 +00:00
Josh Coalson
ce025f577d update seek routine to use info from seek table 2001-04-13 18:42:12 +00:00
Josh Coalson
167658a907 add seekpoint placeholder 2001-04-13 18:22:25 +00:00
Josh Coalson
cff71c88ac skip seekpoint placeholders 2001-04-13 18:20:23 +00:00
Josh Coalson
2051dd49a5 add support for raw encoding within a Rice partition 2001-04-12 22:22:34 +00:00
Josh Coalson
c5d08e03bc add missing SEEKPOINT globals 2001-04-10 19:13:50 +00:00
Josh Coalson
c076ba51bf add support for decoding SEEKTABLE block 2001-04-05 21:32:54 +00:00
Josh Coalson
243a067a58 tweak the seeking a little more 2001-04-05 20:11:25 +00:00
Josh Coalson
d79b9b1082 minor change 2001-04-01 05:55:21 +00:00
Josh Coalson
59f4a995dd add crutch for VC++ 2001-04-01 05:55:01 +00:00
Josh Coalson
ec1af65f67 #include string.h 2001-04-01 05:34:16 +00:00
Josh Coalson
159ac6259e make some improvements to the seek algo 2001-03-31 00:29:46 +00:00
Josh Coalson
673976d977 add bitmath.c 2001-03-30 00:45:52 +00:00
Josh Coalson
eef5670adc change to use 64-bit functions when needed to avoid overflow 2001-03-30 00:45:22 +00:00
Josh Coalson
4b2a27db4c change to use new bitmath routines 2001-03-30 00:44:58 +00:00
Josh Coalson
33abe8c9d3 initial import 2001-03-30 00:44:16 +00:00
Josh Coalson
7844424d41 add 64-bit versions of some functions 2001-03-30 00:43:46 +00:00
Josh Coalson
f24a98c426 add new .h files 2001-03-30 00:43:15 +00:00
Josh Coalson
ef44878c77 fix another bug related to wasted bits 2001-03-29 22:54:33 +00:00
Josh Coalson
2cf7d007a2 fix bug where subframe bps estimate was not taking into account wasted bits 2001-03-29 22:17:52 +00:00
Josh Coalson
bd646e12c1 minor change 2001-03-29 22:17:25 +00:00
Josh Coalson
7817ef5bd1 delete bad assert() 2001-03-29 21:29:46 +00:00
Josh Coalson
ac4c1583a0 comment fix 2001-03-28 23:10:22 +00:00
Josh Coalson
1995f0a0a5 remove buggy bug comment/printout 2001-03-28 22:19:18 +00:00
Josh Coalson
82b7324d70 rewrite wasted_bits and subframe_bps stuff to be more concise 2001-03-28 22:17:05 +00:00
Josh Coalson
ae6e8b5157 add some asserts 2001-03-28 22:14:43 +00:00
Josh Coalson
859bc548ce add support for new "wasted bits" field 2001-03-27 22:22:27 +00:00
Josh Coalson
ee5cfb5010 add unary methods, read CRC-16 support, get rid of gotos 2001-03-27 01:17:07 +00:00
Josh Coalson
d30d894ad0 add unary methods, read CRC-16 support 2001-03-27 01:16:42 +00:00
Josh Coalson
215af57417 update for new format changes: frame crc-16, wasted bits field, longer sync code, longer blocksize code 2001-03-27 01:15:58 +00:00
Josh Coalson
6351ef6c1e add CRC-16 code, more methods 2001-03-27 01:14:25 +00:00
Josh Coalson
1e1509fb35 fix bug where ...allocate_output_() might allocate the wrong number of channels if the decoder hit a bad frame header 2001-03-23 20:20:43 +00:00