Closed zuckschwerdt closed 5 years ago
Seemed like a good idea. Was there an issue?
Sorry, do you mean another Github ticket or a bug like issue in the hardware/software that brought me to this? Feel free to revert this addition if it is controversial.
Oh no, never-mind, I thought you closed it and did not merge. Good work, carry on!
Adds an optimization for a special case: single channel, CS16 format, same endianess (both for RX and TX). This is the usual default format on native PlutoSDR hardware, also with SoapyRemote and reduces the cpu usage by a factor of 4 (20% utilization to 5% utilization) since we can just memcpy when iio_channel_convert() / iio_channel_convert_inverse() are nops. A DMA implementation can then go on top of this.