Searched refs:lsx_swapw (Results 1 – 4 of 4) sorted by relevance
211 *buf++ = SOX_SIGNED_16BIT_TO_SAMPLE(lsx_swapw(*buf1++),); in read_()219 *buf++ = SOX_UNSIGNED_16BIT_TO_SAMPLE(lsx_swapw(*buf1++),); in read_()285 *buf1++ = lsx_swapw(SOX_SAMPLE_TO_SIGNED_16BIT(*buf++, ft->clips)); in write_()293 *buf1++ = lsx_swapw(SOX_SAMPLE_TO_UNSIGNED_16BIT(*buf++, ft->clips)); in write_()
127 #define lsx_swapw(x) bswap_16(x) macro130 #define lsx_swapw(x) _byteswap_ushort(x) macro133 #define lsx_swapw(uw) (((uw >> 8) | (uw << 8)) & 0xffff) macro
303 lsx_swapw(((sox_int16_t*)pOutput)[i - 1]), in ossread()379 ((sox_int16_t*)pPriv->pOutput)[i] = lsx_swapw(s16); in osswrite()
84 datum = lsx_swapw(datum); in sox_sw_write_buf()