Lines Matching refs:mb_type
211 * modify mb_type & qscale so that encoding is actually possible in mpeg4
246 (s->mb_type[mb_xy] & CANDIDATE_MB_TYPE_DIRECT)) {
247 s->mb_type[mb_xy] |= CANDIDATE_MB_TYPE_BIDIR;
460 int motion_x, int motion_y, int mb_type)
477 if ((motion_x | motion_y | s->dquant | mb_type) == 0)
478 zero_score -= 4; // 2 * MV + mb_type + cbp bit
518 int mb_type = mb_type_table[s->mv_dir];
530 av_assert2(mb_type >= 0);
546 cbp = get_b_cbp(s, block, motion_x, motion_y, mb_type);
548 if ((cbp | motion_x | motion_y | mb_type) == 0) {
564 put_bits(&s->pb, mb_type + 1, 1); // this table is so simple that we don't need it :)
568 if (cbp && mb_type) {
579 if (mb_type) // not direct mode
586 if (!mb_type) {
592 av_assert2(mb_type > 0 && mb_type < 4);