Image Component Library (ICL)
Kinect11BitCompressor.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ICLCore/Core.h>
5 
6 namespace icl {
7  namespace io {
8 
10 
11  public:
12 
13  static size_t estimate_packed_size(size_t nSrc);
14 
15  static void unpack11to16(const uint16_t *src, uint16_t *dest, int n);
16 
17  static void pack16to11(const uint16_t *src, uint16_t *dest, int n);
18 
19  // ///////////////////////////////////////////////////////////////////////////////////////////
20 
21  static void unpack11to16_2(const uint16_t *src, uint16_t *dest, int n);
22 
23  static void pack16to11_2(const uint16_t *src, uint16_t *dest, int n);
24 
25  static const int Z0;
26  static const int Zmin;
27  static const int Zmax;
28  static const int a;
29  static const int b;
30 
31  };
32 
33  }// namespace io
34 }// namespace icl
static void unpack11to16(const uint16_t *src, uint16_t *dest, int n)
undocument this line if you encounter any issues!
Definition: Any.h:37
static const int Z0
Definition: Kinect11BitCompressor.h:25
static void unpack11to16_2(const uint16_t *src, uint16_t *dest, int n)
static size_t estimate_packed_size(size_t nSrc)
static const int Zmax
Definition: Kinect11BitCompressor.h:27
static const int b
Definition: Kinect11BitCompressor.h:29
static const int Zmin
Definition: Kinect11BitCompressor.h:26
static void pack16to11_2(const uint16_t *src, uint16_t *dest, int n)
static void pack16to11(const uint16_t *src, uint16_t *dest, int n)
Definition: Kinect11BitCompressor.h:9
static const int a
Definition: Kinect11BitCompressor.h:28