Hello,
Sorry I needed help in creating a "waterfall display" which basically takes in a 2 dimensional array of 8bit pixels and displays it streaming down the screen. This data is just 8bit pixel data and keeps streaming into my display.
Currently I just copy the data into a QImage with width and height equal to the size of the screen:
screenImage = new QImage(desktop.width(),desktop.height(),QImage::Fo rmat_Indexed8);
and print it to screen. Each time I have more pixel data coming in, I memmove the data in the qimage down and repaint the qimage using paintEvent.
Obviously this is kind of slow because I have to repaint the qimage each time. Can somebody please please help me optimize by explaining a better method or pointing me in the right direction?
Thank you,
James
Bookmarks