summaryrefslogtreecommitdiff
path: root/libavresample/utils.c
Commit message (Collapse)AuthorAge
* lavr: do not pass consumed samples as a parameter to ff_audio_resample()Justin Ruggles2012-11-27
| | | | | Since the resampler handles buffering of unconsumed samples internally, the caller does not need this information.
* lavr: do not pass sample count as a parameter to ff_audio_convert()Justin Ruggles2012-11-27
| | | | | It will always be the number of samples in the input buffer, so just use that directly instead of passing it as a separate parameter.
* lavr: fix the decision for writing directly to the output bufferJustin Ruggles2012-11-17
| | | | | | If there are any samples remaining in the output fifo from previous conversion calls, we have to output those samples first instead of doing direct output of the current samples.
* lavr: change the type of the data buffers to uint8_t**.Anton Khirnov2012-10-05
| | | | | | This is more consistent with what the rest of Libav does. This breaks API.
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavr: fix handling of custom mix matricesJustin Ruggles2012-08-04
| | | | | Adds some validation for changing parameters after setting the matrix and fixes a bug in the conversion path setup.
* lavr: add x86-optimized mixing functionsJustin Ruggles2012-07-27
| | | | | Adds optimized functions for mixing 3 through 8 input channels to 1 and 2 output channels in fltp or s16p format with flt coeffs.
* lavr: resampling: add support for s32p, fltp, and dblp internal sample formatsJustin Ruggles2012-07-08
| | | | | | | Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in libswresample in FFmpeg. See commits: 7f1ae79d38c4edba9dbd31d7bf797e525298ac55 24ab1abfb6d55bf330022df4b10d7aec80b3f116
* lavr: Use AV_SAMPLE_FMT_NONE to auto-select the internal sample formatJustin Ruggles2012-07-08
| | | | Also make this the default value.
* lavr: do not try to copy to uninitialized output audio data.Anton Khirnov2012-05-09
| | | | | This would happen at least when lavr is used as a fifo with no conversion.
* lavr: make avresample_read() with NULL output discard samples.Anton Khirnov2012-05-09
|
* Add libavresampleJustin Ruggles2012-04-24
This is a new library for audio sample format, channel layout, and sample rate conversion.