Justin Ruggles
0eea212943
Add avcodec_decode_audio4().
...
Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders.
2011-12-02 17:40:40 -05:00
Justin Ruggles
b19e0c2b4e
libspeexdec: include system headers before local headers
2011-10-21 17:07:05 -04:00
Justin Ruggles
a470fe80ba
libspeexdec: return meaningful error codes
2011-10-21 17:07:04 -04:00
Justin Ruggles
14bc60dbae
libspeexdec: cosmetics: reindent
2011-10-21 17:07:04 -04:00
Justin Ruggles
7eeaa6796b
libspeexdec: decode one frame at a time.
...
This allows for knowing the output size before decoding even when there is no
header (e.g. FLV). Otherwise we would have to do a preliminary full frame
decode to determine the number of frames-per-packet.
2011-10-21 17:07:04 -04:00
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
2011-07-29 08:42:34 +02:00
Diego Biurrun
0523dc57ff
libspeexdec: Drop const qualifier to silence compiler warning.
...
libavcodec/libspeexdec.c:108: warning: passing argument 2 of ‘speex_bits_read_from’ discards qualifiers from pointer target type
/usr/include/speex/speex_bits.h:80: note: expected ‘char *’ but argument is of type ‘const uint8_t *’
2011-07-16 01:26:51 +02:00
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
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>
2011-01-26 16:08:45 +00:00
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
2010-11-12 11:04:40 +00:00
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
2010-03-30 23:30:55 +00:00
Justin Ruggles
d6ee035d7a
libspeex: Do not set AVCodecContext.frame_size in decoder init if there is no
...
header in extradata since the default value will be incorrect for multiple
frames per packet.
Originally committed as revision 19755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-04 00:57:20 +00:00
Justin Ruggles
6833385d30
Store the frame size in the LibSpeexContext in case the header does not exist.
...
Originally committed as revision 19741 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-29 21:04:18 +00:00
Justin Ruggles
5c3b5e3053
Use the output data type to determine the maximum number of samples that can be
...
decoded.
Originally committed as revision 19736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-28 00:57:00 +00:00
Justin Ruggles
eb5f3c5434
Modify the Ogg/Speex demuxer and the libspeex decoder so that they always treat
...
a packet of Speex frames as a single frame.
Originally committed as revision 19734 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-28 00:44:54 +00:00
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
2009-04-07 15:59:50 +00:00
Diego Biurrun
5bfd3147f8
cosmetics: Fix a few typos and use a consistent codec long name.
...
Originally committed as revision 17084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 23:32:46 +00:00
David Conrad
ae14f311f8
Speex decoding via libspeex
...
Originally committed as revision 15676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-24 06:29:05 +00:00