Important: Please read the Qt Code of Conduct -

Wh at is Best-Fast-Light way to resize and feed plain data arry to Video

  • Problem:
    I constantly pulling grayscale image data over USB and need to display it on screen. Format is Y8 and Y16. Means as soon as complete frame is read - it should go in to some Widget (QGraphicsView?QLabel?) for display. Looked at PixMap but it has no grayscalle format and would need "for" loop to iterate each pixel and set RGB. Something terribly inefficient and slow. It must be some way to do this in hardware. Same story with resize to fit Widget - can it be be done in hardware or at leas at low level not to overkill main resources? Also can I somehow get pointer/buffer of rendering memory so I could do USB read directly in to that buf and avoid copying. Any suggestions are highly appreciated.

  • wron thread

Log in to reply