#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "math.h"
#include <../common/profile.h>
#include <../common/tiadalg_img_proc.h>
#include "ti/drv/udma/udma.h"
#include "csl_dspcachec7.h"
#include "csl_c7xl2cc.h"
#include "enable_cache_mmu.h"
Go to the source code of this file.
|
int32_t | sfmTest (ssfm_Config *testcaseParams) |
|
int32_t | TestApp_AllocMemRecords (IALG_MemRec *memRec, int32_t numMemRec) |
|
int32_t | TestApp_FreeMemRecords (IALG_MemRec *memRec, int32_t numMemRec) |
|
int32_t | TestApp_AllocIOBuffers (IVISION_InBufs *inBufs, IVISION_OutBufs *outBufs, int32_t totInPixs, uint16_t inNumTracks, int32_t inImgClrFmt) |
|
int32_t | TestApp_ReadInBuf (void *dst0, void *dst1, int32_t currFrameNum, int32_t enAlgPtCldVis, char *dofFolderName, char *inImgName, int32_t img_width, int32_t img_height, int32_t inImgClrFmt) |
|
int32_t | TestApp_ReadInCameraPrm (float *dstExt, float *dstInt, int32_t currFrameNum, int32_t startFrameNum, char *fileName, int32_t maxFrameNum) |
|
int32_t | TestApp_WriteOutPlyBuf (SFM_TI_output *src, int32_t currFrameNum, int32_t startFrameNum, char *featFileName, char *inImgFileName, char *outImgFileName, int32_t maxFrameNum, int32_t imgWidth, int32_t imgHeight, int32_t outNumPoints) |
|
void | TestApp_WritePlyHeader (FILE *fp_out, int32_t outNumPoints) |
|
int32_t | sfmCompare (ssfm_Config *testcaseParams) |
|
int32_t | TestApp_memContamination (IALG_MemRec *memRec, int32_t numMemRec, int32_t frmIdx) |
|
void | SetMAR () |
|
void | InitCache () |
|
void * | algo_tb_udma_init (void) |
|
void | ALGO_printf (const char *str) |
|
◆ ENABLE_TRACES
◆ __mmax
#define __mmax |
( |
|
x, |
|
|
|
y |
|
) |
| (x>y)?x:y |
◆ __mmin
#define __mmin |
( |
|
x, |
|
|
|
y |
|
) |
| (x>y)?y:x |
◆ MAX_NUM_IN_POINTS
#define MAX_NUM_IN_POINTS (1242*375) |
◆ VLIB_TRIANG_MAX_POINTS_IN_TRACK
#define VLIB_TRIANG_MAX_POINTS_IN_TRACK (6) |
◆ FRAME_DEPTH_3D_POINT_CLOUD
#define FRAME_DEPTH_3D_POINT_CLOUD (1) |
◆ MAX_NUM_OUT_POINTS
◆ PRINT_ERROR_MSG
#define PRINT_ERROR_MSG |
( |
| ) |
printf("Error at line: %5d : in file %22s, of function : %s \n",__LINE__, __FILE__,__FUNCTION__) |
◆ DMEM2_SIZE
#define DMEM2_SIZE (1024 * 1024) |
◆ DMEM1_SIZE
#define DMEM1_SIZE (448 * 1024) |
◆ DMEM0_SIZE
#define DMEM0_SIZE (13 * 1024) |
◆ MAX_INPUT_BUF_SIZE
◆ MAX_OUTPUT_BUF_SIZE
◆ MAX_IMG_BUF_SIZE
#define MAX_IMG_BUF_SIZE ((1920*1088*3)>>1) |
◆ L1D_SRAM_ADDR
#define L1D_SRAM_ADDR (0x00F00000) |
◆ MAR148
#define MAR148 |
( |
| ) |
(*(volatile uint32_t *)0x01848250) |
◆ sfmTest()
◆ TestApp_AllocMemRecords()
int32_t TestApp_AllocMemRecords |
( |
IALG_MemRec * |
memRec, |
|
|
int32_t |
numMemRec |
|
) |
| |
◆ TestApp_FreeMemRecords()
int32_t TestApp_FreeMemRecords |
( |
IALG_MemRec * |
memRec, |
|
|
int32_t |
numMemRec |
|
) |
| |
◆ TestApp_AllocIOBuffers()
int32_t TestApp_AllocIOBuffers |
( |
IVISION_InBufs * |
inBufs, |
|
|
IVISION_OutBufs * |
outBufs, |
|
|
int32_t |
totInPixs, |
|
|
uint16_t |
inNumTracks, |
|
|
int32_t |
inImgClrFmt |
|
) |
| |
◆ TestApp_ReadInBuf()
int32_t TestApp_ReadInBuf |
( |
void * |
dst0, |
|
|
void * |
dst1, |
|
|
int32_t |
currFrameNum, |
|
|
int32_t |
enAlgPtCldVis, |
|
|
char * |
dofFolderName, |
|
|
char * |
inImgName, |
|
|
int32_t |
img_width, |
|
|
int32_t |
img_height, |
|
|
int32_t |
inImgClrFmt |
|
) |
| |
◆ TestApp_ReadInCameraPrm()
int32_t TestApp_ReadInCameraPrm |
( |
float * |
dstExt, |
|
|
float * |
dstInt, |
|
|
int32_t |
currFrameNum, |
|
|
int32_t |
startFrameNum, |
|
|
char * |
fileName, |
|
|
int32_t |
maxFrameNum |
|
) |
| |
◆ TestApp_WriteOutPlyBuf()
int32_t TestApp_WriteOutPlyBuf |
( |
SFM_TI_output * |
src, |
|
|
int32_t |
currFrameNum, |
|
|
int32_t |
startFrameNum, |
|
|
char * |
featFileName, |
|
|
char * |
inImgFileName, |
|
|
char * |
outImgFileName, |
|
|
int32_t |
maxFrameNum, |
|
|
int32_t |
imgWidth, |
|
|
int32_t |
imgHeight, |
|
|
int32_t |
outNumPoints |
|
) |
| |
◆ TestApp_WritePlyHeader()
void TestApp_WritePlyHeader |
( |
FILE * |
fp_out, |
|
|
int32_t |
outNumPoints |
|
) |
| |
◆ sfmCompare()
◆ TestApp_memContamination()
int32_t TestApp_memContamination |
( |
IALG_MemRec * |
memRec, |
|
|
int32_t |
numMemRec, |
|
|
int32_t |
frmIdx |
|
) |
| |
◆ SetMAR()
◆ InitCache()
◆ algo_tb_udma_init()
void* algo_tb_udma_init |
( |
void |
| ) |
|
◆ ALGO_printf()
void ALGO_printf |
( |
const char * |
str | ) |
|
◆ pte_lvl0
const uint64_t pte_lvl0[512] |
◆ DMEM2_SCRATCH
◆ DMEM1_SCRATCH
◆ DMEM0_SCRATCH
◆ udmaDrvObj
struct Udma_DrvObj udmaDrvObj |
◆ memObj_DMEM2
◆ memObj_DMEM1
◆ memObj_DMEM0
◆ IN_BUF
◆ IMG_BUF
◆ OUT_BUF