Friday, July 4th 2008, 11:52pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

montylee

Beginner

Posts: 1

Location: India

Occupation: Software Engineer

1

Monday, May 5th 2008, 7:51am

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
  • Go to the top of the page

Rate this thread