Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dchannels.cpp35 static inline int32_t uint8x3_to_int32(uint8x3_t val) { in uint8x3_to_int32()
47 static inline uint8x3_t int32_to_uint8x3(int32_t in) { in int32_to_uint8x3()
48 uint8x3_t out; in int32_to_uint8x3()
401 CONTRACT_TO_MONO_24((const uint8x3_t*)in_buff, in contract_channels()
402 (uint8x3_t*)out_buff, num_in_bytes); in contract_channels()
405 CONTRACT_CHANNELS((const uint8x3_t*)in_buff, in_buff_chans, in contract_channels()
406 (uint8x3_t*)out_buff, out_buff_chans, in contract_channels()
459 CONTRACT_CHANNELS_NON_DESTRUCTIVE((const uint8x3_t*)in_buff, in_buff_chans, in contract_channels_non_destructive()
460 (uint8x3_t*)out_buff, out_buff_chans, in contract_channels_non_destructive()
493 static const uint8x3_t packed24_zero{}; /* zero 24 bit sample */ in expand_channels()
[all …]
Dprimitives.c455 uint8x3_t *udst = (uint8x3_t*)dst; in memcpy_by_channel_mask()
456 const uint8x3_t *usrc = (const uint8x3_t*)src; in memcpy_by_channel_mask()
457 static const uint8x3_t zero; /* tricky - we use this to zero out a sample */ in memcpy_by_channel_mask()
510 uint8x3_t *udst = (uint8x3_t*)dst; in memcpy_by_index_array()
511 const uint8x3_t *usrc = (const uint8x3_t*)src; in memcpy_by_index_array()
512 static const uint8x3_t zero; in memcpy_by_index_array()
/system/media/audio_utils/tests/
Dpower_tests.cpp27 typedef struct { uint8_t c[3]; } __attribute__((__packed__)) uint8x3_t; typedef
36 uint8x3_t p24_ary[length]; in testFloatValue()
47 const uint8x3_t p24_value{{ in testFloatValue()
53 const uint8x3_t p24_value{{ in testFloatValue()
95 uint8x3_t p24_ary[length]; in testFloatRamp()
110 const uint8x3_t p24_value{{ in testFloatRamp()
116 const uint8x3_t p24_value{{ in testFloatRamp()
Dprimitives_tests.cpp433 typedef struct {uint8_t c[3];} __attribute__((__packed__)) uint8x3_t; in TEST() typedef
434 uint8x3_t *u24ref = new uint8x3_t[65536]; in TEST()
435 uint8x3_t *u24ary = new uint8x3_t[65536]; in TEST()
439 EXPECT_EQ((size_t)3, sizeof(uint8x3_t)); // 3 bytes per struct in TEST()
517 typedef struct {uint8_t c[3];} __attribute__((__packed__)) uint8x3_t; in TEST() typedef
518 uint8x3_t *u24ref = new uint8x3_t[65536]; in TEST()
519 uint8x3_t *u24ary = new uint8x3_t[65536]; in TEST()
523 EXPECT_EQ((size_t)3, sizeof(uint8x3_t)); // 3 bytes per struct in TEST()
602 typedef struct {uint8_t c[3];} __attribute__((__packed__)) uint8x3_t; in TEST() typedef
603 uint8x3_t *u24ref = new uint8x3_t[65536]; in TEST()
[all …]
/system/media/audio_utils/private/
Dprivate.h31 typedef struct {uint8_t c[3];} __attribute__((__packed__)) uint8x3_t; typedef