HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CE_ImageDataConverter< STORAGE, STORAGE > Struct Template Reference

#include <CE_Image.h>

Public Types

using FROM_SCALAR_TYPE = typename CE_StorageTypeTraits< STORAGE >::DataType
 
using TO_SCALAR_TYPE = typename CE_StorageTypeTraits< STORAGE >::DataType
 

Static Public Member Functions

static SYS_FORCE_INLINE
TO_SCALAR_TYPE 
convert (FROM_SCALAR_TYPE v)
 

Detailed Description

template<CE_Image::StorageType STORAGE>
struct CE_ImageDataConverter< STORAGE, STORAGE >

Optimized specialization to forego all conversion if source and destination storage types are the same.

Definition at line 330 of file CE_Image.h.

Member Typedef Documentation

template<CE_Image::StorageType STORAGE>
using CE_ImageDataConverter< STORAGE, STORAGE >::FROM_SCALAR_TYPE = typename CE_StorageTypeTraits<STORAGE>::DataType

Definition at line 332 of file CE_Image.h.

template<CE_Image::StorageType STORAGE>
using CE_ImageDataConverter< STORAGE, STORAGE >::TO_SCALAR_TYPE = typename CE_StorageTypeTraits<STORAGE>::DataType

Definition at line 333 of file CE_Image.h.

Member Function Documentation

template<CE_Image::StorageType STORAGE>
static SYS_FORCE_INLINE TO_SCALAR_TYPE CE_ImageDataConverter< STORAGE, STORAGE >::convert ( FROM_SCALAR_TYPE  v)
inlinestatic

Definition at line 336 of file CE_Image.h.


The documentation for this struct was generated from the following file: