Home
last modified time | relevance | path

Searched refs:kSrcStride (Results 1 – 3 of 3) sorted by relevance

/external/libyuv/files/unit_test/
Dcompare_test.cc330 const int kSrcStride = 2 * b + kSrcWidth; in TEST_F() local
337 err = CalcFramePsnr(src_a + kSrcStride * b + b, kSrcStride, in TEST_F()
338 src_b + kSrcStride * b + b, kSrcStride, kSrcWidth, in TEST_F()
345 err = CalcFramePsnr(src_a + kSrcStride * b + b, kSrcStride, in TEST_F()
346 src_b + kSrcStride * b + b, kSrcStride, kSrcWidth, in TEST_F()
353 err = CalcFramePsnr(src_a + kSrcStride * b + b, kSrcStride, in TEST_F()
354 src_b + kSrcStride * b + b, kSrcStride, kSrcWidth, in TEST_F()
364 err = CalcFramePsnr(src_a + kSrcStride * b + b, kSrcStride, in TEST_F()
365 src_b + kSrcStride * b + b, kSrcStride, kSrcWidth, in TEST_F()
378 src_a[(i * kSrcStride) + j] = (fastrand() & 0xff); in TEST_F()
[all …]
Dplanar_test.cc1706 const int kSrcStride = (width * kSrcBpp + 15) & ~15; in TestSobelToPlane() local
1708 align_buffer_page_end(src_argb_a, kSrcStride * height + off); in TestSobelToPlane()
1711 memset(src_argb_a, 0, kSrcStride * height + off); in TestSobelToPlane()
1712 for (int i = 0; i < kSrcStride * height; ++i) { in TestSobelToPlane()
1719 ARGBSobelToPlane(src_argb_a + off, kSrcStride, dst_argb_c, kDstStride, width, in TestSobelToPlane()
1723 ARGBSobelToPlane(src_argb_a + off, kSrcStride, dst_argb_opt, kDstStride, in TestSobelToPlane()
/external/libvpx/libvpx/test/
Dpredict_test.cc77 static const int kSrcStride = 21; member in __anon49ff99a30111::PredictTestBase
78 static const int kSrcSize = kSrcStride * kSrcStride;
163 reference(&src_[kSrcStride * 2 + 2], kSrcStride, xoffset, yoffset, in TestWithRandomData()
166 ASM_REGISTER_STATE_CHECK(predict_(&src_[kSrcStride * 2 + 2], kSrcStride, in TestWithRandomData()
189 reference(&src_[kSrcStride * 2 + 2], kSrcStride, xoffset, yoffset, in TestWithUnalignedDst()
195 ASM_REGISTER_STATE_CHECK(predict_(&src_[kSrcStride * 2 + 2], in TestWithUnalignedDst()
196 kSrcStride, xoffset, yoffset, in TestWithUnalignedDst()
277 predict_(const_cast<uint8_t *>(kTestData) + kSrcStride * 2 + 2, in TEST_P()
278 kSrcStride, 2, 2, dst_, dst_stride_)); in TEST_P()