MRPT  2.0.3
Functions | Variables
CSwissRanger3DCamera.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/hwdrivers/CSwissRanger3DCamera.h>
#include <mrpt/system/filesystem.h>
#include <mrpt/system/string_utils.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 ( )

Definition at line 108 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 94 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 83 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 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020