ddt 1.2.1
Loading...
Searching...
No Matches
Classes
imageBuffer.cpp File Reference

Image Buffer class, handles internal CPL image. This file is part of the DDT Image Handling Library and provides a class that handles the internal CPL image. More...

#include "ddt/imageBuffer.hpp"
#include <cstddef>
#include <iostream>
#include <memory>
#include <mutex>
#include <string>
#include "boost/algorithm/string.hpp"
#include "boost/predef/other/endian.h"
#include "boost/foreach.hpp"
#include "boost/property_tree/json_parser.hpp"
#include "boost/property_tree/ptree.hpp"
#include "ddt/ddtEncDec.hpp"
#include "ddt/ddtEncDecBinaryxD.hpp"
#include "ddt/ddtEncDecImage3D.hpp"
#include "ddt/imageHelpers.hpp"

Classes

union  R4
 
enum  Endianess { BIG_ENDIAN_ORDER = 0 , LITTLE_ENDIAN_ORDER = 1 , NETWORK_ENDIAN_ORDER = BIG_ENDIAN_ORDER , HOST_ENDIAN_ORDER = LITTLE_ENDIAN_ORDER }
 
const int bytes_per_pixel_1 = 1
 
const int bytes_per_pixel_2 = 2
 
const int bytes_per_pixel_4 = 4
 
const int bytes_per_pixel_8 = 8
 
template<typename T >
void SwapEnd (T &var)
 

Detailed Description

Image Buffer class, handles internal CPL image. This file is part of the DDT Image Handling Library and provides a class that handles the internal CPL image.

Author
Christoph Bortlisz, CGI
Since
2020/10/01

Enumeration Type Documentation

◆ Endianess

enum Endianess
Enumerator
BIG_ENDIAN_ORDER 
LITTLE_ENDIAN_ORDER 
NETWORK_ENDIAN_ORDER 
HOST_ENDIAN_ORDER 

Function Documentation

◆ SwapEnd()

template<typename T >
void SwapEnd ( T & var)

Variable Documentation

◆ bytes_per_pixel_1

const int bytes_per_pixel_1 = 1

◆ bytes_per_pixel_2

const int bytes_per_pixel_2 = 2

◆ bytes_per_pixel_4

const int bytes_per_pixel_4 = 4

◆ bytes_per_pixel_8

const int bytes_per_pixel_8 = 8