summaryrefslogtreecommitdiff
path: root/libavcodec/cngdec.c
Commit message (Collapse)AuthorAge
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | 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-03
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-08
|
* comfortnoise: decode directly to the user-provided AVFrameJustin Ruggles2013-02-12
|
* lavc: add a wrapper for AVCodecContext.get_buffer().Anton Khirnov2012-12-04
| | | | It will be useful in the upcoming transition to refcounted AVFrames.
* cng: Reindent some incorrectly indented linesMartin Storsjö2012-10-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Allow flushing the decoderMartin Storsjö2012-10-30
| | | | | | | | | | After a flush, don't average the output envelope and energy with previous iterations. Also start directly from the target values for the first iteration at startup. Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Make the dbov variable have the right unitMartin Storsjö2012-10-30
| | | | | | Previously the unit of the variable was Bov, not dBov. Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Fix the memset size to cover the full arrayMartin Storsjö2012-10-30
| | | | | | | This was a leftover from previous iterations of the code, where the refl coef arrays were statically allocated. Signed-off-by: Martin Storsjö <martin@martin.st>
* cngdec: Update the LPC coefficients after averaging the reflection coefficientsMartin Storsjö2012-10-30
| | | | | | I somehow messed up the placement of this one. Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: Add a RFC 3389 comfort noise codecMartin Storsjö2012-10-29
This isn't too useful as a normal codec, but can be used in voip style applications. The decoder updates the noise generator parameters when a packet is given to it for decoding, but if called with an empty packet, it generates more noise according to the last parameters. Signed-off-by: Martin Storsjö <martin@martin.st>