717 |
DPRINTF(XVID_DEBUG_MB,"codep: field_dct: %i\n", pMB->field_dct); |
DPRINTF(XVID_DEBUG_MB,"codep: field_dct: %i\n", pMB->field_dct); |
718 |
} |
} |
719 |
|
|
720 |
/* if inter block, write field ME flag */ |
/* if inter block, write field ME flag ** not implemented yet */ |
721 |
if (pMB->mode == MODE_INTER || pMB->mode == MODE_INTER_Q) { |
if ((pMB->mode == MODE_INTER || pMB->mode == MODE_INTER_Q) && (pMB->mcsel == 0)) { |
722 |
BitstreamPutBit(bs, pMB->field_pred); |
BitstreamPutBit(bs, 0 /*pMB->field_pred*/); |
723 |
DPRINTF(XVID_DEBUG_MB,"codep: field_pred: %i\n", pMB->field_pred); |
DPRINTF(XVID_DEBUG_MB,"codep: field_pred: %i\n", pMB->field_pred); |
724 |
|
|
725 |
/* write field prediction references */ |
/* write field prediction references */ |
726 |
if (pMB->field_pred) { |
/* if (pMB->field_pred) { |
727 |
BitstreamPutBit(bs, pMB->field_for_top); |
BitstreamPutBit(bs, pMB->field_for_top); |
728 |
BitstreamPutBit(bs, pMB->field_for_bot); |
BitstreamPutBit(bs, pMB->field_for_bot); |
729 |
} |
} */ |
730 |
} |
} |
731 |
} |
} |
732 |
/* code motion vector(s) if motion is local */ |
/* code motion vector(s) if motion is local */ |