diff options
author | Josh Blum <josh@joshknows.com> | 2011-11-15 06:12:28 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-11-15 06:12:28 +0000 |
commit | aed619727e47bf2353164ac1788a6e3479b2fe16 (patch) | |
tree | 3822cdf56344d8af2974ae4379d5bed0d36cefca /host/include | |
parent | 986f6f8d0b14c4e56468c1c8887fadb2dc4e1463 (diff) | |
download | uhd-aed619727e47bf2353164ac1788a6e3479b2fe16.tar.gz uhd-aed619727e47bf2353164ac1788a6e3479b2fe16.tar.bz2 uhd-aed619727e47bf2353164ac1788a6e3479b2fe16.zip |
convert: move priorities to implementation, different for arm
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/convert.hpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/host/include/uhd/convert.hpp b/host/include/uhd/convert.hpp index 6cc729819..f906ff0e9 100644 --- a/host/include/uhd/convert.hpp +++ b/host/include/uhd/convert.hpp @@ -50,21 +50,8 @@ namespace uhd{ namespace convert{ //! Conversion factory function typedef typedef boost::function<converter::sptr(void)> function_type; - /*! - * Describe the priority of a converter function. - * A higher priority function takes precedence. - * The general case function are the lowest. - * Next comes the liborc implementations. - * Custom intrinsics implementations are highest. - */ - enum priority_type{ - PRIORITY_GENERAL = 0, - PRIORITY_LIBORC = 1, - PRIORITY_SIMD = 2, - PRIORITY_TABLE = 3, - PRIORITY_CUSTOM = 4, - PRIORITY_EMPTY = -1, - }; + //! Priority of conversion routines + typedef int priority_type; //! Identify a conversion routine in the registry struct id_type : boost::equality_comparable<id_type>{ |