/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/core/detail/swizzling.hpp File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/core/detail/swizzling.hpp File Reference#

1 min read time

Applies to Linux

rocCV: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-roccv/checkouts/latest/include/core/detail/swizzling.hpp File Reference
swizzling.hpp File Reference
#include <hip/hip_runtime.h>
#include "core/detail/type_traits.hpp"
#include "core/image_format.hpp"

Go to the source code of this file.

Classes

struct  roccv::detail::SwizzleIndexMap< eSwizzle::XYZW, N >
 
struct  roccv::detail::SwizzleIndexMap< eSwizzle::ZYXW, 1 >
 
struct  roccv::detail::SwizzleIndexMap< eSwizzle::ZYXW, 3 >
 
struct  roccv::detail::SwizzleIndexMap< eSwizzle::ZYXW, 4 >
 

Namespaces

 roccv
 
 roccv::detail
 

Functions

template<typename T , size_t... I>
__host__ constexpr __device__ T roccv::detail::ExpandSwizzle (const T &v, std::integer_sequence< size_t, I... >)
 
template<eSwizzle Pattern, typename T >
__host__ constexpr __device__ T roccv::detail::Swizzle (const T &v)
 Rearranges the components of a vector according to a given swizzle pattern. More...
 
template<typename T , size_t... Indices>
__host__ constexpr __device__ T roccv::detail::SwizzleIndicesImpl (const T &v)