Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Wh at is Best-Fast-Light way to resize and feed plain data arry to Video
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 538 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kermal369
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kermal369
      wrote on last edited by
      #2

      wron thread

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved