Part Number:TDA2EVM5777
Tool/software: Linux
Dear experts,
In VisoinSDK 3.6 Linux_all/Bios_all on TDA2 EVM. Capture(720P) -> VPE(600x600) -> Display(600x600 inside 1080P HDMI)
I ran into a problem that VPE's output buffer size is less than the width I provided. DSS init will fail because input pitch is less than 600. I found that in VPE code:
vpeLink_drvCommon.c@ line 481, function VpeLink_drvCreateOutObj,
/*Width aligned to satisfy encoder requirement*/ - pFormat->width = VpsUtils_floor(pFormat->width, 16U); + pFormat->width = VpsUtils_align(pFormat->width, 16U); pFormat->pitch[0] = VpsUtils_align(pFormat->width, VPS_BUFFER_ALIGNMENT);
Please help to confirm is it correct? by default it will get 592, after modification, it will get 608.
Thanks & Best Regards!
ZM