e2b718464e 
								
							
								 
							
						 
						
							
							
								
								swresample: Make rematrix maxvalue user settable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4cfc92081d 
								
							
								 
							
						 
						
							
							
								
								swr: add native_simd_one  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00cae86754 
								
							
								 
							
						 
						
							
							
								
								swr: support first_pts  
							
							Trolled-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db4e0ecaf0 
								
							
								 
							
						 
						
							
							
								
								swr: move silence buffer to context to avoid per use malloc/free  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2eec98125e 
								
							
								 
							
						 
						
							
							
								
								swr: mark noise data for noise shaping as const  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								558aa6cab7 
								
							
								 
							
						 
						
							
							
								
								swr: add seperate in/out pointers to the noise shaping code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fca51256d4 
								
							
								 
							
						 
						
							
							
								
								swr: rename dither_pos to noise_pos  
							
							THis more closely matches what the field represents
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ead3a2a37e 
								
							
								 
							
						 
						
							
							
								
								swr: add noise_scale field to seperate it from the noise shaping scales  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6908ded20e 
								
							
								 
							
						 
						
							
							
								
								swr: fix the noise sample type for noise shaping  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ef06f3415 
								
							
								 
							
						 
						
							
							
								
								swr: split swri_dither_init() out  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ab1970612 
								
							
								 
							
						 
						
							
							
								
								swr: move dither related fields to their own context  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba1314c2ef 
								
							
								 
							
						 
						
							
							
								
								swr: update copyright years of a few files iam working on  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d9a503313 
								
							
								 
							
						 
						
							
							
								
								docs: add soxr documentation  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9e55c0fed 
								
							
								 
							
						 
						
							
							
								
								swr: support -async X as a simple way to do what ffmpeg -async X did  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								801b315729 
								
							
								 
							
						 
						
							
							
								
								swr: Add SOX resampler support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae5a55e77a 
								
							
								 
							
						 
						
							
							
								
								swr: move flush into Resampler  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								431dcc49d2 
								
							
								 
							
						 
						
							
							
								
								swr: make realloc_audio() available outside swresample.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a5d70748c 
								
							
								 
							
						 
						
							
							
								
								swr: Add API to make resample engine selectable.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d23e8f53ad 
								
							
								 
							
						 
						
							
							
								
								swr: use 64bit index/len for x86_64 mix  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								323d912010 
								
							
								 
							
						 
						
							
							
								
								swr: update copyright years  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e15df7551 
								
							
								 
							
						 
						
							
							
								
								swr: resampling: add filter type and Kaiser window beta to AVOptions  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								338509c2e1 
								
							
								 
							
						 
						
							
							
								
								swr: fix warning: passing argument 1 of s->mix_any_f from incompatible pointer type  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								beb0cd6acf 
								
							
								 
							
						 
						
							
							
								
								swr: SIMD rematrixing and SSE/AVX mix_1_1 float  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48a45f819f 
								
							
								 
							
						 
						
							
							
								
								swr: add native matrix for SIMD  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9abbbf7530 
								
							
								 
							
						 
						
							
							
								
								swr: add function pointers for SIMD rematrixing  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca30ae12c5 
								
							
								 
							
						 
						
							
							
								
								swr: add all in one rematrixing function ptr  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72a242c998 
								
							
								 
							
						 
						
							
							
								
								swr: add swr_next_pts()  
							
							parameter descriptions partly reuse text from af_asyncts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f88f705abc 
								
							
								 
							
						 
						
							
							
								
								swr: add swr_drop_output()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d5bf67f04 
								
							
								 
							
						 
						
							
							
								
								swr: add lfe_mix_level  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aab5a4521c 
								
							
								 
							
						 
						
							
							
								
								swr: add and use function pointers for rematrix  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00fea26faf 
								
							
								 
							
						 
						
							
							
								
								swr: add native matrix for rematrixing  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								106789dfa0 
								
							
								 
							
						 
						
							
							
								
								swr: add sample format to AudioData  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d6c29f566 
								
							
								 
							
						 
						
							
							
								
								swr: add set_audiodata_fmt() and use it to simplify code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bcc66ff0e4 
								
							
								 
							
						 
						
							
							
								
								swr: add int16_to_int32_mmx/sse  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								edbde52226 
								
							
								 
							
						 
						
							
							
								
								swr: change sample format representation so as to maintain the planer/packed distinction.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da9587952a 
								
							
								 
							
						 
						
							
							
								
								swr: pass resample parameters from the user to the resampler.  
							
							doxy and names stolen from avr
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1d404b9e4 
								
							
								 
							
						 
						
							
							
								
								swr: add a dither_scale parameter to tune the amplitude of the dither.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2c92e6063 
								
							
								 
							
						 
						
							
							
								
								swr: pass context to swri_get_dither()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fc4ff2205 
								
							
								 
							
						 
						
							
							
								
								swr: generate more dither noise to improve quality.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9c634c36 
								
							
								 
							
						 
						
							
							
								
								swr: fix copy & pasted comment to match the code.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db2eadb2f5 
								
							
								 
							
						 
						
							
							
								
								swr: add dither support.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24ab1abfb6 
								
							
								 
							
						 
						
							
							
								
								resample: support double precission resampling  
							
							This commit is dedicated to the audiophiles who can hear it when a
needle is dropped on the moon.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f1ae79d38 
								
							
								 
							
						 
						
							
							
								
								swr: support float & int32 in the resampler  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago