Derek Buitenhuis
							
						 
						
							
							
							
								
							
								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  
					 
				
					
						
							
							
								   Ganesh Ajjanagadde
							
						 
						
							
							
							
								
							
								641cb77f50 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_idet: replace round and cast by lrint  
							
							 
							
							 
							
							
								
							
							
							lrint is faster and conveys the intent better here. It is safe as long int has
at least 32 bits.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Nicolas George
							
						 
						
							
							
							
								
							
								44f660e7e7 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove FF_LINK_FLAG_REQUEST_LOOP.  
							
							 
							
							 
							
							
								
							
							
							It has no longer any effect. 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Nicolas George
							
						 
						
							
							
							
								
							
								598f8a7afa 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_idet: reindent after last commit.  
							
							 
							
							
								
							
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Nicolas George
							
						 
						
							
							
							
								
							
								7635242ae5 
								
							
								 
							
						 
						
							
							
								
								lavfi/vf_idet: remove the loop in request_frame().  
							
							 
							
							 
							
							
								
							
							
							It is not necessary due to the use of FF_LINK_FLAG_REQUEST_LOOP. 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Hendrik Leppkes
							
						 
						
							
							
							
								
							
								5d8e836d0e 
								
							
								 
							
						 
						
							
							
								
								Replace all remaining occurances of step/depth_minus1 and offset_plus1  
							
							 
							
							
								
							
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								fd682b1892 
								
							
								 
							
						 
						
							
							
								
								avfilter: handle error in query_formats() of a bunch of random video filters  
							
							 
							
							
								
							
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								5c1a8d3b7d 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: factorize av_frame_free(&idet->prev)  
							
							 
							
							 
							
							
								
							
							
							Found-by: Pascal Massimino <pascal.massimino@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								56a33b232c 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: flush internal buffers on parameter changes  
							
							 
							
							 
							
							
								
							
							
							This is needed to auto insert the filter by default
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								723c37d3b7 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: reduce noisyness if the filter has been auto inserted  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						10 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								a79ac73b63 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: Add analyze_interlaced_flag mode  
							
							 
							
							 
							
							
								
							
							
							This should allow us to insert idet before scale and let scale have interl=-1 as default in that case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								d25d929600 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: Add 9, 12 and 14 bit pixel formats  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								18802bc81c 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: Use frame_requested instead of prev  
							
							 
							
							 
							
							
								
							
							
							This is more robust if the delay is not constant
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Neil Birkbeck
							
						 
						
							
							
							
								
							
								dd5d617956 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: Fixing idet for single-frame inputs.  
							
							 
							
							 
							
							
								
							
							
							Handle single frame inputs similar to yadif (e.g., 0f9f24c9cf  and 681e008d06 )
Example:
  ffmpeg -r 1 -t 1 -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm  -vf idet,showinfo -f null -y /dev/null
Previously:
  Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
  [Parsed_idet_0 @ 0x36389d0] Repeated Fields: Neither:     0 Top:     0 Bottom:     0
After patch:
  [Parsed_showinfo_1 @ 0x1909810] n:0 pts:0 pts_time:0 pos:-1 fmt:gray sar:0/1 s:352x432 ...
  [Parsed_idet_0 @ 0x18f9bb0] Repeated Fields: Neither:     1 Top:     0 Bottom:     0
Fate looks good.
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kevin Mitchell
							
						 
						
							
							
							
								
							
								fdf22f973d 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: add a repeated field detection  
							
							 
							
							 
							
							
								
							
							
							This can be useful for determining telecine.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								898635ad9e 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: use exp2()  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								4bbd8f05f7 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: use av_rescale()  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								5d590d87b3 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: fix rounding of av_dict_set_fxp()  
							
							 
							
							 
							
							
								
							
							
							fixes the remainder overflowing beyond .999
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kevin Mitchell
							
						 
						
							
							
							
								
							
								fe6f5f2908 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: add a "half_life" option for statistics  
							
							 
							
							 
							
							
								
							
							
							This can be useful for videos in which the interlacing pattern changes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kevin Mitchell
							
						 
						
							
							
							
								
							
								ae6118de19 
								
							
								 
							
						 
						
							
							
								
								avfilter/idet: add current frame classification to metadata  
							
							 
							
							 
							
							
								
							
							
							Fixes ticket 3832
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kevin Mitchell
							
						 
						
							
							
							
								
							
								2847843868 
								
							
								 
							
						 
						
							
							
								
								avfilter/idet: add metadata to "current" frame instead of "next" frame  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Neil Birkbeck
							
						 
						
							
							
							
								
							
								ad5c43bb36 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: Fixes issue with idet not flushing last frame.  
							
							 
							
							 
							
							
								
							
							
							Uses a similar approach as vf_yadif to flush the last frame in idet.
Quick test with 50 frames from vsynth1:
./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1  | grep Multi
 (gives) [Parsed_idet_0 @ 0x261ebb0] Multi frame detection: TFF:0 BFF:0 Progressive:48 Undetermined:1
