177 Commits (21f22908c6aef7d7e348cff33c017d70b8b88733)

Author SHA1 Message Date
Justin Ruggles d309f01950 10l: fix bit count for frame header 15 years ago
Justin Ruggles b22f9d6535 Simplify fallback to verbatim mode encoding. 15 years ago
Justin Ruggles 45e2908757 cosmetics: line wrap and vertical alignment 15 years ago
Justin Ruggles 8fbb8d31d8 Combine calc_rice_params_fixed() and calc_rice_params_lpc() into a single 15 years ago
Justin Ruggles 43b3273e5b Remove unneeded wrapper function. 15 years ago
Justin Ruggles 0f5cc12c4f Remove duplicate code by adding a flag for encoding in verbatim mode. 15 years ago
Justin Ruggles 93d65e3d92 Estimate frame size during encoding. 15 years ago
Justin Ruggles eb96f1698a cosmetics: indentation 15 years ago
Justin Ruggles 520effb9b5 Combine output_subframe() and output_subframes(). 15 years ago
Justin Ruggles fb443a6f3b Remove unneeded variable. 15 years ago
Justin Ruggles 724f34716b cosmetics: indentation 15 years ago
Justin Ruggles 6d263f41ae Combine output_subframe_verbatim() and output_subframe_lpc(). 15 years ago
Justin Ruggles 6266cfb4ce Combine and simplify output_residual() and output_subframe_lpc(). 15 years ago
Justin Ruggles fc001d6cc1 cosmetics: reindent 15 years ago
Justin Ruggles 175a57113f Combine and simplify output_subframe_fixed() and output_subframe_lpc(). 15 years ago
Justin Ruggles 89912b5ff1 Combine and simplify output_subframe_constant() and output_subframe_verbatim(). 15 years ago
Justin Ruggles 1f1c05b09f Pass FlacSubframe to output_subframe_* instead of channel number. 15 years ago
Justin Ruggles 15f537ed53 cosmetics: change FlacEncodeContext variable name from ctx to s in several 15 years ago
Justin Ruggles 871a24f3bf Set coded_frame->pts in the FLAC encoder 15 years ago
Justin Ruggles 27e3418844 Do not need to set coded_frame->key_frame = 1 because it is already set in 15 years ago
Justin Ruggles 7fe0c7c823 Move debug logging of compression options to a single function. 15 years ago
Justin Ruggles e08ec71480 Add 2 failed memory allocation checks 15 years ago
Justin Ruggles e35b689ebd cosmetics: pretty-print flacenc.c 15 years ago
Reimar Döffinger edac49daf5 Use "const" qualifier for pointers that point to input data of 15 years ago
Justin Ruggles 23940f1405 Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields. 15 years ago
Måns Rullgård 8fc0162ac4 Add av_ prefix to bswap macros 15 years ago
Måns Rullgård e6b22522c9 bswap: change ME to NE in macro names 15 years ago
Måns Rullgård 49bd8e4b84 Fix grammar errors in documentation 15 years ago
Måns Rullgård 79aec75792 flacenc: convert VLA to fixed size 15 years ago
Stefano Sabatini 2874c81cc8 Replace all remaining occurrences of AVERROR_NOMEM with 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Justin Ruggles fde82ca7e4 Move autocorrelation function from flacenc.c to lpc.c. Also rename the 15 years ago
Reimar Döffinger b5f09d31c2 Make sample_fmts and channel_layouts compound literals const to reduce size of 16 years ago
Måns Rullgård 63613fe615 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN 16 years ago
Justin Ruggles 0bc08ed941 flacenc: write initial blocksize to STREAMINFO header instead of current 16 years ago
Bobby Bingham 0aed5e9fb8 Skip loop iterations which are no-ops due to data1[-lag..-1] being zero. 16 years ago
Jai Menon 437f884da6 flacenc : do not #include libavutil/lls.h since lpc code is now 16 years ago
Stefano Sabatini 9106a698e7 Rename bitstream.h to get_bits.h. 16 years ago
Justin Ruggles 0fb2182d46 add a function to calculate a more accurate estimate for maximum FLAC 16 years ago
Justin Ruggles f121622114 revert accidental unrelated change in last commit 16 years ago
Justin Ruggles d4df4e5088 share sample rate and blocksize tables between the FLAC encoder and FLAC 16 years ago
Justin Ruggles b9b4fc5e07 flacenc: remove unneeded variable, 'min_encoded_framesize' and use 16 years ago
Justin Ruggles ad52941faa flacenc: remove unneeded context variable, 'ch_code' 16 years ago
Justin Ruggles 3159780b18 share channel mode constants between the FLAC decoder and FLAC encoder 16 years ago
Justin Ruggles 07d16e2ecf share some constants between the FLAC encoder and FLAC decoder 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Justin Ruggles 6682ae42a4 write actual min and max frame size to FLAC header. update regression test checksum. 17 years ago
Justin Ruggles a9f8587e15 write MD5 checksum to FLAC header. update regression tests. 17 years ago
Justin Ruggles e1a12934c5 write number of samples in FLAC extradata. 17 years ago
Justin Ruggles f1f373c220 fix and simplify frame size check and reencoding in verbatim mode 17 years ago