summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est.c
Commit message (Collapse)AuthorAge
* Fix CHECK_BIDIR macro so it works with Intel's CompilerMarco Manfredini2006-08-12
| | | | | | Patch by Marco Manfredini mldb A gmx P net Originally committed as revision 5989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* asserts to check if assumed conditions really are trueMichael Niedermayer2006-03-10
| | | | Originally committed as revision 5143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* (f)printf --> av_log conversionSteve L'Homme2006-03-08
| | | | | | taken from a patch by Steve L'Homme Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sc_factor support for encoding.Corey Hickey2006-01-22
| | | | | | | | | | | | | | | | | Here's the description I'll add to the mplayer man page: --- Causes frames with higher quantizers to be more likely to trigger a scene change detection and make libavcodec use an I-frame (default: 1). 1-16 is a sane range. Values between 2 and 6 may yield increasing PSNR (up to approximately 0.04 dB) and better placement of I-frames in high-motion scenes. Higher values than 6 may give very slightly better PSNR (approximately 0.01 dB more than sc_factor=6), but noticably worse visual quality. --- Original idea from Michael; patch by me. Originally committed as revision 4883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: bidir_refine didn't save the new mvs. also improve speed.Loren Merritt2006-01-09
| | | | Originally committed as revision 4832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont discard least significant bitsMichael Niedermayer2005-12-25
| | | | Originally committed as revision 4773 to svn://svn.ffmpeg.org/ffmpeg/trunk
* hmm did i mess the scaling of these up at some point?Michael Niedermayer2005-12-24
| | | | | | anyway, this change decreases bitrate and increase PSNR by ~1.00 on my test file, other files also benefit significantly Originally committed as revision 4771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l (segfault fix)Michael Niedermayer2005-12-23
| | | | Originally committed as revision 4769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bidir refine supportMichael Niedermayer2005-12-23
| | | | Originally committed as revision 4768 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor typoMichael Niedermayer2005-12-23
| | | | Originally committed as revision 4767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: tabs --> spaces, some prettyprintingDiego Biurrun2005-12-22
| | | | Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf ↵Michael Niedermayer2005-08-26
| | | | | | uni-stuttgart de) Originally committed as revision 4540 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill a bunch of compiler warningsMåns Rullgård2005-08-14
| | | | Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix assertion failure for mpeg2 encodingMichael Niedermayer2005-08-01
| | | | Originally committed as revision 4488 to svn://svn.ffmpeg.org/ffmpeg/trunk
* motion vector limit for mpeg2Michael Niedermayer2005-07-27
| | | | Originally committed as revision 4482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling fixesDiego Biurrun2005-06-17
| | | | | | patch by Peter Robinson pbrobinson @ at @ gmail . dot . com and myself Originally committed as revision 4382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix segfault with 'ffmpeg -i 1.avi -cmp 257 -4mv 2.avi'Michael Niedermayer2005-05-05
| | | | Originally committed as revision 4178 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ministry of English Composition, reporting for duty (and the word is ↵Mike Melanson2005-04-24
| | | | | | "skipped", not "skiped"; "skiped" would rhyme with "hyped") Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check mb/me_threshold range, fixes assertion failureMichael Niedermayer2005-03-26
| | | | Originally committed as revision 4082 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill warnings patch by (Måns Rullgård <mru inprovide com>)Måns Rullgård2005-02-24
| | | | Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* overflow fixMichael Niedermayer2004-11-16
| | | | Originally committed as revision 3685 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)Michael Niedermayer2004-10-28
| | | | Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix constrained parameters flagMichael Niedermayer2004-10-18
| | | | Originally committed as revision 3609 to svn://svn.ffmpeg.org/ffmpeg/trunk
* quad tree based motion compensation (currently only 16x16 & 8x8 OBMC blocks, ↵Michael Niedermayer2004-08-26
| | | | | | | | | | but can be extended to other block sizes easily) different intra block coding (previous was just an ugly hack) 1.8% bitrate reduction -0.01PSNR (foreman@352x288 qscale=8) 1.5% bitrate reduction +0.05PSNR (foreman@352x288 qscale=1) Originally committed as revision 3416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 4x4 SSE compare functionMichael Niedermayer2004-08-22
| | | | | | | | wavelet based compare functions make epzs_motion_search() more flexible so it can be used for a wider range of block sizes make get_penalty_factor() independant of MpegEncContext Originally committed as revision 3410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* chroma me fixMichael Niedermayer2004-06-11
| | | | Originally committed as revision 3216 to svn://svn.ffmpeg.org/ffmpeg/trunk
* clip input motion vectorsMichael Niedermayer2004-06-10
| | | | | | | | | be somewhat more tollerant on invalid input return INT_MAX instead of -1 for unuseable mv/mb types as that ensures nicely that they arent used initalize limits earlier for b frames a few more asserts to check for out of picture vectors Originally committed as revision 3213 to svn://svn.ffmpeg.org/ffmpeg/trunk
* nsse weightMichael Niedermayer2004-06-07
| | | | Originally committed as revision 3205 to svn://svn.ffmpeg.org/ffmpeg/trunk
* noise preserving sum of squares comparission functionMichael Niedermayer2004-06-07
| | | | Originally committed as revision 3204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change qscale -> lambda for the motion estimationMichael Niedermayer2004-06-03
| | | | | | | finetune bit/distortion weighting factor used in motion estimation, the old coeffs where finetuned relative to incorrect mv_penalty tables which where then fixed later but the coeffs where not this _may_ fix the long standing blocking artifacts, but may also introduce mudding artefacts theoretically, so please tell us if u stumble across any so we can either fix them or export this variable so the user can change it Originally committed as revision 3189 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moving motion estimation specific variables from MpegEncContext -> ↵Michael Niedermayer2004-05-11
| | | | | | MotionEstContext Originally committed as revision 3124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reduce dependancy between motion estimation and MpegEncContextMichael Niedermayer2004-05-11
| | | | | | this is practically just a s/s->me./c->/ Originally committed as revision 3123 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont missuse assert()Michael Niedermayer2004-04-30
| | | | Originally committed as revision 3096 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support reusing mb types and field select values of the source file, but use ↵Michael Niedermayer2004-04-25
| | | | | | | | | motion vectors just as additional predictors minor cleanup segfault fix Originally committed as revision 3060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sanity checksMichael Niedermayer2004-04-24
| | | | Originally committed as revision 3052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor motion estimation cleanupMichael Niedermayer2004-04-24
| | | | | | 4mv motion vector passthrough Originally committed as revision 3051 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reuse motion vectors/mb types/field select values of the source video, if ↵Michael Niedermayer2004-04-23
| | | | | | | | | the SSE for a macroblock which is predicted with these values is below me_threshold currently works only with mpeg1/2 source or some luck may need -sync 0 as otherwise framedrops could lead to extreemly long b frame sequences Originally committed as revision 3042 to svn://svn.ffmpeg.org/ffmpeg/trunk
* motion estimation cleanupMichael Niedermayer2004-04-22
| | | | | | | replace ugly macros by always_inline functions, that way its much more readable and flexible as always_inline can simply be removed while the macros couldnt be about 0.5 % speedup with default parameters Originally committed as revision 3037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unify table indexing (motion_val,dc_val,ac_val,coded_block changed)Michael Niedermayer2004-04-16
| | | | | | minor +-1 bugfix Originally committed as revision 3016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* warning patrolFalk Hüffner2004-03-24
| | | | Originally committed as revision 2925 to svn://svn.ffmpeg.org/ffmpeg/trunk
* multithreaded/SMP motion estimationMichael Niedermayer2004-02-13
| | | | | | | | | multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263 all pthread specific code is in pthread.c to try it, run configure --enable-pthreads and ffmpeg ... -threads <num> the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 4mv + b frame encoding segfault fixMichael Niedermayer2004-01-28
| | | | Originally committed as revision 2728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont calculate stuff if its not used ...Michael Niedermayer2004-01-14
| | | | Originally committed as revision 2699 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixing twice added offset bug, was triggered by 4mv + sub_cmp != mb_cmpMichael Niedermayer2004-01-14
| | | | | | | bug was introduced in version 1.75 (2003-12-30) this may have lead to a small drop in quality of the 4mv mode, but should have only affected the mbd=0 case Originally committed as revision 2698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* copyright year update of the files i touched and remembered, things look ↵Michael Niedermayer2004-01-10
| | | | | | annoyingly unmaintained otherwise Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* interlaced dct decision cleanupMichael Niedermayer2004-01-05
| | | | | | | | | function moved to dspcontext mmx&mmx2 optimized change SSE -> SAD as default (better quality) vbv buffer size command line option in kbyte Originally committed as revision 2669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* interlaced motion estimationMichael Niedermayer2003-12-30
| | | | | | | | | | | | | | interlaced mpeg2 encoding P & B frames rate distored interlaced mb decission alternate scantable support 4mv encoding fixes (thats also why the regression tests change) passing height to most dsp functions interlaced mpeg4 encoding (no direct mode MBs yet) various related cleanups disabled old motion estimaton algorithms (log, full, ...) they will either be fixed or removed Originally committed as revision 2638 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move motion_val & mb_type to AVFrame patch by (Wolfgang Hesseler <qv at ↵Wolfgang Hesseler2003-12-09
| | | | | | | | multimediaware dot com>) cleanups & fixes by me Originally committed as revision 2579 to svn://svn.ffmpeg.org/ffmpeg/trunk