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.122 2005-12-17 12:04:52 syskin Exp $ |
* $Id: encoder.c,v 1.123 2006-01-19 22:25:18 Isibaar Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
1494 |
BitstreamWriteVopHeader(bs, &pEnc->mbParam, pEnc->current, 1, pEnc->current->mbs[0].quant); |
BitstreamWriteVopHeader(bs, &pEnc->mbParam, pEnc->current, 1, pEnc->current->mbs[0].quant); |
1495 |
|
|
1496 |
pEnc->current->sStat.iTextBits = 0; |
pEnc->current->sStat.iTextBits = 0; |
1497 |
|
pEnc->current->sStat.iMVBits = 0; |
1498 |
pEnc->current->sStat.kblks = mb_width * mb_height; |
pEnc->current->sStat.kblks = mb_width * mb_height; |
1499 |
pEnc->current->sStat.mblks = pEnc->current->sStat.ublks = 0; |
pEnc->current->sStat.mblks = pEnc->current->sStat.ublks = 0; |
1500 |
|
|
1604 |
} |
} |
1605 |
|
|
1606 |
current->sStat.iTextBits = current->sStat.iMvSum = current->sStat.iMvCount = |
current->sStat.iTextBits = current->sStat.iMvSum = current->sStat.iMvCount = |
1607 |
current->sStat.kblks = current->sStat.mblks = current->sStat.ublks = 0; |
current->sStat.kblks = current->sStat.mblks = current->sStat.ublks = |
1608 |
|
current->sStat.iMVBits = 0; |
1609 |
|
|
1610 |
current->coding_type = P_VOP; |
current->coding_type = P_VOP; |
1611 |
|
|
1928 |
BitstreamWriteVopHeader(bs, &pEnc->mbParam, frame, 1, frame->quant); |
BitstreamWriteVopHeader(bs, &pEnc->mbParam, frame, 1, frame->quant); |
1929 |
|
|
1930 |
frame->sStat.iTextBits = 0; |
frame->sStat.iTextBits = 0; |
1931 |
|
frame->sStat.iMVBits = 0; |
1932 |
frame->sStat.iMvSum = 0; |
frame->sStat.iMvSum = 0; |
1933 |
frame->sStat.iMvCount = 0; |
frame->sStat.iMvCount = 0; |
1934 |
frame->sStat.kblks = frame->sStat.mblks = frame->sStat.ublks = 0; |
frame->sStat.kblks = frame->sStat.mblks = frame->sStat.ublks = 0; |