Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dalsa.c211 *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_()
H A Dsox_i.h127 #define lsx_swapw(x) bswap_16(x) macro
130 #define lsx_swapw(x) _byteswap_ushort(x) macro
133 #define lsx_swapw(uw) (((uw >> 8) | (uw << 8)) & 0xffff) macro
H A Doss.c303 lsx_swapw(((sox_int16_t*)pOutput)[i - 1]), in ossread()
379 ((sox_int16_t*)pPriv->pOutput)[i] = lsx_swapw(s16); in osswrite()
H A Dao.c84 datum = lsx_swapw(datum); in sox_sw_write_buf()