summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-12 00:39:04 -0700
committerJosh Blum <josh@joshknows.com>2011-11-03 20:37:12 -0700
commitc885da11389ee275f9c5206b9f8a2155a5393a8a (patch)
treeef9a1f22b43f046ecf35674c91b3321d7e5d6867 /host/include
parent9fc513c961775c9682123394fe5d42ef914bbbd6 (diff)
downloaduhd-c885da11389ee275f9c5206b9f8a2155a5393a8a.tar.gz
uhd-c885da11389ee275f9c5206b9f8a2155a5393a8a.tar.bz2
uhd-c885da11389ee275f9c5206b9f8a2155a5393a8a.zip
uhd: renamed convert markup to format
removed convert args added simd level got orc and neon updated
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/convert.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/host/include/uhd/convert.hpp b/host/include/uhd/convert.hpp
index a0b502ab0..c42edfdec 100644
--- a/host/include/uhd/convert.hpp
+++ b/host/include/uhd/convert.hpp
@@ -42,17 +42,17 @@ namespace uhd{ namespace convert{
enum priority_type{
PRIORITY_GENERAL = 0,
PRIORITY_LIBORC = 1,
- PRIORITY_CUSTOM = 2,
+ PRIORITY_SIMD = 2,
+ PRIORITY_CUSTOM = 3,
PRIORITY_EMPTY = -1,
};
//! Identify a conversion routine in the registry
struct id_type : boost::equality_comparable<id_type>{
- std::string input_markup;
+ std::string input_format;
size_t num_inputs;
- std::string output_markup;
+ std::string output_format;
size_t num_outputs;
- std::string args;
std::string to_pp_string(void) const;
};
@@ -80,15 +80,15 @@ namespace uhd{ namespace convert{
/*!
* Register the size of a particular item.
- * \param markup the item markup
+ * \param format the item format
* \param size the size in bytes
*/
UHD_API void register_bytes_per_item(
- const std::string &markup, const size_t size
+ const std::string &format, const size_t size
);
- //! Convert an item markup to a size in bytes
- UHD_API size_t get_bytes_per_item(const std::string &markup);
+ //! Convert an item format to a size in bytes
+ UHD_API size_t get_bytes_per_item(const std::string &format);
}} //namespace