このページでは

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() およびデバイスリンク通信の移植も参照のこと

メンバ変数の説明

void *FramebufferFormat::address

この変数はフレームバッファのアドレスを保持する。

uint32_t FramebufferFormat::bitsPerPixel

この変数はフレームバッファのピクセルあたりのビットを保持する。

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 ライセンスの下で利用可能です。
詳細はこちら。