111 Commits (213a4cbb396ff610001a26052a652e3f68aa632a)

Author SHA1 Message Date
Justin Ruggles 6768beb4a8 cosmetics: rename output_* to write_* 14 years ago
Justin Ruggles 3d2cd42f8a Simplify verbatim mode fallback by checking the frame size before writing. 14 years ago
Justin Ruggles 2249a7f312 Change max_framesize for small final frame. 14 years ago
Justin Ruggles 7c29a5de25 Calculate an exact frame size before writing. Now the buffer size requirements 14 years ago
Justin Ruggles 675eb677c5 cosmetics: rename find_subblock_rice_params() to find_subframe_rice_params() 14 years ago
Justin Ruggles 089c18f315 Reduce number of input parameters to find_subblock_rice_params(). 14 years ago
Justin Ruggles d309f01950 10l: fix bit count for frame header 14 years ago
Justin Ruggles b22f9d6535 Simplify fallback to verbatim mode encoding. 14 years ago
Justin Ruggles 45e2908757 cosmetics: line wrap and vertical alignment 14 years ago
Justin Ruggles 8fbb8d31d8 Combine calc_rice_params_fixed() and calc_rice_params_lpc() into a single 14 years ago
Justin Ruggles 43b3273e5b Remove unneeded wrapper function. 14 years ago
Justin Ruggles 0f5cc12c4f Remove duplicate code by adding a flag for encoding in verbatim mode. 14 years ago
Justin Ruggles 93d65e3d92 Estimate frame size during encoding. 14 years ago
Justin Ruggles eb96f1698a cosmetics: indentation 14 years ago
Justin Ruggles 520effb9b5 Combine output_subframe() and output_subframes(). 14 years ago
Justin Ruggles fb443a6f3b Remove unneeded variable. 14 years ago
Justin Ruggles 724f34716b cosmetics: indentation 14 years ago
Justin Ruggles 6d263f41ae Combine output_subframe_verbatim() and output_subframe_lpc(). 14 years ago
Justin Ruggles 6266cfb4ce Combine and simplify output_residual() and output_subframe_lpc(). 14 years ago
Justin Ruggles fc001d6cc1 cosmetics: reindent 14 years ago
Justin Ruggles 175a57113f Combine and simplify output_subframe_fixed() and output_subframe_lpc(). 14 years ago
Justin Ruggles 89912b5ff1 Combine and simplify output_subframe_constant() and output_subframe_verbatim(). 14 years ago
Justin Ruggles 1f1c05b09f Pass FlacSubframe to output_subframe_* instead of channel number. 14 years ago
Justin Ruggles 15f537ed53 cosmetics: change FlacEncodeContext variable name from ctx to s in several 14 years ago
Justin Ruggles 871a24f3bf Set coded_frame->pts in the FLAC encoder 14 years ago
Justin Ruggles 27e3418844 Do not need to set coded_frame->key_frame = 1 because it is already set in 14 years ago
Justin Ruggles 7fe0c7c823 Move debug logging of compression options to a single function. 14 years ago
Justin Ruggles e08ec71480 Add 2 failed memory allocation checks 14 years ago
Justin Ruggles e35b689ebd cosmetics: pretty-print flacenc.c 14 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 15 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