Main MRPT website > C++ reference for MRPT 1.5.6
Functions | Variables
CSwissRanger3DCamera.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/hwdrivers/CSwissRanger3DCamera.h>
#include <mrpt/system/string_utils.h>
#include <mrpt/system/filesystem.h>
Include dependency graph for CSwissRanger3DCamera.cpp:

Go to the source code of this file.

Functions

unsigned char LinearToALawSample (uint16_t sample)
 
void do_init_table_16u_to_8u ()
 

Variables

static char ALawCompressTable [128]
 
uint8_t table_16u_to_8u [0x10000]
 
bool table_16u_to_8u_init = false
 

Function Documentation

◆ do_init_table_16u_to_8u()

void do_init_table_16u_to_8u ( )

◆ LinearToALawSample()

unsigned char LinearToALawSample ( uint16_t  sample)

Definition at line 127 of file CSwissRanger3DCamera.cpp.

References ALawCompressTable.

Referenced by do_init_table_16u_to_8u().

Variable Documentation

◆ ALawCompressTable

char ALawCompressTable[128]
static
Initial value:
=
{
1,1,2,2,3,3,3,3,
4,4,4,4,4,4,4,4,
5,5,5,5,5,5,5,5,
5,5,5,5,5,5,5,5,
6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7,
7,7,7,7,7,7,7,7
}

Definition at line 104 of file CSwissRanger3DCamera.cpp.

Referenced by LinearToALawSample().

◆ table_16u_to_8u

uint8_t table_16u_to_8u[0x10000]

◆ table_16u_to_8u_init

bool table_16u_to_8u_init = false



Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019