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:
3248ea0
)
Add operator<< to a struct in yuv_temporal_filter_test.cc
author
chiyotsai
<chiyotsai@google.com>
Mon, 4 Feb 2019 22:18:59 +0000
(14:18 -0800)
committer
chiyotsai
<chiyotsai@google.com>
Mon, 4 Feb 2019 22:24:24 +0000
(14:24 -0800)
This should resolve valgrind's warning on aceessing uninitialized
values.
BUG=webm:1591
Change-Id: I678cadf448c12b598c9ea09490a7eb4e13e4118c
test/yuv_temporal_filter_test.cc
patch
|
blob
|
history
diff --git
a/test/yuv_temporal_filter_test.cc
b/test/yuv_temporal_filter_test.cc
index
e8d1967
..
9fb170b
100644
(file)
--- a/
test/yuv_temporal_filter_test.cc
+++ b/
test/yuv_temporal_filter_test.cc
@@
-38,6
+38,10
@@
struct TemporalFilterWithBd {
int bd;
};
+std::ostream &operator<<(std::ostream &os, const TemporalFilterWithBd &tf) {
+ return os << "Bitdepth: " << tf.bd;
+}
+
int GetFilterWeight(unsigned int row, unsigned int col,
unsigned int block_height, unsigned int block_width,
const int *const blk_fw, int use_32x32) {