643 |
frame->vop_flags |= XVID_VOP_CHROMAOPT; |
frame->vop_flags |= XVID_VOP_CHROMAOPT; |
644 |
} |
} |
645 |
|
|
646 |
|
if (config->zones[i].cartoon_mode) { |
647 |
|
frame->vop_flags |= XVID_VOP_CARTOON; |
648 |
|
frame->motion |= XVID_ME_DETECT_STATIC_MOTION; |
649 |
|
} |
650 |
|
|
651 |
if ((profiles[config->profile].flags & PROFILE_BVOP) && config->use_bvop) { |
if ((profiles[config->profile].flags & PROFILE_BVOP) && config->use_bvop) { |
652 |
frame->bframe_threshold = config->zones[i].bvop_threshold; |
frame->bframe_threshold = config->zones[i].bvop_threshold; |
653 |
} |
} |
741 |
if (codec->config.chromame) |
if (codec->config.chromame) |
742 |
frame.motion |= XVID_ME_CHROMA_PVOP + XVID_ME_CHROMA_BVOP; |
frame.motion |= XVID_ME_CHROMA_PVOP + XVID_ME_CHROMA_BVOP; |
743 |
|
|
|
if (codec->config.cartoon_mode) { |
|
|
frame.vop_flags |= XVID_VOP_CARTOON; |
|
|
frame.motion |= XVID_ME_DETECT_STATIC_MOTION; |
|
|
} |
|
|
|
|
744 |
if (codec->config.turbo) |
if (codec->config.turbo) |
745 |
frame.motion |= XVID_ME_FASTREFINE16 | XVID_ME_FASTREFINE8 | |
frame.motion |= XVID_ME_FASTREFINE16 | XVID_ME_FASTREFINE8 | |
746 |
XVID_ME_SKIP_DELTASEARCH | XVID_ME_FAST_MODEINTERPOLATE | |
XVID_ME_SKIP_DELTASEARCH | XVID_ME_FAST_MODEINTERPOLATE | |