Hi dears.
I'm working with i.MXRT1170. I want to show pictures recorded by a camera and show them on the applet. I succeeded to do this by means of OnUpdate.
I copy the Bitmap that I want to show to LCD into the applet bitmap buffer like this
void ExternalCameraScreenUpdate(void* aAddress)
{
uint8_t *ptr1;
uint8_t *ptr2;
toggle_s_s_lcdActiveFbIdx();
ptr1 = (uint8_t *)aAddress;
ptr2 = (uint8_t *)get_lcdFrameAddr();
for (uint16_t i=0;i<631;i++)
{
memcpy(ptr1 + (i*736) ,ptr2+(i*720),720);
}
}
when I shake the camera I see that picture will be cut. could anyone find the problem?