~siretart/x264/trunk

« back to all changes in this revision

Viewing changes to common/macroblock.h

  • Committer: Loren Merritt
  • Date: 2006-03-05 07:01:58 UTC
  • Revision ID: git-v1:9773268370492490235dee06d46e091f563626d7
--direct auto
selects direct mode per frame. works best in 2pass (enable in both passes).



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

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
/* x264_mb_predict_mv:
230
230
 *      set mvp with predicted mv for all blocks except SKIP and DIRECT
231
231
 *      h->mb. need valid ref/partition/sub of current block to be valid
232
 
 *      and valid mv/ref from other blocks . */
 
232
 *      and valid mv/ref from other blocks. */
233
233
void x264_mb_predict_mv( x264_t *h, int i_list, int idx, int i_width, int mvp[2] );
234
234
/* x264_mb_predict_mv_direct16x16:
235
235
 *      set h->mb.cache.mv and h->mb.cache.ref for B_SKIP or B_DIRECT
236
 
 *      h->mb. need only valid values from other blocks
237
 
 *      return 1 on success, 0 on failure */
238
 
int x264_mb_predict_mv_direct16x16( x264_t *h );
 
236
 *      h->mb. need only valid values from other blocks.
 
237
 *      return 1 on success, 0 on failure.
 
238
 *      if b_changed != NULL, set it to whether refs or mvs differ from
 
239
 *      before this functioncall. */
 
240
int x264_mb_predict_mv_direct16x16( x264_t *h, int *b_changed );
239
241
/* x264_mb_load_mv_direct8x8:
240
242
 *      set h->mb.cache.mv and h->mb.cache.ref for B_DIRECT
241
243
 *      must be called only after x264_mb_predict_mv_direct16x16 */