[Interest] Fastest Way to convert a QVideoFrame to an QImage?

Till Oliver Knoll till.oliver.knoll at gmail.com
Wed Feb 12 19:11:08 CET 2014


Am 12.02.2014 um 18:55 schrieb Jason H <scorp1us at yahoo.com>:

> ...
> Really, All I need is 2D 8bpp gray to pass off to the library. 

Sorry, I missed that part: which library are we now talking about? An external one (!= Qt). Your own?

If the later: couldn't you not simply write your 8bit greyscale data into a plain vanilla char * buffer instead of trying to squeeze it back into a QImage (which apparently does not support "non-indexed 8bit greyscale" format)? Who processes that greyscale image in the end? Your own code? Or some other code you cannot modify?

Cheers,
  Olivet





More information about the Interest mailing list