320b8d6335 
								
							
								 
							
						 
						
							
							
								
								swr: fix swresample_version()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3339f87dbd 
								
							
								 
							
						 
						
							
							
								
								swr: increase LIBSWRESAMPLE_VERSION_MICRO to 100  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4468ad827a 
								
							
								 
							
						 
						
							
							
								
								swr: add swresample_version  swresample_configuration and swresample_license  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa1c590b29 
								
							
								 
							
						 
						
							
							
								
								swr: fix assert failure  
							
							Bug found by: Oana Stratulat
GCI-id: 7211207
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0232f788b6 
								
							
								 
							
						 
						
							
							
								
								swr: fix invalid sample format message.  
							
							If the sample format is invalid, av_get_sample_fmt_name() will always
return NULL. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58205edcc6 
								
							
								 
							
						 
						
							
							
								
								swr: use native planar sample formats.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								afb0470a25 
								
							
								 
							
						 
						
							
							
								
								swr: fix test program.  
							
							The number of used channels need to be reset to zero when
swr_alloc_set_opts() is called successive times.
This is a regression introduced in c8136ebd 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bdd22e3523 
								
							
								 
							
						 
						
							
							
								
								swr: change minimum I/O channel count to zero.  
							
							This will silence the warning of av_set_opt_int() in swr for
input/output channels when the layout is not yet defined (or supported). 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bfc03df3a 
								
							
								 
							
						 
						
							
							
								
								swr: move code to avoid resample forward declaration.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eafa2b6005 
								
							
								 
							
						 
						
							
							
								
								swr: introduce a public function to customize the channel mapping.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1dbd433f0d 
								
							
								 
							
						 
						
							
							
								
								swr: use av_opt_set_int() instead of manual assignments in swr_alloc_set_opts().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								acd56efbeb 
								
							
								 
							
						 
						
							
							
								
								swr: correctly raise rematrix AVERROR.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a768b9d825 
								
							
								 
							
						 
						
							
							
								
								swr: make swr_* functions match the prototypes.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								645c61fb2b 
								
							
								 
							
						 
						
							
							
								
								swr: rename swr_alloc2() to swr_alloc_set_opts().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4deb90cfa 
								
							
								 
							
						 
						
							
							
								
								swr: use "swri_" prefix instead of "swr_" for the private 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								df72ae673f 
								
							
								 
							
						 
						
							
							
								
								swr: replace deprecated av_set_int() with av_opt_set_int().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad561b5707 
								
							
								 
							
						 
						
							
							
								
								swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								180aa82c1d 
								
							
								 
							
						 
						
							
							
								
								swr: replace deprecated av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9368466c4 
								
							
								 
							
						 
						
							
							
								
								swr: use designated initializers for the class.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c8136ebd6a 
								
							
								 
							
						 
						
							
							
								
								swr: set the default used_ch_count value to zero.  
							
							This allows an appropriate behaviour when it is not specified (fallback
to the number of input channels).
Fixes Ticket523 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5cd136f2b 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: add -map_channel option.  
							
							Based on an initial work by Baptiste Coudurier. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71f5712cb5 
								
							
								 
							
						 
						
							
							
								
								swr: Support flushing last samples out.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f86566a31 
								
							
								 
							
						 
						
							
							
								
								rematrix: add parameter to tune volume  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44a2bb75a7 
								
							
								 
							
						 
						
							
							
								
								swr: Fix swresample.c:293:5: warning: passing argument 2 of ‘fill_audiodata’ from incompatible pointer type  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36e5e51ae3 
								
							
								 
							
						 
						
							
							
								
								swr: remove unused variable.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								539399d4d1 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f16ec61e1 
								
							
								 
							
						 
						
							
							
								
								Do not warn about wrong channel layout if no channel layout is defined.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								177ed7e818 
								
							
								 
							
						 
						
							
							
								
								swresample: use av_get_default_channel_layout instead of guess_layout  
							
							Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67b2df792f 
								
							
								 
							
						 
						
							
							
								
								swresample: Try to handle cases with input channel count and layout mismatching.  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								834b3760a7 
								
							
								 
							
						 
						
							
							
								
								swresample: check for invalid sample formats.  
							
							Bug-Found-by: Justin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a75b254c74 
								
							
								 
							
						 
						
							
							
								
								swr: minor fixes to get planar audio working  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b592f9bb65 
								
							
								 
							
						 
						
							
							
								
								swresample: remove unused variable.  
							
							Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
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