/external/chromium_org/third_party/libwebp/enc/ |
cost.h | 27 // Cost of coding one event with probability 'proba'. 28 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { 29 return !bit ? VP8EntropyCost[proba] : VP8EntropyCost[255 - proba]; 34 void VP8CalculateLevelCosts(VP8Proba* const proba);
|
cost.c | 357 void VP8CalculateLevelCosts(VP8Proba* const proba) { 360 if (!proba->dirty_) return; // nothing to do. 365 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; 366 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; 378 proba->dirty_ = 0;
|
frame.c | 57 // Reset the statistics about: number of skips, token proba, level cost,... 60 VP8Proba* const proba = &enc->proba_; local 61 VP8CalculateLevelCosts(proba); 62 proba->nb_skip_ = 0; 76 VP8Proba* const proba = &enc->proba_; local 78 const int nb_events = proba->nb_skip_; 80 proba->skip_proba_ = CalcSkipProba(nb_events, nb_mbs); 81 proba->use_skip_proba_ = (proba->skip_proba_ < SKIP_PROBA_THRESHOLD); 83 if (proba->use_skip_proba_) 95 VP8Proba* const proba = &enc->proba_; local 915 VP8Proba* const proba = &enc->proba_; local [all...] |
token.c | 37 // bit #14: constant proba or idx 38 // bits 0..13: slot or constant proba 95 int bit, int proba) { 96 assert(proba < 256); 100 b->tokens_[slot] = (bit << 15) | FIXED_PROBA_BIT | proba; 229 VP8PutBit(bw, bit, token & 0xffu); // constant proba
|
syntax.c | 194 const VP8Proba* const proba = &enc->proba_; local 212 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { 213 VP8PutValue(bw, proba->segments_[s], 8); 325 VP8PutBitUniform(bw, 0); // no proba update
|
/external/webp/src/enc/ |
cost.h | 27 // Cost of coding one event with probability 'proba'. 28 static WEBP_INLINE int VP8BitCost(int bit, uint8_t proba) { 29 return !bit ? VP8EntropyCost[proba] : VP8EntropyCost[255 - proba]; 34 void VP8CalculateLevelCosts(VP8Proba* const proba);
|
cost.c | 357 void VP8CalculateLevelCosts(VP8Proba* const proba) { 360 if (!proba->dirty_) return; // nothing to do. 365 const uint8_t* const p = proba->coeffs_[ctype][band][ctx]; 366 uint16_t* const table = proba->level_cost_[ctype][band][ctx]; 378 proba->dirty_ = 0;
|
frame.c | 57 // Reset the statistics about: number of skips, token proba, level cost,... 60 VP8Proba* const proba = &enc->proba_; local 61 VP8CalculateLevelCosts(proba); 62 proba->nb_skip_ = 0; 76 VP8Proba* const proba = &enc->proba_; local 78 const int nb_events = proba->nb_skip_; 80 proba->skip_proba_ = CalcSkipProba(nb_events, nb_mbs); 81 proba->use_skip_proba_ = (proba->skip_proba_ < SKIP_PROBA_THRESHOLD); 83 if (proba->use_skip_proba_) 95 VP8Proba* const proba = &enc->proba_; local 915 VP8Proba* const proba = &enc->proba_; local [all...] |
token.c | 37 // bit #14: constant proba or idx 38 // bits 0..13: slot or constant proba 95 int bit, int proba) { 96 assert(proba < 256); 100 b->tokens_[slot] = (bit << 15) | FIXED_PROBA_BIT | proba; 229 VP8PutBit(bw, bit, token & 0xffu); // constant proba
|
syntax.c | 194 const VP8Proba* const proba = &enc->proba_; local 212 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { 213 VP8PutValue(bw, proba->segments_[s], 8); 325 VP8PutBitUniform(bw, 0); // no proba update
|
/external/chromium_org/third_party/libwebp/dec/ |
tree.c | 329 void VP8ResetProba(VP8Proba* const proba) { 330 memset(proba->segments_, 255u, sizeof(proba->segments_)); 331 memcpy(proba->coeffs_, CoeffsProba0, sizeof(CoeffsProba0)); 333 memcpy(proba->mv_, kMVProba0, sizeof(kMVProba0)); 334 memcpy(proba->ymode_, kYModeProbaInter0, sizeof(kYModeProbaInter0)); 335 memcpy(proba->uvmode_, kUVModeProbaInter0, sizeof(kUVModeProbaInter0)); 542 VP8Proba* const proba = &dec->proba_; local 549 proba->coeffs_[t][b][c][p] = VP8GetValue(br, 8); 567 proba->ymode_[i] = VP8GetValue(br, 8) [all...] |
vp8i.h | 297 void VP8ResetProba(VP8Proba* const proba);
|
vp8.c | 152 VP8SegmentHeader* hdr, VP8Proba* proba) { 171 proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u;
|
/external/webp/src/dec/ |
tree.c | 329 void VP8ResetProba(VP8Proba* const proba) { 330 memset(proba->segments_, 255u, sizeof(proba->segments_)); 331 memcpy(proba->coeffs_, CoeffsProba0, sizeof(CoeffsProba0)); 333 memcpy(proba->mv_, kMVProba0, sizeof(kMVProba0)); 334 memcpy(proba->ymode_, kYModeProbaInter0, sizeof(kYModeProbaInter0)); 335 memcpy(proba->uvmode_, kUVModeProbaInter0, sizeof(kUVModeProbaInter0)); 542 VP8Proba* const proba = &dec->proba_; local 549 proba->coeffs_[t][b][c][p] = VP8GetValue(br, 8); 567 proba->ymode_[i] = VP8GetValue(br, 8) [all...] |
vp8i.h | 297 void VP8ResetProba(VP8Proba* const proba);
|
vp8.c | 152 VP8SegmentHeader* hdr, VP8Proba* proba) { 171 proba->segments_[s] = VP8Get(br) ? VP8GetValue(br, 8) : 255u;
|
/external/libvpx/libvpx/vp8/encoder/ |
bitstream.c | 248 const unsigned char *proba = b->prob; local 256 split = 1 + (((range - 1) * proba[i>>1]) >> 8); [all...] |