このページでは

C

Qul::Platform::FramebufferFormat Struct

struct Qul::Platform::FramebufferFormat

この構造体には、フレームバッファに関する情報が格納されています。詳細...

Header: #include <platform/framebufferformat.h>
Since: Qt Quick Ultralite (Platform) 2.3

パブリック型

struct BitField

パブリック変数

void *address
uint32_t bitsPerPixel
Qul::Platform::FramebufferFormat::BitField blueChannel
uint32_t bytesPerLine
Qul::Platform::FramebufferFormat::BitField greenChannel
uint32_t height
Qul::Platform::FramebufferFormat::BitField redChannel
uint32_t swapBytes
uint32_t width

詳細な説明

この構造体のデータは、フレームバッファの内容を解釈するために使用されます。

Qul::Platform::DeviceLinkInterface::framebufferFormat() および「DeviceLink 通信の移植も参照してください

メンバ変数のドキュメント

void *FramebufferFormat::address

この変数には、フレームバッファのアドレスが格納されています。

uint32_t FramebufferFormat::bitsPerPixel

この変数には、フレームバッファの1ピクセルあたりのビット数が格納されます。

Qul::Platform::FramebufferFormat::BitField FramebufferFormat::blueChannel

青色チャンネルのビットのオフセットと長さ。

uint32_t FramebufferFormat::bytesPerLine

この変数には、フレームバッファの1行あたりのバイト数(ストライド)が格納されます。

Qul::Platform::FramebufferFormat::BitField FramebufferFormat::greenChannel

緑色チャンネルのビットのオフセットと長さ。

uint32_t FramebufferFormat::height

この変数には、フレームバッファの高さ(ピクセル単位)が格納されます。

Qul::Platform::FramebufferFormat::BitField FramebufferFormat::redChannel

赤色チャンネルのビットのオフセットと長さ。

uint32_t FramebufferFormat::swapBytes

スワップするバイトのグループサイズ。

0に設定すると、スワップは行われません。2に設定すると、バイトのペアごとにスワップが行われます。4に設定すると、4バイトごとのセットが反転され、BGRAがARGBになります。

uint32_t FramebufferFormat::width

この変数には、フレームバッファの幅(ピクセル単位)が格納されます。

特定のQtライセンス下で利用可能です。
詳細はこちらをご覧ください。