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.

MCSDK_Video TSU

Hi,

I used the TSU component  of MCSDKVideo to resize the image, however I find the tsuProcess( ) would consume more than 2 minutes, and my resize is

2048*2432->1920*1088.

I want to know if the performance of TSU is that. 

My code as follow:

ui32TSCHBegin = TSCH;
ui32TSCLBegin =TSCL;
iStatus = tsuProcess(g_tsuInst, ptwYUV420pIn, g_iWidthIn, g_iHeightIn, ptwYUV420pOut);
ui32TSCLEnd = TSCL;
ui32TSCHEnd = TSCH;

and the result as follow:

ui32TSCHBegin = 40;

ui32TSCHEnd = 72;

ui32TSCLBegin = 23329216;
ui32TSCLEnd = 3317379949;

Now, when I delete the tsu source code from the project(), the execute time of tsuProcess  is 15s ( ui32TSCHEnd - ui32TSCHBegin = 3 ).

I have another question about the tsu_a.ae66 and tsu_c.ae66. If they have same function, only one is c compile and another is asm compile?