Home
last modified time | relevance | path

Searched refs:ref_data (Results 1 – 18 of 18) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dvmaf.c37 static int read_frame(float *ref_data, float *main_data, float *temp_data, in read_frame() argument
54 ref_data[col] = scale_factor * (float)ref_ptr[col]; in read_frame()
57 ref_data += stride / sizeof(*ref_data); in read_frame()
73 ref_data[col] = (float)ref_ptr[col]; in read_frame()
76 ref_data += stride / sizeof(*ref_data); in read_frame()
120 int (*read_frame)(float *ref_data, float *main_data, float *temp_data, in aom_calc_vmaf_multi_frame() argument
Dvmaf.h23 int (*read_frame)(float *ref_data, float *main_data, float *temp_data,
/external/webrtc/common_audio/
Daudio_converter_unittest.cc109 std::vector<float> ref_data; in RunAudioConverterTest() local
112 ref_data.push_back(dst_left); in RunAudioConverterTest()
114 ref_data.push_back(dst_mono); in RunAudioConverterTest()
117 ref_data.push_back(dst_left); in RunAudioConverterTest()
119 ref_data.push_back(dst_left); in RunAudioConverterTest()
121 ref_data.push_back(dst_right); in RunAudioConverterTest()
124 ScopedBuffer ref_buffer = CreateBuffer(ref_data, dst_frames); in RunAudioConverterTest()
/external/igt-gpu-tools/lib/
Digt_frame.c307 void *ref_data, *cap_data; in igt_check_checkerboard_frame_match() local
322 ref_data = cairo_image_surface_get_data(reference); in igt_check_checkerboard_frame_match()
323 igt_assert(ref_data); in igt_check_checkerboard_frame_match()
344 xdiff += abs(XR24_COLOR_VALUE(ref_data, ref_stride, x + span, y, c) - in igt_check_checkerboard_frame_match()
345 XR24_COLOR_VALUE(ref_data, ref_stride, x - span, y, c)); in igt_check_checkerboard_frame_match()
346 ydiff += abs(XR24_COLOR_VALUE(ref_data, ref_stride, x, y + span, c) - in igt_check_checkerboard_frame_match()
347 XR24_COLOR_VALUE(ref_data, ref_stride, x, y - span, c)); in igt_check_checkerboard_frame_match()
367 diff = abs(XR24_COLOR_VALUE(ref_data, ref_stride, x, y, c) - in igt_check_checkerboard_frame_match()
/external/oss-fuzz/projects/image-png/
Dbuf_independent.rs66 let mut ref_data = vec![0; info.buffer_size()]; in png_compare() localVariable
69 let _rref = reference.next_frame(&mut ref_data); in png_compare()
72 assert_eq!(smal_data, ref_data); in png_compare()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredFramebuffer.cpp336 const unsigned char* ref_data = ref_row + x * pixel_size; in iterate() local
338 if (de::abs((int)data[0] - (int)ref_data[0]) > EPSILON || in iterate()
339 de::abs((int)data[1] - (int)ref_data[1]) > EPSILON || in iterate()
340 de::abs((int)data[2] - (int)ref_data[2]) > EPSILON || in iterate()
341 de::abs((int)data[3] - (int)ref_data[3]) > EPSILON) in iterate()
347 << "(" << (unsigned int)ref_data[0] << ", " << (unsigned int)ref_data[1] << ", " in iterate()
348 << (unsigned int)ref_data[2] << ", " << (unsigned int)ref_data[3] << ") vs " in iterate()
1351 unsigned char ref_data[TEXTURE_WIDTH * TEXTURE_HEIGHT * N_TEXTURE_COMPONENTS] = { 0 }; in iterate() local
1380 ref_data[m] = 255; in iterate()
1384 ref_data[m] = 0; in iterate()
[all …]
DesextcGeometryShaderRendering.cpp1678 static const unsigned char ref_data[] = { 255, 0, 0, 0, 0, 255, 0, 0, 0, 0, 255, 0, in verify() local
1774 reference_data = ref_data + n_point * 4 /* components */; in verify()
1782 reference_data = ref_data + (8 - 1 - index) * 4 /* components */; in verify()
1842 reference_data = ref_data + ((8 - 1 - index) * 4 /* components */); in verify()
1849 reference_data = ref_data + (n * 4 /* components */); in verify()
5766 const float ref_data[] = { in verify() local
5793 tcu::Vec4 color_float = tcu::Vec4(ref_data[n_point * 6 + 2], ref_data[n_point * 6 + 3], in verify()
5794 ref_data[n_point * 6 + 4], ref_data[n_point * 6 + 5]); in verify()
5795 tcu::Vec2 position_float = tcu::Vec2(ref_data[n_point * 6 + 0], ref_data[n_point * 6 + 1]); in verify()
/external/tensorflow/tensorflow/lite/kernels/
Dnumeric_verify_test.cc72 std::initializer_list<float> ref_data) { in SetInputs() argument
74 PopulateTensor(ref_, ref_data); in SetInputs()
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderStorageBufferObjectTests.cpp6806 const int ref_data[4] = { 4, 1, 4, 2 }; in Run() local
6813 if (data[i] != ref_data[i]) in Run()
6817 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
6825 const int ref_data[2] = { 3, 5 }; in Run() local
6832 if (data[i] != ref_data[i]) in Run()
6836 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
6844 const int ref_data[2] = { 2, 10 }; in Run() local
6851 if (data[i] != ref_data[i]) in Run()
6855 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
6863 const int ref_data[1] = { 6 }; in Run() local
[all …]
Des31cComputeShaderTests.cpp4516 const float ref_data[3 * 8] = { in Run() local
4522 if (memcmp(data, ref_data, sizeof(float) * 3 * 8) != 0) in Run()
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp6664 const int ref_data[4] = { 4, 1, 4, 2 }; in Run() local
6671 if (data[i] != ref_data[i]) in Run()
6675 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
6683 const int ref_data[2] = { 3, 5 }; in Run() local
6690 if (data[i] != ref_data[i]) in Run()
6694 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
6702 const int ref_data[2] = { 2, 10 }; in Run() local
6709 if (data[i] != ref_data[i]) in Run()
6713 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
6721 const int ref_data[1] = { 6 }; in Run() local
[all …]
Dgl4cShaderStorageBufferObjectTests.cpp7218 const int ref_data[4] = { 4, 1, 4, 2 }; in Run() local
7224 if (data[i] != ref_data[i]) in Run()
7228 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
7235 const int ref_data[2] = { 3, 5 }; in Run() local
7241 if (data[i] != ref_data[i]) in Run()
7245 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
7252 const int ref_data[2] = { 2, 10 }; in Run() local
7258 if (data[i] != ref_data[i]) in Run()
7262 << " should be " << ref_data[i] << tcu::TestLog::EndMessage; in Run()
7269 const int ref_data[1] = { 6 }; in Run() local
[all …]
Dgl4cComputeShaderTests.cpp4800 const float ref_data[3 * 8] = { in Run() local
4806 if (memcmp(data, ref_data, sizeof(data)) != 0) in Run()
/external/webrtc/modules/audio_processing/
Daudio_processing_unittest.cc1605 audioproc::OutputData ref_data; in TEST_F() local
1608 OpenFileAndReadMessage(ref_filename_, &ref_data); in TEST_F()
1614 audioproc::Test* test = ref_data.add_test(); in TEST_F()
1625 audioproc::Test* test = ref_data.add_test(); in TEST_F()
1634 for (int i = 0; i < ref_data.test_size(); i++) { in TEST_F()
1635 printf("Running test %d of %d...\n", i + 1, ref_data.test_size()); in TEST_F()
1637 audioproc::Test* test = ref_data.mutable_test(i); in TEST_F()
1797 OpenFileAndWriteMessage(ref_filename_, ref_data); in TEST_F()
2103 std::unique_ptr<float[]> ref_data(new float[ref_length]); in TEST_P() local
2136 fread(ref_data.get(), sizeof(ref_data[0]), ref_length, ref_file)) { in TEST_P()
[all …]
/external/libaom/libaom/av1/encoder/
Dtune_vmaf.c425 static int update_frame(float *ref_data, float *main_data, float *temp_data, in update_frame() argument
441 stride /= (int)sizeof(*ref_data); in update_frame()
445 ref = ref_data + i * stride; in update_frame()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_library_test_base.cc500 TF_ASSIGN_OR_RETURN(auto ref_data, ref_client_->TransferToServer(arg)); in ComputeValueAndReference()
502 ref_argument_data.push_back(std::move(ref_data)); in ComputeValueAndReference()
/external/llvm-project/llvm/test/Transforms/LoopStrengthReduce/ARM/
Divchain-ARM.ll218 define hidden void @testNeon(i8* %ref_data, i32 %ref_stride, i32 %limit, <16 x i8>* nocapture %data…
235 %.05 = phi i8* [ %ref_data, %.lr.ph ], [ %42, %11 ]
/external/llvm/test/Transforms/LoopStrengthReduce/ARM/
Divchain-ARM.ll221 define hidden void @testNeon(i8* %ref_data, i32 %ref_stride, i32 %limit, <16 x i8>* nocapture %data…
238 %.05 = phi i8* [ %ref_data, %.lr.ph ], [ %42, %11 ]