Mercurial > libavcodec.hg
comparison mpegvideo_common.h @ 6481:493dc59d469a libavcodec
add FF_ prefix to all (frame)_TYPE usage
author | aurel |
---|---|
date | Sun, 09 Mar 2008 23:31:02 +0000 |
parents | 1d83e9c34641 |
children | dfa423a2fc78 |
comparison
equal
deleted
inserted
replaced
6480:6f01a499e785 | 6481:493dc59d469a |
---|---|
606 mb_x = s->mb_x; | 606 mb_x = s->mb_x; |
607 mb_y = s->mb_y; | 607 mb_y = s->mb_y; |
608 | 608 |
609 prefetch_motion(s, ref_picture, dir); | 609 prefetch_motion(s, ref_picture, dir); |
610 | 610 |
611 if(s->obmc && s->pict_type != B_TYPE){ | 611 if(s->obmc && s->pict_type != FF_B_TYPE){ |
612 int16_t mv_cache[4][4][2]; | 612 int16_t mv_cache[4][4][2]; |
613 const int xy= s->mb_x + s->mb_y*s->mb_stride; | 613 const int xy= s->mb_x + s->mb_y*s->mb_stride; |
614 const int mot_stride= s->b8_stride; | 614 const int mot_stride= s->b8_stride; |
615 const int mot_xy= mb_x*2 + mb_y*2*mot_stride; | 615 const int mot_xy= mb_x*2 + mb_y*2*mot_stride; |
616 | 616 |
768 1, 1, s->field_select[dir][1], | 768 1, 1, s->field_select[dir][1], |
769 ref_picture, pix_op, | 769 ref_picture, pix_op, |
770 s->mv[dir][1][0], s->mv[dir][1][1], 8); | 770 s->mv[dir][1][0], s->mv[dir][1][1], 8); |
771 } | 771 } |
772 } else { | 772 } else { |
773 if(s->picture_structure != s->field_select[dir][0] + 1 && s->pict_type != B_TYPE && !s->first_field){ | 773 if(s->picture_structure != s->field_select[dir][0] + 1 && s->pict_type != FF_B_TYPE && !s->first_field){ |
774 ref_picture= s->current_picture_ptr->data; | 774 ref_picture= s->current_picture_ptr->data; |
775 } | 775 } |
776 | 776 |
777 mpeg_motion(s, dest_y, dest_cb, dest_cr, | 777 mpeg_motion(s, dest_y, dest_cb, dest_cr, |
778 0, 0, s->field_select[dir][0], | 778 0, 0, s->field_select[dir][0], |
782 break; | 782 break; |
783 case MV_TYPE_16X8: | 783 case MV_TYPE_16X8: |
784 for(i=0; i<2; i++){ | 784 for(i=0; i<2; i++){ |
785 uint8_t ** ref2picture; | 785 uint8_t ** ref2picture; |
786 | 786 |
787 if(s->picture_structure == s->field_select[dir][i] + 1 || s->pict_type == B_TYPE || s->first_field){ | 787 if(s->picture_structure == s->field_select[dir][i] + 1 || s->pict_type == FF_B_TYPE || s->first_field){ |
788 ref2picture= ref_picture; | 788 ref2picture= ref_picture; |
789 }else{ | 789 }else{ |
790 ref2picture= s->current_picture_ptr->data; | 790 ref2picture= s->current_picture_ptr->data; |
791 } | 791 } |
792 | 792 |