Searched refs:prob (Results 1 - 9 of 9) sorted by relevance

/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/
H A Dtree.c271 const uint8_t* const prob) {
272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) {
273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) {
274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) {
275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) {
276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) {
277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]);
280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) {
281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) {
282 VP8PutBit(bw, mode != B_HD_PRED, prob[
270 PutI4Mode(VP8BitWriter* const bw, int mode, const uint8_t* const prob) argument
[all...]
H A Dbit_writer.h38 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob);
H A Dbit_writer.c99 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob) { argument
100 const int split = (bw->range_ * prob) >> 8;
H A Dframe.c35 ProbaArray* prob; member in struct:__anon2861
183 res->prob = enc->proba_.coeffs_[coeff_type];
207 const uint8_t* p = res->prob[VP8EncBands[n]][ctx];
219 p = res->prob[VP8EncBands[n]][0];
223 p = res->prob[VP8EncBands[n]][1];
226 p = res->prob[VP8EncBands[n]][2];
300 const uint8_t* p = res->prob[VP8EncBands[n]][ctx];
310 p = res->prob[VP8EncBands[n]][0];
314 p = res->prob[VP8EncBands[n]][1];
359 p = res->prob[VP8EncBand
[all...]
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/
H A Dtree.c357 const uint8_t* const prob = kBModesProba[top[x]][ymode]; local
362 i = kYModesIntra4[2 * i + VP8GetBit(br, prob[i])];
367 ymode = !VP8GetBit(br, prob[0]) ? B_DC_PRED :
368 !VP8GetBit(br, prob[1]) ? B_TM_PRED :
369 !VP8GetBit(br, prob[2]) ? B_VE_PRED :
370 !VP8GetBit(br, prob[3]) ?
371 (!VP8GetBit(br, prob[4]) ? B_HE_PRED :
372 (!VP8GetBit(br, prob[5]) ? B_RD_PRED : B_VR_PRED)) :
373 (!VP8GetBit(br, prob[6]) ? B_LD_PRED :
374 (!VP8GetBit(br, prob[
[all...]
H A Dbits.h48 // Read a bit with proba 'prob'. Speed-critical function!
73 static inline uint32_t VP8GetBit(VP8BitReader* const br, int prob) { argument
74 const uint32_t split = (br->range_ * prob) >> 8;
H A Dvp8.c375 static int GetCoeffs(VP8BitReader* const br, ProbaArray prob, argument
377 const uint8_t* p = prob[kBands[n]][ctx];
384 p = prob[kBands[n]][0];
388 p = prob[kBands[n]][1];
416 p = prob[kBands[n]][2];
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/
H A Dmqc.h108 @param prob Number that identifies the probability of the symbols for the new state of the context
110 void mqc_setstate(opj_mqc_t *mqc, int ctxno, int msb, int prob);
H A Dmqc.c588 void mqc_setstate(opj_mqc_t *mqc, int ctxno, int msb, int prob) { argument
589 mqc->ctxs[ctxno] = &mqc_states[msb + (prob << 1)];

Completed in 58 milliseconds