summaryrefslogtreecommitdiff
path: root/libavcodec/libvo-amrwbenc.c
Commit message (Collapse)AuthorAge
...
* 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>