Home
last modified time | relevance | path

Searched refs:PA_INT16_SWAP (Results 1 - 5 of 5) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Dendianmacros.h35 #define PA_INT16_SWAP(x) ((int16_t) bswap_16((uint16_t) x)) macro
40 #define PA_INT16_SWAP(x) ( (int16_t) ( ((uint16_t) (x) >> 8) | ((uint16_t) (x) << 8) ) ) macro
92 #define PA_MAYBE_INT16_SWAP(c,x) ((c) ? PA_INT16_SWAP(x) : (x))
99 #define PA_INT16_FROM_LE(x) PA_INT16_SWAP(x)
102 #define PA_INT16_TO_LE(x) PA_INT16_SWAP(x)
130 #define PA_INT16_FROM_BE(x) PA_INT16_SWAP(x)
133 #define PA_INT16_TO_BE(x) PA_INT16_SWAP(x)
H A Dsconv-s16le.c214 *b = PA_INT16_SWAP(s); in pa_sconv_s32le_to_s16re()
236 int32_t s = ((int32_t) PA_INT16_SWAP(*a)) << 16; in pa_sconv_s32le_from_s16re()
271 *b = PA_INT16_SWAP(s); in pa_sconv_s24le_to_s16re()
282 uint32_t s = ((uint32_t) PA_INT16_SWAP(*a)) << 8; in pa_sconv_s24le_from_s16re()
359 *b = PA_INT16_SWAP(s); in pa_sconv_s24_32le_to_s16re()
381 uint32_t s = ((uint32_t) ((int32_t) PA_INT16_SWAP(*a) << 16)) >> 8; in pa_sconv_s24_32le_from_s16re()
H A Dsvolume_c.c95 int32_t t = pa_mult_s16_volume(PA_INT16_SWAP(*samples), volumes[channel]); in pa_volume_s16re_c()
98 *samples++ = PA_INT16_SWAP((int16_t) t); in pa_volume_s16re_c()
H A Dsconv.c107 *b = PA_INT16_SWAP(*a); in s16re_to_s16ne()
H A Dmix.c270 sum += pa_mult_s16_volume(PA_INT16_SWAP(*((int16_t*) m->ptr)), cv); in pa_mix_s16re_c()
275 *data = PA_INT16_SWAP((int16_t) sum); in pa_mix_s16re_c()

Completed in 4 milliseconds