Commit Graph

3 Commits

Author SHA1 Message Date
Romain Vimont
27bbec750c Add conversion from float to fixed-point i16
To encode float values between -1 and 1.

PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369>
2022-08-03 23:30:01 +02:00
Romain Vimont
4f9288c617 Add unit test for float encoding
PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369>
2022-08-03 23:30:01 +02:00
Romain Vimont
39fe6b5b66 Rename buffer_util.h to binary.h
It will allow to expose more binary util functions not related to
buffers.

PR #3369 <https://github.com/Genymobile/scrcpy/pull/3369>
2022-08-03 23:30:01 +02:00