comparison cavs.c @ 5241:74b6423a5a0d libavcodec

setting special motion vectors in intra macroblocks is now in its own inline function
author stefang
date Sat, 07 Jul 2007 06:34:30 +0000
parents 1701ce572fed
children deb5b8213d4e
comparison
equal deleted inserted replaced
5240:1701ce572fed 5241:74b6423a5a0d
643 h->intra_pred_c[pred_mode_uv](h->cv, &h->top_border_v[h->mbx*10], 643 h->intra_pred_c[pred_mode_uv](h->cv, &h->top_border_v[h->mbx*10],
644 h->left_border_v, h->c_stride); 644 h->left_border_v, h->c_stride);
645 645
646 decode_residual_chroma(h); 646 decode_residual_chroma(h);
647 filter_mb(h,I_8X8); 647 filter_mb(h,I_8X8);
648 648 set_mv_intra(h);
649 /* mark motion vectors as intra */
650 h->mv[MV_FWD_X0] = ff_cavs_intra_mv;
651 set_mvs(&h->mv[MV_FWD_X0], BLK_16X16);
652 h->mv[MV_BWD_X0] = ff_cavs_intra_mv;
653 set_mvs(&h->mv[MV_BWD_X0], BLK_16X16);
654 if(h->pic_type != FF_B_TYPE)
655 *h->col_type = I_8X8;
656
657 return 0; 649 return 0;
658 } 650 }
659 651
660 static void decode_mb_p(AVSContext *h, enum mb_t mb_type) { 652 static void decode_mb_p(AVSContext *h, enum mb_t mb_type) {
661 GetBitContext *gb = &h->s.gb; 653 GetBitContext *gb = &h->s.gb;