summaryrefslogtreecommitdiff
path: root/libavcodec/libspeexdec.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* libspeexdec: fix detection of final terminator codeJustin Ruggles2013-07-21
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* libspeex: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* libspeexdec: handle NULL return value from speex_packet_to_header()Justin Ruggles2012-10-03
| | | | This will happen when the extradata is not a valid Speex header.
* libspeexdec: properly handle DTX for multiple frames-per-packetJustin Ruggles2012-10-03
|
* libspeexdec: move the SpeexHeader from LibSpeexContext to where it is usedJustin Ruggles2012-10-03
|
* libspeexdec: simplify setting of frame_sizeJustin Ruggles2012-10-03
|
* libspeexdec: set channel_layoutJustin Ruggles2012-10-03
|
* libspeexdec: If the channel count is not valid, decode as stereo.Justin Ruggles2012-10-03
| | | | | When initialized as stereo, libspeex can decode either mono or stereo packets and will output stereo.
* libspeexdec: improve setting of Speex mode and sample rateJustin Ruggles2012-10-03
| | | | | If there is no extradata and the sample rate given by the user is not valid, decode as ultra-wideband.
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* libspeexdec: set frame size in libspeex_decode_init()Justin Ruggles2012-03-30
| | | | This fixes speex decoding, which was broken in 85469f1c.
* libspeexdec: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | It is not necessary
* Add avcodec_decode_audio4().Justin Ruggles2011-12-02
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* libspeexdec: include system headers before local headersJustin Ruggles2011-10-21
|
* libspeexdec: return meaningful error codesJustin Ruggles2011-10-21
|
* libspeexdec: cosmetics: reindentJustin Ruggles2011-10-21
|
* libspeexdec: decode one frame at a time.Justin Ruggles2011-10-21
| | | | | | 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.
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* libspeexdec: Drop const qualifier to silence compiler warning.Diego Biurrun2011-07-16
| | | | | 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 *’
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enumStefano Sabatini2010-11-12
| | | | | | SampleFormat with AVSampleFormat. Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libspeex: Do not set AVCodecContext.frame_size in decoder init if there is noJustin Ruggles2009-09-04
| | | | | | | 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
* Store the frame size in the LibSpeexContext in case the header does not exist.Justin Ruggles2009-08-29
| | | | Originally committed as revision 19741 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the output data type to determine the maximum number of samples that can beJustin Ruggles2009-08-28
| | | | | | decoded. Originally committed as revision 19736 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify the Ogg/Speex demuxer and the libspeex decoder so that they always treatJustin Ruggles2009-08-28
| | | | | | a packet of Speex frames as a single frame. Originally committed as revision 19734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-07
| | | | | | | | | | | 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
* cosmetics: Fix a few typos and use a consistent codec long name.Diego Biurrun2009-02-08
| | | | Originally committed as revision 17084 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Speex decoding via libspeexDavid Conrad2008-10-24
Originally committed as revision 15676 to svn://svn.ffmpeg.org/ffmpeg/trunk