Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegvideo.c @ bb71e317

History | View | Annotate | Download (78.4 KB)

# Date Author Comment
bb71e317 04/30/2002 01:29 AM Michael Niedermayer

fixing msmpeg4v3 dc-scale for quantizers 24-31

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

2417652e 04/27/2002 01:12 PM Michael Niedermayer

export mbskip_table for direct rendering
add hurry_up support

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

d7e9533a 04/27/2002 12:30 PM Michael Niedermayer

fixed msmpeg4 infinite loop if buggy stream
rewrote quantizer
fixed bias (+10% compression/quality for h263 like codecs)
qscale=1 support
mpeg1 intra frames looks far less blocky
added codec_id field

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

1c2a8c7f 04/24/2002 01:24 AM Michael Niedermayer

avcodec_flush_buffers()

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

d697b89b 04/22/2002 09:02 PM Michael Niedermayer

segfault fix

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

1ff662cc 04/22/2002 07:04 PM Michael Niedermayer

export delay info
fixed low_delay & vo_type on mpeg4 header writer & parser

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

eec1c6b9 04/22/2002 12:45 PM Michael Niedermayer

divx 5.01 support

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

8b4c7dbc 04/21/2002 09:18 PM Michael Niedermayer

fixed ratecontrol & b-frames
2pass ratecontrol
fixed hq with 2pass
inceased build num (a few more vars for the rc stuff)
hopefully no new bugs

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

1f0cd30f 04/17/2002 06:19 PM Michael Niedermayer

fixing hq mode with mpeg1 and 2-pass

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

9dbf1ddd 04/17/2002 04:30 PM Michael Niedermayer

mpeg2/mpeg4 dequantizer support (c & mmx)
mpeg1 dequantizer optimizations

Originally committed as revision 404 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)...

101bea5f 04/14/2002 10:17 PM Juanjo

- ME method compatibility with legacy apps.
- Please use AVCodecContext's me_method now.

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

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

bc657ac3 04/08/2002 09:03 PM Zdenek Kabelac
  • using pixtype as enum - by Philip Gladstone

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

3bf43d42 04/07/2002 02:03 AM Michael Niedermayer

mpeg4 mpeg quantizer support

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

e1a9dbff 04/06/2002 10:29 PM Michael Niedermayer

wmv1 header parser (unfinished)

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

84afee34 04/05/2002 04:09 AM Michael Niedermayer

msmpeg4v2 decoding (no encoding yet)

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

ff3dfbae 03/30/2002 09:33 PM Michael Niedermayer

fixing 1/0

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

60e575ac 03/28/2002 11:07 PM Arpi

using Juanjo's way to pass forced type - especially as I_TYPE/P_TYPE defines aren't exported in the public interface, and the flagged method matches the way as qscale forcing work

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

4d69fbc9 03/28/2002 10:50 PM Michael Niedermayer

force frame type for 2-pass encoding

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

9c15096e 03/24/2002 11:45 PM Michael Niedermayer

fcode_tables where too small, found by Klaas-Pieter Vlieg <>

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

9d2a0355 03/23/2002 08:21 PM Michael Niedermayer

fixing motion estimation with h263p hopefully

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

098eefe1 03/23/2002 05:43 PM Michael Niedermayer

statistics for 2-pass encoding

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

8a29b310 03/22/2002 04:35 AM Michael Niedermayer

mpeg1 & epzs fix

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

bd31a775 03/17/2002 07:45 PM Michael Niedermayer

scene change detection

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

c6741159 03/17/2002 06:08 PM Michael Niedermayer

10l

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

4278e7a6 03/15/2002 02:57 PM Michael Niedermayer

optimization

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

d6231b9e 03/15/2002 04:10 AM Michael Niedermayer

use ac prediction in mpeg4 encoding (5% smaller intra-blocks/keyframes)
some minor optimizations
last non zero index cant be 64 bugfix

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

6f91bcd1 03/12/2002 10:54 PM Michael Niedermayer

mpeg4 b-frames :)
create slightly more correct headers & add "ffmpeg" user-data section

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

1699d376 03/10/2002 03:17 AM Michael Niedermayer

divx5 draw_edges bugfix

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

44eb4951 03/09/2002 01:01 PM Michael Niedermayer

divx5-gmc support
q-pel mc support
neither is totally bugfree yet though :(

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

43f1708f 02/26/2002 10:14 PM Juanjo

- Added PSNR feature to libavcodec and ffmpeg. By now just Y PSNR until I'm
sure it works ok. Also it's slow, so use it only when you really need to
measure quality.
- Fix libavcodec Makefile to enable profiling.

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

2b9ab1d5 02/22/2002 07:19 PM Michael Niedermayer

fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)

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

9e15ad28 02/19/2002 07:23 PM Juanjo

- Bug fixes in H.263+ Advanced INTRA Coding decoder.
- H.263+ should be able to decode streams with AIC now :)

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

d140623f 02/18/2002 07:33 PM Juanjo

- H.263+ decoder support for Advanded INTRA Coding (buggy)

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

8257bf05 02/18/2002 09:31 AM Zdenek Kabelac
  • eliminating duplicated code from MPV_common_end
  • simplified indexing

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

17592475 02/12/2002 03:43 PM Michael Niedermayer

alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)

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

81401c1f 02/09/2002 04:59 PM Juanjo

- Fixes on RTP and GOB headers for H.263.
- RTP callback system implemented for H.263/H.263+.
- Bug fix on DC coefficients of H.263.
- H.263 decoder now returns PTS on picture number.

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

3cb32e3d 02/09/2002 01:25 AM Arpi

PATCH by Rik Snel <>
this includes the range for quantized dct coefficients in dct_quantize() (-1023...1023)

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

80e103d0 02/09/2002 01:23 AM Arpi

PATCH by Rik Snel <>

this patch enhances the jpeg header writer. It can be asked to omit
quantisation and huffman tables and it can write different horizontal and
vertical sampling factors. (the last thing is useless for libavcodec
itself (because libavcodec only handles YUV420P at ecoder level), but the...

0b2540a0 02/07/2002 11:48 PM Michael Niedermayer

avoid copying input when encoding non intra stuff too

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

2f349de2 01/27/2002 01:30 PM Michael Niedermayer

(commit by michael)
mmx & mmx2 quantizer
c dct permutation bugfix
dont copy input on intra only encodings if it can be avoided
dont draw edges on intra only stuff

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

d2b3c3d7 01/24/2002 03:25 PM Michael Niedermayer

(commit by michael)
dc coeff isnt dequantized (bug reported by falk hueffner)

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

4e3269e8 01/24/2002 02:34 PM Michael Niedermayer

(commit by michael)
quantizer range bugfix (mpeg1 & mpeg4 encoding)

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

ae40484c 01/15/2002 10:22 PM Michael Niedermayer

(commit by michael)
bye bye weird al rounding bug ;)

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

5975626d 01/15/2002 05:02 AM Michael Niedermayer

(commit by michael)
emms

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

3d9fccbf 01/15/2002 04:07 AM Michael Niedermayer

(commit by michael)
draw_edges_mmx()

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

badaf88e 01/13/2002 04:59 AM Michael Niedermayer

(commit by michael)
dequantizers skip trailing zeros
msmpeg4 non-intra decoder has its dequantizer "build in" now

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

eede2156 01/12/2002 02:36 PM Arpi

rv10 sig11 fix by Michael Niedermayer <>

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

5b3438c6 01/11/2002 10:07 PM Michael Niedermayer

different fix, s->mbintra_table used only if h263_pred set. - patch by Michael Niedermayer <>

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

01dbbd0a 01/11/2002 09:32 PM Vladimir Dergachev

This fixes segfaults because of uninitialized s->mbintra_table variable - patch by Vladimir Dergachev <>

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

477c35a9 01/11/2002 09:23 PM Arpi

mpeg4 encoder fix by Michael Niedermayer <>

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

bff6ecaa 01/10/2002 12:53 AM Michael Niedermayer

AC table reset (memset) optimization - patch by Michael Niedermayer <>

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

ef093645 01/10/2002 12:46 AM Michael Niedermayer

fix different UMV handling for mpeg4 vs. h263 - patch by Michael Niedermayer <>

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

fb4a9613 01/08/2002 12:28 AM Stephen Davies

qscale estimate fix, diff extended to 64bit wide. patch by Stephen Davies <>

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

3a842ea5 12/26/2001 02:02 PM Arpi

informal msg

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

393fe8dd 12/16/2001 12:44 PM Arpi

unrestricted MC fixed - thanks to Michael Niedermayer for idea

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

644d98a4 11/19/2001 02:13 AM Juanjo

- Preliminary RTP friendly mode for H.263.
- GOB headers for H.263 coding on RTP mode.
- Improved GOB header detection for H.263 decoder.

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

79e7b305 10/16/2001 11:10 PM Arpi

exporting qscale data for postprocessing (for MPlayer)

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

544286b3 08/31/2001 06:21 AM Juanjo

Moved some H.263+ variables to MpegEncContext to be thread-safe.
Increase video_buffer on ffmpeg to avoid buffer overrun on big pictures.

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

6dbd39fe 08/28/2001 11:32 PM Juanjo

Added support to Unrestricted Motion Vectors (UMV)
on H.263+ encoding/decoding. According to Annex D.
Now MV on H.263+ are 32x32 long.

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

58f26ba9 08/15/2001 01:12 PM Fabrice Bellard

changed opendivx to mpeg4

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

1a565432 08/13/2001 09:48 PM Fabrice Bellard

win32 fixes

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

519c2b6d 08/12/2001 12:52 AM Fabrice Bellard

moved matrix init away from MPV_common_init()

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

51454751 08/11/2001 10:07 PM Fabrice Bellard

fixed mpeg2 interlaced DCT

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

425dddb7 08/08/2001 09:57 PM Fabrice Bellard

fixed mpeg1 first block bug (pb with black picture optimisation for B frames)

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

4f1c7e3c 08/07/2001 10:48 PM Fabrice Bellard

fixed block permutation in encoder (not optimal - should move it in forward DCT code)

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

4af7bcc1 08/03/2001 06:33 PM Arpi

MMX/MMXEXT iDCT support, using external functions currently defined in libmpeg2
Gives average 13-20% mpeg decoding speedup on x86 systems.

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

2d6d0c1d 08/02/2001 06:46 PM Arpi

- removed #include ../config.h, because it's included from common.h
which is included from avcodec.h which is included from those files...

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

54329dd5 08/02/2001 08:29 AM Nick Kurshev

Adding fastmemcpy stuff to speedup mplayer project

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

21af69f7 07/30/2001 11:26 PM Fabrice Bellard

use block[] in structure to have it aligned on 8 bytes for mmx optimizations - dct_unquantize is always a function pointer - added specialized dct_unquantize_h263

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

a9b3f630 07/30/2001 09:04 AM Nick Kurshev

Sync with mplayer's stuff

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

3bb4e23a 07/24/2001 08:43 PM Fabrice Bellard

added skip macroblock optimization (big perf win on black regions for example)

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