a34a609fc1 
								
							
								 
							
						 
						
							
							
								
								motion_est: fix use of inline on extern functions  
							
							Inline functions declared without extern do not provide an external
definition in standard C99.  This code only works because most
compilers do not implement the inline semantics correctly.  With a
stricter compiler, linking fails with unresolved references to these
functions.
Declaring the functions extern inline works correctly with some
compilers while some others still fail to create external definitions.
For maximum portability, create a static inline version with an
externally visible wrapper for ff_get_mb_score.  ff_epzs_motion_search
is so large that no sane compiler inlines it anyway, so there the
inline keyword can simply be dropped with no effect.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0db9eba48c 
								
							
								 
							
						 
						
							
							
								
								motion_est: drop inline from sad_hpel_motion_search()  
							
							This function is only ever called through a function pointer,
so marking it inline makes no sense.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5bf7bc625b 
								
							
								 
							
						 
						
							
							
								
								motion_est: remove unused macros  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								74f82f92a4 
								
							
								 
							
						 
						
							
							
								
								motion_est: remove useless no_motion_search() function  
							
							At both places this function is called, mb_[xy] == s->mb_[xy]
making the call together with following code equivalent to
simply assigning zeros.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a92be9b856 
								
							
								 
							
						 
						
							
							
								
								Replace memset(0) by zero initializations.  
							
							Also remove one pointless zero initialization in rangecoder.c. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33ad8c3cab 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove some unnecessary block braces.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb668476ab 
								
							
								 
							
						 
						
							
							
								
								motion_est: make MotionExtContext.map_generation unsigned  
							
							The way this value is used, it should be an unsigned type.
While the numerical value has no meaning, unsigned wraparound
is relied upon.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e708afd3c0 
								
							
								 
							
						 
						
							
							
								
								motion_est: fix some signed overflows  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								473e547e80 
								
							
								 
							
						 
						
							
							
								
								motion_est: remove disabled code  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								657ccb5ac7 
								
							
								 
							
						 
						
							
							
								
								Eliminate FF_COMMON_FRAME macro.  
							
							FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture.  Replace by an embedded AVFrame structure in struct Picture. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adbfc605f6 
								
							
								 
							
						 
						
							
							
								
								doxygen: Consistently use '@' instead of '\' for Doxygen markup.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac4a854811 
								
							
								 
							
						 
						
							
							
								
								Remove some non-compiling debug messages.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								975a1447f7 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09cbf60f8e 
								
							
								 
							
						 
						
							
							
								
								Replace more disabled printf() calls by av_dlog().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0c73ba11f 
								
							
								 
							
						 
						
							
							
								
								motion_est: fix implicit truncation warnings  
							
							Patch by Reimar Döffinger and Eli Friedman (independently).
Originally committed as revision 24083 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba87f0801d 
								
							
								 
							
						 
						
							
							
								
								Remove explicit filename from Doxygen  @file  commands.  
							
							Passing an explicit filename to this command is only necessary if the
documentation in the @file  block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd8277ffa0 
								
							
								 
							
						 
						
							
							
								
								Optimize bidir_refine a bit.  
							
							compiled code is less tham 1/4 the size.
a tiny bit faster
Originally committed as revision 22777 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a69220cce0 
								
							
								 
							
						 
						
							
							
								
								Change bidir refine hash code so we only need to perform a single  
							
							hash calculation for the whole function.
negligibly faster (about 0.1%)
Originally committed as revision 22775 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d603902f3 
								
							
								 
							
						 
						
							
							
								
								Reduce the size of the bidir refine hashtable from 4096 to 256 and  
							
							change the hash function to something more sane and simple.
about 1/3 faster, no meassureable change in psnr or size and i gues
its even same md5 with my test file but i forgot testing that.
Originally committed as revision 22773 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e056d2a24b 
								
							
								 
							
						 
						
							
							
								
								Move comment that belonged to cmp() back to cmp().  
							
							Originally committed as revision 22772 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								919e749772 
								
							
								 
							
						 
						
							
							
								
								slice dice, inline and outline cmp()  
							
							motion_est.o is now less than half its previous size.
