Commit 3e4fcb4f authored by Yushin Cho's avatar Yushin Cho Committed by Alex Converse
Browse files

Fix the bool coder test

Fix the bool coder test not to use a probability of 100%.

Change-Id: I799871cb0c48580edf0ee15a6c9931d27591ec99
(cherry picked from commit 9b79f6a3)
parent 713b5612
...@@ -103,7 +103,7 @@ TEST(AV1, TestTell) { ...@@ -103,7 +103,7 @@ TEST(AV1, TestTell) {
uint8_t bw_buffer[kBufferSize]; uint8_t bw_buffer[kBufferSize];
const int kSymbols = 1024; const int kSymbols = 1024;
// Coders are noisier at low probabilities, so we start at p = 4. // Coders are noisier at low probabilities, so we start at p = 4.
for (int p = 4; p <= 256; p++) { for (int p = 4; p < 256; p++) {
double probability = p / 256.; double probability = p / 256.;
aom_start_encode(&bw, bw_buffer); aom_start_encode(&bw, bw_buffer);
for (int i = 0; i < kSymbols; i++) { for (int i = 0; i < kSymbols; i++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment