TI Autonomous Driving Algorithms (TIADALG) Library User Guide
tiadalg_alg_int_interface.h File Reference

This file defines internal common data structures for all the modules. More...

#include <stdint.h>
#include <stdlib.h>
#include <math.h>

Go to the source code of this file.

#define TIADALG_PI   (3.14159265358f)
 
#define mmax(a, b)   (((a)>(b))?(a):(b))
 
#define mmin(a, b)   (((a)<(b))?(a):(b))
 
#define msign(x)   (x >= 0)?1:0
 
#define SWAP_ME(a, b)   a=a+b;b=a-b;a=a-b;
 
#define TIADALG_oneByXF32(x)   1/x
 
#define VXLIB_STATUS   int32_t
 
#define VXLIB_SUCCESS   (1)
 
#define VXLIB_ERR_FAILURE   (0)
 
#define VXLIB_F32   float
 
#define VXLIB_D64   double
 
static size_t addr_align (void *addr, int32_t num_byte_align)
 

Detailed Description

This file defines internal common data structures for all the modules.

Version
0.1 Sep 2018 : Initial Code

Macro Definition Documentation

◆ TIADALG_PI

#define TIADALG_PI   (3.14159265358f)

◆ mmax

#define mmax (   a,
 
)    (((a)>(b))?(a):(b))

◆ mmin

#define mmin (   a,
 
)    (((a)<(b))?(a):(b))

◆ msign

#define msign (   x)    (x >= 0)?1:0

◆ SWAP_ME

#define SWAP_ME (   a,
 
)    a=a+b;b=a-b;a=a-b;

◆ TIADALG_oneByXF32

#define TIADALG_oneByXF32 (   x)    1/x

◆ VXLIB_STATUS

#define VXLIB_STATUS   int32_t

◆ VXLIB_SUCCESS

#define VXLIB_SUCCESS   (1)

◆ VXLIB_ERR_FAILURE

#define VXLIB_ERR_FAILURE   (0)

◆ VXLIB_F32

#define VXLIB_F32   float

◆ VXLIB_D64

#define VXLIB_D64   double

Function Documentation

◆ addr_align()

static size_t addr_align ( void *  addr,
int32_t  num_byte_align 
)
inlinestatic

© Copyright 2018 Texas Instruments Incorporated. All rights reserved.
Document generated by doxygen 1.8.6