8#ifndef RTMS2DDTLIB_DDTIMAGE_HPP_
9#define RTMS2DDTLIB_DDTIMAGE_HPP_
11#define BOOST_BIND_NO_PLACEHOLDERS
13#include <boost/lockfree/spsc_queue.hpp>
14#include <boost/atomic.hpp>
15#include <boost/bimap.hpp>
16#include <boost/assign.hpp>
17#include <boost/algorithm/string.hpp>
19#include <ddt/ddtDataPublisher.hpp>
20#include <ddt/ddtDataTransferFactory.hpp>
21#include <ddt/ddtEncDecImage3D.hpp>
22#include <ddt/ddtLogger.hpp>
25#include <ifw/fnd/defs/dataType.hpp>
35 inline uint32_t
GetDdtType(
const ifw::fnd::datatype::DataType data_type) {
36 uint32_t ddt_type = ddt::SINT16;
38 case ifw::fnd::datatype::DataType::BYTE:
39 ddt_type = ddt::UINT8;
41 case ifw::fnd::datatype::DataType::INT16:
42 ddt_type = ddt::SINT16;
44 case ifw::fnd::datatype::DataType::UINT16:
45 ddt_type = ddt::SINT16;
47 case ifw::fnd::datatype::DataType::INT32:
48 ddt_type = ddt::SINT16;
50 case ifw::fnd::datatype::DataType::UINT32:
51 ddt_type = ddt::SINT32;
53 case ifw::fnd::datatype::DataType::FLOAT:
54 ddt_type = ddt::FLOAT32;
76 DdtImage(
int width,
int height,
int bpp);
119 unsigned char* m_image{
nullptr};