Searched refs:floatToInt16 (Results 1 – 1 of 1) sorted by relevance
736 static inline int16_t floatToInt16(float val) in floatToInt16() function780 sensor->buffer.rawTriple[0].ix = floatToInt16(triple->samples[i].x * sensor->rawScale); in copyTripleSamplesRaw()781 sensor->buffer.rawTriple[0].iy = floatToInt16(triple->samples[i].y * sensor->rawScale); in copyTripleSamplesRaw()782 sensor->buffer.rawTriple[0].iz = floatToInt16(triple->samples[i].z * sensor->rawScale); in copyTripleSamplesRaw()808 … sensor->buffer.rawTriple[numSamples].ix = floatToInt16(triple->samples[0].x * sensor->rawScale); in copyTripleSamplesRaw()809 … sensor->buffer.rawTriple[numSamples].iy = floatToInt16(triple->samples[0].y * sensor->rawScale); in copyTripleSamplesRaw()810 … sensor->buffer.rawTriple[numSamples].iz = floatToInt16(triple->samples[0].z * sensor->rawScale); in copyTripleSamplesRaw()821 … sensor->buffer.rawTriple[numSamples].ix = floatToInt16(triple->samples[i].x * sensor->rawScale); in copyTripleSamplesRaw()822 … sensor->buffer.rawTriple[numSamples].iy = floatToInt16(triple->samples[i].y * sensor->rawScale); in copyTripleSamplesRaw()823 … sensor->buffer.rawTriple[numSamples].iz = floatToInt16(triple->samples[i].z * sensor->rawScale); in copyTripleSamplesRaw()