summaryrefslogtreecommitdiffstats
path: root/libswresample/resample.c
Commit message (Collapse)AuthorAgeFilesLines
...
* swr: Add SOX resampler supportRob Sykes2012-12-111-1/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: add a lowpass default so that each Resampler can have its own default.Rob Sykes2012-12-111-1/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: move flush into ResamplerMichael Niedermayer2012-12-111-0/+17
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: Add API to make resample engine selectable.Rob Sykes2012-12-111-30/+19
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr/resample: fix SSSE3 included unconditionally.Clément Bœsch2012-11-151-0/+2
| | | | 10l Regression since 8ea88339.
* swr/resample: move templating parameters to template itself.Clément Bœsch2012-11-151-112/+15
| | | | | | | | | It has various benefits such as allowing some refactoring, clarifying the code in the inclusion part, and making the template understandable in standalone. This commit is based on the templating method used by Justin Ruggles for libavresample.
* swri_resample_init: unsupported sample formats are an internal error.Michael Niedermayer2012-10-111-1/+1
| | | | | | | This condition cannot happen. Fixes CID733802 Signed-off-by: Michael Niedermayer <[email protected]>
* swr/resample: mark mm_flags as potentially unusedMichael Niedermayer2012-09-131-1/+1
| | | | | | They are unused when asm is disabled Signed-off-by: Michael Niedermayer <[email protected]>
* libswr: remove redundant ARCH_X86, MMX* implicates X86Michael Niedermayer2012-09-071-3/+3
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swsresample: Fix unprotected inline asmDerek Buitenhuis2012-09-071-2/+2
| | | | | Signed-off-by: Derek Buitenhuis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* swr/resample: update SSSE3 flag to new nameMichael Niedermayer2012-09-011-2/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* bessel: check that the function terminates as expected by av_assert2().Michael Niedermayer2012-08-091-0/+1
| | | | | | A clear abort is better than wrong output and a possible crash. Signed-off-by: Michael Niedermayer <[email protected]>
* swr: resampling: add filter type and Kaiser window beta to AVOptionsJustin Ruggles2012-07-231-13/+20
|
* swr: fix MMX resample code, add emmsMichael Niedermayer2012-06-301-3/+7
| | | | | | Fixes Ticket1495 Signed-off-by: Michael Niedermayer <[email protected]>
* swr: fix compilation with ancient toolchain that doesnt support SSSE3Michael Niedermayer2012-06-281-1/+6
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: MMX2 & SSSE3 int16 resample coreMichael Niedermayer2012-06-281-4/+60
| | | | | | about 4 times faster Signed-off-by: Michael Niedermayer <[email protected]>
* swr: introduce filter_alloc in preparation of SIMD resample optimisationsMichael Niedermayer2012-06-191-9/+11
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: add swr_get_delay() to find the exact delay the swresampler introduces.Michael Niedermayer2012-05-181-0/+15
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: change sample format representation so as to maintain the planer/packed ↵Michael Niedermayer2012-04-281-12/+12
| | | | | | distinction. Signed-off-by: Michael Niedermayer <[email protected]>
* swr: simplify code by using av_get_bytes_per_sample()Michael Niedermayer2012-04-111-6/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* resample: support double precission resamplingMichael Niedermayer2012-04-101-0/+29
| | | | | | | This commit is dedicated to the audiophiles who can hear it when a needle is dropped on the moon. Signed-off-by: Michael Niedermayer <[email protected]>
* swr: support float & int32 in the resamplerMichael Niedermayer2012-04-101-126/+102
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* resample: update copyright years, they where incorrect.Michael Niedermayer2012-04-101-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* resample: Fix boundary handling with fragments.Michael Niedermayer2012-03-251-4/+4
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* libswresample: introduce int swr_set_compensation() instead of void ↵Marton Balint2012-01-091-4/+20
| | | | | | | | | | swr_compensate() The new version returns AVERROR(EINVAL) is the specified paramters are invalid, and also creates the resampler if none was used so far. Signed-off-by: Marton Balint <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* swr: use int16_t instead of short for resampling.Clément Bœsch2011-11-171-2/+2
|
* swr: use "swri_" prefix instead of "swr_" for the private API.Clément Bœsch2011-11-171-5/+5
|
* swr: drop 'AV' prefix from ResampleContext.Clément Bœsch2011-11-171-8/+8
| | | | This type/struct is not part of the public API.
* swr: rename resample2 to resample.Clément Bœsch2011-11-161-0/+352