Statistics
| Branch: | Revision:

ffmpeg / libavcodec / h264.c @ 5cf08f23

History | View | Annotate | Download (266 KB)

# Date Author Comment
5cf08f23 05/18/2005 09:17 AM Loren Merritt

H.264 deblocking optimizations (mmx for chroma_bS4 case, convert existing cases to 8-bit math)

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

0d175622 05/15/2005 01:40 AM Michael Niedermayer

another try at decode_ref_pic_list_reordering()

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

6ab87211 05/14/2005 12:04 AM Michael Niedermayer

fill missing reference pictures with something to avoid assertion failure

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

0444b023 05/13/2005 12:00 PM Michael Niedermayer

alignment fix by (Gábor Kovács >picard demoscene hu)

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

d2cc7468 05/13/2005 08:17 AM Michael Niedermayer

10l (mb_type uninitalized and then changed and overwritten)

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

5cb46bc7 05/12/2005 11:34 PM Michael Niedermayer

typo found by Chengji Zhao

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

d9c780a8 05/12/2005 08:44 AM Michael Niedermayer

some asserts()

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

21be92bf 05/07/2005 11:07 AM Michael Niedermayer

reverse 1 hunk from 1.96->1.97, fixes decoding of (MR1_BT_A.h264 and MR1_MW_A.264)

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

b712fb67 05/06/2005 05:04 PM Michael Niedermayer

fix decoding of conformace streams AUD_MW_E.264 and BA1_FT_C.264 again (there where last correctly decoded with h264.c rev 1.96)

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

758082af 05/06/2005 02:36 PM Michael Niedermayer

set time_base for variable fps too

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

3b66c4c5 05/05/2005 02:17 PM Kevin Baragona

More spelling errors patch by (Kevin Baragona (kevinmb500 gawab com>)

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

a55f20bd 05/03/2005 09:49 PM Loren Merritt

fix storage of motion vectors for frames with more than 4096 macroblocks.

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

7c33ad19 05/03/2005 06:53 AM Loren Merritt

clear the DPB after seeking.

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

c0df9d75 04/30/2005 09:43 PM Michael Niedermayer

switch to native time bases

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

42251a2a 04/25/2005 01:01 AM Loren Merritt

MMX for H.264 deblocking filter

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

b80875c1 04/24/2005 09:06 PM Loren Merritt

fix ref comparison in B-frame deblocker ('unused' and 'unavailable' were treated as different)

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

160d679c 04/24/2005 05:21 PM Mike Melanson

Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")

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

e2e5894a 04/21/2005 08:38 PM Loren Merritt

deblocking filter doesn't need to call fill_caches again. 1.4% faster decoding.

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

debc2adb 04/05/2005 06:29 PM Loïc Le Loarer

CABAC support for MBAFF I frames patch by (Loïc Le Loarer < lll+ffmpeg m4x org)
This patch corrects the support for I slice in CABAC and MBAFF mode.
This decodes correctly 6 more frames of the conformance suite.

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

826de46e 04/05/2005 01:35 AM Loïc Le Loarer

CABAC support for MBAFF I frames patch by (Loïc Le Loarer | lll+ffmpeg m4x org)

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

048bfeeb 03/27/2005 10:58 AM Loren Merritt

display deblocking strength in FF_DEBUG_PICT_INFO

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

17107065 03/27/2005 10:54 AM Loren Merritt

allow 16 refs with B-frames

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

6ba71fc4 03/27/2005 12:44 AM Loïc Le Loarer

This is the second patch for MBAFF support, this adds the deblocking
filter code for the I slice.

With this patch, 4 more frames are decoded correctly from the
conformance streams.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

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

3bf3d666 03/27/2005 12:27 AM Loïc Le Loarer

The cvs version 1.103 of h264.c brokes 13 conformance streams, this
patch corrects this and decodes the same streams as version 1.102.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

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

0149db66 03/12/2005 03:10 AM Loren Merritt

10l (compile fix)

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

4e4d983e 03/11/2005 02:14 AM Loren Merritt

Set keyframe flag only on IDR-frames (needed for reordering across I-frames).
Read vui bitstream restrictions (allows B-frame delay in advance, rather than waiting till we're out of order.)
Mark duplicate frames due to delay as duplicates.

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

885e88d2 03/07/2005 09:05 AM Loren Merritt

remove an assert that was breaking compilation on some gccs.

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

6867a90b 03/06/2005 11:02 PM Loic Le Loarer

MBAFF I slice no deblocking patch by (Loic >>lll+ffmpeg m4x org<<)

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

deb13e3c 03/06/2005 07:59 PM Michael Niedermayer

spam

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

26165f99 03/06/2005 07:40 PM Måns Rullgård

improved detection of "AVC1" style H.264 patch by (Måns Rullgård <mru inprovide com>)

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

a18030bb 03/05/2005 12:14 AM Loren Merritt

10l (fix reordering when B-frames are not present)

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

2f944356 03/04/2005 12:47 PM Loren Merritt

H.264: decode arbitrary frame orders and allow B-frames as references.

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

3622988f 03/03/2005 12:12 PM Loren Merritt

oops, other half of the vismv patch

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

b75e10d5 03/03/2005 07:21 AM Loren Merritt

vismv didn't display 8x8 mvs in H.264

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

19fe8b41 02/25/2005 07:40 AM Loren Merritt

In-loop deblocking for B-frames.

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

738386a5 02/24/2005 09:27 AM Loren Merritt

10l in implicit_weight_table

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

e7e09b49 02/16/2005 11:18 PM Loic Le Loarer

remove goto and reindent patch by (Loic Le Loarer <lll+ffmpeg m4x org>)

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

6fbcaaa0 02/07/2005 12:10 AM Loic Le Loarer

INTRA PCM macroblocks support patch by (Loic )lll+ffmpeg m4x org)

This patch adds the support for INTRA PCM macroblocks in CAVLC and CABAC
mode, the deblocking needed a small modification and so did the
intra4x4_pred_mode prediction.

With this patch, the 5 streams of the conformance suite containing INTRA...

0bf79634 02/04/2005 02:47 AM Loic Le Loarer

H.264 multiple slice support in CABAC patch by (Loic (lll+ffmpeg m4x org)

3 more streams of the conformance suite decode to the
end instead of failing on an assert (CABACI3_Sony_B.jsv,
CABAST3_Sony_E.jsv and CABASTBR3_Sony_B.jsv), they are still false since...

0d315f28 02/01/2005 11:26 AM Loïc Le Loarer

H.264 multiplce instance in reference list patch by (Loic <lll+ffmpeg m4x org )
With this patch, the streams CAWP5_TOSHIBA_E.264 and CVWP5_TOSHIBA_E.264
are completely decoded

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

dc032f33 02/01/2005 11:12 AM Loïc Le Loarer

correct long term picture management patch by (Loic <lll+ffmpeg m4x org>)
fixes decoding of MR2_MW_A.264

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

bd9ea6a4 01/30/2005 02:16 AM Michael Niedermayer

fixing missaligned memory accesses in fill_rectangle()

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

4ae33c9b 01/23/2005 07:11 PM Michael Niedermayer

simplify

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

934982c4 01/23/2005 06:09 PM Michael Niedermayer

avoid buf_size == 0 checks in every decoder

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

46f2f05f 01/23/2005 02:03 PM Michael Niedermayer

simplify deblock

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

3b33943e 01/23/2005 03:49 AM Michael Niedermayer

simplify
reference list 1 swaping fix? seems its not used by any samples i found though

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

827c91bf 01/19/2005 05:35 PM Loic Le Loarer

H.264 b ref pic list order and long term pictures patch by (Loic Le Loarer <loic.le-loarer polytechnique org>)

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

eed4ebd2 01/19/2005 01:24 PM Michael Niedermayer

div by zero aspect fix

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

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

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

9c6221ae 01/09/2005 12:48 AM Gert Vervoort

10l (obmc_scratchpad not always initialize)
patch by (Gert Vervoort <gert.vervoort at hccnet dot nl>)

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

934b0821 01/08/2005 08:56 AM Loren Merritt

10l: scratchpad could be allocated before its size was known.

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

9f2d1b4f 01/07/2005 05:56 AM Loren Merritt

H.264 weighted prediction.
Bidirectional weighting has not been tested for bitwise accuracy, but looks correct.

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

1b2dcdc1 01/04/2005 10:26 AM Loren Merritt

reduce stutter if we learn too late that the stream contains B-frames.

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

a4dae92b 01/04/2005 01:12 AM Loren Merritt

Sort B-frames into display order.

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

17bfbd70 12/31/2004 02:02 PM Michael Niedermayer

10l

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

579448a0 12/31/2004 12:07 AM Loïc Le Loarer

- correct several errors on the deblocking accross slice boundaries.
- add support for deblocking_filter_idc==2 which means no deblocking accross slice.
- correct MMCO with multiple slices.

5 more streams from H264 conformance suite are now correctly decoded....

f31ecffb 12/30/2004 06:05 PM Roberto Togni

Fix avc1 if there is nore than one nal per mov frame

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

5ad984c9 12/29/2004 04:17 AM Loren Merritt

implement B_DIRECT and B_SKIP macroblock types.
fix reference list sorting for B-frames.
fix mv caching for mixed list B-blocks.

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

650cec0c 12/20/2004 03:03 AM Loren Merritt

vismv for h264 displayed incorrect motion vectors.

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

5175b937 12/18/2004 03:49 AM Loic Le Loarer

add multi slice support
for main profile H.264 streams. I have tested this on all H264
conformance streams and comparing the result with the current CVS
version, there is 8 streams which decode correctly more frames and 2
streams which are now completely correct with my patch....

bf835aee 12/09/2004 10:04 PM Michael Niedermayer

uppercase codec_tag=AVC1 support

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

a9799653 12/09/2004 01:01 AM Michael Niedermayer

out of buffer access fix

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

073c2593 11/27/2004 06:10 PM Burkhard Plaum

Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)

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

7d7f635d 11/24/2004 10:50 PM Loren Merritt

Fixed typo which caused incorrect motion prediction in B-frames. patch by (Loren Merritt <lorenm ta u tod washington tod edu>)

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

5d0e4cb8 10/31/2004 12:42 AM Michael Niedermayer

segfault fix

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

db4d9faf 10/24/2004 02:59 AM Michael Niedermayer

optimzation

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

58897665 10/24/2004 02:08 AM Michael Niedermayer

optimization

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

7b89e963 10/23/2004 09:13 PM Michael Niedermayer

fix CABAC+LOOP missmatch

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

3981c385 10/23/2004 07:12 PM Michael Niedermayer

cbp_table cleanup

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

9af1ec8e 10/23/2004 03:59 PM Michael Niedermayer

cleanup of decode_cabac_residual()

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

d6b0c1bb 10/23/2004 12:07 PM Michael Niedermayer

decode intra cabac mb_type cleanup

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

03393cb7 10/22/2004 07:55 PM Gildas Bazin

small typo patch by (Gildas Bazin <gbazin at altern dot org>)

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

d5af70c3 10/22/2004 06:30 PM Loren Merritt

H.264 CABAC + B-frames patch by (Loren Merritt <lorenm at u dot washington dot edu>)

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

0bc42cad 10/03/2004 10:01 PM Loren Merritt

h.264 ref list reordering bugfix patch by (Loren Merritt <lorenm at u dot washington dot edu>)

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

0fa8158d 09/27/2004 07:47 PM Michael Niedermayer

move h264 idct to its own file and call via function pointer in DspContext
allow h264 idct to be used for lowres=1

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

792bb815 09/25/2004 10:06 AM Michael Niedermayer

assertion when playing AVC/H.264 streams fix by (Loren Merritt <lorenm at u dot washington dot edu>)

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

5cbb0e70 09/25/2004 09:59 AM Michael Niedermayer

H.264 max reference pictures fix by (Loren Merritt <lorenm at u dot washington dot edu>)

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

4770b1b4 09/13/2004 09:20 PM Roberto Togni

AVC (H264 in mp4 files, fourcc avc1) support

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

d89dc06a 09/02/2004 10:49 AM Loren Merritt

h264 deblocking crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)

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

b3067ac1 08/16/2004 10:51 PM Michael Niedermayer

cleanup

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

ec587a50 08/16/2004 10:48 PM Måns Rullgård

Get H.264 frame rate from SPS/VUI patch by (Måns Rullgård <mru at kth dot se>)

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

7440fe83 08/03/2004 01:50 AM Michael Niedermayer

segfault fix

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

bba83349 07/08/2004 12:53 AM Michael Niedermayer

overread fix

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

68b3ba0d 06/30/2004 10:39 PM Michael Niedermayer

1000l

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

d967e3b8 06/26/2004 10:09 AM Alex Beregszaszi

some debug

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

53db1cae 05/21/2004 02:37 PM Michael Niedermayer

data_size = 0 cleanup

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

e4cb187d 04/29/2004 02:21 PM Michael Niedermayer

remove duplicated find_frame_end() code
move codec specific code from parser.c -> .c as far as its easily possible Originally committed as revision 3087 to svn://svn.ffmpeg.org/ffmpeg/trunk

c8470cc1 04/23/2004 07:44 PM Michael Niedermayer

h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)

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

693399ba 04/23/2004 07:36 PM Laurent Aimar

h264 hurry up fix and a tiny cabac clean patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)

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

9e528114 04/11/2004 04:28 PM Laurent Aimar

progressive P frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)

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

042e3bfe 03/26/2004 08:28 PM Michael Niedermayer

fix decoding of qp<6

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

e5017ab8 03/26/2004 07:35 PM Laurent Aimar

h264 - progressive I frame CABAC support patch by (Laurent Aimar <fenrir at via dot ecp dot fr>)

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

53c05b1e 03/20/2004 04:40 PM Michael Niedermayer

do loop filter immediatly after each macroblock is decoded instead of after a frame is decoded

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

3ebc7e04 03/20/2004 12:18 AM Michael Niedermayer

h264 loop filter optimizations

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

980a82b7 03/19/2004 09:21 PM Michael Niedermayer

h264 loop filter for progressive I&P frames by (Laurent Aimar <fenrir at via dot ecp dot fr>)

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

3edcacde 03/16/2004 04:11 PM Michael Niedermayer

init cleanup

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

fe455f33 02/06/2004 03:27 PM Alex Beregszaszi

get_bit_count -> put_bits_count

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

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

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

9a41c2c7 12/18/2003 09:35 PM Michael Niedermayer

svq3 fix

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