MRPT  1.9.9
CSwissRanger3DCamera.cpp File Reference
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 110 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 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: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020