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

Templated function for converting between different storage types. More...

#include <CE_Image.h>

Public Types

using FROM_SCALAR_TYPE = typename CE_StorageTypeTraits< FROM >::DataType
 
using TO_SCALAR_TYPE = typename CE_StorageTypeTraits< TO >::DataType
 
using INTERMEDIATE_CONVERTER = CE_ImageValueConverter< FROM, float >
 
using FINAL_CONVERTER = CE_ImageValueConverter< TO, float >
 

Static Public Member Functions

static SYS_FORCE_INLINE
TO_SCALAR_TYPE 
convert (FROM_SCALAR_TYPE v)
 

Detailed Description

template<CE_Image::StorageType FROM, CE_Image::StorageType TO>
struct CE_ImageDataConverter< FROM, TO >

Templated function for converting between different storage types.

Definition at line 313 of file CE_Image.h.

Member Typedef Documentation

template<CE_Image::StorageType FROM, CE_Image::StorageType TO>
using CE_ImageDataConverter< FROM, TO >::FINAL_CONVERTER = CE_ImageValueConverter<TO, float>

Definition at line 318 of file CE_Image.h.

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

Definition at line 315 of file CE_Image.h.

template<CE_Image::StorageType FROM, CE_Image::StorageType TO>
using CE_ImageDataConverter< FROM, TO >::INTERMEDIATE_CONVERTER = CE_ImageValueConverter<FROM, float>

Definition at line 317 of file CE_Image.h.

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

Definition at line 316 of file CE_Image.h.

Member Function Documentation

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

Definition at line 321 of file CE_Image.h.


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