Searched refs:dst_mask (Results 1 – 3 of 3) sorted by relevance
/system/media/audio_utils/tests/ |
D | primitives_tests.cpp | 363 uint32_t dst_mask; in TEST() local 374 dst_mask = 0x8d; in TEST() 376 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST() 377 65536 / __builtin_popcount(dst_mask)); in TEST() 382 dst_mask = 0; in TEST() 384 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST() 389 src_mask = dst_mask = 0x8d; in TEST() 391 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), 555); in TEST() 392 EXPECT_EQ(0, memcmp(u16ary, u16ref, 555 * sizeof(u16ref[0]) * __builtin_popcount(dst_mask))); in TEST() 397 dst_mask = 0x8d; in TEST() [all …]
|
/system/media/audio_utils/ |
D | primitives.c | 425 void memcpy_by_channel_mask(void *dst, uint32_t dst_mask, in memcpy_by_channel_mask() argument 433 memcpy_by_index_array_initialization(idxary, 32, dst_mask, src_mask); in memcpy_by_channel_mask() 437 if (dst_mask == src_mask) { in memcpy_by_channel_mask() 438 memcpy(dst, src, sample_size * __builtin_popcount(dst_mask) * count); in memcpy_by_channel_mask() 446 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask() 452 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask() 459 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, zero); in memcpy_by_channel_mask() 465 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask() 529 uint32_t dst_mask, uint32_t src_mask) in memcpy_by_index_array_initialization() argument 533 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization() [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 564 void memcpy_by_channel_mask(void *dst, uint32_t dst_mask, 629 uint32_t dst_mask, uint32_t src_mask); 649 uint32_t dst_mask, uint32_t src_mask); 672 uint32_t dst_mask, uint32_t src_mask);
|