~siretart/x264/trunk

« back to all changes in this revision

Viewing changes to encoder/encoder.c

  • Committer: Loren Merritt
  • Date: 2005-02-22 05:19:02 UTC
  • Revision ID: git-v1:834eac288ff5e8d40a1a751d61a59d77d67c0537
Add: implicit weighted prediction for B-frames.
Slightly optimize x264_mb_mc_01xywh.
Fix an error in B16x8 cost.


git-svn-id: svn://svn.videolan.org/x264/trunk@134 df754926-b1dd-0310-bc7b-ec298dee348c

Show diffs side-by-side

added added

removed removed

Lines of Context:
1083
1083
    /* build ref list 0/1 */
1084
1084
    x264_reference_build_list( h, h->fdec->i_poc );
1085
1085
 
 
1086
    if( i_slice_type == SLICE_TYPE_B )
 
1087
        x264_macroblock_bipred_init( h );
 
1088
 
1086
1089
    /* increase frame num but only once for B frame */
1087
1090
    if( i_slice_type != SLICE_TYPE_B || h->sh.i_type != SLICE_TYPE_B )
1088
1091
    {