Home
last modified time | relevance | path

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

/third_party/alsa-lib/src/pcm/
Dplugin_ops.h24 static inline uint32_t sx20(uint32_t x) in sx20() function
459 put16_12_0120_20: as_u32(dst) = sx20((uint32_t)sample << 4); goto PUT16_END;
460 put16_12_0920_20: as_u32(dst) = sx20((uint32_t)(sample ^ 0x8000) << 4); goto PUT16_END;
461 put16_12_0210_20: as_u32(dst) = bswap_32(sx20((uint32_t)sample << 4)); goto PUT16_END;
462 put16_12_0290_20: as_u32(dst) = bswap_32(sx20((uint32_t)(sample ^ 0x8000) << 4)); goto PUT16_END;
628 put32_1234_0123_20: as_u32(dst) = sx20(sample >> 12); goto PUT32_END;
629 put32_1234_0923_20: as_u32(dst) = sx20((sample ^ 0x80000000) >> 12); goto PUT32_END;
630 put32_1234_3210_20: as_u32(dst) = bswap_32(sx20(sample >> 12)); goto PUT32_END;
631 put32_1234_3290_20: as_u32(dst) = bswap_32(sx20((sample ^ 0x80000000) >> 12)); goto PUT32_END;