Hi,
I am using the platform of DM8168.
I want to implement the image 90 degree rotation.
I found some API function as follow:
UInt32 Utils_tilerGetOriAddr(UInt32 tilerAddr, UInt32 cntMode, UInt32 oriFlag, UInt32 width, UInt32 height)
UInt32 Utils_tilerAddr2CpuAddr(UInt32 tilerAddr)
And I found some information about the tiler for rotation on http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/p/251642/880297.aspx#880297
and Badri Narayanan said it can be realized though it will complexed.
Now, I want to know if it can be reliazed 90 degree rotation with the API function as I mentioned, and how should I do?
I thought the steps will be as follow:
1, I alloc tiler memory used SystemTiler_alloc for the Y data and CbCr data, the frame dataformat is YUV420SP
2, calculate the oriaddress used Utils_tilerGetOriAddr.
3, transfer the oriaddress to cpu virtual address used Utils_tilerAddr2CpuAddr.
I thought it will have some further steps, what should I do at the next steps?
And more , I just want to reliaze the rotation and don't care the codec and display. For example the original image resolution is 2432*2048, when rotation, the resolution will be 2048*2432, furthermore, I can resize the resolution to 1920*1080 used the mpsclr link.
Thanks,
Tianxing