88cbd25b19 
								
							
								 
							
						 
						
							
							
								
								avfilter: pass outlink to ff_get_audio_buffer()  
							
							This is more correct.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								13f4d077ed 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: change default attack to 0  
							
							Fixes many distortions.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								69b83f5992 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: fix default companding to avoid clipping  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88612f8db3 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: Check av_strtok() for failure  
							
							Fixes CID1396256
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db1a642cd2 
								
							
								 
							
						 
						
							
							
								
								all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.h  
							
							The idea is to use ffmath.h for internal implementations of math functions.
Currently, it is used for variants of libm functions, but is by no means
limited to such things.
Note that this is not exported; use lavu/mathematics for such purposes.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								421679dbf7 
								
							
								 
							
						 
						
							
							
								
								lavfi/af_compand: replace pow(10,x) by ff_exp10(x)  
							
							Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2517b02d9 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: do not clip; allow >0dB curve points  
							
							Do not clip output samples, so that clipping can be handled by other filters.
Alow setting curve points above 0dB. This is useful when operating with floats.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a41a5a4f5 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: use hypot()  
							
							Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44f660e7e7 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.  
							
							It has no longer any effect. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								494b792441 
								
							
								 
							
						 
						
							
							
								
								avfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts()  
							
							Fixes playback of some files with ffplay.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								297df52f30 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: fix clipping with default options  
							
							Decays and attacks where by default set only for first channel
which caused poor defaults to be used which produced clipping
on any higher channel.
Reported-by: lachs0r
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0854c084e 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() in bunch of filters  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3cfd7aff8 
								
							
								 
							
						 
						
							
							
								
								af_compand: make sure request_frame always outputs at least one frame  
							
							This fixes a segmentation fault because request_frame in fifo.c assumes
that the call to ff_request_frame will populate fifo->root.next.
Before, it was possible for request_frame in af_compand to not do this,
resulting in a null pointer access. Now, request_frame in af_compand
always will return at least one frame or an error, as per the API
specifications in avfilter.h for request_frame.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c23a85000 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: Silence "may be used uninitialized" warning  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc6461c286 
								
							
								 
							
						 
						
							
							
								
								af_compand: replace strtok_r() with av_get_token()  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9f2a3bcee7 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove superflous lines  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2e4b4e968 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: some more cosmetics to decrease difference with qatar  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c62d83a5e7 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: more cosmetics from libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05412f4cd4 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: cosmetics from libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e02ff3e3d 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: switch defaults to libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								619d6b8f55 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: "use local variable for channels" from libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e509df4bc8 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: error checks from libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b87975147 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: pts init code from libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c78fe08b0 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: cosmetics and doxy comment from libavfilter/af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66ad3292eb 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: add Andrew Kelley to the copyright  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								86a191e25b 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: merge avframe code from af_compand_fork  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								27ba05adbc 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: merge uninit() calls on error from af_compand_fork.c  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b80485960 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: also support '|' as seperator  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22307f170f 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: whitespace changes from af_compand_fork  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								738f83582a 
								
							
								 
							
						 
						
							
							
								
								lavfi: add compand audio filter  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e329185d7 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: fix invalid read  
							
							Fixes  #3383 . 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								709746b6af 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: do not leak frames on error  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								60abdb6c17 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_aecho & af_compand: use extended_data  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64c54f8333 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: silence "maybe uninitialized" warnings  
							
							if channels is 0 it actually would be uninitialized, thus an assert with comment is added
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1bbf94d84f 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_compand: %f is for printing doubles  
							
							Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b68e2a43b 
								
							
								 
							
						 
						
							
							
								
								lavfi: add compand filter  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago