7b19e76aeb 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_transpose: rewrite for x86 SIMD  
							
							Transpose first in chunks of 8x8 blocks.
15% faster overall. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								571a360157 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: add missing const options flags  
							
							Fixes ffmpeg -h filter=transpose 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0a57072c9 
								
							
								 
							
						 
						
							
							
								
								avfilter: make use of ff_filter_get_nb_threads  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21f9468402 
								
							
								 
							
						 
						
							
							
								
								avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT  
							
							Libav, for some reason, merged this as a public API function. This will
aid in future merges.
A define is left for backwards compat, just in case some person
used it, since it is in a public header.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6aaac24d72 
								
							
								 
							
						 
						
							
							
								
								avfilter/all: propagate errors of functions from avfilter/formats  
							
							Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM).
This propagates the return values.
All of these were found by using av_warn_unused_result, demonstrating its utility.
Tested with FATE. I am least sure of the changes to avfilter/filtergraph,
since I don't know what/how reduce_format is intended to behave and how it should
react to errors.
Fixes: CID 1325680, 1325679, 1325678.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Previous version Reviewed-by: Nicolas George <george@nsup.org>
Previous version Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6e598afa8 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_transpose: use the name 's' for the pointer to the private context  
							
							Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0083c16605 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_transpose: Fix rounding error  
							
							Fixes out of array access
Fixes: asan_heap-oob_7f875d_3482_cov_1818465256_ssudec.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								984c230cd3 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int  
							
							This fixes depending on implementation defined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								515e8aed03 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_transpose: Avoid using non public AV_PIX_FMT_NB  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58400ac133 
								
							
								 
							
						 
						
							
							
								
								lavfi: name anonymous structs  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ee55c7b11 
								
							
								 
							
						 
						
							
							
								
								vf_transpose: K&R formatting cosmetics  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd43ca0443 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not export the filters from shared objects  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bc7a2a64b 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove duplicate includes  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								99a283331c 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_traspose: move switch out of loop  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66f1de66b8 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: call av_frame_copy_props()  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e74a5acb40 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: support slice threading  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7c71f95f8 
								
							
								 
							
						 
						
							
							
								
								replace remaining PIX_FMT_* flags with AV_PIX_FMT_FLAG_*  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50e66726a2 
								
							
								 
							
						 
						
							
							
								
								lavfi: use ceil right shift for chroma width/height.  
							
							This should fix several issues with odd dimensions inputs.
lut, vflip, pad and crop video filters also need to be checked for such
issues. It's possible sws is also affected. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75070d9fa0 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: apply grammar consistency fixes to transpose dir option  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								028c73358a 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: reindent constants  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d33c77b14a 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: restore validity of values in range 4-7  
							
							They were lost in commit a4e0defa75 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c2466dec7 
								
							
								 
							
						 
						
							
							
								
								vf_transpose: switch to an AVOptions-based system.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								769cc30072 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_transpose: use standard options parsing.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e350379f8 
								
							
								 
							
						 
						
							
							
								
								lavfi: switch to AVFrame.  
							
							Deprecate AVFilterBuffer/AVFilterBufferRef and everything related to it
and use AVFrame instead. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34126cd090 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: support more pix fmts  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								185d1f3bfc 
								
							
								 
							
						 
						
							
							
								
								lavfi: declare arrays that never change as static const  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								afded1816b 
								
							
								 
							
						 
						
							
							
								
								vf_transpose: switch to filter_frame  
							
							Based on patch by Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								565e4993c6 
								
							
								 
							
						 
						
							
							
								
								lavfi: merge start_frame/draw_slice/end_frame  
							
							Any alleged performance benefits gained from the split are purely
mythological and do not justify added code complexity. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59ee9f78b0 
								
							
								 
							
						 
						
							
							
								
								lavfi: do not use av_pix_fmt_descriptors directly.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								568c70e79e 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert input/ouput list compound literals to named objects  
							
							A number of compilers, for example those from TI and IBM, choke on
these initialisers.  The current style is also quite ugly.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c053f48662 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: add passthrough option  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6300062774 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: add support to named options and shortands  
							
							Allow extensibility. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9de7622927 
								
							
								 
							
						 
						
							
							
								
								lavfi/transpose: implement landscape passthrough mode  
							
							Emulate the mp=rotate passthrough mode. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1dc4205018 
								
							
								 
							
						 
						
							
							
								
								lavfi: check all avfilter_ref_buffer() calls for errors.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4f89906e3 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to end_frame().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ebc8d97481 
								
							
								 
							
						 
						
							
							
								
								lavfi: add error handling to start_frame().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db407038e 
								
							
								 
							
						 
						
							
							
								
								lavfi: use const for AVFilterPad declarations in all filters.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c9080a7ef 
								
							
								 
							
						 
						
							
							
								
								lavfi: unref AVFilterLink.out_buf in ff_end_frame().  
							
							This reduces code duplication and prevents stale pointers from remaining
on the link. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								07bad27810 
								
							
								 
							
						 
						
							
							
								
								lavfi: unref AVFilterLink.cur_buf in ff_end_frame().  
							
							This reduces code duplication and prevents stale pointers from remaining
on the link. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a49a169eb 
								
							
								 
							
						 
						
							
							
								
								lavfi: make filters less verbose.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5e8c41c28 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove 'opaque' parameter from AVFilter.init()  
							
							It is not used in any filters currently and is inherently evil. If
passing binary data to filters is required in the future, it should be
done with some AVOptions-based system. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d0bfc5052 
								
							
								 
							
						 
						
							
							
								
								lavfi: make AVFilterPad opaque after two major bumps.  
							
							It will allow adding new fields to it without ABI breaks. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d58358a3a 
								
							
								 
							
						 
						
							
							
								
								lavfi: make avfilter_get_video_buffer() private on next bump.  
							
							They are only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								803391f719 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove request/poll and drawing functions from public API on next bump  
							
							They are only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b74a1da49d 
								
							
								 
							
						 
						
							
							
								
								lavfi: make formats API private on next bump.  
							
							It is only useful inside filters and we don't allow user filters for
now. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5af7daabc4 
								
							
								 
							
						 
						
							
							
								
								Mark AVFilterPad[] compound literals as const.  
							
							GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303 
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago