Statistics
| Branch: | Revision:

ffmpeg / libavcodec / mpegvideo.c @ e40f5d3c

History | View | Annotate | Download (192 KB)

# Date Author Comment
65a24d0b 01/24/2004 11:47 PM Michael Niedermayer

optimization & bugfix extracted from the 4k line diff between ffmpeg 0.4.7 and http://www.alicestreet.com/ffh263.html
the other parts of the diff where
1. spelling fixes (rejected as only a small part of it could be applied automatically)
2. cosmetics (reindention, function reordering, var renaming, ...) with bugs (rejected)...

303e50e6 01/22/2004 07:48 PM Michael Niedermayer

closed gop support & flags2 as all bits in flags are used
and a few minor things i forgot to commit ...

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

20f155ed 01/19/2004 02:41 PM Michael Niedermayer

avcodec_flush_buffers() fix

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

2c492e94 01/18/2004 09:41 PM Michael Niedermayer

removing broken framerate conversation hack in mpeg1/2

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

507a8e0d 01/12/2004 10:39 PM Michael Niedermayer

type fixes, found by Wolfgang Hesseler

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

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

622348f9 01/05/2004 10:57 PM Michael Niedermayer

interlaced dct decision cleanup
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

0982834b 01/04/2004 05:13 PM Michael Niedermayer

non YV12 vissualization fix by (Wolfgang Hesseler <qv at multimediaware dot com>)

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

5ac59c55 01/04/2004 02:43 PM Michael Niedermayer

warn the user if we had to clip some dct coefficient due to a crappy format which doenst support the whole needed range (msmpeg4/wmv mostly but mpeg1 too to a lesser extend)

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

783df5f3 01/02/2004 10:29 PM Michael Niedermayer

denoise_dct_mmx()

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

fbb89806 01/02/2004 07:22 PM Michael Niedermayer

more trellis quant optimizations

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

34e0a29d 01/02/2004 03:02 AM Michael Niedermayer

cleanup

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

7485d118 01/02/2004 02:39 AM Michael Niedermayer

optimizing (trellis) quantizer

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

ae55b533 01/01/2004 04:56 PM Michael Niedermayer

dont show uninitalized motion vectors

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

273977d8 01/01/2004 03:13 PM Michael Niedermayer

rate limit tips and checks

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

b846b231 12/30/2003 03:29 PM Michael Niedermayer

100000l

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

0c9bbaec 12/30/2003 02:12 AM Wolfgang Hesseler

motion vector vissualization improvements patch by (Wolfgang Hesseler <qv at multimediaware dot com>)

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

1031fabd 12/29/2003 10:25 PM Michael Niedermayer

picture number fixes

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

1c004e56 12/22/2003 07:42 PM Steven M. Schultz

lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)

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

71c47d6e 12/22/2003 07:06 PM Michael Niedermayer

10l (forgot to copy top_field_first flag)

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

d60a8f85 12/17/2003 07:53 PM Michael Niedermayer

vbv_delay

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

d50635cd 12/14/2003 02:57 AM Michael Niedermayer

split intra / inter dequantization

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

7ebfc0ea 12/14/2003 01:42 AM Michael Niedermayer

error concealment regression test

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

d55f7b65 12/13/2003 08:41 PM Michael Niedermayer

cleanup

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

0c11692a 12/13/2003 02:14 AM Aurelien Jacobs

Here are juste two added #ifdef CONFIG_ENCODERS to allow
libavcodec to compile without CONFIG_ENCODERS defined
patch by (Aurelien Jacobs <aurel at gnuage dot org>)

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

864119b6 12/13/2003 01:33 AM Michael Niedermayer

mb type & qp vissualization

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

11dffbe1 12/12/2003 09:30 PM Michael Niedermayer

stuffing to stay above min_bitrate

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

7a0f9d7e 12/12/2003 04:56 PM Fabrice Bellard

fixed top_field_first support when encoding

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

dd5e90cd 12/10/2003 05:05 PM Michael Niedermayer

interlaced dct encoding fix

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

db9b1b5e 12/10/2003 04:49 PM Fabrice Bellard

fixed interlaced encoding

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

5ea4b18d 12/09/2003 01:55 AM Michael Niedermayer

motion_subsample_log2

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

8d7ec294 12/09/2003 01:49 AM Wolfgang Hesseler

move motion_val & mb_type to AVFrame patch by (Wolfgang Hesseler <qv at multimediaware dot com>)
cleanups & fixes by me

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

01e8ff27 12/07/2003 02:10 AM Michael Niedermayer

slice flush / position fix

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

ba58dabc 12/07/2003 01:33 AM Michael Niedermayer

h263 slice structured mode
slice cleanup

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

2be9f03a 12/05/2003 01:03 AM Michael Niedermayer

AVFrame.interlaced_frame fixes

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

c70f1716 12/05/2003 12:19 AM Michael Niedermayer

export top_field_first & interlaced_frame

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

b40cd4e0 12/04/2003 06:34 PM Michael Niedermayer

rv20 (h263) b frame decoding support

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

554daa24 12/03/2003 04:47 PM Michael Niedermayer

cleanup

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

6beeb962 12/03/2003 04:07 PM Michael Niedermayer

h263 modified quantization fix

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

332f9ac4 12/01/2003 03:23 PM Michael Niedermayer

h263 loop filter
fixed h263 modified quantization
CODEC_FLAG_OBMC

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

43dc0bfd 11/30/2003 05:30 PM Michael Niedermayer

cleanup

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

dba019da 11/29/2003 08:37 AM Michael Niedermayer

h263 alternative inter vlc support

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

f7190f73 11/28/2003 09:31 PM Michael Niedermayer

h263 OBMC & 4MV support
cleanup

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

b68ab260 11/27/2003 01:38 PM Michael Niedermayer

dont read from b frames if draw_horiz_band==NULL

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

9bc8b386 11/25/2003 12:35 AM Michael Niedermayer

16x8 MV vissualization by (Wolfgang Hesseler <qv at multimediaware dot com>)

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

bc1e3646 11/24/2003 09:53 PM Michael Niedermayer

10l

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

ad0d17f1 11/13/2003 11:45 PM Michael Niedermayer

qprd with b frames fix

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

dd3e415e 11/13/2003 11:22 PM Michael Niedermayer

qprd needs mbd=2

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

30758048 11/12/2003 01:03 PM Michael Niedermayer

ac prediction with rate distorted qp fix

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

1f26c6f3 11/12/2003 12:25 PM Michael Niedermayer

rate distored optimal lambda->qp support

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

ea05d9c9 11/03/2003 05:42 PM Michael Niedermayer

flush fix (untested)

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

762357e6 11/03/2003 01:31 PM Michael Niedermayer

10l (fixes dct coeff noise reduction)

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

9b879566 11/03/2003 01:26 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

821cb11f 11/02/2003 11:19 PM Michael Niedermayer

noise reduction of dct coefficients

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

5f194811 10/30/2003 04:58 PM Michael Niedermayer

pts fix and related fixes

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

a579db0c 10/27/2003 11:22 PM Ivan Kalvachev

XvMC speedup by removing one memcpy and doing MB packing

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

6b56c616 10/27/2003 02:37 PM Michael Niedermayer

make convert_matrix() independant of MpegEncContext

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

9b4b6e09 10/25/2003 07:30 PM Michael Niedermayer

segfault fix

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

b4c3816c 10/23/2003 09:11 AM Michael Niedermayer

optionally merge postscale into quantization table for the float aan dct

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

65e4c8c9 10/22/2003 06:26 PM Michael Niedermayer

floating point AAN DCT

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

9d9e3172 10/22/2003 03:36 PM Michael Niedermayer

112 bytes smaller MpegEncContext

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

45686da2 10/22/2003 12:01 PM Michael Niedermayer

move blocks away MpegEncContext (7.4 -> 5.8k)

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

642ccefb 10/22/2003 11:23 AM Michael Niedermayer

move mmx quantizer matrixes out of MpegEncContext (23k -> 7k) (no meassureable slowdown)

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

7e4995c3 10/22/2003 10:59 AM Michael Niedermayer

move q_*_matrix out of MpegEncContext (40k ->23k) dct_quantize() is even slightly faster now, dont ask my why ...

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

b465449e 10/21/2003 07:55 PM Michael Niedermayer

dynamic alloc of picture structs instead of putting them in MpegEncContext

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

fa384dcc 10/20/2003 09:52 AM Michael Niedermayer

