emWin Rotation API

  • Hi,

    I m working for a project having LCD display. We are using STM32439I-EVAL board with frequency of 180MHz. There is a time limit that the LCD display should be updated in every 40ms. But the rotation API itself is taking 160ms.



    GUI_MEMDEV_RotateHQHR(hMem, hMemWork, mx , my, Roll, 1000);


    This is the API i have used for rotating the MEM_DEV. MEM DEV created using



    GUI_MEMDEV_CreateFixed(40, 0, 400, 1200, GUI_MEMDEV_NOTRANS, GUI_MEMDEV_APILIST_32, GUICC_8888);


    Please let me know this is the expected time to rotate the MEM DEV of the given size or perfomance can be improved by any other method?

    Please provide me a solution at the earliest.


    Thanks.


  • Hello,

    In my opinion rotating an image of the dimension 360x1200 in 160ms at 180MHz using the HQ (= High Quality) and HR (= High Resolution) algorithm is quite fast. Please note that the Memory Device rotation functions are highly optimized. I would recommend you to use one of the other rotation functions / algorithms.

    Best regards,
    Adrian

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!