Main MRPT website > C++ reference for MRPT 1.5.9
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.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020