summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
Commit message (Collapse)AuthorAge
* avcodec: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avcodec: Drop silly and/or broken printf debug outputDiego Biurrun2012-10-01
|
* motion_est: fix use of inline on extern functionsMans Rullgard2012-09-20
| | | | | | | | | | | | | | | | | | 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>
* motion_est: drop inline from sad_hpel_motion_search()Mans Rullgard2012-08-09
| | | | | | | 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>
* motion_est: remove unused macrosMans Rullgard2012-08-09
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* motion_est: remove useless no_motion_search() functionMans Rullgard2012-08-09
| | | | | | | | 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>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Replace memset(0) by zero initializations.Diego Biurrun2012-03-28
| | | | Also remove one pointless zero initialization in rangecoder.c.
* cosmetics: Remove some unnecessary block braces.Diego Biurrun2012-01-25
|
* motion_est: make MotionExtContext.map_generation unsignedMans Rullgard2011-10-11
| | | | | | | | 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>
* motion_est: fix some signed overflowsMans Rullgard2011-10-08
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* motion_est: remove disabled codeDiego Biurrun2011-07-17
|
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-11
| | | | | 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.
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-24
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove some non-compiling debug messages.Diego Biurrun2011-06-08
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace more disabled printf() calls by av_dlog().Diego Biurrun2011-04-29
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* motion_est: fix implicit truncation warningsReimar Döffinger2010-07-07
| | | | | | Patch by Reimar Döffinger and Eli Friedman (independently). Originally committed as revision 24083 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Optimize bidir_refine a bit.Michael Niedermayer2010-04-02
| | | | | | | 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
* Change bidir refine hash code so we only need to perform a singleMichael Niedermayer2010-04-02
| | | | | | | hash calculation for the whole function. negligibly faster (about 0.1%) Originally committed as revision 22775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce the size of the bidir refine hashtable from 4096 to 256 andMichael Niedermayer2010-04-02
| | | | | | | | 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
* Move comment that belonged to cmp() back to cmp().Michael Niedermayer2010-04-02
| | | | Originally committed as revision 22772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slice dice, inline and outline cmp()Michael Niedermayer2010-04-02
| | | | | | | 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
* Change ref_index structure so it matches how its organized in h264.Michael Niedermayer2010-03-23
| | | | | | Also revert the related error concealment hotfix. Originally committed as revision 22640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_sqrt() to libavutil/intmath.hMåns Rullgård2010-03-08
| | | | Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-18
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix regression test failure with pthreads on multiprocessor systems.Michael Niedermayer2008-12-02
| | | | | | Fixes issue517 Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1000l Fix snow regression test that i broke in r15135.Michael Niedermayer2008-09-01
| | | | Originally committed as revision 15136 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warn the user about me_method values that are not supported.Michael Niedermayer2008-08-31
| | | | | | Fixes issue503 Originally committed as revision 15135 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove ancient code that hasnt worked in many years.Michael Niedermayer2008-07-09
| | | | Originally committed as revision 14144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix return type of ff_init_me().Michael Niedermayer2008-05-28
| | | | Originally committed as revision 13487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check dia size a little more. Fixes CID80.Michael Niedermayer2008-05-27
| | | | Originally committed as revision 13481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-09
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Group all copyright and author notices together.Diego Biurrun2007-07-05
| | | | Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* doxy comment tweaksLoren Merritt2007-03-31
| | | | Originally committed as revision 8580 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add doxy comments, based on Loren's explanations posted here:Guillaume Poirier2007-03-31
| | | | | | | 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
* Add av_ prefix to clip functionsReimar Döffinger2007-02-25
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* test DIRECT{0,0} too if flag mv0 is usedMichael Niedermayer2006-12-22
| | | | | | slight PSNR/bitrate increase Originally committed as revision 7361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2006-12-21
| | | | Originally committed as revision 7345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* i think this if() is useless lets abuse our users to test this ;)Michael Niedermayer2006-12-21
| | | | Originally committed as revision 7344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip motion estimation and encoding of non direct-0,0 MBs if the next MB is ↵Michael Niedermayer2006-12-21
| | | | | | 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
* 10lMichael Niedermayer2006-12-17
| | | | Originally committed as revision 7328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* warn user if the selected diamond size is larger then the motion estimation ↵Michael Niedermayer2006-12-17
| | | | | | score cache size Originally committed as revision 7326 to svn://svn.ffmpeg.org/ffmpeg/trunk
* limit x/ymin/max to me_rangeMichael Niedermayer2006-12-17
| | | | | | 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