Statistics
| Branch: | Revision:

ffmpeg / libavcodec / h264.c @ 71160c55

History | View | Annotate | Download (296 KB)

# Date Author Comment
9944fb97 12/18/2005 01:29 PM Jindřich Makovička

new qscale type to distinguish H264

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

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

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

4733abcb 12/12/2005 01:56 AM Måns Rullgård

use PRIxN, %zd, %td formats where needed

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

ab470fa7 12/11/2005 02:16 AM Loren Merritt

recognize some more nal types

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

3165e258 11/10/2005 04:40 AM Loren Merritt

fix a crash on seeking to an invalid frame

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

af8aa846 11/09/2005 11:29 AM Michael Niedermayer

check MPV_frame_start() return value

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

1fd97d8c 11/03/2005 11:26 PM Loren Merritt

tidier cabac_intra4x4_pred_mode

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

c7ea4f19 10/28/2005 06:18 PM Måns Rullgård

no mixing of code and declarations

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

0f72508c 10/28/2005 06:37 AM Loren Merritt

25% faster deblocking, 4-6% overall.

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

cd19c677 10/27/2005 09:03 PM Loren Merritt

fix a crash on dropped frames

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

56edbd81 10/26/2005 03:58 AM Loren Merritt

10l: cqm weren't initialized in svq3.

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

239ea04c 10/25/2005 01:17 AM Loren Merritt

decode custom quant matrices.
based on a patch by anonymous, with optimizations by me.

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

d90cbe5f 09/27/2005 05:12 AM Loren Merritt

6% faster decode_cabac_residual

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

ca3b0d27 09/27/2005 04:46 AM diane_cartman@gmx.de

13% faster decode_residual (cavlc).
patch by diane_cartman at gmx dot de.

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

dc9f5260 09/21/2005 08:14 AM Gábor Kovács

Just noticed there is a memory leak in h264.c with the usage of rbsp_buffer.
Here is a patch which frees the rbsp_buffer in decode_end().
patch by (Gábor Kovács | picard / demoscene \ hu)

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

357a2843 09/17/2005 08:15 AM Reimar Döffinger

check return value of decode_cabac_mb_dqp, it is INT_MIN on error.
fixes crash with http://stud4.tuwien.ac.at/~e0326863/ats/bbc-sample_small.mpg
and MPlayer's broken packetizer (but will not decode right of course).

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

96b6ace2 09/10/2005 01:13 AM Michael Niedermayer

dont be so picky with .mp4 ... fixes Mr&MrsSmith.mp4

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

fbd312fd 09/05/2005 05:07 PM Loren Merritt

fix emulated edge motion compensation when resolution%16!=0

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

95ae72b7 08/26/2005 07:05 PM Michael Niedermayer

Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)

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

ba17363f 08/25/2005 12:01 AM Michael Niedermayer

prevent assert failures and infinite loops with broken streams

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

bf4e3bd2 08/14/2005 03:42 PM Måns Rullgård

kill a bunch of compiler warnings

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

cdd10689 08/01/2005 02:47 PM Michael Niedermayer

workaround 'colocated mv if colocated block is L1 predicted' bug in x264

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

8583bef8 07/27/2005 12:15 AM Michael Niedermayer

fixing colocated mv if colocated block is L1 predicted for the temporal direct case
untested (none of the conformance streams laying around on my disk seems affected by this change)

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

4866bd2b 07/26/2005 11:40 PM Michael Niedermayer

fixing colocated mv if colocated block is L1 predicted
fixes "H.264 decoding bug in either lavc/JM"

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

cad4368a 07/22/2005 09:01 AM Reimar Döffinger

Add missing +1 in bounds check.

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

e0111b32 07/14/2005 09:57 PM Michael Niedermayer

more fine grained skip_frame

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

8c3eba7c 07/14/2005 09:39 PM Michael Niedermayer

skip_idct
skip_frame
skip_loop_filter

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

19d9ac81 07/02/2005 07:39 PM Alex Beregszaszi

parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed

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

3f46995c 06/28/2005 08:13 AM Michael Niedermayer

support extracting sps/pps from bitstream and putting it in extradata

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

e679cd1a 06/28/2005 06:45 AM Michael Niedermayer

fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0

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

6b53b87e 06/27/2005 11:13 PM Michael Niedermayer

check mb_y

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

3d15acf2 06/27/2005 09:37 AM Michael Niedermayer

keep decoding nal units after an error

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

806bb93f 06/19/2005 11:33 PM Michael Niedermayer

make decoder a little bit more tolerant to missing NAL units

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

36940eca 06/17/2005 08:24 AM Loren Merritt

H.264 lossless mode

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

7dc1bea3 06/09/2005 08:01 PM Ronald S. Bultje

non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)

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

8d204aa4 06/05/2005 03:51 PM Michael Niedermayer

10l (dont read variables before they have been set)

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

fb3ca6ba 06/04/2005 03:49 PM Måns Rullgård

remove mixed code/declarations

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

43efd19a 06/02/2005 09:15 PM Loren Merritt

decode H.264 with 8x8 transform.
deblocking is still incorrect with 8x8+cavlc

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

ca159196 06/01/2005 12:03 PM Måns Rullgård

fix segfault if flush is called before the first frame
(I think that's it, and this fixes it)

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

e4b36d44 06/01/2005 08:43 AM Michael Niedermayer

avoid one transpose (730->680 dezicycles on duron)

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

ba4ffc2b 05/19/2005 07:11 PM Loren Merritt

memory leak

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

29860cc8 05/19/2005 04:48 AM Loren Merritt

fix crash on negative POC

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

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