HomeSort by relevance Sort by last modified time
    Searched full:u16ary (Results 1 - 2 of 2) sorted by null

  /system/media/audio_utils/tests/
channels_tests.cpp 62 std::vector<uint16_t> u16ary(size);
85 u16ary.data() /*out_buff*/,
91 expectEq(u16ary, u16ref);
98 std::vector<uint16_t> u16ary(size);
118 for (size_t i = 0; i < u16ary.size() / 4; ++i) {
119 u16ary[i * 4 + 2] = u16ref[i * 4 + 2];
120 u16ary[i * 4 + 3] = u16ref[i * 4 + 3];
127 u16ary.data() /*out_buff*/,
133 expectEq(u16ary, u16ref);
primitives_tests.cpp 367 uint16_t *u16ary = new uint16_t[65536]; local
376 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0]));
377 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]),
379 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530));
384 memset(u16ary, 0, 65536 * sizeof(u16ref[0]));
385 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]),
387 EXPECT_EQ((size_t)0, nonZeroMono16((int16_t*)u16ary, 65530));
391 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0]));
392 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), 555);
393 EXPECT_EQ(0, memcmp(u16ary, u16ref, 555 * sizeof(u16ref[0]) * popcount(dst_mask)))
438 uint16_t *u16ary = new uint16_t[65536]; local
522 uint16_t *u16ary = new uint16_t[65536]; local
607 uint16_t *u16ary = new uint16_t[65536]; local
    [all...]

Completed in 363 milliseconds