34 |
* |
* |
35 |
* 14.04.2002 added FrameCodeB() |
* 14.04.2002 added FrameCodeB() |
36 |
* |
* |
37 |
* $Id: encoder.c,v 1.32 2002-05-01 13:00:01 suxen_drol Exp $ |
* $Id: encoder.c,v 1.33 2002-05-03 08:32:49 Isibaar Exp $ |
38 |
* |
* |
39 |
***************************************************************************/ |
***************************************************************************/ |
40 |
|
|
433 |
SWAP(pEnc->current, pEnc->reference); |
SWAP(pEnc->current, pEnc->reference); |
434 |
|
|
435 |
pEnc->current->quant = (pFrame->quant == 0) ? RateControlGetQ(0) : pFrame->quant; |
pEnc->current->quant = (pFrame->quant == 0) ? RateControlGetQ(0) : pFrame->quant; |
436 |
|
|
437 |
|
if(pEnc->current->quant < 1) |
438 |
|
pEnc->current->quant = 1; |
439 |
|
|
440 |
|
if(pEnc->current->quant > 31) |
441 |
|
pEnc->current->quant = 31; |
442 |
|
|
443 |
pEnc->current->global_flags = pFrame->general; |
pEnc->current->global_flags = pFrame->general; |
444 |
pEnc->current->motion_flags = pFrame->motion; |
pEnc->current->motion_flags = pFrame->motion; |
445 |
pEnc->current->seconds = pEnc->mbParam.m_seconds; |
pEnc->current->seconds = pEnc->mbParam.m_seconds; |