This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VH-Q1: Which libraries and header files are needed to use streaming engine APIs?

Part Number: TDA4VH-Q1

Tool/software:

Hi,

Using 9.2 SDK

I need to use the streaming engine functionality with addition to DMA. Just want to know which libs or headers files I need to include for it.

Need to use below code but getting undefined reference for all streaming engine related identifiers when compiling.

//Setup SE to fetch image array

__STRM_TEMPLATE seTemplate;

__STRM_PARAM_3D seParam;

__SE_FLAGS seFlags;

//Set flags to default

seFlags = __SE_FLAGS_default()

//Update necessary flags

seFlags.ELETYPE = __SE_ELETYPE_8BIT;

seFlags.VECLEN = __SE_VECLEN_64ELEMS;


//Set params for 2D access

seParam.ICNT0 = IMAGE_WIDTH;

seParam.ICNT1 = IMAGE_HEIGHT; seParam.DIM1 = IMAGE_WIDTH;

seParam.ICNT2 = 1;
seParam.DIM2 = 0;

//Create seTemplate

seTemplate = __SE_SET_PARAM_3D(&seParam, &seFlags);


//Open the stream

__SE0_OPEN((void *)image, seTemplate);