25 #if !defined(__LWS_DISPLAY_H__)
26 #define __LWS_DISPLAY_H__
187 int autodim_ms,
int off_ms,
struct lws_led_state *bl_lcs,
LWS_VISIBLE LWS_EXTERN lws_display_palette_idx_t lws_display_palettize_col(const lws_surface_info_t *ic, const lws_display_colour_t *palette, size_t pdepth, lws_display_colour_t c, lws_colour_error_t *ectx)
struct lws_colour_error lws_colour_error_t
LWS_VISIBLE LWS_EXTERN void lws_surface_set_px(const lws_surface_info_t *ic, uint8_t *line, int x, const lws_display_colour_t *c)
const lws_display_colour_t * palette
enum lws_display_controller_state state
LWS_VISIBLE LWS_EXTERN void lws_display_state_off(lws_display_state_t *lds)
int(* lws_display_completion_t)(lws_display_state_t *lds, int a)
const lws_display_t * disp
LWS_VISIBLE LWS_EXTERN void lws_display_state_active(lws_display_state_t *lds)
LWS_VISIBLE LWS_EXTERN lws_display_palette_idx_t lws_display_palettize_grey(const lws_surface_info_t *ic, const lws_display_colour_t *palette, size_t pdepth, lws_display_colour_t c, lws_greyscale_error_t *ectx)
uint16_t lws_display_palette_idx_t
struct lws_display_state lws_display_state_t
uint16_t lws_display_rotation_t
lws_colour_error_t colour
uint32_t lws_display_colour_t
struct lws_surface_info lws_surface_info_t
int16_t lws_display_list_coord_t
struct lws_greyscale_error lws_greyscale_error_t
lws_display_controller_state
@ LWSDISPS_BECOMING_ACTIVE
LWS_VISIBLE LWS_EXTERN void lws_display_state_set_brightness(lws_display_state_t *lds, const lws_led_sequence_def_t *pwmseq)
lws_sorted_usec_list_t sul_autodim
struct lws_display lws_display_t
uint16_t lws_display_scalar
lws_greyscale_error_t grey
LWS_VISIBLE LWS_EXTERN void lws_display_state_init(lws_display_state_t *lds, struct lws_context *ctx, int autodim_ms, int off_ms, struct lws_led_state *bl_lcs, const lws_display_t *disp)
struct lws_led_state * bl_lcs
int(* contrast)(struct lws_display_state *lds, uint8_t contrast)
const lws_led_sequence_def_t * bl_active
int(* blit)(struct lws_display_state *lds, const uint8_t *src, lws_box_t *box, lws_dll2_owner_t *ids)
const lws_pwm_ops_t * bl_pwm_ops
const lws_led_sequence_def_t * bl_dim
const lws_led_sequence_def_t * bl_transition
uint16_t latency_update_ms
int(* init)(struct lws_display_state *lds)
int(* power)(struct lws_display_state *lds, int state)