39 |
* MinChen <chenm001@163.com> |
* MinChen <chenm001@163.com> |
40 |
* 14.04.2002 added FrameCodeB() |
* 14.04.2002 added FrameCodeB() |
41 |
* |
* |
42 |
* $Id: encoder.c,v 1.62 2002-07-21 23:34:07 chl Exp $ |
* $Id: encoder.c,v 1.63 2002-07-22 18:03:47 chl Exp $ |
43 |
* |
* |
44 |
****************************************************************************/ |
****************************************************************************/ |
45 |
|
|
1016 |
} else { |
} else { |
1017 |
pEnc->current->quant = pFrame->bquant; |
pEnc->current->quant = pFrame->bquant; |
1018 |
} |
} |
1019 |
/* if (pEnc->current->quant < 1) |
if (pEnc->current->quant < 1) |
1020 |
pEnc->current->quant = 1; |
pEnc->current->quant = 1; |
1021 |
|
|
1022 |
if (pEnc->current->quant > 31) |
if (pEnc->current->quant > 31) |
1023 |
pEnc->current->quant = 31; |
pEnc->current->quant = 31; |
1024 |
|
|
1025 |
*/ |
|
1026 |
DPRINTF(DPRINTF_DEBUG,"*** BFRAME (store) bf: head=%i tail=%i queue: head=%i tail=%i size=%i quant=%i\n", |
DPRINTF(DPRINTF_DEBUG,"*** BFRAME (store) bf: head=%i tail=%i queue: head=%i tail=%i size=%i quant=%i\n", |
1027 |
pEnc->bframenum_head, pEnc->bframenum_tail, |
pEnc->bframenum_head, pEnc->bframenum_tail, |
1028 |
pEnc->queue_head, pEnc->queue_tail, pEnc->queue_size,pEnc->current->quant); |
pEnc->queue_head, pEnc->queue_tail, pEnc->queue_size,pEnc->current->quant); |