Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dprimitives_tests.cpp193 std::vector<int16_t> i16ref(size); in TEST() local
201 for (size_t i = 0; i < i16ref.size(); ++i) { in TEST()
202 i16ref[i] = i16ary[i] = i - 32768; in TEST()
310 EXPECT_EQ(0, memcmp(i16ary.data(), i16ref.data(), i16ary.size() * sizeof(i16ary[0]))); in TEST()
318 EXPECT_EQ(0, memcmp(i16ary.data(), i16ref.data(), i16ary.size() * sizeof(i16ary[0]))); in TEST()
325 EXPECT_EQ(0, memcmp(i16ary.data(), i16ref.data(), i16ary.size() * sizeof(i16ary[0]))); in TEST()
680 std::vector<int16_t> i16ref(size * 2); in TEST() local
684 i16ref[i] = i; in TEST()
686 upmix_to_stereo_i16_from_mono_i16(i16ary.data(), i16ref.data(), size); in TEST()
689 EXPECT_EQ(0, memcmp(i16ary.data(), i16ref.data(), sizeof(i16ref[0]) * size)); in TEST()
[all …]