The QAbstractVideoBuffer::MapData structure describes the mapped plane layout. 更多...
| 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.
另请参阅 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
被调用。
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]
,和
dataSize[0]
.
默认为
0
.