Statistics
| Branch: | Revision:

ffmpeg / libavcodec / motion_est_template.c @ ad1ea1f1

History | View | Annotate | Download (43.5 KB)

# Date Author Comment
1cfe393a 03/31/2007 11:58 PM Loren Merritt

doxy comment tweaks

Originally committed as revision 8580 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb21f176 03/31/2007 10:39 PM Guillaume Poirier

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

d951bb9a 12/22/2006 11:30 PM Michael Niedermayer

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

e4d0e2ed 12/20/2006 05:11 PM Michael Niedermayer

fix special casing of the 0,0 MV for b frames (slight PSNR/bitrate gain)

Originally committed as revision 7334 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff8dc81b 12/20/2006 01:30 AM Michael Niedermayer

dont favor the zero MV if mv0 is used (psnr per bitrate gains ranging from 0 to 0.14, most are <=0.04 though)

Originally committed as revision 7333 to svn://svn.ffmpeg.org/ffmpeg/trunk

2b0cdd9e 12/12/2006 01:31 PM Michael Niedermayer

mv overflow in map fix (untested except regression tests)

Originally committed as revision 7287 to svn://svn.ffmpeg.org/ffmpeg/trunk

849f1035 12/08/2006 12:35 AM Måns Rullgård

rename always_inline to av_always_inline and move to common.h

Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk

2421a01b 12/05/2006 12:35 PM Michael Niedermayer

10l umh search needs hex size 2 now after the last change

Originally committed as revision 7224 to svn://svn.ffmpeg.org/ffmpeg/trunk

f852ff32 12/05/2006 12:34 PM Michael Niedermayer

make hex and large 2 small diamond search half their size instead or -1 if the initial size was a power of 2
double the hex size so odd sized hexagons are possible

Originally committed as revision 7223 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6c36725 12/02/2006 02:19 PM Diego Biurrun

spelling cosmetics: cliped --> clipped

Originally committed as revision 7208 to svn://svn.ffmpeg.org/ffmpeg/trunk

516ea8d2 12/02/2006 11:24 AM Michael Niedermayer

fix indention

Originally committed as revision 7206 to svn://svn.ffmpeg.org/ffmpeg/trunk

1994e7c6 12/02/2006 10:58 AM Michael Niedermayer

dia_size=-1 -> funny_diamond_search()
dia_siue=768 + size -> umh search (old -1 was 784)

Originally committed as revision 7205 to svn://svn.ffmpeg.org/ffmpeg/trunk

376edfcc 12/02/2006 10:45 AM Michael Niedermayer

hexagon search
dia_size=512 + hexagon size (513 is the normal one used in h264)
large to small diamond search
dia_size=256 + diamond size

Originally committed as revision 7204 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed1dfc49 12/01/2006 08:38 PM Michael Niedermayer

remove pretty much useless skiping of some predictors
this has pretty much no quality or speed effect except very small random changes

Originally committed as revision 7202 to svn://svn.ffmpeg.org/ffmpeg/trunk

c9cac6e3 12/01/2006 09:58 AM Michael Niedermayer

typo in umh

Originally committed as revision 7193 to svn://svn.ffmpeg.org/ffmpeg/trunk

c7675718 12/01/2006 09:48 AM Michael Niedermayer

UMH support (dia_size=-1 activates it)

Originally committed as revision 7192 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac003d24 12/01/2006 09:46 AM Michael Niedermayer

cosmetic (prevent name clashes of variables in a macro with surrounding code)

Originally committed as revision 7191 to svn://svn.ffmpeg.org/ffmpeg/trunk

f7f8af46 11/30/2006 10:44 PM Michael Niedermayer

1 step diamond search around the median MV predictor
+0.01 PSNR
idea from x264

Originally committed as revision 7189 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26abfa5 10/11/2006 11:17 PM Diego Biurrun

Rename ABS macro to FFABS.

Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk

621d9294 10/08/2006 09:11 PM Dominik Mierzejewski

Fixes:
mpegvideo.h:777: warning: ‘inline’ is not at beginning of declaration
motion_est_template.c:236: warning: ‘inline’ is not at beginning of declaration

Approved by Diego.

Originally committed as revision 6591 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

1dd509b1 05/07/2006 11:48 AM Michael Niedermayer

make zero motion vector threshold user setable

Originally committed as revision 5348 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

88730be6 02/24/2005 07:08 PM Måns Rullgård

kill warnings patch by (Måns Rullgård <mru inprovide com>)

Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk

1c3990db 10/28/2004 10:12 AM Michael Niedermayer

