10d2a4028c 
								
							
								 
							
						 
						
							
							
								
								swresample: make .class_name more descriptive  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								634d539c12 
								
							
								 
							
						 
						
							
							
								
								swresample.c: update copyleft year  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75d900d52e 
								
							
								 
							
						 
						
							
							
								
								swr: zero buffers on allocation  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64df092b25 
								
							
								 
							
						 
						
							
							
								
								swr: fix a few typo.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72261fa867 
								
							
								 
							
						 
						
							
							
								
								swr: fix swr_drop_output()  
							
							Fixes part of Ticket1341
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								841c1be57e 
								
							
								 
							
						 
						
							
							
								
								swr: check return value of swr_inject_silence/drop_output.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a645049bd8 
								
							
								 
							
						 
						
							
							
								
								swr: check count argument of realloc_audio()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1384c00d4 
								
							
								 
							
						 
						
							
							
								
								swr: skip soft compensation when its disabled.  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a59964ba9 
								
							
								 
							
						 
						
							
							
								
								swr: add swr_inject_silence()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72872d0201 
								
							
								 
							
						 
						
							
							
								
								swr: Fix issue with injecting more data than can be used up in the next call.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5c355546d 
								
							
								 
							
						 
						
							
							
								
								swr: add some asserts to resample()  
							
							These check that the internal and input buffers match in format
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75e25f8540 
								
							
								 
							
						 
						
							
							
								
								swr: add reversefill_audiodata()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5027e3daf7 
								
							
								 
							
						 
						
							
							
								
								swr: fix buf_set() so it works with input == output  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdbfd4569d 
								
							
								 
							
						 
						
							
							
								
								swr: make literal 32 a named constant in realloc_audio()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								186be49fd5 
								
							
								 
							
						 
						
							
							
								
								swr: fill_audio_data() support NULL  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0493be10e 
								
							
								 
							
						 
						
							
							
								
								swresample: set the default parameters to "none"  
							
							this way it can easily be detected when parameters have not been set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33f7033452 
								
							
								 
							
						 
						
							
							
								
								swr: automatically choose s16/flt/dbl to preserve input precision unless user overrides.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2e799a3d0 
								
							
								 
							
						 
						
							
							
								
								swr: add double precision support to the rematrix code  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71a1f76d3c 
								
							
								 
							
						 
						
							
							
								
								swr: update double precision checks for our resampler  
							
							It supports double precision since a while
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								046b5339fc 
								
							
								 
							
						 
						
							
							
								
								swr: disable 1 stage convert when dither is enabled.  
							
							This combination is not possible easily.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								a522e03754 
								
							
								 
							
						 
						
							
							
								
								swr: Add longer more descriptive alternative AVOptions.  
							
							They match avresample where it supports the same fields.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20fc610439 
								
							
								 
							
						 
						
							
							
								
								swr: Capitalize help texts for AVOptions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36a9dd2f4d 
								
							
								 
							
						 
						
							
							
								
								swr: align options a little  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23282c2222 
								
							
								 
							
						 
						
							
							
								
								swr: set AV_OPT_FLAG_AUDIO_PARAM for the AVOptions  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9b1d5ae5e 
								
							
								 
							
						 
						
							
							
								
								fix swr_convert buffering of packed audio  
							
							swr_convert is not properly buffering packed input audio when the
output is not large enough, and when resampling is not actually needed
(same samplerate and no SWR_FLAG_RESAMPLE).
buf_set() is only handling the first channel and leaving the others as-is.
Sample program to reproduce the problem is here https://gist.github.com/2431768 
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44239bd9f2 
								
							
								 
							
						 
						
							
							
								
								swr: add a swr_flags AVOption  
							
							Using swr_flags instead of plain flags will avoid conflicts that
arise with plain flags and multiple libs (which all have AVOption flags)
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8a237a307 
								
							
								 
							
						 
						
							
							
								
								swr: add triangular highpass 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								22057e8ecb 
								
							
								 
							
						 
						
							
							
								
								swr: add swr_get_class()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1ef4dc406 
								
							
								 
							
						 
						
							
							
								
								swr: add triangular dither support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0cff3e130b 
								
							
								 
							
						 
						
							
							
								
								swr: remove unused variable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0170889372 
								
							
								 
							
						 
						
							
							
								
								swr: add SWR_DITHER_RECTANGULAR to AVOptions array  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d9338b1c2 
								
							
								 
							
						 
						
							
							
								
								swr: support int32 and float as internal sample formats  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								87688727e4 
								
							
								 
							
						 
						
							
							
								
								swr: remove unused variable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc984da961 
								
							
								 
							
						 
						
							
							
								
								swr: fix pointer type warnings  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59b038b4a4 
								
							
								 
							
						 
						
							
							
								
								swr: realloc_audio: support packed audio buffers  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b0fcf33b8 
								
							
								 
							
						 
						
							
							
								
								swr: More flexible and convenient buffering  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago