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.cpp265 uint32_t src_mask; in TEST() local
274 src_mask = 0; in TEST()
277 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
282 src_mask = 0; in TEST()
285 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
290 src_mask = dst_mask = 0x8d; in TEST()
292 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), 555); in TEST()
297 src_mask = 0x8c; in TEST()
300 memcpy_by_channel_mask(u16ary, dst_mask, u16ref, src_mask, sizeof(u16ref[0]), in TEST()
307 src_mask = 0x8d; in TEST()
[all …]
/system/media/audio_utils/
Dprimitives.c290 const void *src, uint32_t src_mask, size_t sample_size, size_t count) in memcpy_by_channel_mask() argument
295 uint32_t src_channels = popcount(src_mask); in memcpy_by_channel_mask()
297 memcpy_by_index_array_initialization(idxary, 32, dst_mask, src_mask); in memcpy_by_channel_mask()
301 if (dst_mask == src_mask) { in memcpy_by_channel_mask()
310 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
316 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
323 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, zero); in memcpy_by_channel_mask()
329 copy_frame_by_mask(udst, dst_mask, usrc, src_mask, count, 0); in memcpy_by_channel_mask()
393 uint32_t dst_mask, uint32_t src_mask) in memcpy_by_index_array_initialization() argument
397 uint32_t bit, ormask = src_mask | dst_mask; in memcpy_by_index_array_initialization()
[all …]
/system/media/audio_utils/include/audio_utils/
Dprimitives.h326 const void *src, uint32_t src_mask, size_t sample_size, size_t count);
378 uint32_t dst_mask, uint32_t src_mask);