H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)

Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk

c08a01a6 09/13/2004 12:37 PM Michael Niedermayer

pre_cmp fix

Originally committed as revision 3458 to svn://svn.ffmpeg.org/ffmpeg/trunk

155ec6ed 08/26/2004 08:04 PM Michael Niedermayer

quad tree based motion compensation (currently only 16x16 & 8x8 OBMC blocks, 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)...

26efc54e 08/22/2004 05:16 PM Michael Niedermayer

4x4 SSE compare function
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

4994af2f 07/05/2004 02:21 AM Loren Merritt

shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)

Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk

0da6315a 06/14/2004 04:18 PM Michael Niedermayer

fewer overflows

Originally committed as revision 3222 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae1dbde1 06/10/2004 10:56 PM Michael Niedermayer

clip input motion vectors
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...

1f202b0d 05/11/2004 01:38 AM Michael Niedermayer

moving motion estimation specific variables from MpegEncContext -> MotionEstContext

Originally committed as revision 3124 to svn://svn.ffmpeg.org/ffmpeg/trunk

af4091f1 05/11/2004 12:58 AM Michael Niedermayer

reduce dependancy between motion estimation and MpegEncContext
this is practically just a s/s->me./c->/

Originally committed as revision 3123 to svn://svn.ffmpeg.org/ffmpeg/trunk

2750b827 04/22/2004 03:31 AM Michael Niedermayer

motion estimation cleanup
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

80ee9fc0 02/13/2004 06:39 PM Michael Niedermayer

simplify MV availability check / dont use below last row MV which is always zero

Originally committed as revision 2773 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c3d33d6 02/13/2004 05:54 PM Michael Niedermayer

multithreaded/SMP motion estimation
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...

8f2ab833 01/10/2004 04:04 PM Michael Niedermayer

copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise

Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb198e19 12/30/2003 04:07 PM Michael Niedermayer

interlaced motion estimation
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)...

802f454e 08/24/2003 10:28 PM Fabrice Bellard

removed unused variable

Originally committed as revision 2162 to svn://svn.ffmpeg.org/ffmpeg/trunk

3db320ea 05/15/2003 01:34 AM Falk Hüffner

Warning fixes.

Originally committed as revision 1884 to svn://svn.ffmpeg.org/ffmpeg/trunk

7bc9090a 04/10/2003 01:18 PM Michael Niedermayer

simplified adressing of most mb based arrays (mb_x + mb_y*s->mb_stride) now instead of mb_x + mb_y*mb_width and 1+mb_x + (1+mb_y)*(mb_width+2) and ... mixture
more direct use of the new mb_type stuff instead of codec specific stuff
runtime mb_type debug output h264/h263 variants/mpeg1/2/4...

30952237 03/31/2003 11:13 AM Michael Niedermayer

some static > dynamic alloc & 16>8 bit

Originally committed as revision 1722 to svn://svn.ffmpeg.org/ffmpeg/trunk

983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk

67725183 01/19/2003 05:55 PM Michael Niedermayer

finetuneing thresholds/factors
nicer mb decission
a few minor improvements & fixes

Originally committed as revision 1472 to svn://svn.ffmpeg.org/ffmpeg/trunk

1d0eab1d 01/18/2003 01:37 AM Michael Niedermayer

bugs

Originally committed as revision 1469 to svn://svn.ffmpeg.org/ffmpeg/trunk

826f429a 01/05/2003 03:57 PM Michael Niedermayer

qpel in mmx2/3dnow
qpel refinement quality parameter

Originally committed as revision 1393 to svn://svn.ffmpeg.org/ffmpeg/trunk

f931ff7b 01/02/2003 12:48 PM Michael Niedermayer

pre motion estimation cleanup/bugfix

Originally committed as revision 1390 to svn://svn.ffmpeg.org/ffmpeg/trunk

b07a5980 01/01/2003 02:36 PM Michael Niedermayer

shape adaptive diamonds for EPZS
user specified amount of MV predictors from the last frame
b frame MV predictor scaling fixed

Originally committed as revision 1384 to svn://svn.ffmpeg.org/ffmpeg/trunk

1457ab52 12/27/2002 11:51 PM Michael Niedermayer

qpel encoding
4mv+b frames encoding finally fixed
chroma ME
5 comparission functions for ME
b frame encoding speedup
wmv2 codec (unfinished)
user specified diamond size for EPZS

Originally committed as revision 1365 to svn://svn.ffmpeg.org/ffmpeg/trunk