summaryrefslogtreecommitdiffstats
path: root/libavcodec/libopusdec.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: add metadata to identify wrappers and hardware decoderswm42017-12-141-0/+1
| | | | | | | | | | | | | | | | | | | | | Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libopusdec: fix out-of-bounds readAndreas Cadhalpun2016-12-081-0/+7
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* libopusdec: default to stereo for invalid number of channelsAndreas Cadhalpun2016-11-231-0/+6
| | | | | | | This fixes an out-of-bounds read if avc->channels is 0. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop pointless assert.h #includesDiego Biurrun2016-05-031-1/+1
|
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* libopus: decode directly to the user-provided AVFrameJustin Ruggles2013-02-121-13/+12
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-041-1/+2
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* Opus encoder using libopusNathan Caldwell2012-10-011-25/+3
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* libopus: Remap channels using libopus' internal remapping.Nathan Caldwell2012-09-281-25/+12
| | | | | | | | This way we can directly remap channels from Opus' channel order to libav's internal channel order, instead of mapping channels from Opus' order to Vorbis' order then to libav's order. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Opus decoder using libopusNicolas George2012-09-281-0/+202
Signed-off-by: Diego Biurrun <diego@biurrun.de>
OpenPOWER on IntegriCloud