MapData Struct
struct QAbstractVideoBuffer::MapDataQAbstractVideoBuffer::MapData 구조는 매핑된 평면 레이아웃을 설명합니다. 더 보기...
공용 변수
int[4] | bytesPerLine |
uchar *[4] | data |
int[4] | dataSize |
int | planeCount |
상세 설명
이 구조체에는 매핑된 평면의 수와 각 평면에 대한 평면 데이터, 구체적으로 줄당 바이트 수, 데이터 포인터, 데이터 크기가 포함됩니다. 구조체는 참조하는 데이터에 대한 소유권을 보유하지 않습니다.
기본적으로 생성된 구조는 매핑된 데이터가 없음을 의미합니다.
구조체의 모든 값은 기본적으로 0입니다.
QAbstractVideoBuffer::map 을참조하세요 .
멤버 변수 문서
int[4] MapData::bytesPerLine
0
에서 planeCount - 1
까지의 각 평면에 대한 줄당 바이트 수 배열입니다.
배열의 기본값은 0
입니다.
uchar *[4] MapData::data
0
에서 planeCount - 1
까지 각 평면에 매핑된 비디오 픽셀 데이터에 대한 포인터 배열입니다. QAbstractVideoBuffer 의 구현은 최소한 QAbstractVideoBuffer::unmap 이 호출될 때까지 데이터의 소유권을 보유해야 합니다.
배열의 기본값은 nullptr
입니다.
int[4] MapData::dataSize
0
에서 planeCount - 1
까지 각 평면에 대해 매핑된 비디오 픽셀 데이터의 바이트 단위 크기 배열입니다.
배열의 기본값은 0
입니다.
int MapData::planeCount
매핑된 비디오 데이터의 평면 수입니다. 데이터 형식이 다중 평면이고 값이 1
인 경우 실제 평면 레이아웃은 프레임 높이, bytesPerLine[0]
및 dataSize[0]
에서 QVideoFrame::map 을 호출할 때 계산됩니다.
기본값은 0
입니다.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.