[Interest] Converting CVImageBufferRef into QImage
thiago.macieira at intel.com
Fri Feb 28 18:48:10 CET 2020
On Friday, 28 February 2020 09:11:36 PST Nuno Santos wrote:
> 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 <<
> outputs -> 1920 1080 3840 846624121
Then your question is best directed at an Apple forum or support channel where
someone can help you understand the Core Video API.
https://developer.apple.com/documentation/corevideo/1456851-cvpixelbuffergetpixelformattype says "A four-character code OSType identifier
for the pixel format."
846624121 = 0x32767579 = '2vuy' (see https://onlinegdb.com/HJQVf0U48)
So I assume the pixel format is YUV2.
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel System Software Products
More information about the Interest