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.

DM8148. Works with TILER on DSP side.



Hello TI' teams.
Part of my algorithm on c67x subcore required perform filter in Y-axis direction.
I want to use tiled buffers allocated into DSP data memory for access to "rotated" on 90 degrees image by TILER mechanism.
Tried to allocate tiled buffer on DSP sub-core side:
 
 tiledAddr = SystemTiler_alloc(SYSTEM_TILER_CNT_16BIT, maxImgSizeX, maxImgSizeY);
when maxImgSizeX = 1024 elements and maxImgSizeY = 768 lines. Each element (mean pixel) in 16 bits widht. Pay attention, it isn't YUV buffer, just RAW data buffer.

Get adress of image rotated on 90 degrees:
 rotate90Addr = Utils_tilerGetOriAddr (tiledAddr, UTILS_TILER_CNT_16BIT, UTILS_TILER_ORI_XY_SWAP, maxImgSizeX, maxImgSizeY);

Convert tiled address to CPU adress:
 cpuAddr90 = Utils_tilerAddr2CpuAddr(rotate90Addr);

My process link runs and I recieves the adresses as is following:
 tiledAddr=d500400, rotate90Addr=2d507800, cpuAddr90=6d507800, linePitch=8192

When I tried write into cpuAddr90 (CPU adress of image rotated on 90 degrees) runnign counter and later check the buffer with Matlab - a result isn't as expected.

Please let me know - missed anyone?
Would be very glad for any help or suggestion, or maybe simple example describes how to use tiled buffers on DSP side.
I'm works with latest version of dvr-rdk.
Thank you very much and best regards.

DM8148