5f68a91be2 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove default config_props() callback and refactor avfilter_config_links()  
							
							Link properties have to be checked after config_props() is called to
make sure everything is sane, so the default config_props() for output
links was redundant.
Also remove channel_layout check as it is now negotiated.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b57df29f95 
								
							
								 
							
						 
						
							
							
								
								lavfi: add audio channel packing negotiation fields  
							
							Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90c6963dae 
								
							
								 
							
						 
						
							
							
								
								avfilter picture pool: double free hotfix  
							
							This fix introduces a small memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd2c0a5db2 
								
							
								 
							
						 
						
							
							
								
								lavfi: add layout negotiation fields and helper functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3819600e2 
								
							
								 
							
						 
						
							
							
								
								lavfi: implement avfilter_get_audio_buffer_ref_from_arrays()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95a0242642 
								
							
								 
							
						 
						
							
							
								
								lavfi: prefer nb_samples over size in AVFilterBufferRefAudioProps  
							
							Remove AVFilterBufferRefAudioProps.size, and use nb_samples in
avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in
place of size.
This is required as the size in the audio buffer may be aligned, so it
may not contain a well defined number of samples. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								612d0782fc 
								
							
								 
							
						 
						
							
							
								
								Add const to avfilter_get_video_buffer_ref_from_arrays arguments.  
							
							Avoids warning about discarding qualifiers in avcodec.c
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e977ca2645 
								
							
								 
							
						 
						
							
							
								
								lavfi: add avfilter_link_free() function  
							
							Allow to free the buffers cached in each AVFilterLink pool.
Fix leak. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77b32b73ed 
								
							
								 
							
						 
						
							
							
								
								lavfi: apply misc style fixes  
							
							Adopt K&R style for overall consistency/readability. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d6e0729b24 
								
							
								 
							
						 
						
							
							
								
								avfilter: Surround function only used in debug mode by appropriate #ifdef.  
							
							This fixes the warning:
libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5dc65a3d03 
								
							
								 
							
						 
						
							
							
								
								lavfi: print key-frame and picture type information in ff_dlog_ref()  
							
							Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
