f9a2c5bc07 
								
							
								 
							
						 
						
							
							
								
								swr: simplify code by using av_get_bytes_per_sample()  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f0801527d 
								
							
								 
							
						 
						
							
							
								
								resample: update copyright years, they where incorrect.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e592379d9 
								
							
								 
							
						 
						
							
							
								
								resample: Fix boundary handling with fragments.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								741aca7936 
								
							
								 
							
						 
						
							
							
								
								libswresample: introduce int swr_set_compensation() instead of void 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 <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af1eb298c1 
								
							
								 
							
						 
						
							
							
								
								swr: use int16_t instead of short for resampling.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e516a11ca 
								
							
								 
							
						 
						
							
							
								
								swr: rename resample2 to resample.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b9ca38d9d 
								
							
								 
							
						 
						
							
							
								
								resample2: fix potential overflow  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a67cb012e6 
								
							
								 
							
						 
						
							
							
								
								resample: Fix overflow  
							
							Found-by: Jim Radford
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03e56a2ad9 
								
							
								 
							
						 
						
							
							
								
								resample2: Fix passing argument from incompatible pointer type warnings.  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ade3ec8457 
								
							
								 
							
						 
						
							
							
								
								swresample: fix another broken indent chunk.  
							
							Also use a consistent style inside that block. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9719f25e7b 
								
							
								 
							
						 
						
							
							
								
								swresample: fix broken indent.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								080ce9071d 
								
							
								 
							
						 
						
							
							
								
								resample: replace VLA with malloc/free  
							
							Originally committed as revision 24142 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a426016cfc 
								
							
								 
							
						 
						
							
							
								
								resample: check memory allocations in av_resample_init()  
							
							Originally committed as revision 24141 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba87f0801d 
								
							
								 
							
						 
						
							
							
								
								Remove explicit filename from Doxygen  @file  commands.  
							
							Passing an explicit filename to this command is only necessary if the
documentation in the @file  block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a882cf9c21 
								
							
								 
							
						 
						
							
							
								
								Make av_build_filter static (and remove av_): It is not used outside resample2.c.  
							
							Originally committed as revision 22118 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2efcf29275 
								
							
								 
							
						 
						
							
							
								
								Stop the approximation in bessel() once it does no longer improve.  
							
							This is faster.
Originally committed as revision 21038 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d69a653d8 
								
							
								 
							
						 
						
							
							
								
								Move av_class to AVResampleContext instead of ReSampleContext.  
							
							Fixes issue 852.
Originally committed as revision 18170 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3136fcf45e 
								
							
								 
							
						 
						
							
							
								
								Move doxy for public resample2 functions to the public header.  
							
							Originally committed as revision 17099 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bad5537e2c 
								
							
								 
							
						 
						
							
							
								
								Use full internal pathname in doxygen  @file  directives.  
							
							Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca74c0a180 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix two common typos: wont --> will not, lets --> let us.  
							
							Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d952638699 
								
							
								 
							
						 
						
							
							
								
								typo: occured --> occurred  
							
							Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aee481cebe 
								
							
								 
							
						 
						
							
							
								
								use av_clip_int16() where it makes sense  
							
							Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5a389a1b7 
								
							
								 
							
						 
						
							
							
								
								license header consistency cosmetics  
							
							Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90b5b51eab 
								
							
								 
							
						 
						
							
							
								
								misc typo fixes  
							
							Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2029f312e8 
								
							
								 
							
						 
						
							
							
								
								Remove redundant #inclusion of common.h, avcodec.h already #includes it.  
							
							Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0339fab8fc 
								
							
								 
							
						 
						
							
							
								
								Remove unused variable.  
							
							Originally committed as revision 8681 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e068841cb 
								
							
								 
							
						 
						
							
							
								
								replace long double in the audiophile kiddy mode with doubles, its faster (and more portable) and the audiophile placebo 120db stopband attenuation isnt affected  
							
							Originally committed as revision 8482 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6fead9089 
								
							
								 
							
						 
						
							
							
								
								change high precision mode to 30 bits again after making the code less overflow sensitive  
							
							Originally committed as revision 8481 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								303bd95cd2 
								
							
								 
							
						 
						
							
							
								
								optimize linear filter coeff interpolation code, this also makes the code less prone to overflows  
							
							Originally committed as revision 8480 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								447caf7941 
								
							
								 
							
						 
						
							
							
								
								revert  r8469 (increase bits for non default highprecision mode)  
							
							it causes overflows with linear interpolated filters coefficients
Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55fc0eb174 
								
							
								 
							
						 
						
							
							
								
								AUDIOPHILE_KIDDY_MODE  
							
							Originally committed as revision 8475 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50df67d3b5 
								
							
								 
							
						 
						
							
							
								
								optimize bessel function instead of trusting gcc to do trivial optimizations (as gcc doesnt ...)  
							
							Originally committed as revision 8474 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14f887efc6 
								
							
								 
							
						 
						
							
							
								
								select more sensible default windows (= attenuation beyond the dynamic range of your input is silly if it negatively affects other parameters)  
							
							Originally committed as revision 8473 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20cf58c32b 
								
							
								 
							
						 
						
							
							
								
								make kaiser windows with other beta than 16 available  
							
							Originally committed as revision 8472 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c252b26d55 
								
							
								 
							
						 
						
							
							
								
								make high precision mode accessible at compile time  
							
							Originally committed as revision 8470 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca6940f871 
								
							
								 
							
						 
						
							
							
								
								increase bits for non default highprecision mode  
							
							Originally committed as revision 8469 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae232dd740 
								
							
								 
							
						 
						
							
							
								
								code for testing the accuracy of the resampler  
							
							Originally committed as revision 8468 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66a148a19a 
								
							
								 
							
						 
						
							
							
								
								remove dithering of filter coefficients, improves precision by 1-2 bits and  
							
							improves subjective sound quality on artificial sample (udial.wav resampling
to 32khz)
Originally committed as revision 8467 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f66e4f5f9e 
								
							
								 
							
						 
						
							
							
								
								Add av_ prefix to clip functions  
							
							Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c26abfa541 
								
							
								 
							
						 
						
							
							
								
								Rename ABS macro to FFABS.  
							
							Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b78e7197a8 
								
							
								 
							
						 
						
							
							
								
								Change license headers to say 'FFmpeg' instead of 'this program/this library'  
							
							and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b49ce2e34 
								
							
								 
							
						 
						
							
							
								
								Add const to (mostly) char* and make some functions static, which aren't used  
							
							outside their declaring source file and which have no corresponding prototype.
patch by Stefan Huehner stefan^^@^^huehner^^.^^org
Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5509bffa88 
								
							
								 
							
						 
						
							
							
								
								Update licensing information: The FSF changed postal address.  
							
							Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago