Statistics
| Branch: | Revision:

ffmpeg / libavcodec / h264_direct.c @ cbfcde9f

History | View | Annotate | Download (24.6 KB)

# Date Author Comment
cbfcde9f 02/15/2010 01:24 AM Michael Niedermayer

10l use pack16to32(), should fix big endian h264 failures.

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

6e7c397b 02/14/2010 01:14 AM Michael Niedermayer

Cosmetics, vertical align.

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

5ca43c25 02/13/2010 03:57 PM Michael Niedermayer

Move setting MB_TYPE_L0L1 for direct MBs up, this is simpler.

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

5134ad53 02/13/2010 01:28 PM Michael Niedermayer

Simplify if()

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

752cc0dc 02/13/2010 01:14 PM Michael Niedermayer

Init sub_mb_type cleanly.

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

923bcb40 02/13/2010 01:04 PM Michael Niedermayer

100l Forgoten hunk.unbreak compile before someone notices.

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

af0d6581 02/13/2010 01:02 PM Michael Niedermayer

Restructure spatial direct MV generation so that the zero predictior shortcut
is closer at the top.
50-130 cpu cycles faster depending on which kind of direct MBs are meassured.

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

edb4df43 02/13/2010 03:46 AM Michael Niedermayer

Split spatial and temporal direct MV generation.
A little faster and needed for future optimizations.
This sadly leads to some code duplication (which i hope i can factor out
again after the optimizations on the direcr mv code are done)

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

812bfd7b 02/13/2010 02:47 AM Michael Niedermayer

Special case for spatial direct MV predictor being 0.
a little less than 200 cpu cycles faster with the cathedral sample.

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

828cfff6 02/13/2010 02:20 AM Michael Niedermayer

Pack MVs together from the begin for spatial direct, this simplifies the code
and is a bit faster (5-10 cpu cycles depending on what is meassured).

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

daaf6e3e 02/09/2010 12:19 AM Michael Niedermayer

Reorder and factorize mb_type ifs, 1 cpu cycle faster and simpler.

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

1be49ce5 02/08/2010 05:25 PM Michael Niedermayer

Set partitioning to 16x16 for spatial direct MBs with mixed interlacing.
11cylcles slower MV generation
98cycles faster MC

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

3babc711 02/08/2010 04:23 PM Michael Niedermayer

Detect spatial direct MBs partitioned smaller than 16x16 that can be partitioned
as 16x16 (except ones changing interlacing relative to the colocated MB).
20 cycles slower during MV generation
175 cycles faster during MC

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

8b9eb2df 02/08/2010 01:05 PM Michael Niedermayer

Detect equal 4x4 blocks in spatial direct MBs.
19 cycles slower MV generation
575 cycles faster MC

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

542d4a75 02/08/2010 03:22 AM Michael Niedermayer

Branchless calculation of ref_offset.
7 cpu cycles faster.

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

fb70c63f 02/08/2010 02:10 AM Michael Niedermayer

Remove incorrect fixme, i see no case that is missing.

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

35c8b9c0 02/08/2010 02:09 AM Michael Niedermayer

Replace call to pred_motion() in direct spatial mv pred by code
and simplify cases that cannot happen away.
8 cpu cycles faster

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

055a6aa7 02/08/2010 12:08 AM Michael Niedermayer

Set x264_build so that checks are simpler.

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

3b9e61e4 02/07/2010 10:58 PM Michael Niedermayer

Zero a/b only in the branch where they need to be zeroed.

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

f28a2656 02/07/2010 09:53 PM Michael Niedermayer

Merge mv&ref related code for spatial direct MV code.
a bit more than 10 cpu cycles faster.

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

0a8dca87 02/07/2010 09:09 PM Michael Niedermayer

Precalculate a few variables for direct mv prediction for interlaced MBs.

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

464baa66 02/07/2010 05:40 PM Michael Niedermayer

Set direct MB partitioning for 16x8 and 8x16 colocated MBs to the respective true partitioning.

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

e8d964fa 02/07/2010 05:15 PM Michael Niedermayer

Factorize setting sub_mb_type out.

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

668fd142 02/07/2010 03:13 PM Michael Niedermayer

Remove FIXMEs for cases that are disallowed by the spec.

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

33a6c0c9 02/07/2010 02:55 PM Michael Niedermayer

Skip the fill_colmap() case thats for MBAFF if we dont have an MBAFF frame.

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

488dba70 02/07/2010 01:18 AM Michael Niedermayer

Fix colocated map.

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

d88ea354 02/07/2010 01:17 AM Michael Niedermayer

Fix reference selection for colocated MBs from frames to fields.

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

5aa1d759 02/07/2010 01:14 AM Michael Niedermayer

Add assert(sps.direct_8x8_inference_flag) to FIXME comment.

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

50f8e985 02/07/2010 01:13 AM Michael Niedermayer

ref_offset must be added after checking references validity.

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

8dcbf4c7 02/06/2010 02:55 AM Michael Niedermayer

Long term references behave different from short term in spatial direct MV calculation.
Fixes FRExt_MMCO4_Sony_B / issue1251

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

2b3649f6 01/18/2010 11:41 PM Michael Niedermayer

Fix compilation with -O0.

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

188d3c51 01/12/2010 09:36 PM Michael Niedermayer

Split motion vector prediction off h264.c/h.

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

943f69a6 01/12/2010 02:32 PM Michael Niedermayer

Split direct mode (macro)block decoding off h264.c.
No speedloss meassured (its slightly faster here but that may be random fluctuations)

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