(cherry picked from commit f7bdffb09d 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c34cb130b6 
								
							
								 
							
						 
						
							
							
								
								avfilter: dont use AVFilterLink as priv for pictures as its freed too early.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39f66edbea 
								
							
								 
							
						 
						
							
							
								
								AVFilter: use picture pool to avoid malloc().  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa3eddc011 
								
							
								 
							
						 
						
							
							
								
								avfilter_unref_buffer: favor av_freep()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0699dbb847 
								
							
								 
							
						 
						
							
							
								
								avfilter: check malloc return values.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8af93ab99 
								
							
								 
							
						 
						
							
							
								
								avfilter: don't av_malloc(0).  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35fe66abbc 
								
							
								 
							
						 
						
							
							
								
								lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio  
							
							Improve consistency with libavcodec.
This breaks libavfilter API/ABI.
The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously
done with the lavfi minor number. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7bdffb09d 
								
							
								 
							
						 
						
							
							
								
								lavfi: print key-frame and picture type information in ff_dlog_ref()  
							
							Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e528cdac8a 
								
							
								 
							
						 
						
							
							
								
								Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"  
							
							This reverts commit 29ba091136 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0cb88628fb 
								
							
								 
							
						 
						
							
							
								
								Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"  
							
							This reverts commit a03be6e1ba 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a03be6e1ba 
								
							
								 
							
						 
						
							
							
								
								use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								29ba091136 
								
							
								 
							
						 
						
							
							
								
								replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION  
							
							also update the multiple inclusion guards in config.h|mak 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe76e540 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							Done to keep ABI compatible. Otherwise this is just silly 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737eb5976f 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6985d7bf87 
								
							
								 
							
						 
						
							
							
								
								Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70c275f8c3 
								
							
								 
							
						 
						
							
							
								
								Make avfilter_config_links() propagate audio information of the source link if it is not explicitely set by the filter.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								910b5b82e8 
								
							
								 
							
						 
						
							
							
								
								Add sample_aspect_ratio to AVFilterLink  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								057f3d2763 
								
							
								 
							
						 
						
							
							
								
								Log debug information in filter_samples().  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 5fce60c3a9 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5fce60c3a9 
								
							
								 
							
						 
						
							
							
								
								Log debug information in filter_samples().  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14b171cd71 
								
							
								 
							
						 
						
							
							
								
								Add sample_aspect_ratio to AVFilterLink  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ef5a9deaf 
								
							
								 
							
						 
						
							
							
								
								Replace dprintf with av_dlog  
							
							dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfd2a005eb 
								
							
								 
							
						 
						
							
							
								
								Replace dprintf with av_dlog  
							
							dprintf clashes with POSIX.1-2008 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97e528a9e1 
								
							
								 
							
						 
						
							
							
								
								Make the avfilter debug functions and macros static to avfilter.c  
							
							This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link
fro the interface of libavfilter.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit eb7ccf8f33 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb7ccf8f33 
								
							
								 
							
						 
						
							
							
								
								Make the avfilter debug functions and macros static to avfilter.c  
							
							This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link
fro the interface of libavfilter.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1779800c4 
								
							
								 
							
						 
						
							
							
								
								Include libavcore/audioconvert.h, required for  
							
							av_get_channel_layout_string() in ff_dprintf_link.
Fix compilation.
Originally committed as revision 26380 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d5b188518 
								
							
								 
							
						 
						
							
							
								
								Reindent.  
							
							Originally committed as revision 26379 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7986e34db0 
								
							
								 
							
						 
						
							
							
								
								Make ff_dprintf_link() print meaningful information for audio links.  
							
							Originally committed as revision 26378 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a242ac3620 
								
							
								 
							
						 
						
							
							
								
								Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.  
							
							More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.
Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6baf4afa99 
								
							
								 
							
						 
						
							
							
								
								Make avfilter_unref_buffer() accept a NULL parameter.  
							
							Originally committed as revision 26373 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								891aeeee72 
								
							
								 
							
						 
						
							
							
								
								Check linked pads media type mismatch in avfilter_link().  
							
							Originally committed as revision 26325 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36dc00de52 
								
							
								 
							
						 
						
							
							
								
								Add w,h,format back into AVFilterBuffer, these are required for direct rendering.  
							
							These fields are needed to be able to know which area of memory is allocated and
which is off limits.
This reverts 24291 and parts of r24424.
Originally committed as revision 26314 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ccabeeaef 
								
							
								 
							
						 
						
							
							
								
								Support filters and decoders that dont support negative linesizes.  
							
							This patch is based on work by stefano.
Originally committed as revision 26108 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fee0deb61f 
								
							
								 
							
						 
						
							
							
								
								Fix avfilter_draw_slice() copy code with alpha planes.  
							
							Originally committed as revision 26060 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fa77bde1b 
								
							
								 
							
						 
						
							
							
								
								In libavfilter, use consistently "Copyright (c)" in the license  
							
							headers.
Originally committed as revision 25838 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d38c340fdc 
								
							
								 
							
						 
						
							
							
								
								Implement avfilter_get_video_buffer_ref_from_arrays().  
							
							Originally committed as revision 25827 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								906eaab460 
								
							
								 
							
						 
						
							
							
								
								In ff_get_ref_perms_string() use 'u' and 'U' for representing  
							
							AV_PERM_REUSE and AV_PERM_REUSE2 flags, avoid conflict with the char
'r' used for AV_PERM_READ.
Originally committed as revision 25739 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d6e4c160a 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum  
							
							SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24de0edbd5 
								
							
								 
							
						 
						
							
							
								
								Rename avfilter_destroy() as avfilter_free().  
							
							The new name is shorter and more consistent with the FFmpeg API, and
sounds less evil.
Originally committed as revision 25707 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d545aea8f0 
								
							
								 
							
						 
						
							
							
								
								100l: remove bogus inclusion of libavcodec/audioconvert.c in  
							
							avfilter.c.
Originally committed as revision 25565 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago