Lines Matching refs:mb_type
202 * modify mb_type & qscale so that encoding is acually possible in mpeg4
232 if(qscale_table[mb_xy] != qscale_table[s->mb_index2xy[i-1]] && (s->mb_type[mb_xy]&CANDIDATE_MB_TYPE_DIRECT)){
233 s->mb_type[mb_xy]|= CANDIDATE_MB_TYPE_BIDIR;
429 int motion_x, int motion_y, int mb_type)
445 if ((motion_x | motion_y | s->dquant | mb_type) == 0)
446 zero_score -= 4; //2*MV + mb_type + cbp bit
486 int mb_type= mb_type_table[s->mv_dir];
499 assert(mb_type>=0);
515 cbp= get_b_cbp(s, block, motion_x, motion_y, mb_type);
517 if ((cbp | motion_x | motion_y | mb_type) ==0) {
533 put_bits(&s->pb, mb_type+1, 1); // this table is so simple that we don't need it :)
536 if(cbp && mb_type){
547 if(mb_type) // not direct mode
555 if(mb_type == 0){
561 assert(mb_type > 0 && mb_type < 4);