/*The entropy decoder context.*/ struct od_ec_dec { /*The start of the current input buffer.*/ constunsignedchar *buf; /*An offset used to keep track of tell after reaching the end of the stream. Thisisconstantthroughoutmostofthedecodingprocess,butbecomes importantoncewehittheendofthebufferandstopincrementingbptr
(and instead pretend cnt has lots of bits).*/
int32_t tell_offs; /*The end of the current input buffer.*/ constunsignedchar *end; /*The read pointer for the entropy-coded bits.*/ constunsignedchar *bptr; /*The difference between the high end of the current range, (low + rng), and thecodedvalue,minus1. ThisstoresuptoOD_EC_WINDOW_SIZEbitsofthatdifference,butthe decoderonlyusesthetop16bitsofthewindowtodecodethenextsymbol. Asweshiftupduringrenormalization,ifwedon'thaveenoughbitsleftin thewindowtofillthetop16,we'llreadinmorebitsofthecoded
value.*/
od_ec_window dif; /*The number of values in the current range.*/
uint16_t rng; /*The number of bits of data in the current value.*/
int16_t cnt;
};
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.