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.

[参考译文] 编译器/TDA3XEVM:TDA3X:如何反向 System_VideoDataFormat (YUV422SP 数据格式)

Guru**** 3006330 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/915865/compiler-tda3xevm-tda3x-how-to-reverse-system_videodataformat-yuv422sp-dataformat

器件型号:TDA3XEVM

工具/软件:TI C/C++编译器

你好

我将在 tda3x 上使用 System_VideoDataFormat inOutDataFormat 从摄像机获取视频。
我想反转输入的视频。
你可以做什么?
下面是准备好的酱汁。

pCaptPrm->numCh = pObj->numCsi2Ch;

inOutDataFormat = system_DF_YUV422I_YUYV;
if (bsp_platform_SOC_ID_TDA3XX == bsp_platformGetSockId())
{
inOutDataFormat = system_DF_YUV422I_YUYV;
}
对于(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;
如果(idx >= 4)
{
pOutPrm->phyInstance = 1U;
}
}
pCaptPrm->allocBufferForRawDump = false;

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    很抱歉我没有收到您的问题?

    反向、您是要旋转视频帧吗?

    Rgds、

    Brijesh

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    是的、我想旋转到视频帧。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    TDA3x 没有要旋转的模块。  

    TDA3x 中的 ISP 可以执行翻转、它可以支持水平和垂直翻转。 但不旋转..

    Rgds、

    Brijesh