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
Peter Ross
a5b588bcad
Use designated initialisers for pcm codec struct
...
Originally committed as revision 24264 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
4dbcfa6f95
Set bits_per_raw_sample in the pcm decoder.
...
Originally committed as revision 23566 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
fa034b4427
Allow hardcoding of ulaw and alaw tables.
...
Originally committed as revision 22762 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
Francesco Lavra
91cc5d3767
Move ff_reverse in libavcodec to av_reverse in libavutil.
...
Patch by Francesco Lavra, francescolavra interfree it
Originally committed as revision 20484 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
Michael Niedermayer
34365443fd
Indent
...
Originally committed as revision 18627 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
012e4f5a18
Do not discard truncated packets.
...
Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv
Originally committed as revision 18626 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
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
655463b9eb
cosmetics: Reformat long_names so that "PCM" comes first.
...
Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
469f5f251d
WORDS_BIGENDIAN must be checked with #ifdef
...
Originally committed as revision 16608 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
Luca Abeni
dd1c8f3e6e
Bump Major version, this commit is almost just renaming bits_per_sample to
...
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7cabcf7d37
make pcm encoder setting bits_per_sample field
...
Originally committed as revision 15150 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
0cdc6ec941
Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars dot taeuber at gmx dot net.
...
Originally committed as revision 14931 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
2cd04cf919
Fix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars dot taeuber at gmx dot net.
...
Originally committed as revision 14864 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
143a5d6f1f
Add F64BE, F64LE and F64BE PCM codecs.
...
Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
4efbd75583
Fix PCM_S16LE_PLANAR channel-address calculation bug introduced in r14659.
...
Originally committed as revision 14831 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
38a1c7f2be
Use memcpy() for PCM S16/S32 codecs when codec byte-order matches machine byte-order.
...
Originally committed as revision 14784 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
3b4b113781
Fix CODEC_ID_PCM_U8 decoder output size calculation to support odd-number of samples.
...
Originally committed as revision 14712 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
5e8ecfde50
Apply PCM ENCODE/DECODE() macros to the S/U,8/24/32,LE/BE PCM codecs.
...
Originally committed as revision 14692 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
3ee573a300
Add simpler/cleaner/faster F32BE encoding/decoding.
...
Originally committed as revision 14660 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
ff66caab40
Simplify PCM codec; change 'n' in pcm_decode_frame() to equal "total number of samples".
...
Originally committed as revision 14659 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
13dbd9b705
Prevent DAUD PCM encoder from fetching values outside of ff_reverse[] array bounds when input sample values are < 0.
...
Originally committed as revision 14658 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
cc0b61292a
Simplify PCM codec; replace switch() statements with av_get_bits_per_sample().
...
Originally committed as revision 14534 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
0fd7e57e7d
Simplify PCM codec; use sample_fmts field to set the avctx->sample_fmt field.
...
Originally committed as revision 14533 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
Peter Ross
aa29709ec8
add CODEC_ID_PCM_F32BE (32-bit floating point PCM big endian decoder)
...
Originally committed as revision 14409 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
bbdfa06d43
Add a note to remind people that new PCM/ADPCM formats need to be added to
...
the Makefile as well to allow proper selective compilation.
Originally committed as revision 14072 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
Lars Täuber
1472b7dd28
LPCM 24 bits support, patch by Lars Täuber, lars.taeuber gmx net
...
Originally committed as revision 13187 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
51c86db57b
Fix big-endian vs. little-endian typo.
...
Originally committed as revision 13181 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
44caa86d68
Add PCM codec long names; by Stefano Sabatini, stefano.sabatini-lala poste it.
...
Originally committed as revision 13179 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
0ddfbc73cc
cosmetics: Sort some lists alphabetically.
...
Originally committed as revision 12886 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7993df6527
consts
...
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
wg
3426d575bf
Fix crash in PCM decoder when number of channels is not set.
...
Patch by "wg": video06 malloc de
See Issue298
Originally committed as revision 11249 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
48b36ec24b
cosmetics: alignment
...
Originally committed as revision 11098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
725d86bfd5
add pcm_s16le_planar support for electronicarts files
...
Originally committed as revision 11092 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
2b045c9caa
split definition of PCM_CODEC into PCM_ENCODER and PCM_DECODER
...
Originally committed as revision 10946 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
e916de2c8d
remove useless #undef
...
Originally committed as revision 10897 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
a11c2a2c66
support silly PCM variant used by zork nemesis
...
fixes audio decoding of T000A11C.AVI
Originally committed as revision 9831 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
b3a257af27
Revert r8979 (Ugly fix for r8963)
...
Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago