Commit Graph

127 Commits

Author SHA1 Message Date
Josh Coalson
38483802ab remove FLAC__SSE_OS restriction on SSE usage 2007-03-03 01:47:53 +00:00
Josh Coalson
0edc149c6b minor tweak for vc++ 2007-03-01 16:23:11 +00:00
Josh Coalson
8534bbe4e9 minor comments 2007-02-28 01:10:21 +00:00
Josh Coalson
6910519114 turn off FLAC__MANDATORY_VERIFY_WHILE_ENCODING 2007-02-14 05:59:27 +00:00
Josh Coalson
dc2b03b241 change default blocksize from 4608 to 4096 for LPC mode 2007-02-06 05:02:46 +00:00
Josh Coalson
d83553dd2b change the min/max rice partition order for compression levels -0 .. -6 2007-02-06 04:48:26 +00:00
Josh Coalson
df4e40f553 turn on FLAC__MANDATORY_VERIFY_WHILE_ENCODING for 1.1.4-alpha1 2007-02-04 05:49:44 +00:00
Josh Coalson
469ba74996 minor comments 2007-02-03 02:52:32 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
f57bd7abbd *** empty log message *** 2007-02-02 06:14:04 +00:00
Josh Coalson
90c693a806 speed up precompute_partition_info_escapes_() 2007-02-01 04:24:08 +00:00
Josh Coalson
37d9fb1a89 bump requisite _MSC_VER to <=1600 for fseeko/ftello hack 2007-01-31 05:37:20 +00:00
Josh Coalson
e3ec2ad59e convert C prototypes for functions with no args from () to (void) 2007-01-31 03:53:22 +00:00
Josh Coalson
1c03407931 in FLAC__stream_encoder_set_metadata(), copy the metadata array of pointers instead of requiring the caller to keep it until initialization; the objects themselves are still owned by caller 2007-01-29 08:27:25 +00:00
Josh Coalson
423f804d50 several speed improvements: completely rewritten bitbuffer which uses native machine word size instead of bytes; much faster rice partition size estimation; crc16 calculation in machine word size 2007-01-28 17:40:26 +00:00
Josh Coalson
1109e7f808 code simplification and speed optimization for set_partitioned_rice_() 2007-01-24 04:26:15 +00:00
Josh Coalson
792c10ddd6 minor cleanup in count_rice_bits_() 2007-01-24 04:25:03 +00:00
Josh Coalson
ce1d07c000 add system for verifying that encoded frame size estimates are accurate; clean up the code for rice parameter searching and rice codeword length estimation 2007-01-23 05:00:46 +00:00
Josh Coalson
4e8fe85bce fix bug with locale-specific -A defaults for -0..-8 (SF#1608883: https://sourceforge.net/tracker/index.php?func=detail&aid=1608883&group_id=13478&atid=113478) 2006-12-05 01:36:46 +00:00
Josh Coalson
32b9baedb4 quick fix for SF#1601812 where an error of exactly 0 (very rare) in FLAC__lpc_compute_lp_coefficients() could cause an infinite loop later in FLAC__lpc_quantize_coefficients() 2006-11-27 16:27:41 +00:00
Josh Coalson
2beca73003 patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478) 2006-11-21 01:51:58 +00:00
Josh Coalson
f1ac7d9bde make "#if FLAC__HAS_OGG" checking consistent 2006-11-16 07:20:09 +00:00
Josh Coalson
cf1422e21e multifix: change FLAC__stream_encoder_finish() to also return false if there is an error processing the last frame or updating metadata; fix problem trying to update metadata when encoding to stdout; fix problem with updating metadata if client seek_callback returns UNSUPPORTED 2006-11-16 01:32:25 +00:00
Josh Coalson
c986d135f1 fix a bug where missing STREAMINFO fields (min/max framesize, total samples, MD5 sum) and seek point offsets were not getting rewritten back to Ogg FLAC file (SF#1338969 https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1338969&amp;group_id=13478&amp;atid=113478) 2006-11-15 08:53:32 +00:00
Josh Coalson
acd4a4345e fix compiler warnings 2006-11-11 22:43:25 +00:00
Josh Coalson
49f2f1699c add overreading in the stream encoder process calls to be able to reliably detect when we are at the last block; also fixes a problem with EOS packet flag setting in Ogg FLAC 2006-11-09 16:54:52 +00:00
Josh Coalson
b7b57ef207 fix bug in verify_write_callback_ where the FIFO dequeueing did not memmove all the data 2006-11-09 07:06:33 +00:00
Josh Coalson
a586226fda add a boolean return value to FLAC__stream_encoder_finish() that signals a verify mismatch 2006-11-09 06:58:26 +00:00
Josh Coalson
85aaed8f87 fix bug where window was not recalculated when blocksize decreased; better wording for fractional blocks 2006-11-09 01:19:13 +00:00
Josh Coalson
425609cb0c add FLAC__stream_encoder_set_compression_level() 2006-11-03 16:08:52 +00:00
Josh Coalson
352feb540f change "bytes" parameter of all encoder write callbacks from "unsigned" to "size_t" 2006-10-15 17:08:52 +00:00
Josh Coalson
8065a2d3a5 change "bytes" parameter of all read callbacks from "unsigned" to "size_t" 2006-10-15 08:32:56 +00:00
Josh Coalson
71d5c256f5 rename set_serial_number to set_ogg_serial_number everywhere 2006-10-15 06:04:55 +00:00
Josh Coalson
15b8eb8a87 fix to ogg-less building 2006-10-15 05:15:55 +00:00
Josh Coalson
8da98c897b merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work 2006-10-15 04:24:05 +00:00
Josh Coalson
2d6b8c6496 fix bug stats sent to progress callback 2006-10-11 06:30:38 +00:00
Josh Coalson
369a6da0fd remove window debugging code 2006-10-10 00:37:48 +00:00
Josh Coalson
92f7fa9489 minor comments 2006-10-09 05:34:21 +00:00
Josh Coalson
d0edb97a46 limit subset further if sample rate is <=48kHz: max blocksize is 4608 and max LPC order is 12 2006-10-07 06:50:08 +00:00
Josh Coalson
825e72cf57 try to limit the #defines (of fseeko to fseek and ftello to ftell) to just the versions of MSVC that appear not to have fseeko()/ftello() 2006-10-03 01:16:59 +00:00
Josh Coalson
2e29c93ac3 remove ancient deprecated things 2006-09-26 01:25:52 +00:00
Josh Coalson
3957c47022 add more checks to PICTURE metadata: at most one type=1 and type=2 blocks, type=1 block must be 32x32 pixel PNG 2006-09-24 16:25:42 +00:00
Josh Coalson
e343ab2b87 add support for new PICTURE metadata block 2006-09-23 19:21:19 +00:00
Josh Coalson
6b21f66784 merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH 2006-09-13 01:42:27 +00:00
Josh Coalson
b1ec796bda complete largefile support 2006-05-24 04:41:36 +00:00
Josh Coalson
03f54be74c minor comments 2006-05-18 00:04:14 +00:00
Josh Coalson
0abc735e13 minor fixes 2006-05-03 00:13:25 +00:00
Josh Coalson
81cbb8ee62 turn off window profiling 2006-05-01 06:17:24 +00:00
Josh Coalson
8238936980 default window to tukey(0.5) instead of hann 2006-05-01 05:58:35 +00:00
Josh Coalson
df59845d04 fix calculation bugs in encode_subframe_(): max_qlp_coeff_precision when qlp_coeff_prec_search; account for qlp coeff overhead in guessing the best lpc order; default to hann instead of rectangular window on assertion failure 2006-04-28 00:13:34 +00:00