Lines Matching refs:mb_type
339 pic->f.mb_type = pic->mb_type_base + 2 * s->mb_stride + 1;
400 pic->f.mb_type = NULL;
780 FF_ALLOCZ_OR_GOTO(s->avctx, s->mb_type, mb_array_size *
940 av_freep(&s->mb_type);
1515 if (s->avctx->hwaccel || !pict || !pict->mb_type)
1555 int mb_type = pict->mb_type[x + y * s->mb_stride];
1557 if (IS_PCM(mb_type))
1559 else if (IS_INTRA(mb_type) && IS_ACPRED(mb_type))
1561 else if (IS_INTRA4x4(mb_type))
1563 else if (IS_INTRA16x16(mb_type))
1565 else if (IS_DIRECT(mb_type) && IS_SKIP(mb_type))
1567 else if (IS_DIRECT(mb_type))
1569 else if (IS_GMC(mb_type) && IS_SKIP(mb_type))
1571 else if (IS_GMC(mb_type))
1573 else if (IS_SKIP(mb_type))
1575 else if (!USES_LIST(mb_type, 1))
1577 else if (!USES_LIST(mb_type, 0))
1580 assert(USES_LIST(mb_type, 0) && USES_LIST(mb_type, 1));
1585 if (IS_8X8(mb_type))
1587 else if (IS_16X8(mb_type))
1589 else if (IS_8X16(mb_type))
1591 else if (IS_INTRA(mb_type) || IS_16X16(mb_type))
1597 if (IS_INTERLACED(mb_type))
1662 if (!USES_LIST(pict->mb_type[mb_index], direction))
1665 if (IS_8X8(pict->mb_type[mb_index])) {
1677 } else if (IS_16X8(pict->mb_type[mb_index])) {
1686 if (IS_INTERLACED(pict->mb_type[mb_index]))
1692 } else if (IS_8X16(pict->mb_type[mb_index])) {
1701 if (IS_INTERLACED(pict->mb_type[mb_index]))
1732 int mb_type = pict->mb_type[mb_index];
1741 if (IS_PCM(mb_type)) {
1743 } else if ((IS_INTRA(mb_type) && IS_ACPRED(mb_type)) ||
1744 IS_INTRA16x16(mb_type)) {
1746 } else if (IS_INTRA4x4(mb_type)) {
1748 } else if (IS_DIRECT(mb_type) && IS_SKIP(mb_type)) {
1750 } else if (IS_DIRECT(mb_type)) {
1752 } else if (IS_GMC(mb_type) && IS_SKIP(mb_type)) {
1754 } else if (IS_GMC(mb_type)) {
1756 } else if (IS_SKIP(mb_type)) {
1758 } else if (!USES_LIST(mb_type, 1)) {
1760 } else if (!USES_LIST(mb_type, 0)) {
1763 assert(USES_LIST(mb_type, 0) && USES_LIST(mb_type, 1));
1777 if (IS_8X8(mb_type) || IS_16X8(mb_type)) {
1783 if (IS_8X8(mb_type) || IS_8X16(mb_type)) {
1788 if (IS_8X8(mb_type) && mv_sample_log2 >= 2) {
1807 if (IS_INTERLACED(mb_type) &&
2364 /* decoding or more than one mb_type (MC was already done otherwise) */