summaryrefslogtreecommitdiff
path: root/libswresample/swresample.c
Commit message (Collapse)AuthorAge
...
* swr: fix 10l typo mixing in and out config.Michael Niedermayer2012-08-01
| | | | | | Fixes ticket1458 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: resampling: add filter type and Kaiser window beta to AVOptionsJustin Ruggles2012-07-23
|
* lswr: channel_map requires input conversion.Nicolas George2012-07-17
| | | | | | | | channel_map is applied between in and postin. Without this test, if the input format is an acceptable internal format, the in->postin conversion is skipped. In the best case, it ignores channel_map, in the worst case it causes an assert failure if the number of channels is changed by the map.
* lavu: 256 color supportPaul B Mahol2012-07-07
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swresample: make .class_name more descriptivePaul B Mahol2012-06-22
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* swresample.c: update copyleft yearMichael Niedermayer2012-06-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: zero buffers on allocationMichael Niedermayer2012-06-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix a few typo.Clément Bœsch2012-06-01
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-05-30
| | | | | | | | | | | | | | | | | * qatar/master: avconv: extend -r to work on any input stream. doc/avconv: expand documentation for the -s option. avconv: don't print filters inserted by avconv in stream mappings. avconv: merge configuration code for complex and simple filters avconv: split configuring input filters out of configure_complex_filter Conflicts: configure doc/ffmpeg.texi ffmpeg.c tests/ref/fate/idroq-video-encode Merged-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix swr_drop_output()Michael Niedermayer2012-05-26
| | | | | | Fixes part of Ticket1341 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: check return value of swr_inject_silence/drop_output.Michael Niedermayer2012-05-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: check count argument of realloc_audio()Michael Niedermayer2012-05-22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: skip soft compensation when its disabled.Michael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add swr_next_pts()Michael Niedermayer2012-05-19
| | | | | | parameter descriptions partly reuse text from af_asyncts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add swr_drop_output()Michael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add swr_inject_silence()Michael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Fix issue with injecting more data than can be used up in the next call.Michael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add some asserts to resample()Michael Niedermayer2012-05-19
| | | | | | These check that the internal and input buffers match in format Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add reversefill_audiodata()Michael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix buf_set() so it works with input == outputMichael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: make literal 32 a named constant in realloc_audio()Michael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fill_audio_data() support NULLMichael Niedermayer2012-05-19
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: set the default parameters to "none"Michael Niedermayer2012-05-17
| | | | | | this way it can easily be detected when parameters have not been set Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: automatically choose s16/flt/dbl to preserve input precision unless ↵Michael Niedermayer2012-05-02
| | | | | | user overrides. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add double precision support to the rematrix codeMichael Niedermayer2012-05-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: update double precision checks for our resamplerMichael Niedermayer2012-05-02
| | | | | | It supports double precision since a while Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add lfe_mix_levelJustin Ruggles2012-05-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add and use function pointers for rematrixMichael Niedermayer2012-05-01
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add native matrix for rematrixingMichael Niedermayer2012-05-01
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: disable 1 stage convert when dither is enabled.Michael Niedermayer2012-05-01
| | | | | | This combination is not possible easily. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add sample format to AudioDataMichael Niedermayer2012-04-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add set_audiodata_fmt() and use it to simplify codeMichael Niedermayer2012-04-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: change sample format representation so as to maintain the planer/packed ↵Michael Niedermayer2012-04-28
| | | | | | distinction. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: pass resample parameters from the user to the resampler.Michael Niedermayer2012-04-26
| | | | | | doxy and names stolen from avr Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Add longer more descriptive alternative AVOptions.Michael Niedermayer2012-04-26
| | | | | | They match avresample where it supports the same fields. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Capitalize help texts for AVOptionsMichael Niedermayer2012-04-26
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: align options a littleMichael Niedermayer2012-04-26
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: set AV_OPT_FLAG_AUDIO_PARAM for the AVOptionsMichael Niedermayer2012-04-26
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fix swr_convert buffering of packed audioAndrew Wason2012-04-21
| | | | | | | | | | | | swr_convert is not properly buffering packed input audio when the output is not large enough, and when resampling is not actually needed (same samplerate and no SWR_FLAG_RESAMPLE). buf_set() is only handling the first channel and leaving the others as-is. Sample program to reproduce the problem is here https://gist.github.com/2431768 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add a swr_flags AVOptionMichael Niedermayer2012-04-11
| | | | | | | Using swr_flags instead of plain flags will avoid conflicts that arise with plain flags and multiple libs (which all have AVOption flags) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add a dither_scale parameter to tune the amplitude of the dither.Michael Niedermayer2012-04-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: pass context to swri_get_dither()Michael Niedermayer2012-04-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add triangular highpass ditherMichael Niedermayer2012-04-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: generate more dither noise to improve quality.Michael Niedermayer2012-04-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add swr_get_class()Michael Niedermayer2012-04-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add triangular dither supportMichael Niedermayer2012-04-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: remove unused variableMichael Niedermayer2012-04-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add SWR_DITHER_RECTANGULAR to AVOptions arrayMichael Niedermayer2012-04-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add dither support.Michael Niedermayer2012-04-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: support int32 and float as internal sample formatsMichael Niedermayer2012-04-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>