./ffmpeg -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1  | grep Multi
 (gives) [Parsed_idet_0 @ 0x35a0bb0] Multi frame detection: TFF:0 BFF:0 Progressive:49 Undetermined:1
Fate tests have been updated.
(In testing, it seems this filter will also need a subsequent patch for single frame input)
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kevin Mitchell
							
						 
						
							
							
							
								
							
								ff68ceb1b5 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: add both multiple and single frame detection metadata  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kevin Mitchell
							
						 
						
							
							
							
								
							
								9d51bad625 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: add counts to frame metadata  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Pascal Massimino
							
						 
						
							
							
							
								
							
								7ac6b8cfa7 
								
							
								 
							
						 
						
							
							
								
								avfilter/idet: typo fix: PROGRSSIVE -> PROGRESSIVE  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Pascal Massimino
							
						 
						
							
							
							
								
							
								e3fd6a3a4e 
								
							
								 
							
						 
						
							
							
								
								av_filter/x86/idet: MMX/SSE2 implementation of 16bits filter_line()  
							
							 
							
							 
							
							
								
							
							
							tested on http://ps-auxw.de/10bit-h264-sample/10bit-eldorado.mkv 
MMX: ~30% faster decoding overall
SSE2:~40% faster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   skal
							
						 
						
							
							
							
								
							
								406a9ccffe 
								
							
								 
							
						 
						
							
							
								
								avfilter/vf_idet: MMX/MMXEXT/SSE2 implementation of idet's filter_line()  
							
							 
							
							 
							
							
								
							
							
							integration by Neil Birkbeck, with help from Vitor Sessak.
core SSE2 loop by Skal (pascal.massimino@gmail.com )
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								b211607b5c 
								
							
								 
							
						 
						
							
							
								
								avfilter: various cosmetics  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								a8e00cf926 
								
							
								 
							
						 
						
							
							
								
								avfilter: remove redundant use of AV_NE() macro  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Paul B Mahol
							
						 
						
							
							
							
								
							
								c63e4e6569 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: remove request_frame hack  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								61b268eeda 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: fix chroma subsampling with odd sizes.  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								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  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								7668b6832d 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: switch to an AVOptions-based system.  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								ab228f9163 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: use standard options parsing.  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								96e4b00d62 
								
							
								 
							
						 
						
							
							
								
								lavfi: remove remaining forgotten min/rej perms.  
							
							 
							
							
								
							
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								cdb7a1ac63 
								
							
								 
							
						 
						
							
							
								
								vf_idet: adapt default scores due to bugfix  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								dc9edb06b0 
								
							
								 
							
						 
						
							
							
								
								vf_idet: Fix macro arguments sideeffect  
							
							 
							
							 
							
							
								
							
							
							Fixes valgrind errors
should improve detection scores
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								a2349dc3f0 
								
							
								 
							
						 
						
							
							
								
								vf_idet: fix type of stats  
							
							 
							
							 
							
							
								
							
							
							Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								d155abd1fc 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: remove unused assert include.  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								a7f0af1b9a 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: remove unecessary context assignment.  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								43cbd4406e 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: support named parameters.  
							
							 
							
							 
							
							
								
							
							
							The parameters are currently not documented in doc/filters.texi, but now
they at least appear in the automatic help. 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								915d7487d7 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: remove unecessary poll_frame callback.  
							
							 
							
							
								
							
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Matthieu Bouron
							
						 
						
							
							
							
								
							
								4cd40ef343 
								
							
								 
							
						 
						
							
							
								
								lavfi/idet: switch to filter_frame API  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Stefano Sabatini <stefasab@gmail.com> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Clément Bœsch
							
						 
						
							
							
							
								
							
								2d9d444051 
								
							
								 
							
						 
						
							
							
								
								lavfi: convert remaining input/output list compound literals to named objects.  
							
							 
							
							 
							
							
								
							
							
							This is following 568c70e79e . 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Hendrik Leppkes
							
						 
						
							
							
							
								
							
								79393a8363 
								
							
								 
							
						 
						
							
							
								
								Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								31fdf3065d 
								
							
								 
							
						 
						
							
							
								
								vf_idet: reorder operations to avoid division by 0  
							
							 
							
							 
							
							
								
							
							
							Fixes CID733738
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								4d4f431ab7 
								
							
								 
							
						 
						
							
							
								
								vf_idet: zero pointers after freeing references  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Michael Niedermayer
							
						 
						
							
							
							
								
							
								cac749a551 
								
							
								 
							
						 
						
							
							
								
								vf_idet: fix free after use  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Matthieu Bouron
							
						 
						
							
							
							
								
							
								f94edfe484 
								
							
								 
							
						 
						
							
							
								
								vf_idet: remove some unnecessary statement and unused variable  
							
							 
							
							 
							
							
								
							
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
					 
				
					
						
							
							
								   Derek Buitenhuis
							
						 
						
							
							
							
								
							
								3fe303a27d 
								
							
								 
							
						 
						
							
							
								
								vf_idet: Remove emms  
							
							 
							
							 
							
							
								
							
							
							There is no MMX code anyway.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago