Justin Ruggles
b22f9d6535
Simplify fallback to verbatim mode encoding.
...
Originally committed as revision 24626 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
45e2908757
cosmetics: line wrap and vertical alignment
...
Originally committed as revision 24625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
8fbb8d31d8
Combine calc_rice_params_fixed() and calc_rice_params_lpc() into a single
...
function.
Originally committed as revision 24624 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
43b3273e5b
Remove unneeded wrapper function.
...
Originally committed as revision 24622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
0f5cc12c4f
Remove duplicate code by adding a flag for encoding in verbatim mode.
...
Originally committed as revision 24621 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
93d65e3d92
Estimate frame size during encoding.
...
Originally committed as revision 24619 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
eb96f1698a
cosmetics: indentation
...
Originally committed as revision 24612 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
520effb9b5
Combine output_subframe() and output_subframes().
...
Originally committed as revision 24611 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
fb443a6f3b
Remove unneeded variable.
...
Originally committed as revision 24610 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
724f34716b
cosmetics: indentation
...
Originally committed as revision 24609 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
6d263f41ae
Combine output_subframe_verbatim() and output_subframe_lpc().
...
Originally committed as revision 24608 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
6266cfb4ce
Combine and simplify output_residual() and output_subframe_lpc().
...
Originally committed as revision 24607 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
fc001d6cc1
cosmetics: reindent
...
Originally committed as revision 24606 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
175a57113f
Combine and simplify output_subframe_fixed() and output_subframe_lpc().
...
Originally committed as revision 24605 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
89912b5ff1
Combine and simplify output_subframe_constant() and output_subframe_verbatim().
...
Originally committed as revision 24604 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
1f1c05b09f
Pass FlacSubframe to output_subframe_* instead of channel number.
...
Originally committed as revision 24603 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
15f537ed53
cosmetics: change FlacEncodeContext variable name from ctx to s in several
...
places for consistency.
Originally committed as revision 24602 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
871a24f3bf
Set coded_frame->pts in the FLAC encoder
...
Originally committed as revision 24601 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
27e3418844
Do not need to set coded_frame->key_frame = 1 because it is already set in
...
avcodec_alloc_frame().
Originally committed as revision 24600 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
7fe0c7c823
Move debug logging of compression options to a single function.
...
Originally committed as revision 24599 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e08ec71480
Add 2 failed memory allocation checks
...
Originally committed as revision 24598 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
e35b689ebd
cosmetics: pretty-print flacenc.c
...
Originally committed as revision 24597 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
edac49daf5
Use "const" qualifier for pointers that point to input data of
...
audio encoders.
This is purely for clarity/documentation purposes.
Originally committed as revision 24481 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
23940f1405
Add AVCodecContext.lpc_type and Add AVCodecContext.lpc_passes fields.
...
Add AVLPCType enum.
Deprecate AVCodecContext.use_lpc.
Originally committed as revision 24199 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
79aec75792
flacenc: convert VLA to fixed size
...
Originally committed as revision 23744 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2874c81cc8
Replace all remaining occurrences of AVERROR_NOMEM with
...
AVERROR(ENOMEM).
AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.
Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
fde82ca7e4
Move autocorrelation function from flacenc.c to lpc.c. Also rename the
...
corresponding dsputil functions and remove their dependency on the FLAC
encoder.
Fixes Issue1486.
Originally committed as revision 20266 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b5f09d31c2
Make sample_fmts and channel_layouts compound literals const to reduce size of
...
.data section.
Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0bc08ed941
flacenc: write initial blocksize to STREAMINFO header instead of current
...
blocksize.
Originally committed as revision 18532 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Bobby Bingham
0aed5e9fb8
Skip loop iterations which are no-ops due to data1[-lag..-1] being zero.
...
Originally committed as revision 18498 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
437f884da6
flacenc : do not #include libavutil/lls.h since lpc code is now
...
separate.
Originally committed as revision 18495 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0fb2182d46
add a function to calculate a more accurate estimate for maximum FLAC
...
frame size and use the function in the FLAC decoder and FLAC encoder
Originally committed as revision 18092 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f121622114
revert accidental unrelated change in last commit
...
Originally committed as revision 18090 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d4df4e5088
share sample rate and blocksize tables between the FLAC encoder and FLAC
...
decoder
Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b9b4fc5e07
flacenc: remove unneeded variable, 'min_encoded_framesize' and use
...
'min_framesize' instead
Originally committed as revision 18087 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ad52941faa
flacenc: remove unneeded context variable, 'ch_code'
...
Originally committed as revision 18083 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3159780b18
share channel mode constants between the FLAC decoder and FLAC encoder
...
Originally committed as revision 18082 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
07d16e2ecf
share some constants between the FLAC encoder and FLAC decoder
...
Originally committed as revision 18041 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6682ae42a4
write actual min and max frame size to FLAC header. update regression test checksum.
...
Originally committed as revision 15331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
a9f8587e15
write MD5 checksum to FLAC header. update regression tests.
...
Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e1a12934c5
write number of samples in FLAC extradata.
...
based on a patch by Mathieu Velten (matmaul gmail com).
Originally committed as revision 15324 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f1f373c220
fix and simplify frame size check and reencoding in verbatim mode
...
Originally committed as revision 14811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
38c1a5c4d9
update my email address to one which does not depend on my service provider
...
Originally committed as revision 14797 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago