summaryrefslogtreecommitdiffstats
path: root/libavcodec/libopusenc.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>
* Use avpriv_report_missing_feature() where appropriateDiego Biurrun2016-11-081-2/+3
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-4/+4
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-271-1/+1
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-271-1/+1
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libopusenc: prevent an out-of-bounds read by returning earlyVittorio Giovara2014-11-131-3/+4
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1244188
* libopusenc: check return valueVittorio Giovara2014-11-131-1/+3
| | | | | CC: libav-stable@libav.org Bug-Id: CID 739870
* lavc: use a separate field for exporting audio encoder paddingAnton Khirnov2014-10-131-2/+2
| | | | | | | | | | | | | | Currently, the amount of padding inserted at the beginning by some audio encoders, is exported through AVCodecContext.delay. However - the term 'delay' is heavily overloaded and can have multiple different meanings even in the case of audio encoding. - this field has entirely different meanings, depending on whether the codec context is used for encoding or decoding (and has yet another different meaning for video), preventing generic handling of the codec context. Therefore, add a new field -- AVCodecContext.initial_padding. It could conceivably be used for decoding as well at a later point.
* libopusenc: Change default frame duration to 20 msPaul B Mahol2014-01-061-1/+1
| | | | | | | 20 ms is the default in the libopus encoder, and gives better quality than 10 ms. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-031-1/+1
|
* Opus encoder using libopusNathan Caldwell2012-10-011-0/+421
Signed-off-by: Diego Biurrun <diego@biurrun.de>
OpenPOWER on IntegriCloud