Lines Matching refs:kMaxWidth
107 const int kMaxWidth = 4096 * 3;
108 align_buffer_16(src_a, kMaxWidth)
109 align_buffer_16(src_b, kMaxWidth)
111 for (int i = 0; i < kMaxWidth; ++i) {
118 ComputeSumSquareError(src_a, src_b, kMaxWidth);
130 const int kMaxWidth = 4096 * 3;
131 align_buffer_16(src_a, kMaxWidth)
132 align_buffer_16(src_b, kMaxWidth)
134 for (int i = 0; i < kMaxWidth; ++i) {
140 ComputeSumSquareError(src_a, src_b, kMaxWidth);
150 const int kMaxWidth = 4096 * 3;
151 align_buffer_16(src_a, kMaxWidth)
152 align_buffer_16(src_b, kMaxWidth)
154 memset(src_a, 0, kMaxWidth);
155 memset(src_b, 0, kMaxWidth);
158 err = ComputeSumSquareError(src_a, src_b, kMaxWidth);
162 memset(src_a, 1, kMaxWidth);
163 err = ComputeSumSquareError(src_a, src_b, kMaxWidth);
165 EXPECT_EQ(err, kMaxWidth);
167 memset(src_a, 190, kMaxWidth);
168 memset(src_b, 193, kMaxWidth);
169 err = ComputeSumSquareError(src_a, src_b, kMaxWidth);
171 EXPECT_EQ(err, (kMaxWidth * 3 * 3));
175 for (int i = 0; i < kMaxWidth; ++i) {
181 uint64 c_err = ComputeSumSquareError(src_a, src_b, kMaxWidth);
184 uint64 opt_err = ComputeSumSquareError(src_a, src_b, kMaxWidth);