SoapyRemote
SoapyRemote copied to clipboard
FastLZ stream compression?
I took a quick look and didn't see any compression options for the network data... Would it be possible to integrate something like FastLZ as a compressed stream option?
Actually that gives me an idea in general. Even if the device operates on 16-bit numbers, some devices only really use 12 of those bits. Even simple bit truncation and re-packing could be useful. Also fastlz looks pretty lightweight, easy to embed in a project. So yea, it seems like several compression methodologies could be supported in the Endpoint class. Which is nice in that it would all be in once place.
With the truncation and packing I can increase the samples per transfer. Although with the fastlz, we don't know much much something will compress ahead of time, so its a little trickier to make use of the full mtu-sized transfer buffer.