UHD
003.001.002
|
Typedefs | |
typedef uhd::ref_vector< void * > | output_type |
typedef uhd::ref_vector< const void * > | input_type |
typedef boost::function< void(const input_type &, const output_type &, size_t)> | function_type |
Enumerations | |
enum | priority_type { PRIORITY_GENERAL = 0, PRIORITY_LIBORC = 1, PRIORITY_CUSTOM = 2, PRIORITY_EMPTY = -1 } |
Functions | |
UHD_API void | register_converter (const std::string &markup, function_type fcn, priority_type prio) |
UHD_API const function_type & | get_converter_cpu_to_otw (const io_type_t &io_type, const otw_type_t &otw_type, size_t num_input_buffs, size_t num_output_buffs) |
UHD_API const function_type & | get_converter_otw_to_cpu (const io_type_t &io_type, const otw_type_t &otw_type, size_t num_input_buffs, size_t num_output_buffs) |
typedef boost::function<void(const input_type&, const output_type&, size_t)> uhd::convert::function_type |
typedef uhd::ref_vector<const void *> uhd::convert::input_type |
typedef uhd::ref_vector<void *> uhd::convert::output_type |
UHD_API const function_type& uhd::convert::get_converter_cpu_to_otw | ( | const io_type_t & | io_type, |
const otw_type_t & | otw_type, | ||
size_t | num_input_buffs, | ||
size_t | num_output_buffs | ||
) |
Get a converter function that converts cpu to otw.
io_type | the type of the input samples |
otw_type | the type of the output samples |
num_input_buffs | the number of inputs |
num_output_buffs | the number of outputs |
UHD_API const function_type& uhd::convert::get_converter_otw_to_cpu | ( | const io_type_t & | io_type, |
const otw_type_t & | otw_type, | ||
size_t | num_input_buffs, | ||
size_t | num_output_buffs | ||
) |
Get a converter function that converts otw to cpu.
io_type | the type of the input samples |
otw_type | the type of the output samples |
num_input_buffs | the number of inputs |
num_output_buffs | the number of outputs |
UHD_API void uhd::convert::register_converter | ( | const std::string & | markup, |
function_type | fcn, | ||
priority_type | prio | ||
) |
Register a converter function that converts cpu type to/from otw type.
markup | representing the signature |
fcn | a pointer to the converter |
prio | the function priority |