summaryrefslogtreecommitdiff
path: root/libavcodec/libvo-amrwbenc.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: use a separate field for exporting audio encoder paddingAnton Khirnov2014-10-13
| | | | | | | | | | | | | | 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.
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov2013-03-09
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* 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
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* 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>
* libvo_amrwbenc: use AVCodec.encode2()Justin Ruggles2012-03-21
|
* check for coded_frame allocation failure in several audio encodersJustin Ruggles2012-02-25
|
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* libvo-amrwbenc: Add braces to shut up gcc warning.Diego Biurrun2011-07-07
| | | | libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer
* libvo-aacenc,libvo-amrwbenc}: fix api usageLuca Barbato2011-04-18
| | | | Use the correct error codes and format identifier.
* libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptionsMartin Storsjö2011-04-14
| | | | | | | DTX, discontinuous transmission, allows emitting frames with comfort noise when no voice is detected in the input audio. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Only check the bitrate when changedMartin Storsjö2011-04-14
| | | | | | | | | | | Also rename the incorrectly named enc_bitrate to enc_mode, use the enc_bitrate variable for storing the last chosen bitrate. This avoids continuous warning log messages if not using an exactly matching bitrate, while still allowing changing bitrate at any point. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Find the closest matching bitrateMartin Storsjö2011-04-14
| | | | | | | Dynamically print the supported bitrates from the local table, instead of using a hardcoded log message. Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-*: Fix up the long codec namesMartin Storsjö2011-04-13
| | | | | | | | | | Include VisualOn to clarify the codec name, but remove the actual library name from the user-friendly description. Also mention Android, to clarify which VisualOn implementation this refers to, since they do sell other variants of the same code, too. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrbwenc: Rename variables and functionsMartin Storsjö2011-04-13
| | | | | | Avoid camelCase names for functions and variables. Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate tableMartin Storsjö2011-04-13
| | | | | | The bitrate modes are equal to the array indices. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static ↵Martin Storsjö2011-04-13
| | | | | | const Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Return proper error codes in most placesMartin Storsjö2011-04-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-*: Don't use deprecated sample format names and enum namesMartin Storsjö2011-04-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initializationMartin Storsjö2011-04-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Add support for AMR-WB encoding via libvo-amrwbencMartin Storsjö2011-04-11
The wrapper code is based on the libamr wrapper removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>