ref: 2020b170b8f7679d2f91ef92c998ab5a6d4643e4
parent: 3248ea0e455aa3a57e9b034d740181d216c99cfb
author: chiyotsai <chiyotsai@google.com>
date: Mon Feb 4 09:18:59 EST 2019
Add operator<< to a struct in yuv_temporal_filter_test.cc This should resolve valgrind's warning on aceessing uninitialized values. BUG=webm:1591 Change-Id: I678cadf448c12b598c9ea09490a7eb4e13e4118c
--- a/test/yuv_temporal_filter_test.cc
+++ b/test/yuv_temporal_filter_test.cc
@@ -38,6 +38,10 @@
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) {