Lines Matching refs:mb_type
858 int mb_type= s->current_picture.f.mb_type[mb_xy];
867 if(p_type && USES_LIST(mb_type, 1)){
871 assert(IS_INTRA(mb_type) || USES_LIST(mb_type,0) || USES_LIST(mb_type,1));
875 clip_input_mv(s, p->f.motion_val[0][xy], !!IS_INTERLACED(mb_type));
876 clip_input_mv(s, p->f.motion_val[1][xy], !!IS_INTERLACED(mb_type));
879 if(IS_INTERLACED(mb_type)){
881 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_INTRA;
890 if(USES_LIST(mb_type, 0)){
902 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_INTER_I;
908 s->mb_type[mb_xy]= CANDIDATE_MB_TYPE_FORWARD_I;
918 if(USES_LIST(mb_type, 1)){
929 if(USES_LIST(mb_type, 0)){
930 s->mb_type[mb_xy]= CANDIDATE_MB_TYPE_BIDIR_I;
932 s->mb_type[mb_xy]= CANDIDATE_MB_TYPE_BACKWARD_I;
945 }else if(IS_8X8(mb_type)){
959 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_INTER4V;
961 if(USES_LIST(mb_type, 0)){
964 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_INTER;
965 }else if(USES_LIST(mb_type, 1)){
968 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_BIDIR;
971 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_FORWARD;
976 }else if(USES_LIST(mb_type, 1)){
978 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_BACKWARD;
984 s->mb_type[mb_xy]=CANDIDATE_MB_TYPE_INTRA;
999 int mb_type=0;
1037 mb_type= s->mb_type[mb_x + mb_y*s->mb_stride];
1098 if(mb_type){
1103 if(mb_type == CANDIDATE_MB_TYPE_INTER){
1110 if(mb_type == CANDIDATE_MB_TYPE_INTER4V){
1115 if(mb_type == CANDIDATE_MB_TYPE_INTER_I){
1124 mb_type|= CANDIDATE_MB_TYPE_INTRA;
1127 mb_type|= CANDIDATE_MB_TYPE_INTER;
1131 mb_type |= CANDIDATE_MB_TYPE_SKIPPED; //FIXME check difference
1139 mb_type|=CANDIDATE_MB_TYPE_INTER4V;
1147 mb_type |= CANDIDATE_MB_TYPE_INTER_I;
1151 mb_type= CANDIDATE_MB_TYPE_INTER;
1161 mb_type= CANDIDATE_MB_TYPE_INTER4V;
1169 mb_type = CANDIDATE_MB_TYPE_INTER_I;
1175 set_p_mv_tables(s, mx, my, mb_type!=CANDIDATE_MB_TYPE_INTER4V);
1196 mb_type= CANDIDATE_MB_TYPE_INTRA;
1197 s->current_picture.f.mb_type[mb_y*s->mb_stride + mb_x] = CANDIDATE_MB_TYPE_INTRA; //FIXME cleanup
1199 s->current_picture.f.mb_type[mb_y*s->mb_stride + mb_x] = 0;
1208 s->mb_type[mb_y*s->mb_stride + mb_x]= mb_type;
1333 // s->mb_type[mb_y*s->mb_width + mb_x]= mb_type;
1570 if (IS_8X8(s->next_picture.f.mb_type[mot_xy])) {
1676 s->mb_type[mb_y*s->mb_stride + mb_x]= CANDIDATE_MB_TYPE_DIRECT0;
1702 type= s->mb_type[mb_y*s->mb_stride + mb_x];
1807 s->mb_type[mb_y*s->mb_stride + mb_x]= type;
1831 if(s->mb_type[xy] & type){
1895 if(s->mb_type[i]&CANDIDATE_MB_TYPE_INTER4V){
1904 s->mb_type[i] &= ~CANDIDATE_MB_TYPE_INTER4V;
1905 s->mb_type[i] |= CANDIDATE_MB_TYPE_INTRA;
1906 s->current_picture.f.mb_type[i] = CANDIDATE_MB_TYPE_INTRA;
1940 if (s->mb_type[xy] & type){ // RAL: "type" test added...
1951 s->mb_type[xy] &= ~type;
1952 s->mb_type[xy] |= CANDIDATE_MB_TYPE_INTRA;