ed5d62e509 
								
							
								 
							
						 
						
							
							
								
								lavfi/af_pan: Support a maximum of 64 channels.  
							
							The Soundflower input device supports 64 channels. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce1bb4b75d 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_pan: Do not use SWR_CH_MAX  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ced765ceb3 
								
							
								 
							
						 
						
							
							
								
								avfilter/af_pan: check if the number of channels where sucessfully set  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c27aea811 
								
							
								 
							
						 
						
							
							
								
								lavfi/pan: use extended_data instead of data.  
							
							Fix trac ticket #3380 . 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b0a587393 
								
							
								 
							
						 
						
							
							
								
								lavfi/af_pan: support unknown layouts on input.  
							
							Fix trac ticket #2899 . 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e9adc9b73 
								
							
								 
							
						 
						
							
							
								
								lavfi/af_pan: support unknown layouts on output.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e2473edfd 
								
							
								 
							
						 
						
							
							
								
								lavfi: parsing helper for unknown channel layouts.  
							
							Make ff_parse_channel_layout() accept unknown layouts too. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								493ebbd7eb 
								
							
								 
							
						 
						
							
							
								
								Update copyrights where my email appears with the new one.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd6228e657 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove now unused args parameter from AVFilter.init and init_opaque  
							
							This is mostly automated global search and replace
The deprecated aconvert filter is disabled, if it still has users
it should be updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80116b6e67 
								
							
								 
							
						 
						
							
							
								
								af_pan: avoid spaces before % to avoid possible issues with MSVC  
							
							Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c821e7550 
								
							
								 
							
						 
						
							
							
								
								af_pan: switch to an AVOptions-based shorthand system.  
							
							TODO: The first argument can be seperated into its own AVOption
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9470b541e5 
								
							
								 
							
						 
						
							
							
								
								af_pan: fix parsing arguments from the example in the documentation  
							
							pan=stereo: FL < FL + 0.5*FC + 0.6*BL + 0.6*SL : FR < FR + 0.5*FC +
0.6*BR + 0.6*SR
didn't actually work ('Expected out channel name, got " FL < FL"') 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed8373e7db 
								
							
								 
							
						 
						
							
							
								
								lavfi: always check return value of ff_get_{audio,video}_buffer()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd5f50a255 
								
							
								 
							
						 
						
							
							
								
								avfilter: avoid direct access to AVFrame.channels  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								238edd2fe3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add a channels field to AVFilterLink.  
							
							Also: fix af_pan and af_aresample, that forgot to update
audio->channels. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d9d444051 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert remaining input/output list compound literals to named objects.  
							
							This is following 568c70e79e 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd7febd33f 
								
							
								 
							
						 
						
							
							
								
								lavfi: replace filter_samples by filter_frame  
							
							Based on patch by Anton Khirnov
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2a618ab22 
								
							
								 
							
						 
						
							
							
								
								af_pan: fix memleak of arg  
							
							Fixes CID718988
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3a1eb9edf 
								
							
								 
							
						 
						
							
							
								
								af_pan: Fix sscanf formats to work with buggy sscanf implementations  
							
							Some implementations of sscanf do not handle a space before a trailing %n
properly.
As an example, MSVC's does this for the second insatnce in this patch, for
an input of "0x3:c0=c1:c1=c0":
    1) Match the final "c0" or "c1".
    2) Realize it's at the end of the string.
    3) Check for %n.
    4) There is no %n, but a space instead.
    5) Leave 'len' unitilialized.
So, move it out of the sscanf format strings, and call skip_spaces instead.
This bug does not affect skip_spaces since %n is the first and only formatting
string.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								752344dada 
								
							
								 
							
						 
						
							
							
								
								amerge/astreamsync/pan: fix license boilerplate.  
							
							The boilerplate states that the files are under LGPL,
