Michael Niedermayer
|
4d00860ac7
|
swresample: Add prefix to soxr_resampler
also move declaration to header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2015-02-27 19:20:43 +01:00 |
|
Michael Niedermayer
|
b74ecb82fa
|
swresample/x86/rematrix_init: Check av_malloc* return codes, forward errors
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2015-02-09 10:15:56 +01:00 |
|
Michael Niedermayer
|
9d7ae72725
|
swresample: Use int instead of enum for fields which are accessed through AVOptions as int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2015-02-02 23:27:26 +01:00 |
|
Reimar Döffinger
|
6efd0ba977
|
swresample_internal.h: Move struct declaration before first use.
It seems more logical and works with more restricted C compilers
like tinycc.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
|
2015-01-27 21:29:51 +01:00 |
|
Michael Niedermayer
|
7c51f5bd39
|
swr: aarch64 audio_convert and neon clobber test
Ported from avresample
Code by: Mans Rullgard, Janne Grunau, Martin Storsjo
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2014-08-27 20:06:37 +02:00 |
|
Michael Niedermayer
|
97f8c7a03e
|
bump libpostproc and libswresample
this is needed / avoids some headaches as one of their dependancies
(libavutil) was bumped
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2014-08-10 01:17:02 +02:00 |
|
Andreas Cadhalpun
|
39a6e02fd4
|
fix spelling errors
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2014-07-12 22:33:27 +02:00 |
|
James Almer
|
42a92a240d
|
swr: remove obsolete resample prototypes
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2014-07-02 03:14:45 +02:00 |
|
Ronald S. Bultje
|
b785c62681
|
swr: handle initial negative sample index outside DSP function.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2014-06-14 14:36:18 +02:00 |
|
Michael Niedermayer
|
e2b718464e
|
swresample: Make rematrix maxvalue user settable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-07-22 03:23:54 +02:00 |
|
Michael Niedermayer
|
4cfc92081d
|
swr: add native_simd_one
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-06-04 23:50:45 +02:00 |
|
Michael Niedermayer
|
8b3affda87
|
swr: support a seperate output sample bits.
This avoids user apps having to mangle dither scale. for pcm24
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-02-24 20:31:56 +01:00 |
|
Michael Niedermayer
|
00cae86754
|
swr: support first_pts
Trolled-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-21 00:52:14 +01:00 |
|
Michael Niedermayer
|
db4e0ecaf0
|
swr: move silence buffer to context to avoid per use malloc/free
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-13 15:28:00 +01:00 |
|
Michael Niedermayer
|
dc6588421e
|
swr: move buffer used to discard sample to context
This avoids the need to allocate & free to repeatly
Fixes Ticket2122
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-13 15:28:00 +01:00 |
|
Michael Niedermayer
|
e5a736261b
|
swr: Use a temporary buffer for dither/Noise shaping when the input is read only
This avoids copying the input
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-10 18:51:30 +01:00 |
|
Michael Niedermayer
|
2eec98125e
|
swr: mark noise data for noise shaping as const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-10 18:07:32 +01:00 |
|
Michael Niedermayer
|
558aa6cab7
|
swr: add seperate in/out pointers to the noise shaping code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-10 18:06:19 +01:00 |
|
Michael Niedermayer
|
fca51256d4
|
swr: rename dither_pos to noise_pos
THis more closely matches what the field represents
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-10 18:01:26 +01:00 |
|
Michael Niedermayer
|
ead3a2a37e
|
swr: add noise_scale field to seperate it from the noise shaping scales
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-10 00:25:09 +01:00 |
|
Michael Niedermayer
|
6908ded20e
|
swr: fix the noise sample type for noise shaping
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-09 23:28:09 +01:00 |
|
Michael Niedermayer
|
3ef06f3415
|
swr: split swri_dither_init() out
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-09 23:28:08 +01:00 |
|
Michael Niedermayer
|
3ab1970612
|
swr: move dither related fields to their own context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-09 18:41:12 +01:00 |
|
Michael Niedermayer
|
ba1314c2ef
|
swr: update copyright years of a few files iam working on
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-09 18:30:01 +01:00 |
|
Michael Niedermayer
|
82742294b7
|
swr: Implement Noise shaping dither
The following variants are implemented:
lipshitz noise shaping dither
shibata noise shaping dither
low shibata noise shaping dither
high shibata noise shaping dither
f-weighted noise shaping dither
modified-e-weighted noise shaping dither
improved-e-weighted noise shaping dither
Data tables taken from SOX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2013-01-09 18:25:06 +01:00 |
|
Rob Sykes
|
8d9a503313
|
docs: add soxr documentation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-12-27 12:13:17 +01:00 |
|
Michael Niedermayer
|
f9e55c0fed
|
swr: support -async X as a simple way to do what ffmpeg -async X did
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-12-25 17:21:09 +01:00 |
|
Rob Sykes
|
801b315729
|
swr: Add SOX resampler support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-12-11 22:04:00 +01:00 |
|
Michael Niedermayer
|
ae5a55e77a
|
swr: move flush into Resampler
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-12-11 22:04:00 +01:00 |
|
Michael Niedermayer
|
431dcc49d2
|
swr: make realloc_audio() available outside swresample.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-12-11 22:04:00 +01:00 |
|
Rob Sykes
|
5a5d70748c
|
swr: Add API to make resample engine selectable.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-12-11 22:04:00 +01:00 |
|
Paul B Mahol
|
1acd2f6ba7
|
Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.h
Also remove it in once case when it is not needed.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
|
2012-11-13 13:21:21 +00:00 |
|
Michael Niedermayer
|
d23e8f53ad
|
swr: use 64bit index/len for x86_64 mix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-10-28 02:09:08 +02:00 |
|
Mans Rullgard
|
0eebde07a9
|
ARM: libswresample: NEON optimised flat float to s16 conversion
Adapted to swr by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-09-24 23:16:14 +02:00 |
|
Michael Niedermayer
|
c5278cb84f
|
Add Dolby/DPLII downmix support to libswresample
Based on code by John Stebbins <jstebbins.hb@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-09-07 00:41:49 +02:00 |
|
Michael Niedermayer
|
323d912010
|
swr: update copyright years
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-09-07 00:29:06 +02:00 |
|
Justin Ruggles
|
7e15df7551
|
swr: resampling: add filter type and Kaiser window beta to AVOptions
|
2012-07-23 19:23:39 +02:00 |
|
Michael Niedermayer
|
338509c2e1
|
swr: fix warning: passing argument 1 of s->mix_any_f from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-07-02 17:32:23 +02:00 |
|
Michael Niedermayer
|
beb0cd6acf
|
swr: SIMD rematrixing and SSE/AVX mix_1_1 float
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-06-12 16:35:07 +02:00 |
|
Michael Niedermayer
|
48a45f819f
|
swr: add native matrix for SIMD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-06-12 16:16:15 +02:00 |
|
Michael Niedermayer
|
9abbbf7530
|
swr: add function pointers for SIMD rematrixing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-06-12 16:12:08 +02:00 |
|
Michael Niedermayer
|
ca30ae12c5
|
swr: add all in one rematrixing function ptr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-06-08 21:55:33 +02:00 |
|
Michael Niedermayer
|
72a242c998
|
swr: add swr_next_pts()
parameter descriptions partly reuse text from af_asyncts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-05-19 19:23:37 +02:00 |
|
Michael Niedermayer
|
f88f705abc
|
swr: add swr_drop_output()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-05-19 19:23:37 +02:00 |
|
Justin Ruggles
|
6d5bf67f04
|
swr: add lfe_mix_level
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-05-02 01:12:10 +02:00 |
|
Michael Niedermayer
|
aab5a4521c
|
swr: add and use function pointers for rematrix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-05-01 20:20:21 +02:00 |
|
Michael Niedermayer
|
00fea26faf
|
swr: add native matrix for rematrixing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-05-01 20:19:28 +02:00 |
|
Michael Niedermayer
|
106789dfa0
|
swr: add sample format to AudioData
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-04-29 15:32:18 +02:00 |
|
Michael Niedermayer
|
2d6c29f566
|
swr: add set_audiodata_fmt() and use it to simplify code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-04-29 15:32:18 +02:00 |
|
Michael Niedermayer
|
bcc66ff0e4
|
swr: add int16_to_int32_mmx/sse
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
2012-04-28 13:15:44 +02:00 |
|