/external/opencv3/3rdparty/libwebp/enc/ |
tree.c | 162 VP8Proba* const probas = &enc->proba_; local 163 probas->use_skip_proba_ = 0; 164 memset(probas->segments_, 255u, sizeof(probas->segments_)); 165 memcpy(probas->coeffs_, VP8CoeffsProba0, sizeof(VP8CoeffsProba0)); 168 probas->dirty_ = 1; 340 const uint8_t* const probas = kBModesProba[top_pred[x]][left]; local 341 left = PutI4Mode(bw, preds[x], probas); 490 void VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas) { 496 const uint8_t p0 = probas->coeffs_[t][b][c][p] [all...] |
frame.c | 115 // Note: no need to record the fixed probas. 239 uint8_t* const probas = enc->proba_.segments_; local 240 probas[0] = GetProba(p[0] + p[1], p[2] + p[3]); 241 probas[1] = GetProba(p[0], p[1]); 242 probas[2] = GetProba(p[2], p[3]); 245 (probas[0] != 255) || (probas[1] != 255) || (probas[2] != 255); 247 p[0] * (VP8BitCost(0, probas[0]) + VP8BitCost(0, probas[1])) [all...] |
cost.c | 339 static int VariableLevelCost(int level, const uint8_t probas[NUM_PROBAS]) { 346 cost += VP8BitCost(bits & 1, probas[i]);
|
token.c | 15 // value in the final probability array (uint8_t* probas in VP8EmitTokens). 217 const uint8_t* const probas, int final_pass) { 231 VP8PutBit(bw, bit, probas[token & 0x3fffu]);
|
vp8enci.h | 356 const uint8_t* const probas, int final_pass); 462 void VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas);
|
/external/webp/src/enc/ |
tree.c | 157 VP8EncProba* const probas = &enc->proba_; local 158 probas->use_skip_proba_ = 0; 159 memset(probas->segments_, 255u, sizeof(probas->segments_)); 160 memcpy(probas->coeffs_, VP8CoeffsProba0, sizeof(VP8CoeffsProba0)); 163 probas->dirty_ = 1; 335 const uint8_t* const probas = kBModesProba[top_pred[x]][left]; local 336 left = PutI4Mode(bw, preds[x], probas); 485 void VP8WriteProbas(VP8BitWriter* const bw, const VP8EncProba* const probas) { 491 const uint8_t p0 = probas->coeffs_[t][b][c][p] [all...] |
token.c | 15 // value in the final probability array (uint8_t* probas in VP8EmitTokens). 225 const uint8_t* const probas, int final_pass) { 239 VP8PutBit(bw, bit, probas[token & 0x3fffu]); 250 size_t VP8EstimateTokenSize(VP8TBuffer* const b, const uint8_t* const probas) { 265 size += VP8BitCost(bit, probas[token & 0x3fffu]);
|
frame.c | 202 uint8_t* const probas = enc->proba_.segments_; local 203 probas[0] = GetProba(p[0] + p[1], p[2] + p[3]); 204 probas[1] = GetProba(p[0], p[1]); 205 probas[2] = GetProba(p[2], p[3]); 208 (probas[0] != 255) || (probas[1] != 255) || (probas[2] != 255); 210 p[0] * (VP8BitCost(0, probas[0]) + VP8BitCost(0, probas[1])) + 211 p[1] * (VP8BitCost(0, probas[0]) + VP8BitCost(1, probas[1])) [all...] |
vp8enci.h | 326 const uint8_t* const probas, int final_pass); 334 // Estimate the final coded size given a set of 'probas'. 335 size_t VP8EstimateTokenSize(VP8TBuffer* const b, const uint8_t* const probas); 422 void VP8WriteProbas(VP8BitWriter* const bw, const VP8EncProba* const probas);
|
cost.c | 42 static int VariableLevelCost(int level, const uint8_t probas[NUM_PROBAS]) { 49 cost += VP8BitCost(bits & 1, probas[i]); 300 // Note: no need to record the fixed probas.
|
quant.c | 575 const ProbaArray* const probas = enc->proba_.coeffs_[coeff_type]; local 590 const int last_proba = probas[VP8EncBands[first]][ctx0][0]; 656 (n < 15) ? VP8BitCost(0, probas[band][ctx][0]) : 0; [all...] |
/external/libvpx/libvpx/test/ |
vp9_boolcoder_test.cc | 33 uint8_t probas[kBitsToTest]; local 37 probas[i] = 63 vpx_write(&bw, bit, static_cast<int>(probas[i])); 80 GTEST_ASSERT_EQ(vpx_read(&br, probas[i]), bit)
|
vp8_boolcoder_test.cc | 61 uint8_t probas[kBitsToTest]; local 65 probas[i] = 91 vp8_encode_bool(&bw, bit, static_cast<int>(probas[i])); 108 GTEST_ASSERT_EQ(vp8dx_decode_bool(&br, probas[i]), bit)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
vp9_boolcoder_test.cc | 34 uint8_t probas[kBitsToTest]; local 38 probas[i] = 64 vp9_write(&bw, bit, static_cast<int>(probas[i])); 81 GTEST_ASSERT_EQ(vp9_read(&br, probas[i]), bit)
|
vp8_boolcoder_test.cc | 61 uint8_t probas[kBitsToTest]; local 65 probas[i] = 91 vp8_encode_bool(&bw, bit, static_cast<int>(probas[i])); 112 GTEST_ASSERT_EQ(vp8dx_decode_bool(&br, probas[i]), bit)
|