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
Justin Ruggles
9045f5e72d
cosmetics: adjust line breaks and vertical alignment
...
Originally committed as revision 14795 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
56c07e2989
use limited range of lpc orders when quantizing coefficients
...
Originally committed as revision 14794 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
c50da3ad6c
flacenc, lpc: Move LPC code from flacenc.c to new lpc.[ch] files.
...
Originally committed as revision 14790 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
51c796d012
flacenc: Allow more flexible shift calculation in LPC.
...
Originally committed as revision 14789 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6647ab80e3
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
...
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
42ceeb5f3c
remove redundant context variable
...
Originally committed as revision 12642 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago