「App:Library:FabGL:Enumerations:NativePixelFormat」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動1行目: | 1行目: | ||
− | ==enum | + | ==enum NativePixelFormat== |
− | + | この列挙型は、ディスプレイコントローラーのネイティブピクセル形式を定義します。 | |
{| class="wikitable" | {| class="wikitable" | ||
! colspan="2" |'''Enumerator''' | ! colspan="2" |'''Enumerator''' | ||
|- | |- | ||
− | | | + | |Mono |
− | | | + | |1 bit per pixel. 0 = black, 1 = white |
|- | |- | ||
− | | | + | |SBGR2222 |
− | | | + | |8 bit per pixel: VHBBGGRR (bit 7=VSync 6=HSync 5=B 4=B 3=G 2=G 1=R 0=R). Each color channel can have values from 0 to 3 (maxmum intensity). |
|- | |- | ||
− | | | + | |RGB565BE |
− | | | + | |16 bit per pixel: RGB565 big endian. |
|- | |- | ||
− | | | + | |PALETTE2 |
− | | | + | |1 bit palette (2 colors), packed as 8 pixels per byte. |
|- | |- | ||
− | | | + | |PALETTE4 |
− | | | + | |2 bit palette (4 colors), packed as 4 pixels per byte. |
|- | |- | ||
− | | | + | |PALETTE8 |
− | | | + | |3 bit palette (8 colors), packed as 8 pixels every 3 bytes. |
|- | |- | ||
− | | | + | |PALETTE16 |
− | + | |4 bit palette (16 colors), packed as two pixels per byte. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |4 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | '''[http://www.fabglib.org/ | + | '''[http://www.fabglib.org/displaycontroller_8h_source.html#l00430 line 430 of file displaycontroller.h]'''に定義されています。 |
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る] | ----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る] |
2022年3月21日 (月) 22:15時点における版
enum NativePixelFormat
この列挙型は、ディスプレイコントローラーのネイティブピクセル形式を定義します。
Enumerator | |
---|---|
Mono | 1 bit per pixel. 0 = black, 1 = white |
SBGR2222 | 8 bit per pixel: VHBBGGRR (bit 7=VSync 6=HSync 5=B 4=B 3=G 2=G 1=R 0=R). Each color channel can have values from 0 to 3 (maxmum intensity). |
RGB565BE | 16 bit per pixel: RGB565 big endian. |
PALETTE2 | 1 bit palette (2 colors), packed as 8 pixels per byte. |
PALETTE4 | 2 bit palette (4 colors), packed as 4 pixels per byte. |
PALETTE8 | 3 bit palette (8 colors), packed as 8 pixels every 3 bytes. |
PALETTE16 | 4 bit palette (16 colors), packed as two pixels per byte. |
line 430 of file displaycontroller.hに定義されています。