I don’t know how to interpret CVPixelBufferGetPixelFormatType(imageBuffer);
The plain output is -> 846624121 The truth is that I don’t which format is inside the provide buffer. qDebug() << width << height << bytesPerRow << CVPixelBufferGetPixelFormatType(imageBuffer); outputs -> 1920 1080 3840 846624121 Best, Nuno > On 28 Feb 2020, at 17:07, Konstantin Tokarev <annu...@yandex.ru> wrote: > > > > 28.02.2020, 19:34, "Jason H" <jh...@gmx.com>: >> Just how invalid are we talking? >> It's well-known that the blue/red channels may be swapped, and I've seen >> padding on the row. >> Doing your math though you're only reporting 2 bytes per pixel, which is >> very wrong. What is the image format you expect? > > FWIW, QImage::Format_Grayscale16 uses exactly 2 bytes per pixel. > > -- > Regards, > Konstantin >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest