aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/libswresample.mak
Commit message (Collapse)AuthorAgeFilesLines
* fate: disable automatic conversions on many tests.Nicolas George2020-09-081-1/+1
| | | | | | | | | | Explicitly insert the scale or aresample filter where it would have been inserted by the negotiation. Re-enable conversions if it cannot be done easily. If a conversion is needed in a test, we want to know about it. If the negotiation changes and makes new conversion necessary, we want to know about it even more.
* Merge commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7'James Almer2017-10-031-9/+9
| | | | | | | * commit '4141a5a240fba44b4b4a1c488c279d7dd8a11ec7': Use modern avconv syntax for codec selection in documentation and tests Merged-by: James Almer <jamrial@gmail.com>
* swresample/options: enable linear_interp and exact_rational by defaultMuhammad Faiz2017-03-171-10/+179
| | | | | | better quality without speedloss Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* swresample/swresample: do not reset tsf on swr_alloc_set_optsMuhammad Faiz2017-03-131-40/+40
| | | | | | | | | | | | so tsf option in aresample will have effect previously tsf/internal_sample_format had no effect fate is updated s32p previously used fltp internally dblp previously used fltp/dblp internally Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* swresample/resample: do not allow odd filter_lengthMuhammad Faiz2017-03-091-38/+38
| | | | | | | | | | | | except filter_length == 1 odd filter_length gives worse frequency response, even when compared with shorter filter_length also makes build_filter simpler Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate/swresample: fix FUZZ typoMuhammad Faiz2017-03-081-1/+1
| | | | | | | unintentionally changed to 0.01 at '61926b6c3e560283ef6c015d6d85c32716942833' Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* swresample/resample: use uniform normalizationMuhammad Faiz2017-03-081-138/+138
| | | | | | | | | this gives better frequency response update swresample fate and other fates that depend on resampling Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate/swresample: add resample exact_lin and exact_lin_async testMuhammad Faiz2016-11-251-0/+176
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate: add swr-convertaudio testMuhammad Faiz2016-10-181-0/+8
| | | | | | | test for flt to s16 should pass on correct rounding to nearest Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate: add swr-resample_exact_async testsMuhammad Faiz2016-06-161-0/+87
| | | | Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* fate: add libswresample exact_rational testMuhammad Faiz2016-06-131-0/+256
| | | | Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* swresample/resample: increase precision for compensationMichael Niedermayer2015-11-111-4/+4
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swresample: Choose 16bit internally only if input and output is 16bit or lessMichael Niedermayer2015-06-211-62/+63
| | | | | | | | | | | | | or if no rematrix and no resampling is performed and the input is 16bit note reampling and rematrix itself always use more than 16bit internally the "internal" sampling format is the format between these steps Its unlikely the difference from this commit is audible in any case unless there is some bug either before or after the change. but multiple people prefer this and it slightly improves the precission of computations. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: Fix swr_drop_output so it does not flush the buffersMichael Niedermayer2014-11-041-8/+8
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tests/swr: move the results out of the functionsTimothy Gu2014-06-051-4/+4
| | | | | | | This prevents all results from being declared whenever the function is called. Signed-off-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: add simple test for asyncMichael Niedermayer2014-06-021-0/+27
| | | | | | | | | This only checks that things havnt changed, the values provide little help in determining if a change is good or bad. Improvements welcome! Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: add swri_resample_double_sse2James Almer2014-04-251-0/+19
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate/libswresample: use linear interpolation on both aresample filtersMichael Niedermayer2014-04-231-3/+3
| | | | | | | This also tests LINEAR_CORE_FLT_SSE Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample/resample_template: try to consider src_size more exactlyMichael Niedermayer2014-04-151-2/+2
| | | | | | | This should avoid slight differences in the output causes by input size alignment differences between archs Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample/resample: Fix fractional part of index in the filter_size = 1 ↵Michael Niedermayer2014-04-141-2/+2
| | | | | | filters = 1 case Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate/libswresample: add tests with filter_size=1 phase_shift=0Michael Niedermayer2014-04-141-0/+28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: add tests for linearly interpolated resamplingMichael Niedermayer2014-03-241-0/+51
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* fate: add synthetic swresample resampling testsMichael Niedermayer2013-10-211-0/+276
this is based on libavresample.mak These tests do not depend on external samples Signed-off-by: Michael Niedermayer <michaelni@gmx.at>