The QAbstractVideoBuffer::MapData structure describes the mapped plane layout. More...
| int[4] | bytesPerLine |
| uchar *[4] | data |
| int[4] | dataSize |
| int | planeCount |
The structure contains a number of mapped planes, and plane data for each plane, specificly, a number of bytes per line, a data pointer, and a data size. The structure doesn't hold any ownership of the data it refers to.
A defaultly created structure means that no data has been mapped.
All the values in the structure default to zeros.
See also QAbstractVideoBuffer::map.
The array of numbrers of bytes per line for each plane from 0 to planeCount - 1.
The values of the array default to 0.
The array of pointers to the mapped video pixel data for each plane from 0 to planeCount - 1. The implementation of QAbstractVideoBuffer must hold ownership of the data at least until QAbstractVideoBuffer::unmap is called.
The values of the array default to nullptr.
The array of sizes in bytes of the mapped video pixel data for each plane from 0 to planeCount - 1.
The values of the array default to 0.
The number of planes of the mapped video data. If the format of the data is multiplanar, and the value is 1, the actual plane layout will be calculated upon invoking of QVideoFrame::map from the frame height, bytesPerLine[0], and dataSize[0].
Defaults to 0.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: