Lines Matching refs:mb_type
732 int i, j, k, cbp, val, mb_type, motion_type;
742 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] =
745 int mb_type;
748 mb_type = s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride - 1];
751 mb_type = s->current_picture.mb_type[s->mb_width + (s->mb_y - 1) * s->mb_stride - 1];
752 if (IS_INTRA(mb_type)) {
756 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] =
757 mb_type | MB_TYPE_SKIP;
776 mb_type = MB_TYPE_QUANT | MB_TYPE_INTRA;
778 mb_type = MB_TYPE_INTRA;
782 mb_type = get_vlc2(&s->gb, ff_mb_ptype_vlc.table, MB_PTYPE_VLC_BITS, 1);
783 if (mb_type < 0) {
788 mb_type = ptype2mb_type[mb_type];
791 mb_type = get_vlc2(&s->gb, ff_mb_btype_vlc.table, MB_BTYPE_VLC_BITS, 1);
792 if (mb_type < 0) {
797 mb_type = btype2mb_type[mb_type];
800 av_dlog(s->avctx, "mb_type=%x\n", mb_type);
802 if (IS_INTRA(mb_type)) {
814 if (IS_QUANT(mb_type))
856 if (mb_type & MB_TYPE_ZERO_MV) {
857 av_assert2(mb_type & MB_TYPE_CBP);
867 mb_type |= MB_TYPE_INTERLACED;
871 if (IS_QUANT(mb_type))
881 av_assert2(mb_type & MB_TYPE_L0L1);
888 if (s->picture_structure == PICT_FRAME && HAS_CBP(mb_type))
892 if (IS_QUANT(mb_type))
896 s->mv_dir = (mb_type >> 13) & 3;
901 mb_type |= MB_TYPE_16x16;
904 if (USES_LIST(mb_type, i)) {
924 mb_type |= MB_TYPE_16x8 | MB_TYPE_INTERLACED;
927 if (USES_LIST(mb_type, i)) {
945 mb_type |= MB_TYPE_16x8 | MB_TYPE_INTERLACED;
947 if (USES_LIST(mb_type, i)) {
965 mb_type |= MB_TYPE_16x16 | MB_TYPE_INTERLACED;
967 if (USES_LIST(mb_type, i)) {
987 if (USES_LIST(mb_type, i)) {
1010 mb_type |= MB_TYPE_16x16 | MB_TYPE_INTERLACED;
1022 mb_type |= MB_TYPE_16x16;
1042 if (HAS_CBP(mb_type)) {
1110 s->current_picture.mb_type[s->mb_x + s->mb_y * s->mb_stride] = mb_type;