Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
flac
/
14b184ccedd773b9c0d6090851ce00bc05ff38ba
/
src
/
libFLAC
/
stream_encoder.c
14b184c
unify inlining method in prep for inline tests
by Josh Coalson
· 17 years ago
5981e4f
minor comments
by Josh Coalson
· 17 years ago
3848380
remove FLAC__SSE_OS restriction on SSE usage
by Josh Coalson
· 17 years ago
0edc149
minor tweak for vc++
by Josh Coalson
· 17 years ago
8534bbe
minor comments
by Josh Coalson
· 17 years ago
6910519
turn off FLAC__MANDATORY_VERIFY_WHILE_ENCODING
by Josh Coalson
· 17 years ago
dc2b03b
change default blocksize from 4608 to 4096 for LPC mode
by Josh Coalson
· 17 years ago
d83553d
change the min/max rice partition order for compression levels -0 .. -6
by Josh Coalson
· 17 years ago
df4e40f
turn on FLAC__MANDATORY_VERIFY_WHILE_ENCODING for 1.1.4-alpha1
by Josh Coalson
· 17 years ago
469ba74
minor comments
by Josh Coalson
· 17 years ago
e74bd95
add 2007 copyright
by Josh Coalson
· 17 years ago
f57bd7a
*** empty log message ***
by Josh Coalson
· 17 years ago
90c693a
speed up precompute_partition_info_escapes_()
by Josh Coalson
· 17 years ago
37d9fb1
bump requisite _MSC_VER to <=1600 for fseeko/ftello hack
by Josh Coalson
· 17 years ago
e3ec2ad
convert C prototypes for functions with no args from () to (void)
by Josh Coalson
· 17 years ago
1c03407
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
by Josh Coalson
· 17 years ago
423f804
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
by Josh Coalson
· 17 years ago
1109e7f
code simplification and speed optimization for set_partitioned_rice_()
by Josh Coalson
· 17 years ago
792c10d
minor cleanup in count_rice_bits_()
by Josh Coalson
· 17 years ago
ce1d07c
add system for verifying that encoded frame size estimates are accurate; clean up the code for rice parameter searching and rice codeword length estimation
by Josh Coalson
· 17 years ago
4e8fe85
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)
by Josh Coalson
· 18 years ago
32b9bae
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()
by Josh Coalson
· 18 years ago
2beca73
patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478)
by Josh Coalson
· 18 years ago
f1ac7d9
make "#if FLAC__HAS_OGG" checking consistent
by Josh Coalson
· 18 years ago
cf1422e
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
by Josh Coalson
· 18 years ago
c986d13
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&aid=1338969&group_id=13478&atid=113478)
by Josh Coalson
· 18 years ago
acd4a43
fix compiler warnings
by Josh Coalson
· 18 years ago
49f2f16
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
by Josh Coalson
· 18 years ago
b7b57ef
fix bug in verify_write_callback_ where the FIFO dequeueing did not memmove all the data
by Josh Coalson
· 18 years ago
a586226
add a boolean return value to FLAC__stream_encoder_finish() that signals a verify mismatch
by Josh Coalson
· 18 years ago
85aaed8
fix bug where window was not recalculated when blocksize decreased; better wording for fractional blocks
by Josh Coalson
· 18 years ago
425609c
add FLAC__stream_encoder_set_compression_level()
by Josh Coalson
· 18 years ago
352feb5
change "bytes" parameter of all encoder write callbacks from "unsigned" to "size_t"
by Josh Coalson
· 18 years ago
8065a2d
change "bytes" parameter of all read callbacks from "unsigned" to "size_t"
by Josh Coalson
· 18 years ago
71d5c25
rename set_serial_number to set_ogg_serial_number everywhere
by Josh Coalson
· 18 years ago
15b8eb8
fix to ogg-less building
by Josh Coalson
· 18 years ago
8da98c8
merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work
by Josh Coalson
· 18 years ago
2d6b8c6
fix bug stats sent to progress callback
by Josh Coalson
· 18 years ago
369a6da
remove window debugging code
by Josh Coalson
· 18 years ago
92f7fa9
minor comments
by Josh Coalson
· 18 years ago
d0edb97
limit subset further if sample rate is <=48kHz: max blocksize is 4608 and max LPC order is 12
by Josh Coalson
· 18 years ago
825e72c
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()
by Josh Coalson
· 18 years ago
2e29c93
remove ancient deprecated things
by Josh Coalson
· 18 years ago
3957c47
add more checks to PICTURE metadata: at most one type=1 and type=2 blocks, type=1 block must be 32x32 pixel PNG
by Josh Coalson
· 18 years ago
e343ab2
add support for new PICTURE metadata block
by Josh Coalson
· 18 years ago
6b21f66
merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH
by Josh Coalson
· 18 years ago
b1ec796
complete largefile support
by Josh Coalson
· 18 years ago
03f54be
minor comments
by Josh Coalson
· 18 years ago
0abc735
minor fixes
by Josh Coalson
· 18 years ago
81cbb8e
turn off window profiling
by Josh Coalson
· 18 years ago
8238936
default window to tukey(0.5) instead of hann
by Josh Coalson
· 18 years ago
df59845
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
by Josh Coalson
· 18 years ago
0395dac
add 2206 to copyright notice
by Josh Coalson
· 18 years ago
bf0f52c
add support for specifying which apodization functions to use to window data before lpc analysis
by Josh Coalson
· 18 years ago
ce0b345
remove FLAC__SYMMETRIC_RICE code
by Josh Coalson
· 19 years ago
f81b6df
minor comments
by Josh Coalson
· 19 years ago
47c7b14
add FLAC__MANDATORY_VERIFY_WHILE_ENCODING ifdefs which will be turned on when compiling with new asm optimzations
by Josh Coalson
· 19 years ago
7446e18
fix ANSI C violation w.r.t. const arrays
by Josh Coalson
· 19 years ago
a78fac6
add 2005 to copyright notices
by Josh Coalson
· 19 years ago
c549f0f
in stream encoder, only allocate and calculate real signal if max lpc order > 0
by Josh Coalson
· 20 years ago
8ddf7fb
fix typo in comment
by Josh Coalson
· 20 years ago
5f2b46d
finished integerized flavor of library; sections with floating point are either #ifdef'd out or written in fixed-point
by Josh Coalson
· 20 years ago
0975843
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.
by Josh Coalson
· 20 years ago
69cfda7
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
by Josh Coalson
· 20 years ago
3e7a96e
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
by Josh Coalson
· 20 years ago
9564390
update copyright to 2004
by Josh Coalson
· 20 years ago
807140d
use resolved_state_string as much as possible
by Josh Coalson
· 21 years ago
afd8107
change license verbiage to Xiph's
by Josh Coalson
· 21 years ago
d060947
big fix to allow codec and metadata interface to handle unknown metadata block types correctly
by Josh Coalson
· 22 years ago
afae69f
Add 2003 to copyright notice
by Josh Coalson
· 22 years ago
48cbe66
enable SSE versions of FLAC__lpc_compute_autocorrelation_asm_ia32 if FLAC__SSE_OS is defined
by Josh Coalson
· 22 years ago
dd19023
need release bitbuffer even in error cases in write_bitbuffer_()
by Josh Coalson
· 22 years ago
8f0c71b
add "is_cd" flag to CUESHEET everywhere
by Josh Coalson
· 22 years ago
5e31be1
#include config.h
by Josh Coalson
· 22 years ago
4fa9059
fix memory leaks found with valgrind
by Josh Coalson
· 22 years ago
e6abfdb
remove debug printf's
by Josh Coalson
· 22 years ago
e486938
further implementation of new CUESHEET metadata block
by Josh Coalson
· 22 years ago
0295422
add ..._get_resolved_state_string() convenience function
by Josh Coalson
· 22 years ago
7424d2f
fix bugs returning the wrong meaning from FLAC__stream_encoder_init()
by Josh Coalson
· 22 years ago
fb9d18f
fix from Miroslav on the lpc datapath switching logic
by Josh Coalson
· 22 years ago
ea7155f
switch malloc+memset(0) to calloc()
by Josh Coalson
· 22 years ago
6afed9f
tweaks to build libs as DLLs under windows
by Josh Coalson
· 22 years ago
7269580
add verbatim catchall if no subframes are generated
by Josh Coalson
· 22 years ago
e6b3bbe
add functions/switches for disabling certain subframe types for use by the test suite
by Josh Coalson
· 22 years ago
c9c0d13
add support for 64bit datapath through FIR filter, update logic for automatically choosing the qlp coeff precision
by Josh Coalson
· 22 years ago
c1c8d49
new #define FLAC__SUBSET_MAX_RICE_PARTITION_ORDER
by Josh Coalson
· 22 years ago
20ac2c1
restrict subset to max blocksize of 16384 and max residual partition order of 8
by Josh Coalson
· 22 years ago
cb9d93a
add vendor string to encoding
by Josh Coalson
· 22 years ago
5f39e9f
fixes based on Windows testing
by Josh Coalson
· 22 years ago
6fe72f7
minor formatting
by Josh Coalson
· 22 years ago
a37ba46
split off dynamically allocated stuff from FLAC__EntropyCodingMethod_PartitionedRice to FLAC__EntropyCodingMethod_PartitionedRiceContent
by Josh Coalson
· 22 years ago
b7023aa
rework so that rice parameters and raw_bits from the entropy coding method struct are sized dynamically
by Josh Coalson
· 22 years ago
fc2b737
add assertion failure on verify decoder underflow
by Josh Coalson
· 22 years ago
3262b0d
more rigorous gate around callbacks in ..._finish() when called from ..._delete()
by Josh Coalson
· 22 years ago
589f8c7
add ..._get_verify_decoder_error_stats()
by Josh Coalson
· 22 years ago
2b245f2
don't flush the input on delete unless encoder state is OK
by Josh Coalson
· 22 years ago
d86e03b
add verify mode to all encoders
by Josh Coalson
· 22 years ago
3a7b2c9
add ..._get_total_samples_estimate()
by Josh Coalson
· 22 years ago
681c293
make typedefs for callbacks
by Josh Coalson
· 22 years ago
680e3aa
minor syntax
by Josh Coalson
· 22 years ago
Next »