Home
last modified time | relevance | path

Searched refs:kHPad (Results 1 – 2 of 2) sorted by relevance

/external/libaom/libaom/test/
Dav1_horz_only_frame_superres_test.cc31 const int kHPad = 32; variable
52 src_stride_ = ALIGN_POWER_OF_TWO(w_src_ + 2 * kHPad, 4); in TestImage()
53 dst_stride_ = ALIGN_POWER_OF_TWO(w_dst_ + 2 * kHPad, 4); in TestImage()
76 return borders ? block : block + kHPad + src_stride_ * kVPad; in GetSrcData()
81 return borders ? block : block + kHPad + dst_stride_ * kVPad; in GetDstData()
114 FillEdge(rnd, kHPad, bd, trash_edges, row_data); in PrepBuffers()
115 for (int c = 0; c < w; ++c) row_data[kHPad + c] = rnd->Rand16() & mask; in PrepBuffers()
116 FillEdge(rnd, kHPad, bd, trash_edges, row_data + kHPad + w); in PrepBuffers()
148 for (int c = kVPad; c < w_dst_ + kHPad; ++c) { in Check()
153 << "Error at row: " << (r - kVPad) << ", col: " << (c - kHPad) in Check()
Dav1_convolve_scale_test.cc31 const int kHPad = 32; variable
120 src_stride_ = (w_ + 2 * kHPad + 15) & ~15; in TestImage()
140 return borders ? block : block + kHPad + src_stride_ * kVPad; in GetSrcData()
145 return borders ? block : block + kHPad + dst_stride_ * kVPad; in GetDstData()
150 return borders ? block : block + kHPad + dst_stride_ * kVPad; in GetDst16Data()
184 FillEdge(rnd, kHPad, bd, trash_edges, row_data); in PrepBuffers()
185 for (int c = 0; c < w; ++c) row_data[kHPad + c] = rnd->Rand16() & mask; in PrepBuffers()
186 FillEdge(rnd, kHPad, bd, trash_edges, row_data + kHPad + w); in PrepBuffers()
224 for (int c = 0; c < w_ + 2 * kHPad; ++c) { in Check()
229 << "Error at row: " << (r - kVPad) << ", col: " << (c - kHPad); in Check()
[all …]