Hi all,
Recently,I am studying the hdvpss example--m2mDeiScale (/DVRRDK_03.00.00.00/ti_tools/hdvpss/hdvpss_01_00_01_37_patched/packages/ti/psp/
examples/common/vps/m2m/m2mDeiScale). To using TILER,I modified the following macro definition in file M2mDeiScale_test.c.
#define DEI_IN_MEM_TYPE (VPS_VPDMA_MT_TILEDMEM)
#define DEI_IN_ORI_MODE (VPSUTILS_TILER_ORI_Y_FLIP)
The code can run normally,but I have some doubt about the following codes in file M2mDeiScale_test.c.
if (VPS_VPDMA_MT_TILEDMEM == appObj->inMemType)
{
inAddrY = VpsUtils_tilerGetOriAddr(
(UInt32) appObj->inBufY[appObj->inBufIdx],
VPSUTILS_TILER_CNT_8BIT,
DEI_IN_ORI_MODE,
appObj->inWidth,
appObj->inHeight);
cbCrHeight = appObj->inHeight;
if (FVID2_DF_YUV420SP_UV == appObj->inDataFmt)
{
cbCrHeight /= 2u;
}
inAddrCbCr = VpsUtils_tilerGetOriAddr(
(UInt32) appObj->inBufCbCr[appObj->inBufIdx],
VPSUTILS_TILER_CNT_16BIT,
DEI_IN_ORI_MODE,
appObj->inWidth,
cbCrHeight);
}
According my setting,VpsUtils_tilerGetOriAddr() function returns inAddrY = 0x47C40020. That is to say, the Y filp Image buffer' address is 0x47C40020. But I can not see the Image Buffer in this address. Where can I find the buffer true address? Then I can copy the Y Flip Image Buffer in DDR Memory? How to achieve this?
I am looking forward to your reply. Thanks.
JQ Zhao