export mpeg2 active display area / pan scan
fix mpeg2 aspect_ratio for the rare case that active display area != AVCodecContext.width/height
decode sequence display extension & picture display extension

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

a573cc27 10/17/2003 06:56 PM Michael Niedermayer

emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set

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

6571e41d 10/16/2003 12:21 AM Michael Niedermayer

picture buffer cleanup, this fixes a assertion failure (if assertion checking was manualy enabled for utils.c) and a memleak at least

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

764ef400 10/14/2003 04:15 AM Mike Melanson

disable encoders where appropriate (patch courtesy of BERO
<bero at geocities.co.jp>)

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

431f2172 10/12/2003 09:32 PM Michael Niedermayer

fix decoding if the aspect ratio changes

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

ed7debda 10/12/2003 09:25 PM Alex Beregszaszi

removed the obsolete and unused parameters of init_put_bits

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

158c7f05 10/07/2003 11:32 AM Michael Niedermayer

use lagrange multipler instead of qp for ratecontrol, this may break some things, tell me ASAP if u notice anything broken
quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range

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

16c3c1ec 10/02/2003 08:52 AM Michael Niedermayer

rd cbp + single coeff elimination fix

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

ca7d05d5 10/02/2003 12:24 AM Michael Niedermayer

optionally try to encode each MB with MV=<0,0> and choose the one with better RD

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

f2f6134b 09/30/2003 10:18 PM Michael Niedermayer

rate distortion optimal cbp support (h263/mpeg4 non intra only)

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

34f60ee6 09/24/2003 07:45 PM Michael Niedermayer

slight quality improvement ( < +0.04 PSNR) for high bitrate videos with trellis quantization

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

05fbd0a2 09/16/2003 11:25 AM Michael Niedermayer

scenechange_threshold

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

541ae140 09/10/2003 11:40 PM Michael Niedermayer

AVI stream header FCC / more reliable detection of old xvid files

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

2523e73c 09/09/2003 07:46 PM Michael Niedermayer

--disable-risky fix by (Luca Abeni <lucabe72 at email dot it>)

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

56c4a184 09/08/2003 07:58 PM Fabrice Bellard

ctype.h is a common header

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

22ddd60b 08/26/2003 08:14 PM Michael Niedermayer

fixing CODEC_FLAG_GLOBAL_HEADER

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

df15903f 08/24/2003 10:13 PM Fabrice Bellard

removed unused variable

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

d6eb3c50 08/22/2003 10:18 PM Michael Niedermayer

custom quant matrix encoding support

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

36b58e85 08/12/2003 06:20 PM Roman Shaposhnik
  • fixing a regression in mpeg encoder (not setting pix_fmt),
    this is hardly the right way to do things, but it'll suffice for now. * patch from Gildas Bazin
    gbazin at altern dot org * fix for a 10l in configure * gcc 2.95.3 and Solaris build in general are not ready...
6e230912 08/05/2003 02:08 PM Michael Niedermayer

check input pix_fmt

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

59c673d5 08/05/2003 10:19 AM Michael Niedermayer

cleanup / fixes

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

769fc466 08/02/2003 10:01 PM Michael Niedermayer

clear bitstream buffers in AVCodec.flush()

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

ffba1dc0 08/01/2003 11:00 AM Michael Niedermayer

make the h263 decoder more error tolerant

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

f23a68df 07/26/2003 11:31 PM Ivan Kalvachev

make MPV_frame_start fail on get_buffer failer

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

2e7b4c84 07/26/2003 01:28 AM Ivan Kalvachev

initial XvMC support

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

17d71fb9 07/23/2003 10:41 AM Michael Niedermayer

last frames & b frames encoding fix

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

3bb07d61 07/20/2003 02:48 PM Michael Niedermayer

default for slices is display order again
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)

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

42928ccb 07/18/2003 11:47 AM Michael Niedermayer

svq3 b frame slices fix

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

7a06ff14 07/17/2003 12:29 PM Michael Niedermayer

AVCodec.flush()
ff_draw_horiz_band() in coded order / cleanup

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

44a2950f 07/10/2003 12:15 AM Michael Niedermayer

flv cleanup / simplify

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

d4f5d74a 07/09/2003 11:10 PM Garrick Meeker

flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)

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