[Mp4-tech] Rate control model updating possible bugs?

Evan Tan Evan.Tan nicta.com.au
Sat May 19 15:28:59 EDT 2007


Dear Experts,
In rc_quadratic.c - updateRCModel(), the update history loop:
for (i = (RC_MODEL_HISTORY-2); i > 0; i--)
{// update the history
...
}
shouldn't it be:
for (i = (RC_MODEL_HISTORY-1); i > 0; i--) ?
and also in the updateRCModel():
for (i = 0; i < (RC_MODEL_HISTORY-1); i++)
{
  m_rgRejected[i] = FALSE;
}
shouldn't it be:
for (i = 0; i < RC_MODEL_HISTORY; i++) ?
the same applies to updateMADModel()
Thanks,
Evan


More information about the Mp4-tech mailing list