but refer the user to the GPL at one place.
These files were (re)implemented specifically for FFmpeg. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fda968aa8f 
								
							
								 
							
						 
						
							
							
								
								lavfi: decrease logging level of message showing initial parameters  
							
							Reduce log clutter, consistent with 1a49a169eb 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								972cad77fa 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove unnecessary inclusion of libavcodec/avcodec.h in avfilter.h  
							
							libavfilter API was designed in order to be clarly distinguished from the
libavcodec API, including avcodec.h in avfilter.h is not going to help to
stick to this principle.
The inclusion of libavutil/audioconvert.h in many files was required
because avcodec.h includes audioconvert.h.
libavfilter/avcodec.h is where the lavc/lavfi interface should be
entirely placed. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9e183b490 
								
							
								 
							
						 
						
							
							
								
								lavfi: update some deprecated functions  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48f30595f5 
								
							
								 
							
						 
						
							
							
								
								pan: use ff_parse_channel_layout() instead of av_get_channel_layout().  
							
							This allow specifying hexadecimal channel layout, and also handle the
error printing internally. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5dbd66395a 
								
							
								 
							
						 
						
							
							
								
								lavfi/pan: add supported sample rates to avoid a crash.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4d4098da00 
								
							
								 
							
						 
						
							
							
								
								lavfi: drop planar/packed negotiation support  
							
							The planar/packed switch and the packing_formats list is no longer
required, since the planar/packed information is now stored in the sample
format enum.
This is technically a major API break, possibly it should be not too
painful as we marked the audio filtering API as unstable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4522df52aa 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove audio.h include from avfilter.h.  
							
							avfilter.h is a public header and the unexported audio.h header contains
only internal prototypes. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4217dfe87b 
								
							
								 
							
						 
						
							
							
								
								af_pan: remove dual double/int storage of gain.  
							
							libswresample takes care of that now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a923b6b8f4 
								
							
								 
							
						 
						
							
							
								
								af_pan: move query_format before config_props.  
							
							That is the logical order in which the functions are called,
and there is no longer any need of forward declarations. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb9ba527e7 
								
							
								 
							
						 
						
							
							
								
								af_pan: remove the indirect function call.  
							
							libswresample is used in all cases. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a297856b8c 
								
							
								 
							
						 
						
							
							
								
								af_pan: reindent after last commit.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a44b510d56 
								
							
								 
							
						 
						
							
							
								
								af_pan: use libswr for rematrixing.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bd5080b1b0 
								
							
								 
							
						 
						
							
							
								
								af_pan: comment a tricky piece of code.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cba4e2cbbc 
								
							
								 
							
						 
						
							
							
								
								pan: fix uninitialized channel_id variable.  
							
							Fix broken parsing with pan=2:FL=FR:FR=FL and similar. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85c66793d7 
								
							
								 
							
						 
						
							
							
								
								lavfi/pan: copy ref props after filtering samples.  
							
							At least PTS needs to be copied to avoid breaking options such as -t in
ffmpeg. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9bd44b42a8 
								
							
								 
							
						 
						
							
							
								
								pan: drop unecessary includes.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66b1b7e5fa 
								
							
								 
							
						 
						
							
							
								
								pan: move query_formats() to avoid forward declarations.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94dc4a5046 
								
							
								 
							
						 
						
							
							
								
								pan: reindent after remap commit.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6728dd37ac 
								
							
								 
							
						 
						
							
							
								
								pan: add channel mapping capability.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66fdbcbbc9 
								
							
								 
							
						 
						
							
							
								
								pan: raise correct error when there is no param specified.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d35fa43ee 
								
							
								 
							
						 
						
							
							
								
								lavfi: add missing periods in descriptions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fbf7165d5 
								
							
								 
							
						 
						
							
							
								
								lavfi: reimplement MPlayer's af_pan filter for libavfilter.  
							
							Original code by Clément Bœsch.
Parameters parsing and misc enhancements by Nicolas George. 
							
						 
						14 years ago