How to compare 2 frame buffers in QT?
I have an embedded application. I want to compare the frame/screen being shown on the display for validation purposes i.e. i want to check whether the frame currently being shown on the display is same as the frame shown earlier.
For this i am saving the checksum of frame buffer content and comparing.
Now, the problem is that when the checksum is computed, it takes into account the mouse pointer position. So, the next time when i compute the checksum if the mouse pointer is at a different position then the checksum will be different and the validation will fail.
Now, how can i compare two frames of a frame buffer? Currently i am using checksum for comparison but it takes mouse pointer position into account.
My GNU/Linux Blog: http://funwithlinux.blogspot.com