570 |
if (codec->config.packed) |
if (codec->config.packed) |
571 |
create.global |= XVID_GLOBAL_PACKED; |
create.global |= XVID_GLOBAL_PACKED; |
572 |
|
|
|
if (codec->config.closed_gov) |
|
573 |
create.global |= XVID_GLOBAL_CLOSED_GOP; |
create.global |= XVID_GLOBAL_CLOSED_GOP; |
574 |
|
|
575 |
} |
} |
684 |
} |
} |
685 |
} |
} |
686 |
|
|
|
if ((profiles[codec->config.profile].flags & PROFILE_REDUCED) && |
|
|
codec->config.reduced_resolution) { |
|
|
frame.vol_flags |= XVID_VOL_REDUCED_ENABLE; |
|
|
frame.vop_flags |= XVID_VOP_REDUCED; /* XXX: need auto decion mode */ |
|
|
} |
|
|
|
|
687 |
if ((profiles[codec->config.profile].flags & PROFILE_QPEL) && codec->config.qpel) { |
if ((profiles[codec->config.profile].flags & PROFILE_QPEL) && codec->config.qpel) { |
688 |
frame.vol_flags |= XVID_VOL_QUARTERPEL; |
frame.vol_flags |= XVID_VOL_QUARTERPEL; |
689 |
frame.motion |= XVID_ME_QUARTERPELREFINE16 | XVID_ME_QUARTERPELREFINE8; |
frame.motion |= XVID_ME_QUARTERPELREFINE16 | XVID_ME_QUARTERPELREFINE8; |