VSF Documented
|
#include "./fb.h"
#include "hal/vsf_hal.h"
#include "../vendor/Include/gd32h7xx_tli.h"
#include "component/ui/disp/vsf_disp.h"
Macros | |
#define | TLI_PIXFORMAT_ARGB8888 0x00 |
#define | TLI_PIXFORMAT_RGB888 0x01 |
#define | TLI_PIXFORMAT_RGB565 0x02 |
#define | TLI_PIXFORMAT_ARGB1555 0x03 |
#define | TLI_PIXFORMAT_ARGB4444 0x04 |
#define | TLI_PIXFORMAT_L8 0x05 |
#define | TLI_PIXFORMAT_AL44 0x06 |
#define | TLI_PIXFORMAT_AL88 0x07 |
Functions | |
int_fast8_t | vsf_hw_fb_init (vsf_hw_fb_t *fb) |
vsf_err_t | vsf_hw_fb_fini (vsf_hw_fb_t *fb) |
vsf_err_t | vsf_hw_fb_enable (vsf_hw_fb_t *fb) |
vsf_err_t | vsf_hw_fb_disable (vsf_hw_fb_t *fb) |
vsf_err_t | vsf_hw_fb_layer_config (vsf_hw_fb_t *fb, int layer, uint16_t x, uint16_t y, uint16_t w, uint16_t h, int color_format, uint_fast8_t alpha, uint32_t default_color, void *initial_pixel_buffer) |
vsf_err_t | vsf_hw_fb_layer_enable (vsf_hw_fb_t *fb, int layer) |
vsf_err_t | vsf_hw_fb_layer_disable (vsf_hw_fb_t *fb, int layer) |
vsf_err_t | vsf_hw_fb_layer_present (vsf_hw_fb_t *fb, int layer, void *pixel_buffer) |
Variables | |
const vk_disp_fb_drv_t | vsf_disp_hw_fb_drv |
const vk_disp_fb_drv_t | vsf_disp_hw_fb_layer_drv |
#define TLI_PIXFORMAT_ARGB8888 0x00 |
#define TLI_PIXFORMAT_RGB888 0x01 |
#define TLI_PIXFORMAT_RGB565 0x02 |
#define TLI_PIXFORMAT_ARGB1555 0x03 |
#define TLI_PIXFORMAT_ARGB4444 0x04 |
#define TLI_PIXFORMAT_L8 0x05 |
#define TLI_PIXFORMAT_AL44 0x06 |
#define TLI_PIXFORMAT_AL88 0x07 |
int_fast8_t vsf_hw_fb_init | ( | vsf_hw_fb_t * | fb | ) |
vsf_err_t vsf_hw_fb_fini | ( | vsf_hw_fb_t * | fb | ) |
vsf_err_t vsf_hw_fb_enable | ( | vsf_hw_fb_t * | fb | ) |
vsf_err_t vsf_hw_fb_disable | ( | vsf_hw_fb_t * | fb | ) |
vsf_err_t vsf_hw_fb_layer_config | ( | vsf_hw_fb_t * | fb, |
int | layer, | ||
uint16_t | x, | ||
uint16_t | y, | ||
uint16_t | w, | ||
uint16_t | h, | ||
int | color_format, | ||
uint_fast8_t | alpha, | ||
uint32_t | default_color, | ||
void * | initial_pixel_buffer | ||
) |
vsf_err_t vsf_hw_fb_layer_enable | ( | vsf_hw_fb_t * | fb, |
int | layer | ||
) |
vsf_err_t vsf_hw_fb_layer_disable | ( | vsf_hw_fb_t * | fb, |
int | layer | ||
) |
vsf_err_t vsf_hw_fb_layer_present | ( | vsf_hw_fb_t * | fb, |
int | layer, | ||
void * | pixel_buffer | ||
) |
const vk_disp_fb_drv_t vsf_disp_hw_fb_drv |
const vk_disp_fb_drv_t vsf_disp_hw_fb_layer_drv |