Main MRPT website > C++ reference for MRPT 1.9.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>

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 ( )

Definition at line 124 of file CSwissRanger3DCamera.cpp.

References LinearToALawSample(), and table_16u_to_8u.

Referenced by mrpt::hwdrivers::CSwissRanger3DCamera::getNextObservation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LinearToALawSample()

unsigned char LinearToALawSample ( uint16_t  sample)

Definition at line 110 of file CSwissRanger3DCamera.cpp.

References ALawCompressTable.

Referenced by do_init_table_16u_to_8u().

Here is the caller graph for this function:

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 99 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.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019