1690 |
pEnc->current->coding_type = P_VOP; |
pEnc->current->coding_type = P_VOP; |
1691 |
|
|
1692 |
start_timer(); |
start_timer(); |
1693 |
if (pEnc->current->global_flags & XVID_HINTEDME_SET) { |
if (pEnc->current->global_flags & XVID_HINTEDME_SET) |
1694 |
HintedMESet(pEnc, &bIntra); |
HintedMESet(pEnc, &bIntra); |
1695 |
if (bIntra == 0) { |
else |
|
MotionEstimationHinted(&pEnc->mbParam, pEnc->current, pEnc->reference, |
|
|
&pEnc->vInterH, &pEnc->vInterV, &pEnc->vInterHV); |
|
|
} |
|
|
|
|
|
} else { |
|
1696 |
|
|
1697 |
bIntra = |
bIntra = |
1698 |
MotionEstimation(&pEnc->mbParam, pEnc->current, pEnc->reference, |
MotionEstimation(&pEnc->mbParam, pEnc->current, pEnc->reference, |
1699 |
&pEnc->vInterH, &pEnc->vInterV, &pEnc->vInterHV, |
&pEnc->vInterH, &pEnc->vInterV, &pEnc->vInterHV, |
1700 |
iLimit); |
iLimit); |
1701 |
} |
|
1702 |
stop_motion_timer(); |
stop_motion_timer(); |
1703 |
|
|
1704 |
if (bIntra == 1) return FrameCodeI(pEnc, bs, pBits); |
if (bIntra == 1) return FrameCodeI(pEnc, bs, pBits); |