projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c669c
)
Cosmetic change of GetBitrateInKbps
author
angiebird
<angiebird@google.com>
Thu, 21 Nov 2019 19:08:52 +0000
(11:08 -0800)
committer
angiebird
<angiebird@google.com>
Mon, 25 Nov 2019 18:37:07 +0000
(10:37 -0800)
Change-Id: Id4b852cdfba0f6fa1e12a05e2617df0de395be9d
test/simple_encode_test.cc
patch
|
blob
|
history
diff --git
a/test/simple_encode_test.cc
b/test/simple_encode_test.cc
index
82d0963
..
8caf8bf
100644
(file)
--- a/
test/simple_encode_test.cc
+++ b/
test/simple_encode_test.cc
@@
-19,7
+19,7
@@
const char infile_path[] = "bus_352x288_420_f20_b8.yuv";
double GetBitrateInKbps(size_t bit_size, int num_frames, int frame_rate_num,
int frame_rate_den) {
return static_cast<double>(bit_size) / num_frames * frame_rate_num /
- frame_rate_den / 1000.;
+ frame_rate_den / 1000.
0
;
}
TEST(SimpleEncode, ComputeFirstPassStats) {