Statistics
| Branch: | Revision:

ffmpeg / libavcodec / h263.c @ e40f5d3c

History | View | Annotate | Download (205 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)...

403f1099 01/21/2004 07:14 PM Michael Niedermayer

more tolerance for dc=0

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

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)...

8135f8df 12/21/2003 08:06 PM Michael Niedermayer

rv20 / h263 b frame fix

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

fa75ce92 12/11/2003 04:14 PM Michael Niedermayer

fixing h263p encoding without UMV

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

feca25cc 12/09/2003 02:03 PM Michael Niedermayer

100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l100l...

0ed714a7 12/09/2003 01:47 PM Michael Niedermayer

slice structured fixes

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

fb079883 12/08/2003 05:42 PM Michael Niedermayer

AIC/MQ encoding fix

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

ecfc44e6 12/08/2003 02:23 AM Michael Niedermayer

alternative inter vlc encoding fix

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

cdb4e730 12/04/2003 06:46 PM Michael Niedermayer

cleanup

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

fcfee63b 12/03/2003 01:16 AM Michael Niedermayer

split ff_h263_decode_mb() into h263 and mpeg4 versions

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

e1f03acc 12/01/2003 08:04 PM Michael Niedermayer

h263 MV prediction doesnt match mpeg4, for some slices configurations (fixes RV20 MVs)

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

68b94c35 11/30/2003 02:35 PM Michael Niedermayer

rv20 decoder

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

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

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

9df1d249 10/29/2003 05:30 PM Michael Niedermayer

dumping funny numbers from first zygo i frame header

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

43a13e72 10/29/2003 02:54 PM Alex Beregszaszi

initial support for zygovideo

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

5ff85f1d 10/20/2003 08:23 PM Michael Niedermayer

AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

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

ac0c6638 10/13/2003 11:13 AM Michael Niedermayer

dont check if the ac esc 3 could have been stored as vlc as this detects only very few errors allthough it detects several buggy encoders

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

bba3a09b 10/12/2003 07:18 PM Michael Niedermayer

h263 GOB decoding fix

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

34790165 10/12/2003 02:01 PM Michael Niedermayer

intra dc treshold != 0 decoding fixed

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

11417def 10/11/2003 08:27 AM Michael Niedermayer

recommit of
VOL != 0x120 support

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

8d8c0294 10/01/2003 03:41 PM Michael Niedermayer

ac prediction cleanup
rate distorted optimal ac prediction for mpeg4

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

8b76418a 09/27/2003 12:01 AM Michael Niedermayer

100l

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

7af75e6c 09/26/2003 10:18 PM Michael Niedermayer

h263 stuffing decode fix

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

8fc6c2b5 09/10/2003 11:28 AM Michael Niedermayer

detect old xvid with fourcc=DIVX
remove "this file was encoded with ..." stuff (use debug=4096 if u want to know that)

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

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

removed unused variable

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

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

cleanup / fixes

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

f5ea4461 07/29/2003 09:58 AM Michael Niedermayer

patch for flv deblocking by (Garrick Meeker <gmeeker at theoryllc dot com>)

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

6674a126 07/16/2003 06:12 PM Michael Niedermayer

fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy)
note, encoding wasnt affected by that

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

e11530e7 07/15/2003 08:22 PM Michael Niedermayer

flv1 fix

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

e4748d63 07/10/2003 10:24 AM Michael Niedermayer

fix? flv escape codes

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

3f6f76af 07/07/2003 08:17 PM Michael Niedermayer

the reference sw doesnt like some legal headers ...

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

e0560448 07/06/2003 09:24 PM Michael Niedermayer

CODEC_FLAG_LOW_DELAY fix

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

d07f9043 05/22/2003 02:12 PM Michael Niedermayer

truncated h263 decoding support / H263-ES "demuxer"

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

3d2e8cce 05/19/2003 01:30 PM Michael Niedermayer

ASV1 codec
with postprocessing support :)

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

6d71b382 05/18/2003 12:07 AM Michael Niedermayer

improving 3IV1 support (still far from perfect) note, disabled as it requires some checks in the inner loops which would slow things down a tiny bit

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

d4961b35 05/14/2003 03:12 PM BERO

fastdiv patch by (BERO <bero at geocities dot co dot jp>) with fixes & cleanup by me

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

17fb5fd3 05/14/2003 10:55 AM Michael Niedermayer

libmpeg2 style bitstream reader fixes

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

05858889 05/14/2003 01:08 AM BERO

decode motion & modulo optimize patch by (BERO <bero at geocities dot co dot jp>)

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

d8e00c09 05/14/2003 12:32 AM BERO

bitstream reader optimize patch by (BERO <bero at geocities dot co dot jp>)

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

85ea6b29 05/10/2003 09:35 PM Michael Niedermayer

print obmc bug info only if avctx->debug&1

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

84876d36 04/10/2003 08:47 AM Michael Niedermayer

b frames + slices bugfix

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

4d2a4834 04/02/2003 09:57 AM Michael Niedermayer

msmpeg4 2pass support & some related cleanup

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

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

1984f635 03/22/2003 12:09 PM Michael Niedermayer

user setable quantizer bias

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

d5a21172 03/20/2003 05:52 PM Michael Niedermayer

better non conformant divx packed bitstream detection, so unpacked (no b frames) divx MPEG4-ES streams can be read

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

46b4feec 03/20/2003 01:00 AM Michael Niedermayer

error resilience cleanup (its faster too...)

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

1c6dcb0f 03/15/2003 08:47 PM Michael Niedermayer

cleaner & more flexible edge bug workaround

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

e13f860a 03/12/2003 11:12 PM Michael Niedermayer

oops

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

a4e8b587 03/12/2003 11:09 PM Michael Niedermayer

rvlc decoding support

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

14bea432 03/12/2003 03:16 PM Michael Niedermayer

per context frame_rate_base, this should finally fix frame_rate related av sync issues

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

ce2749d2 03/09/2003 04:07 PM Alex Beregszaszi

simplified

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

b0368839 03/03/2003 02:54 PM Michael Niedermayer

MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
bitexact cleanup

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

17938602 02/28/2003 04:06 PM Michael Niedermayer

10l

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

e51d6d27 02/28/2003 01:07 PM Michael Niedermayer

h263(+) clenaup & bugfixes

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

7604246d 02/16/2003 11:05 PM Wolfgang Hesseler

more #ifdef CONFIG_ENCODERS patch by (Wolfgang Hesseler <qv at multimediaware dot com>) with modifications by me (s/WOLFGANG/CONFIG_ENCODERS/ and some other fixes)

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

7d67e968 02/14/2003 01:47 AM Michael Niedermayer

improving parsing of incomplete headers

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

1d0d55da 01/29/2003 12:00 PM Michael Niedermayer

--disable-risky support

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

2ba8f6b8 01/26/2003 11:09 PM Michael Niedermayer

feeding doxygen

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

68f593b4 01/21/2003 05:34 PM Michael Niedermayer

GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops

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

0e15384d 01/15/2003 07:21 PM Michael Niedermayer

fixing DCTELEM != short

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

92148550 01/12/2003 12:16 PM Michael Niedermayer

average motion vector rounding like the reference says and not what the standard says

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

70ac76c0 01/03/2003 11:21 PM Michael Niedermayer

mpeg4 header encoding bugfix

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

477ab036 12/31/2002 05:23 PM Michael Niedermayer

trellis quantization

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

41773b73 12/30/2002 12:28 AM Michael Niedermayer

correcter mpeg4 headers

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

59b571c1 12/17/2002 11:25 AM Michael Niedermayer

more debug output

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

f8af5cb5 12/09/2002 12:06 AM Michael Niedermayer

correct mpeg4 vo type

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

2b2719ac 12/07/2002 11:38 AM Michael Niedermayer

ump4 decoding fixed

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

c8c437bc 12/04/2002 12:09 PM Michael Niedermayer

specific debug output support

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

ce3bcaed 12/04/2002 11:47 AM Michael Niedermayer

fixing illegal 3. esc bug (the mpeg4 std only requires encoders to use unescaped symbols but not esc1 or esc2 if they are shorter than esc3, andjust beause its logical to use the shortest possible vlc doesnt mean encoders do that)

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

e4828c7d 11/26/2002 08:56 AM Michael Niedermayer

fixing h263+ slices if the padding at the end of the frame is >7 && <16 && there are no zero bytes afterwards

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