21 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: encoder.c,v 1.116 2004-12-10 05:37:11 syskin Exp $ |
* $Id: encoder.c,v 1.117 2005-03-27 03:59:42 suxen_drol Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
146 |
|
|
147 |
/* global flags */ |
/* global flags */ |
148 |
pEnc->mbParam.global_flags = create->global; |
pEnc->mbParam.global_flags = create->global; |
149 |
|
if ((pEnc->mbParam.global_flags & XVID_GLOBAL_PACKED)) |
150 |
|
pEnc->mbParam.global_flags |= XVID_GLOBAL_DIVX5_USERDATA; |
151 |
|
|
152 |
/* width, height */ |
/* width, height */ |
153 |
pEnc->mbParam.width = create->width; |
pEnc->mbParam.width = create->width; |
1258 |
SWAP(FRAMEINFO*, pEnc->current, pEnc->bframes[pEnc->bframenum_tail]); |
SWAP(FRAMEINFO*, pEnc->current, pEnc->bframes[pEnc->bframenum_tail]); |
1259 |
|
|
1260 |
if ((pEnc->current->vop_flags & XVID_VOP_DEBUG)) { |
if ((pEnc->current->vop_flags & XVID_VOP_DEBUG)) { |
1261 |
image_printf(&pEnc->current->image, pEnc->mbParam.edged_width, pEnc->mbParam.height, 5, 100, "DX50 BVOP->PVOP"); |
image_printf(&pEnc->current->image, pEnc->mbParam.edged_width, pEnc->mbParam.height, 5, 100, "CLOSED GOP BVOP->PVOP"); |
1262 |
} |
} |
1263 |
|
|
1264 |
/* convert B-VOP quant to P-VOP */ |
/* convert B-VOP quant to P-VOP */ |