SoapyRemote icon indicating copy to clipboard operation
SoapyRemote copied to clipboard

FastLZ stream compression?

Open cjcliffe opened this issue 8 years ago • 1 comments

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?

cjcliffe avatar Sep 18 '15 02:09 cjcliffe

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.

guruofquality avatar Sep 20 '15 02:09 guruofquality