Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_audiotypecvt.c192 *dst = ((Sint32) SDL_SwapLE32(val)); in SDL_Convert_U8_to_S32LSB()
407 *dst = ((Sint32) SDL_SwapLE32(val)); in SDL_Convert_S8_to_S32LSB()
620 *dst = ((Sint32) SDL_SwapLE32(val)); in SDL_Convert_U16LSB_to_S32LSB()
833 *dst = ((Sint32) SDL_SwapLE32(val)); in SDL_Convert_S16LSB_to_S32LSB()
1046 *dst = ((Sint32) SDL_SwapLE32(val)); in SDL_Convert_U16MSB_to_S32LSB()
1259 *dst = ((Sint32) SDL_SwapLE32(val)); in SDL_Convert_S16MSB_to_S32LSB()
1354 const Uint8 val = ((Uint8) (((((Sint32) SDL_SwapLE32(*src))) ^ 0x80000000) >> 24)); in SDL_Convert_S32LSB_to_U8()
1378 const Sint8 val = ((Sint8) (((Sint32) SDL_SwapLE32(*src)) >> 24)); in SDL_Convert_S32LSB_to_S8()
1402 const Uint16 val = ((Uint16) (((((Sint32) SDL_SwapLE32(*src))) ^ 0x80000000) >> 16)); in SDL_Convert_S32LSB_to_U16LSB()
1426 const Sint16 val = ((Sint16) (((Sint32) SDL_SwapLE32(*src)) >> 16)); in SDL_Convert_S32LSB_to_S16LSB()
[all …]
DSDL_audiocvt.c153 (((Sint64) (Sint32) SDL_SwapLE32(src[0])) + in SDL_ConvertMono()
154 ((Sint64) (Sint32) SDL_SwapLE32(src[1]))); in SDL_ConvertMono()
155 *(dst++) = SDL_SwapLE32((Uint32) ((Sint32) (added / 2))); in SDL_ConvertMono()
527 lf = (Sint32) SDL_SwapLE32(src[0]); in SDL_ConvertSurround()
528 rf = (Sint32) SDL_SwapLE32(src[1]); in SDL_ConvertSurround()
532 dst[2] = SDL_SwapLE32((Uint32) (lf - ce)); in SDL_ConvertSurround()
533 dst[3] = SDL_SwapLE32((Uint32) (rf - ce)); in SDL_ConvertSurround()
534 dst[4] = SDL_SwapLE32((Uint32) ce); in SDL_ConvertSurround()
535 dst[5] = SDL_SwapLE32((Uint32) ce); in SDL_ConvertSurround()
760 lf = (Sint32) SDL_SwapLE32(src[0]); in SDL_ConvertSurround_4()
[all …]
DSDL_mixer.c264 src1 = (Sint64) ((Sint32) SDL_SwapLE32(*src32)); in SDL_MixAudioFormat()
267 src2 = (Sint64) ((Sint32) SDL_SwapLE32(*dst32)); in SDL_MixAudioFormat()
274 *(dst32++) = SDL_SwapLE32((Uint32) ((Sint32) dst_sample)); in SDL_MixAudioFormat()
DSDL_wave.c57 MS_ADPCM_state.wavefmt.frequency = SDL_SwapLE32(format->frequency); in InitMS_ADPCM()
58 MS_ADPCM_state.wavefmt.byterate = SDL_SwapLE32(format->byterate); in InitMS_ADPCM()
239 IMA_ADPCM_state.wavefmt.frequency = SDL_SwapLE32(format->frequency); in InitIMA_ADPCM()
240 IMA_ADPCM_state.wavefmt.byterate = SDL_SwapLE32(format->byterate); in InitIMA_ADPCM()
508 spec->freq = SDL_SwapLE32(format->frequency); in SDL_LoadWAV_RW()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_endian.h212 #define SDL_SwapLE32(X) (X) macro
221 #define SDL_SwapLE32(X) SDL_Swap32(X) macro
/third_party/flutter/skia/third_party/externals/sdl/src/file/
DSDL_rwops.c691 return SDL_SwapLE32(value); in SDL_ReadLE32()
744 const Uint32 swapped = SDL_SwapLE32(value); in SDL_WriteLE32()