// rounding is different than vpx_rac_get, is vpx_rac_get wrong? static av_always_inline int vp89_rac_get(VPXRangeCoder *c)
{ return vpx_rac_get_prob(c, 128);
}
av_unused staticint vp89_rac_get_uint(VPXRangeCoder *c, int bits)
{ int value = 0;
while (bits--) {
value = (value << 1) | vp89_rac_get(c);
}
return value;
}
// how probabilities are associated with decisions is different I think // well, the new scheme fits in the old but this way has one fewer branches per decision static av_always_inline int vp89_rac_get_tree(VPXRangeCoder *c, const int8_t (*tree)[2], const uint8_t *probs)
{ int i = 0;
do {
i = tree[i][vpx_rac_get_prob(c, probs[i])];
} while (i > 0);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.