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  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f16153d35 
								
							
								 
							
						 
						
							
							
								
								swr: allow flushing in multiple steps if the output is too small.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac6798dbc1 
								
							
								 
							
						 
						
							
							
								
								swr: fix compilation failure with old versions of gcc.  
							
							gcc 4.4 did not like the way i used typedefs
Idea-by: beastd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								560b224f53 
								
							
								 
							
						 
						
							
							
								
								libswr: allow to set custom matrices.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4fef94c6d2 
								
							
								 
							
						 
						
							
							
								
								swr: doxument matrix fields.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f03afd5d54 
								
							
								 
							
						 
						
							
							
								
								swr: surround mixing is obviously used, fix comment.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af1eb298c1 
								
							
								 
							
						 
						
							
							
								
								swr: use int16_t instead of short for resampling.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c0bad513a 
								
							
								 
							
						 
						
							
							
								
								swr: start doxycommenting the API.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4deb90cfa 
								
							
								 
							
						 
						
							
							
								
								swr: use "swri_" prefix instead of "swr_" for the private API.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64db5a1a57 
								
							
								 
							
						 
						
							
							
								
								swr: drop 'AV' prefix from ResampleContext.  
							
							This type/struct is not part of the public API. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc6351d019 
								
							
								 
							
						 
						
							
							
								
								swr: make audio convert code explicitely private.  
							
							Only what's declared in libswresample/swresample.h is public. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5cd136f2b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -map_channel option.  
							
							Based on an initial work by Baptiste Coudurier. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f86566a31 
								
							
								 
							
						 
						
							
							
								
								rematrix: add parameter to tune volume  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1470d7a60 
								
							
								 
							
						 
						
							
							
								
								rematrix: change type of integers from 16 to 32bit to allow increasing volume with it.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a911177276 
								
							
								 
							
						 
						
							
							
								
								swr: Fix assignment discards qualifiers from pointer target type warning.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6459720b5 
								
							
								 
							
						 
						
							
							
								
								swr: Mark src as const in swr_resample()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								503e5e9db5 
								
							
								 
							
						 
						
							
							
								
								libswresample: support directly converting sampleformats and packed/planar in a single pass.  
							
							Previously a intermediate planar format was used when both input and output where packed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8593b743a8 
								
							
								 
							
						 
						
							
							
								
								rematrix: dont use floats for int16 code.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5875b9111 
								
							
								 
							
						 
						
							
							
								
								Add libswresample.  
							
							Similar to libswscale this does resampling and format convertion, just for audio
instead of video.
changing sampling rate, sample formats, channel layouts and sample packing all
in one with a very simple public interface.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago