Home
last modified time | relevance | path

Searched refs:ref_src (Results 1 – 15 of 15) sorted by relevance

/external/libgav1/src/dsp/
Dintrapred_cfl_test.cc76 for (auto& r : ref_src) r = rnd->Rand16() & mask; in Reset()
101 for (auto& r : ref_src) r = pixel; in Set()
111 alignas(kMaxAlignment) Pixel ref_src[kTotalPixels]; member
199 for (auto& r : intra_pred_mem_.ref_src) r = dc; in TestSpeed()
204 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSpeed()
228 for (auto& r : intra_pred_mem_.ref_src) r = (1 << bitdepth) - 1; in TestSaturatedValues()
229 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
232 base_cfl_intra_pred_(intra_pred_mem_.ref_src, stride, luma_buffer, alpha); in TestSaturatedValues()
234 if (!test_utils::CompareBlocks(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
257 for (auto& r : intra_pred_mem_.ref_src) r = dc; in TestRandomValues()
[all …]
Dinverse_transform_test.cc100 memset(ref_src, 0, sizeof(ref_src)); in Reset()
101 SrcPixel* r = ref_src; in Reset()
125 for (auto& r : ref_src) r = pixel; in Set()
134 alignas(kMaxAlignment) SrcPixel ref_src[kTotalPixels]; member
320 inverse_transform_mem_.ref_src, in TestRandomValues()
321 sizeof(inverse_transform_mem_.ref_src)); in TestRandomValues()
323 inverse_transform_mem_.ref_src, in TestRandomValues()
324 sizeof(inverse_transform_mem_.ref_src)); in TestRandomValues()
420 inverse_transform_mem_.ref_src, in TestDcOnlyRandomValue()
421 sizeof(inverse_transform_mem_.ref_src)); in TestDcOnlyRandomValue()
[all …]
Dintrapred_directional_test.cc93 for (auto& r : ref_src) r = rnd->Rand16() & mask; in Reset()
124 for (auto& r : ref_src) r = pixel; in Set()
134 alignas(kMaxAlignment) Pixel ref_src[kTotalPixels]; member
307 AlignedPtr ref_src(static_cast<Pixel*>(AlignedAlloc(16, ref_alloc_size)), in TestSpeed() local
311 ASSERT_NE(ref_src, nullptr); in TestSpeed()
315 for (size_t i = 0; i < ref_alloc_size / sizeof(ref_src[0]); ++i) { in TestSpeed()
316 ref_src[i] = rnd.Rand16() & mask; in TestSpeed()
325 memcpy(dst, ref_src.get(), ref_alloc_size); in TestSpeed()
341 const ptrdiff_t stride = ref_stride * sizeof(ref_src[0]); in TestSpeed()
421 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
[all …]
Dintrapred_filter_test.cc79 for (auto& r : ref_src) r = rnd->Rand16() & mask; in Reset()
104 for (auto& r : ref_src) r = pixel; in Set()
114 alignas(kMaxAlignment) Pixel ref_src[kTotalPixels]; member
199 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSpeed()
225 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
231 if (!test_utils::CompareBlocks(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
254 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestRandomValues()
259 base_filter_intra_pred_(intra_pred_mem_.ref_src, stride, top, left, in TestRandomValues()
266 intra_pred_mem_.dst, intra_pred_mem_.ref_src, block_width_, in TestRandomValues()
Dintrapred_test.cc74 for (auto& r : ref_src) r = rnd->Rand16() & mask; in Reset()
99 for (auto& r : ref_src) r = pixel; in Set()
109 alignas(kMaxAlignment) Pixel ref_src[kTotalPixels]; member
204 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSpeed()
229 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
233 if (!test_utils::CompareBlocks(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestSaturatedValues()
256 memcpy(intra_pred_mem_.dst, intra_pred_mem_.ref_src, in TestRandomValues()
261 base_intrapreds_[i](intra_pred_mem_.ref_src, stride, top, left); in TestRandomValues()
264 intra_pred_mem_.dst, intra_pred_mem_.ref_src, block_width_, in TestRandomValues()
/external/ComputeLibrary/tests/validation/fixtures/
DMeanStdDevNormalizationLayerFixture.h116 SimpleTensor<T> ref_src{ shape, dt, 1, qi }; in compute_reference()
119 fill(ref_src); in compute_reference()
121 return reference::mean_std_normalization_layer(ref_src, epsilon); in compute_reference()
DBatchNormalizationLayerFixture.h148 SimpleTensor<T> ref_src{ shape0, dt, 1 }; in compute_reference()
155 fill(ref_src, ref_mean, ref_var, ref_beta, ref_gamma); in compute_reference()
157 …return reference::batch_normalization_layer(ref_src, ref_mean, ref_var, ref_beta, ref_gamma, epsil… in compute_reference()
DNormalizePlanarYUVLayerFixture.h128 SimpleTensor<T> ref_src{ shape0, dt, 1, quantization_info }; in compute_reference()
133 fill(ref_src, ref_mean, ref_std); in compute_reference()
135 return reference::normalize_planar_yuv_layer(ref_src, ref_mean, ref_std); in compute_reference()
/external/ComputeLibrary/tests/validation/CL/
DIndirectConvolutionLayer.cpp98 SimpleTensor<float> ref_src{ src_shape_nchw, dt }; in TEST_SUITE() local
101 library->fill_tensor_value(ref_src, 1.f); in TEST_SUITE()
105 …auto ref_dst = reference::convolution_layer<float>(ref_src, ref_wei, ref_bia, dst_shape_nchw, conv… in TEST_SUITE()
150 SimpleTensor<float> ref_src{ src_shape_nchw, dt }; in TEST_CASE() local
153 library->fill_tensor_value(ref_src, 1.f); in TEST_CASE()
157 …auto ref_dst = reference::convolution_layer<float>(ref_src, ref_wei, ref_bia, dst_shape_nchw, conv… in TEST_CASE()
DSoftmaxLayer.cpp105 SimpleTensor<float> ref_src{shape, dt}; in TEST_SUITE() local
106 library->fill_static_values(ref_src, input_vals); in TEST_SUITE()
107 auto ref_dst = reference::softmax_layer<float>(ref_src, 1., 0, false); in TEST_SUITE()
DDirectConvolutionLayer.cpp126 SimpleTensor<float> ref_src{ src_shape, dt }; in TEST_SUITE() local
129 library->fill_tensor_value(ref_src, 1.f); in TEST_SUITE()
133 …auto ref_dst = reference::convolution_layer<float>(ref_src, ref_weights, ref_bias, dst_shape, conv… in TEST_SUITE()
177 SimpleTensor<float> ref_src{ src_shape, dt }; in TEST_CASE() local
180 library->fill_tensor_value(ref_src, 1.f); in TEST_CASE()
184 …auto ref_dst = reference::convolution_layer<float>(ref_src, ref_weights, ref_bias, dst_shape, conv… in TEST_CASE()
/external/libvpx/test/
Dtest_intra_pred_speed.cc47 for (int i = 0; i < kTotalPixels; ++i) ref_src[i] = rnd.Rand16() & mask; in Init()
59 DECLARE_ALIGNED(16, Pixel, ref_src[kTotalPixels]);
87 memcpy(intra_pred_test_mem.src, intra_pred_test_mem.ref_src, in TestIntraPred()
369 memcpy(intra_pred_test_mem.src, intra_pred_test_mem.ref_src, in TestHighbdIntraPred()
/external/ComputeLibrary/tests/validation/NEON/
DDirectConvolutionLayer.cpp173 SimpleTensor<float> ref_src{ src_shape, dt }; in TEST_SUITE() local
176 library->fill_tensor_value(ref_src, 1.f); in TEST_SUITE()
180 …auto ref_dst = reference::convolution_layer<float>(ref_src, ref_weights, ref_bias, dst_shape, conv… in TEST_SUITE()
/external/libaom/test/
Dtest_intra_pred_speed.cc66 for (int i = 0; i < num_pixels; ++i) ref_src[i] = rnd.Rand16() & mask; in Init()
77 DECLARE_ALIGNED(16, Pixel, ref_src[kTotalPixels]);
129 memcpy(intra_pred_test_mem.src, intra_pred_test_mem.ref_src, in TestIntraPred()
949 memcpy(intra_pred_test_mem.src, intra_pred_test_mem.ref_src, in TestHighbdIntraPred()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c10494 struct tgsi_full_src_register ref_src = in emit_alpha_test_instructions() local
10503 &color_src_w, &ref_src); in emit_alpha_test_instructions()