No speedchange meassureable.
Originally committed as revision 22771 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc4a2d1e8c 
								
							
								 
							
						 
						
							
							
								
								Change ref_index structure so it matches how its organized in h264.  
							
							Also revert the related error concealment hotfix.
Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								94ca624fbc 
								
							
								 
							
						 
						
							
							
								
								Move ff_sqrt() to libavutil/intmath.h  
							
							Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bad5537e2c 
								
							
								 
							
						 
						
							
							
								
								Use full internal pathname in doxygen  @file  directives.  
							
							Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								406792e7b0 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove pointless period after copyright statement non-sentences.  
							
							Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								199436b952 
								
							
								 
							
						 
						
							
							
								
								moves mid_pred() into mathops.h (with arch specific code split by directory)  
							
							Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6f2c0d6e5 
								
							
								 
							
						 
						
							
							
								
								Fix regression test failure with pthreads on multiprocessor systems.  
							
							Fixes issue517
Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6f55b11ec6 
								
							
								 
							
						 
						
							
							
								
								1000l Fix snow regression test that i broke in r15135.  
							
							Originally committed as revision 15136 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b74ec69366 
								
							
								 
							
						 
						
							
							
								
								Warn the user about me_method values that are not supported.  
							
							Fixes issue503
Originally committed as revision 15135 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fdbb1feb27 
								
							
								 
							
						 
						
							
							
								
								Remove ancient code that hasnt worked in many years.  
							
							Originally committed as revision 14144 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c192426fd8 
								
							
								 
							
						 
						
							
							
								
								Fix return type of ff_init_me().  
							
							Originally committed as revision 13487 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								540c5220ff 
								
							
								 
							
						 
						
							
							
								
								Check dia size a little more. Fixes CID80.  
							
							Originally committed as revision 13481 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9701840bb5 
								
							
								 
							
						 
						
							
							
								
								add FF_ prefix to all (frame)_TYPE usage  
							
							Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b94177e37 
								
							
								 
							
						 
						
							
							
								
								Group all copyright and author notices together.  
							
							Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90b5b51eab 
								
							
								 
							
						 
						
							
							
								
								misc typo fixes  
							
							Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								755bfeabcc 
								
							
								 
							
						 
						
							
							
								
								misc spelling fixes  
							
							Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1cfe393a25 
								
							
								 
							
						 
						
							
							
								
								doxy comment tweaks  
							
							Originally committed as revision 8580 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb21f1762a 
								
							
								 
							
						 
						
							
							
								
								Add doxy comments, based on Loren's explanations posted here:  
							
							Date: Mar 30, 2007 9:00 PM
Subject: Re: [Ffmpeg-devel] Motion Estimation in snow.c for Waevelet encoded frames (DWT)
Originally committed as revision 8579 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f66e4f5f9e 
								
							
								 
							
						 
						
							
							
								
								Add av_ prefix to clip functions  
							
							Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d951bb9a5c 
								
							
								 
							
						 
						
							
							
								
								test DIRECT{0,0} too if flag mv0 is used  
							
							slight PSNR/bitrate increase
Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2175b80bed 
								
							
								 
							
						 
						
							
							
								
								simplify  
							
							Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b9cf3bdb3 
								
							
								 
							
						 
						
							
							
								
								i think this if() is useless lets abuse our users to test this ;)  
							
							Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f16af0667 
								
							
								 
							
						 
						
							
							
								
								skip motion estimation and encoding of non direct-0,0 MBs if the next MB is skiped (mpeg4 doesnt allow such MBs and in the past we did ME and encoding until at the end we droped them, so this should be faster though i didnt benchmark it, benchmark welcome)  
							
							Originally committed as revision 7343 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95cefcb4ed 
								
							
								 
							
						 
						
							
							
								
								10l  
							
							Originally committed as revision 7328 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af6a403a05 
								
							
								 
							
						 
						
							
							
								
								warn user if the selected diamond size is larger then the motion estimation score cache size  
							
							Originally committed as revision 7326 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6daaf7cce 
								
							
								 
							
						 
						
							
							
								
								limit x/ymin/max to me_range  
							
							slight psnr/bitrate gain for most but not all files if me_range is used
Originally committed as revision 7325 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e828d257e7 
								
							
								 
							
						 
						
							
							
								
								Doxygen comments about variables described by Michael here:  
							
							Date: Tue, 12 Dec 2006 14:00:54 +0100
Subject: Re: [Ffmpeg-cvslog] r6876 - trunk/libavcodec/motion_est.c
Originally committed as revision 7288 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								849f10351d 
								
							
								 
							
						 
						
							
							
								
								rename always_inline to av_always_inline and move to common.h  
							
							Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago