|
struct cudaVectorTypeInfo< uchar > | __attribute__ |
|
template<typename T > |
__host__ __device__ T | make_vec (typename cudaVectorTypeInfo< T >::Base x, typename cudaVectorTypeInfo< T >::Base y, typename cudaVectorTypeInfo< T >::Base z, typename cudaVectorTypeInfo< T >::Base w) |
|
template<> |
__host__ __device__ uchar | make_vec (uint8_t x, uint8_t y, uint8_t z, uint8_t w) |
|
template<> |
__host__ __device__ float | make_vec (float x, float y, float z, float w) |
|
template<typename T > |
__host__ __device__ T | cast_vec (const uchar3 &a) |
|
template<typename T > |
__host__ __device__ T | cast_vec (const uchar4 &a) |
|
template<typename T > |
__host__ __device__ T | cast_vec (const float3 &a) |
|
template<typename T > |
__host__ __device__ T | cast_vec (const float4 &a) |
|
template<> |
__host__ __device__ uchar3 | cast_vec (const uchar3 &a) |
|
template<> |
__host__ __device__ uchar3 | cast_vec (const uchar4 &a) |
|
template<> |
__host__ __device__ uchar3 | cast_vec (const float3 &a) |
|
template<> |
__host__ __device__ uchar3 | cast_vec (const float4 &a) |
|
template<typename T > |
__device__ cudaVectorTypeInfo< T >::Base | alpha (T vec, typename cudaVectorTypeInfo< T >::Base default_alpha=255) |
|
template<> |
__host__ __device__ uint8_t | alpha (uchar3 vec, uint8_t default_alpha) |
|
template<> |
__host__ __device__ uint8_t | alpha (uchar4 vec, uint8_t default_alpha) |
|
template<> |
__host__ __device__ float | alpha (float3 vec, float default_alpha) |
|
template<> |
__host__ __device__ float | alpha (float4 vec, float default_alpha) |
|