Statistics
| Branch: | Revision:

ffmpeg / libavcodec / motion_est.c @ cb231c48

History | View | Annotate | Download (56.2 KB)

# Date Author Comment
2d5e962b 08/26/2003 10:26 PM Michael Niedermayer

100l (forget to reset me.skip for b frames)

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

e4eadb4b 08/25/2003 10:54 PM Michael Niedermayer

oooooops, having 2 Eterms open and doing cvs diff in one and cvs commit in the other sucks, especially if they are in different directories (MPlayer/main/libavcodec vs. ffmpeg/libavcodec)

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

029911d1 08/25/2003 10:47 PM Michael Niedermayer

mpeg2 encoding

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

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

removed unused variable

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

7d1c3fc1 07/29/2003 02:09 AM Michael Niedermayer

rate distortion mb decision support
fix decoding of old %16!=0 divx
fix assertion failure in motion_est.c

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

cf48e6f8 07/16/2003 06:20 PM Michael Niedermayer

edge fix

Originally committed as revision 2053 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

ebbcdc9a 02/27/2003 10:56 PM Michael Niedermayer

user specified motion estimation range limit
h263 me range fixed (was smaller then needed)

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

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

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

5c91a675 02/10/2003 09:35 AM Zdenek Kabelac
  • static,const,compiler warning cleanup

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

c40c3482 02/08/2003 06:23 PM Michael Niedermayer

direct blocksize in bframes fix (might fix qpel+bframe bug)

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

63b15e55 02/08/2003 12:00 PM Michael Niedermayer

mpeg1 bframe encoding patch by (Raphaël LEGRAND) with some modifications by me

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

668154df 02/07/2003 04:44 PM Michael Niedermayer

b frame segfault fix (+-1 bug)

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

cb009a8c 01/28/2003 09:26 AM Michael Niedermayer

10l / 4mv segfault fix

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

ef9f7306 01/19/2003 06:30 PM Måns Rullgård

C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))

Originally committed as revision 1474 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

3a87ac94 01/15/2003 06:05 PM Michael Niedermayer

more compare functions (rd & bit)

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

4a711c33 01/06/2003 01:20 AM Michael Niedermayer

b frame segfault fix

Originally committed as revision 1400 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

f5fb6b34 01/02/2003 01:29 AM Michael Niedermayer

motion estimation pre pass

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

0a13093d 01/01/2003 04:47 PM Michael Niedermayer

bugfix

Originally committed as revision 1388 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

03201146 12/05/2002 10:22 PM Michael Niedermayer

better? scene change detection

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

1e491e29 12/04/2002 10:04 AM Michael Niedermayer

cleanup
adding AVVideoFrame
moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
removing obsolete variables in AVCodecContext
skiping of MBs in b frames
correctly initalizing AVCodecContext
picture buffer cleanup

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

9c76bd48 11/22/2002 07:53 AM Brian Foley
  • altivec and pix_norm patch by Brian Foley

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

d6483a8e 11/14/2002 06:02 PM Michael Niedermayer

1l found by kabi

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

eb4b3dd3 11/11/2002 09:40 AM Zdenek Kabelac
  • using DSPContext - so each codec could use its local (sub)set of CPU extension

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

b8a78f41 11/10/2002 11:46 AM Michael Niedermayer

reversing header game
MIN/MAX -> FFMIN/FFMAX

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

af27aea9 10/31/2002 12:48 AM Michael Niedermayer

fixing another assert q>0.0 issue caused by variance < 0, this fix allso changes the inter/intra decission very slightly -> all regression checksums need to be updated

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

0bfacb95 10/30/2002 10:55 PM Michael Niedermayer

fixing q>0.0 assert failure caused by overflow of variance for b frames

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

c42612f1 10/24/2002 12:51 AM Michael Niedermayer

clip MVs for direct mode

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

693b0e1d 09/23/2002 03:16 PM Michael Niedermayer

fixing variance scaling for b frames (messed adaptive quants up)
cliping too long MVs in b frames instead of setting them to 0

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

c5d309f2 09/23/2002 02:56 PM Michael Niedermayer

adaptive quantization (lumi/temporal & spatial complexity masking)

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

bea669e5 09/13/2002 09:45 AM Michael Niedermayer

interlaced mpeg4 b frame decoding

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

b3184779 09/11/2002 12:39 PM Michael Niedermayer

put/avg_pixels16
fixing 2 small qpel bugs

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

07787186 08/28/2002 08:15 AM Dominik Mierzejewski

warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)

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

3aa102be 08/25/2002 09:19 PM Michael Niedermayer

new ratecontrol code

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

1fb4890b 08/22/2002 07:41 PM Michael Niedermayer

better scene change detection

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

5efa2650 07/31/2002 08:01 AM Michael Niedermayer

b frame direct mode bugfix (bug found by CM <chenm001 at 163 dot com>)

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

f10bd870 06/24/2002 03:02 PM Michael Niedermayer

4mv bugfix

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

0d21a846 06/02/2002 12:18 PM Michael Niedermayer

dont double check vectors
more correct EPZS implementation
much faster halfpel ME
simplifications / reducing duplicate code
4MV in LQ mode

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

ff4ec49e 05/25/2002 10:45 PM Fabrice Bellard

license/copyright change

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

9cd3766f 05/11/2002 11:42 PM Juanjo

- pict_type exported to AVCodecContext
- Added real_pict_num to AVCodecContext, it represent the number of the
previous encoded frame, usefull when coding with B frames.
- Warning fix in motion_est.c

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

91029be7 04/19/2002 03:25 AM Michael Niedermayer

much better ME for b frames (a bit slow though)
fixed MC rounding for b frames
fixed hq mode with b-frames

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

9dbcbd92 04/17/2002 04:32 AM Michael Niedermayer

fixed mpeg4 time stuff on encoding
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)...

e4986da9 04/14/2002 06:57 PM Juanjo

- ME setting moved to AVCodecContext/MpegEncContext, no longer a global.
- EPZS ME algo used by default.
- HQ flag activated for ffmpeg.
- Cosmetics ...

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

c60cf138 04/01/2002 05:40 PM Michael Niedermayer

fixing MVs in hq mode

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

cf8039b2 03/28/2002 04:25 AM Michael Niedermayer

mpeg4 4MV encoding

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

ba6802de 03/27/2002 09:25 PM Michael Niedermayer

4MV motion estimation (not finished yet)
SAD functions rewritten (8x8 support & MMX2 optimizations)
HQ inter/intra decission
msmpeg4 encoding bugfix (MV where too long)

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

122546a6 03/24/2002 04:58 AM Michael Niedermayer

seems the old intra/inter decission is slightly better with a threshold, than the new one

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

174489bd 03/24/2002 04:16 AM Michael Niedermayer

10l (motion_val was uninitilized)
20l (first frame of a gop could be a p-frame sometimes)
add hq flag to MpegEncContext

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

b3987771 03/23/2002 12:39 PM Michael Niedermayer

better inter/intra decission algo (same as xvid)

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

11ce8834 03/22/2002 11:22 PM Michael Niedermayer

mpeg4 aspect_ratio_info in AVCodecContext (requested by alex)
experimental (& faster) motion estimation
squished a dirty uninitialized var bug
mpeg1 fcode>1 support

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

c5b1c10a 03/22/2002 04:51 PM Michael Niedermayer

fixing epzs & mpeg1 (hopefully now really ...)

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

45870f57 03/22/2002 02:21 AM Michael Niedermayer

new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

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

ce7c56c2 03/19/2002 06:30 AM Juanjo

- Added video coding statistics for ffmpeg. Needs more work.
- Fixed ME range for H.263+ UMV (32 pix).

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

9cdd6a24 03/17/2002 04:31 PM Michael Niedermayer

hopefully better bitrate controll

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

b4dbd87c 02/15/2002 08:46 PM Juanjo

- Minor changes on bitrate control

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

e03c341e 02/10/2002 06:10 AM Juanjo

- More work on preliminary bit rate control, just to be able to get an
average variance for picture's MBs so we can adjust qscale on the MB layer.

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

37fbfd0a 02/10/2002 01:56 AM Juanjo

- Now the ME is done for the entire picture when enconding, the
DCT/Quantization is done after we have calculated all the MV of the picture.
- This is the preamble for a better bit rate control.

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

2ddeed44 01/24/2002 07:06 PM Michael Niedermayer

(commit by michael)
motion-estimation on width/height not divisable through 16 files bugfix

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

fb16b7e7 07/24/2001 08:42 PM Fabrice Bellard

added emms_c() macro which should can used in c code in both mmx/non mmx cases

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

980fc7b8 07/23/2001 08:06 PM Fabrice Bellard

fixed config for direct mplayer build compatibility

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

de6d9b64 07/22/2001 02:18 PM Fabrice Bellard

Initial revision

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