You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the patterns that have come up is that many devices support complex bytes or shorts, and we end up duplicating conversions to support other stream formats for the read/writeStream API. Conversion support routines would provide a standard set of stream formats and conversions between formats for any module. The SoapySDR conversion routines would also be optimized in some cases SIMD or lookup tables (for example we have duplicated neon routines on some of the arm boards).
Conversion.hpp would provide calls to:
given a native format, get a list of source formats that we can convert from
given a native format, get a list of target formats that we can convert to
given a source format and destination format, get a pointer to the conversion function
Implementation
The default getStreamFormats API can use the first two calls to populate the list of supported formats given the native format. Otherwise, client modules can manually make this call as well.
The setupStream() in a client module should use the third call to stash a function pointer. This function pointer will be invoked in the respective read/writeStream() API calls
The text was updated successfully, but these errors were encountered:
One of the patterns that have come up is that many devices support complex bytes or shorts, and we end up duplicating conversions to support other stream formats for the read/writeStream API. Conversion support routines would provide a standard set of stream formats and conversions between formats for any module. The SoapySDR conversion routines would also be optimized in some cases SIMD or lookup tables (for example we have duplicated neon routines on some of the arm boards).
Conversion.hpp would provide calls to:
Implementation
The text was updated successfully, but these errors were encountered: