Searched refs:probas (Results 1 – 4 of 4) sorted by relevance
/external/webp/src/enc/ |
D | tree.c | 160 VP8Proba* const probas = &enc->proba_; in VP8DefaultProbas() local 161 memset(probas->segments_, 255u, sizeof(probas->segments_)); in VP8DefaultProbas() 162 memcpy(probas->coeffs_, VP8CoeffsProba0, sizeof(VP8CoeffsProba0)); in VP8DefaultProbas() 163 probas->use_skip_proba_ = 0; in VP8DefaultProbas() 335 const uint8_t* const probas = kBModesProba[top_pred[x]][left]; in VP8CodeIntraModes() local 336 left = PutI4Mode(bw, preds[x], probas); in VP8CodeIntraModes() 485 void VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas) { in VP8WriteProbas() argument 491 const uint8_t p0 = probas->coeffs_[t][b][c][p]; in VP8WriteProbas() 500 if (VP8PutBitUniform(bw, probas->use_skip_proba_)) { in VP8WriteProbas() 501 VP8PutValue(bw, probas->skip_proba_, 8); in VP8WriteProbas()
|
D | analysis.c | 97 uint8_t* const probas = enc->proba_.segments_; in SetSegmentProbas() local 98 probas[0] = GetProba(p[0] + p[1], p[2] + p[3]); in SetSegmentProbas() 99 probas[1] = GetProba(p[0], p[1]); in SetSegmentProbas() 100 probas[2] = GetProba(p[2], p[3]); in SetSegmentProbas() 103 (probas[0] != 255) || (probas[1] != 255) || (probas[2] != 255); in SetSegmentProbas() 105 p[0] * (VP8BitCost(0, probas[0]) + VP8BitCost(0, probas[1])) + in SetSegmentProbas() 106 p[1] * (VP8BitCost(0, probas[0]) + VP8BitCost(1, probas[1])) + in SetSegmentProbas() 107 p[2] * (VP8BitCost(1, probas[0]) + VP8BitCost(0, probas[2])) + in SetSegmentProbas() 108 p[3] * (VP8BitCost(1, probas[0]) + VP8BitCost(1, probas[2])); in SetSegmentProbas()
|
D | cost.c | 339 static int VariableLevelCost(int level, const uint8_t probas[NUM_PROBAS]) { in VariableLevelCost() 346 cost += VP8BitCost(bits & 1, probas[i]); in VariableLevelCost()
|
D | vp8enci.h | 393 void VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas);
|