Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/audio/
DSDL_audiotypecvt.c240 *dst = SDL_SwapFloatLE(val); in SDL_Convert_U8_to_F32LSB()
455 *dst = SDL_SwapFloatLE(val); in SDL_Convert_S8_to_F32LSB()
668 *dst = SDL_SwapFloatLE(val); in SDL_Convert_U16LSB_to_F32LSB()
881 *dst = SDL_SwapFloatLE(val); in SDL_Convert_S16LSB_to_F32LSB()
1094 *dst = SDL_SwapFloatLE(val); in SDL_Convert_U16MSB_to_F32LSB()
1307 *dst = SDL_SwapFloatLE(val); in SDL_Convert_S16MSB_to_F32LSB()
1522 *dst = SDL_SwapFloatLE(val); in SDL_Convert_S32LSB_to_F32LSB()
1735 *dst = SDL_SwapFloatLE(val); in SDL_Convert_S32MSB_to_F32LSB()
1780 const Uint8 val = ((Uint8) ((SDL_SwapFloatLE(*src) + 1.0f) * 127.0f)); in SDL_Convert_F32LSB_to_U8()
1804 const Sint8 val = ((Sint8) (SDL_SwapFloatLE(*src) * 127.0f)); in SDL_Convert_F32LSB_to_S8()
[all …]
DSDL_audiocvt.c175 const float src1 = SDL_SwapFloatLE(src[0]); in SDL_ConvertMono()
176 const float src2 = SDL_SwapFloatLE(src[1]); in SDL_ConvertMono()
179 *(dst++) = SDL_SwapFloatLE(halved); in SDL_ConvertMono()
564 lf = SDL_SwapFloatLE(src[0]); in SDL_ConvertSurround()
565 rf = SDL_SwapFloatLE(src[1]); in SDL_ConvertSurround()
569 dst[2] = SDL_SwapFloatLE(lf - ce); in SDL_ConvertSurround()
570 dst[3] = SDL_SwapFloatLE(rf - ce); in SDL_ConvertSurround()
571 dst[4] = dst[5] = SDL_SwapFloatLE(ce); in SDL_ConvertSurround()
794 lf = SDL_SwapFloatLE(src[0]); in SDL_ConvertSurround_4()
795 rf = SDL_SwapFloatLE(src[1]); in SDL_ConvertSurround_4()
[all …]
DSDL_mixer.c319 src1 = ((SDL_SwapFloatLE(*src32) * fvolume) * fmaxvolume); in SDL_MixAudioFormat()
320 src2 = SDL_SwapFloatLE(*dst32); in SDL_MixAudioFormat()
329 *(dst32++) = SDL_SwapFloatLE((float) dst_sample); in SDL_MixAudioFormat()
/third_party/flutter/skia/third_party/externals/sdl/include/
DSDL_endian.h214 #define SDL_SwapFloatLE(X) (X) macro
223 #define SDL_SwapFloatLE(X) SDL_SwapFloat(X) macro
/third_party/flutter/skia/third_party/externals/sdl/src/events/
DSDL_gesture.c136 p->x = SDL_SwapFloatLE(p->x); in SaveTemplate()
137 p->y = SDL_SwapFloatLE(p->y); in SaveTemplate()
250 p->x = SDL_SwapFloatLE(p->x); in SDL_LoadDollarTemplates()
251 p->y = SDL_SwapFloatLE(p->y); in SDL_LoadDollarTemplates()