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.cc81 static const int kSrcStride = 21; member in __anonfb96adaf0111::PredictTestBase
82 static const int kSrcSize = kSrcStride * kSrcStride;
167 reference(&src_[kSrcStride * 2 + 2], kSrcStride, xoffset, yoffset, in TestWithRandomData()
170 ASM_REGISTER_STATE_CHECK(predict_(&src_[kSrcStride * 2 + 2], kSrcStride, in TestWithRandomData()
193 reference(&src_[kSrcStride * 2 + 2], kSrcStride, xoffset, yoffset, in TestWithUnalignedDst()
199 ASM_REGISTER_STATE_CHECK(predict_(&src_[kSrcStride * 2 + 2], in TestWithUnalignedDst()
200 kSrcStride, xoffset, yoffset, in TestWithUnalignedDst()
219 predict_(&src_[kSrcStride * 2 + 2], kSrcStride, xoffset, yoffset, dst_, in Run()
294 predict_(const_cast<uint8_t *>(kTestData) + kSrcStride * 2 + 2, in TEST_P()
295 kSrcStride, 2, 2, dst_, dst_stride_)); in TEST_P()