summaryrefslogtreecommitdiffstats
path: root/libavcodec/libopencore-amr.c
Commit message (Collapse)AuthorAgeFilesLines
* check for coded_frame allocation failure in several audio encodersJustin Ruggles2012-02-251-0/+3
|
* Add avcodec_decode_audio4().Justin Ruggles2011-12-021-17/+35
| | | | | | Deprecate avcodec_decode_audio3(). Implement audio support in avcodec_default_get_buffer(). Implement the new audio decoder API in all audio decoders.
* libopencore-amr: check output buffer size before decodingJustin Ruggles2011-10-261-4/+16
|
* libopencore-amr: remove unneeded buf_size==0 check.Justin Ruggles2011-10-261-4/+0
| | | | | avcodec_decode_audio3() already checks it before sending the packet to the decoder.
* libopencore-amr: remove unneeded frame_count field.Justin Ruggles2011-10-261-6/+1
| | | | Use AVCodecContext.frame_number instead.
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-121-1/+1
|
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-291-24/+21
| | | | It's more readable and less prone to breakage.
* opencore-amr: Add missing initializer braces to shut up gcc warning.Diego Biurrun2011-07-051-1/+1
| | | | | This fixes the warning: libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
* libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptionsMartin Storsjö2011-04-141-1/+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-141-4/+9
| | | | | | | | | | | 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-141-16/+20
| | | | | | | Dynamically print the supported bitrates from the local table, instead of using a hardcoded log message. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Cosmetics: Rewrap and alignMartin Storsjö2011-04-131-14/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrbwenc: Rename variables and functionsMartin Storsjö2011-04-131-19/+19
| | | | | | Avoid camelCase names for functions and variables. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Convert commented out debug logging into av_dlogMartin Storsjö2011-04-131-6/+6
| | | | | | Also add the avctx as logging context. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an unused state variableMartin Storsjö2011-04-131-3/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove a useless local variableMartin Storsjö2011-04-131-7/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static ↵Martin Storsjö2011-04-131-1/+1
| | | | | | const Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Return proper error codes in most placesMartin Storsjö2011-04-131-8/+8
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Don't print carriage returns in log messagesMartin Storsjö2011-04-131-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an old workaround for libamr header weirdnessMartin Storsjö2011-04-131-5/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Make the opaque encoder pointer a void*Martin Storsjö2011-04-131-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove unused code fragmentsMartin Storsjö2011-04-131-11/+0
| | | | | | | This parts are heritage from the encoder part from the old libamr code removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | 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-261-3/+3
| | | | | | | 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-121-2/+2
| | | | | | 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-301-3/+3
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-061-1/+1
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for external OpenCORE libraries for AMR-NB/WB support.Diego Biurrun2009-06-051-0/+325
Originally committed as revision 19117 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud