Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

Compiler/TDA3XEVM: TDA3X: How to reverse System_VideoDataFormat(YUV422SP dataformat)

Part Number: TDA3XEVM

Tool/software: TI C/C++ Compiler

Hello

I'm going to use System_VideoDataFormat inOutDataFormat on tda3x to get the video from the camera.
I want to reverse the entered video.
What can you do?
Below is the prepared sauce.

pCaptPrm->numCh = pObj->numCsi2Ch;

inOutDataFormat = SYSTEM_DF_YUV422I_YUYV;
if (BSP_PLATFORM_SOC_ID_TDA3XX == Bsp_platformGetSocId())
{
inOutDataFormat = SYSTEM_DF_YUV422I_YUYV;
}
for (idx = 0U; idx < pCaptPrm->numCh; idx++)
{
pOutPrm = &pCaptPrm->outParams [idx];
pOutPrm->phyInstance = 0U;
pOutPrm->width = pObj->captureOutWidth;
pOutPrm->height = pObj->captureOutHeight;
pOutPrm->dataFormat = inOutDataFormat;
pOutPrm->inCsi2DataFormat = SYSTEM_CSI2_RAW12; /*SYSTEM_CSI2_YUV422_8B;*/
pOutPrm->inCsi2VirtualChanNum = idx;
pOutPrm->maxWidth = pObj->captureOutWidth;
pOutPrm->maxHeight = pObj->captureOutHeight;
pOutPrm->numOutBuf = CAPTURE_NUM_BUF_PER_CH;
pOutPrm->outDataFormat = inOutDataFormat;
pOutPrm->outBpp = SYSTEM_BPP_BITS16;
if (idx >= 4)
{
pOutPrm->phyInstance = 1U;
}
}
pCaptPrm->allocBufferForRawDump = FALSE;