CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
sunxi_display_info Struct Reference

Geometry and pixel format of the panel. More...

#include <sunxi_display.h>

Data Fields

uint16_t height
uint16_t fb_height
uint32_t stride
uint8_t bytes_per_pixel
bool pixels_swapped

Detailed Description

Geometry and pixel format of the panel.

Field Documentation

◆ bytes_per_pixel

uint8_t sunxi_display_info::bytes_per_pixel

Bytes per pixel; the panel uses 3 (RGB888).

◆ fb_height

uint16_t sunxi_display_info::fb_height

Frame buffer size in pixels.

◆ height

uint16_t sunxi_display_info::height

Panel size in pixels.

◆ pixels_swapped

bool sunxi_display_info::pixels_swapped

Whether pixel bytes are swapped for the panel; false on this board.

◆ stride

uint32_t sunxi_display_info::stride

Bytes per frame buffer row.


The documentation for this struct was generated from the following file: