Kostya Shishkov
4ba8c521b1
WavPack decoder: implement flush function
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
737eb5976f
Merge libavcore into libavutil
...
It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago
Anton Khirnov
c2fcd0a7a4
Replace remaining occurrences of deprecated CH_* with AV_CH_*
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Kostya
dacbcd170a
reindent after last commit
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Kostya
3bdc886c22
Extend WavPack demuxer and decoder to support >2 channel audio
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Kostya Shishkov
c392cc0a64
Limit number of samples decoded for WavPack mono mode, so decoded samples will
...
fit into output buffer.
Originally committed as revision 26269 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Carl Eugen Hoyos
b82579a6ec
Fail more gracefully for multichannel wavpack in another container.
...
Originally committed as revision 26253 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 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
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
Kostya Shishkov
aa170ed625
cosmetics: reindent after last commit
...
Originally committed as revision 21895 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
965828bb66
Since WavPack chunk can contain more samples than FFmpeg is guaranteed to
...
hold, decode it in several iterations outputting as many samples as possible.
Originally committed as revision 21894 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
6e44ba1550
Use get_bits_left() instead of size_in_bits - get_bits_count().
...
Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sascha Sommer
d859bb1db0
Add CODEC_CAP_SUBFRAMES for codecs that output multiple subframes
...
per AVPacket
No longer print "Multiple frames in a packet" error message
when CODEC_CAP_SUBFRAMES is set (wmapro, wavpack)
Originally committed as revision 19881 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
992f7db060
Add floating point audio decoding to WavPack decoder.
...
Patch by Laurent Aimar (fenrir at `antonym of 'audio'+antonym of 'WAN'` dot org)
Originally committed as revision 18754 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
cabb81113a
Prepare WavPack decoder to support floating point output.
...
Patch by Laurent Aimar (f-e-n-r-i-r .@.t. v=i=d=e=o=l=a=n .d.o.t. o=r=g)
Originally committed as revision 18753 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
3cb088868c
Factorize out integer sample value decoding for WavPack.
...
This is slightly modified patch by Laurent Aimar.
Originally committed as revision 18740 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
66311f86d4
Check whether extra bits block has enough data.
...
Patch by Laurent Aimar "f\145nr\151r >at< vide\157lan <dot> o\162g"
Originally committed as revision 18732 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
10c773c12f
Remove dead assignments found by CSA
...
Originally committed as revision 18730 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
418f77ec6e
Decode extended bitstream for high-precision WavPack files.
...
Patch by Laurent Aimar [(wolf, son of Loki) <at> (videolan) <dot> (org)]
Originally committed as revision 18729 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
60294c593e
Correctly update output sample format in wavpack decoder.
...
Patch by Laurent Aimar (at 'fenrir (cons 'videolan 'org))
Originally committed as revision 18694 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
29ee635503
Merge decoding functions for all bitdepths in WavPack decoder
...
Originally committed as revision 18675 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
6e0f746d3e
Handle WavPack INT32INFO chunks with nonzero post shift
...
Originally committed as revision 18668 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
0638c2ae3c
Add functions for decoding >16 bits WavPack files.
...
Based on patches by Laurent Aimar (fenrir >whirlpool< videolan >dit< org)
Originally committed as revision 18667 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
760db32a0c
Shift 9-15 bit samples to use full 16-bit range.
...
Patch by Laurent Aimar <fenrir at VLCsite>
Thread: [PATCH] Fixed wavpack 9-15 bits support
Originally committed as revision 18666 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
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
Kostya Shishkov
2c96535af7
WavPack hybrid mode support
...
Originally committed as revision 16643 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
eeee48b26b
Add channel layout to several audio decoders I maintain
...
Originally committed as revision 15884 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
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
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
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
94ef6d11ac
const
...
Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
28e7453c11
remove some empty close/init functions in avcodec
...
patch by Alex
Originally committed as revision 11093 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
ca1daf0ad0
add get_unary_0_33() to help gcc with inlining
...
Originally committed as revision 10242 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
28296f9c9e
move get_unary() to its own file
...
Originally committed as revision 10240 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
David Bryant
a6ba65f7f2
Support for WavPack version 0x410 (false stereo chunks)
...
Patch by David Bryant printf("david@%s.com",wv_demuxer.long_name);
Thread [PATCH] handle WavPack stream version 0x410
Originally committed as revision 10101 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
11ead90e23
Rename flag for consistency with the next commit
...
Originally committed as revision 10100 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
57d473f457
use get_unary from bitstream.h
...
Originally committed as revision 9995 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
David Bryant
6b05eb3117
Add the handling of the INT32INFO block to the WavPack decoder.
...
Patch by David Bryant david at $codecname dot com
Thread: [FFmpeg-devel] [PATCH] handle INT32INFO in WavPack decoder
Originally committed as revision 9932 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
b314cfe709
Correctly handle data_size on decoding
...
Originally committed as revision 8451 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
4b3b5a2337
Coded residual in WavPack may be > 0xFFFF
...
Originally committed as revision 7733 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
fead30d444
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
...
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kostya Shishkov
a8789714ba
Ignore blocks with no samples and flags (but usually with MD5 sum)
...
Originally committed as revision 6694 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago