Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dprimitives_tests.cpp346 uint32_t src_mask; in TEST() local
355 src_mask = 0; in TEST()
358 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
363 src_mask = 0; in TEST()
366 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
371 src_mask = dst_mask = 0x8d; in TEST()
373 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), 555); in TEST()
378 src_mask = 0x8c; in TEST()
381 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
388 src_mask = 0x8d; in TEST()
[all …]
/system/media/audio_utils/
Dprimitives.c363 const void *src, uint32_t src_mask, size_t sample_size, size_t count) in memcpy_by_channel_mask() argument
368 uint32_t src_channels = popcount(src_mask); in memcpy_by_channel_mask()
370 memcpy_by_index_array_initialization(idxary, 32, dst_mask, src_mask); in memcpy_by_channel_mask()
374 if (dst_mask == src_mask) { in memcpy_by_channel_mask()
383 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
389 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
396 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, zero); in memcpy_by_channel_mask()
402 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
466 uint32_t dst_mask, uint32_t src_mask) in memcpy_by_index_array_initialization() argument
470 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization()
[all …]
/system/media/audio_utils/include/audio_utils/
Dprimitives.h471 const void *src, uint32_t src_mask, size_t sample_size, size_t count);
535 uint32_t dst_mask, uint32_t src_mask);
555 uint32_t dst_mask, uint32_t src_mask);
578 uint32_t dst_mask, uint32_t src_mask);