Commit Graph

103 Commits

Author SHA1 Message Date
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
Josh Coalson
0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson
bf0f52c21e add support for specifying which apodization functions to use to window data before lpc analysis 2006-04-25 06:38:43 +00:00
Josh Coalson
ce0b3452e5 remove FLAC__SYMMETRIC_RICE code 2005-05-05 00:42:31 +00:00
Josh Coalson
f81b6df7d5 minor comments 2005-02-04 01:34:35 +00:00
Josh Coalson
47c7b14079 add FLAC__MANDATORY_VERIFY_WHILE_ENCODING ifdefs which will be turned on when compiling with new asm optimzations 2005-01-29 06:08:58 +00:00
Josh Coalson
7446e18663 fix ANSI C violation w.r.t. const arrays 2005-01-26 04:04:38 +00:00
Josh Coalson
a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson
c549f0f17e in stream encoder, only allocate and calculate real signal if max lpc order > 0 2004-12-30 03:47:49 +00:00
Josh Coalson
8ddf7fb278 fix typo in comment 2004-12-30 00:58:50 +00:00
Josh Coalson
5f2b46d031 finished integerized flavor of library; sections with floating point are either #ifdef'd out or written in fixed-point 2004-11-09 01:34:01 +00:00
Josh Coalson
0975843bed first pass at making an integer-only flavor of the libraries. move FLAC__real out of ordinals.h to src/libFLAC/include/private/float.h, add FLAC__double and FLAC__float and use these everywhere instead of double and float, and don't typedef FLAC__real/float/double when building in integer-only mode. still need to provide integer substitutes in several places. 2004-10-20 00:21:50 +00:00
Josh Coalson
69cfda7a20 add new requirements to ogg mapping: vorbis comment block must come second after streaminfo; first packet must have a packet type byte of 0x7f; packet 0 version must be followed by a 2-byte count of the # of header packets 2004-09-10 00:38:21 +00:00
Josh Coalson
3e7a96e460 tweaks to the MD5 routines; they need to be exported when building a windows DLL since the seekable stream decoder in libOggFLAC secretly uses them 2004-07-23 05:18:22 +00:00
Josh Coalson
9564390fb9 update copyright to 2004 2004-01-17 04:14:43 +00:00
Josh Coalson
807140daab use resolved_state_string as much as possible 2003-09-24 22:10:51 +00:00
Josh Coalson
afd8107872 change license verbiage to Xiph's 2003-01-31 23:34:56 +00:00
Josh Coalson
d060947ce9 big fix to allow codec and metadata interface to handle unknown metadata block types correctly 2003-01-10 05:37:13 +00:00
Josh Coalson
afae69f0e3 Add 2003 to copyright notice 2003-01-02 07:03:16 +00:00
Josh Coalson
48cbe66f06 enable SSE versions of FLAC__lpc_compute_autocorrelation_asm_ia32 if FLAC__SSE_OS is defined 2002-12-30 23:38:14 +00:00
Josh Coalson
dd190236c6 need release bitbuffer even in error cases in write_bitbuffer_() 2002-12-29 09:30:23 +00:00
Josh Coalson
8f0c71b877 add "is_cd" flag to CUESHEET everywhere 2002-12-05 06:37:46 +00:00
Josh Coalson
5e31be1500 #include config.h 2002-12-04 07:07:35 +00:00
Josh Coalson
4fa90599fe fix memory leaks found with valgrind 2002-12-04 07:01:37 +00:00
Josh Coalson
e6abfdba4e remove debug printf's 2002-11-19 06:15:45 +00:00