Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Color dithering helpers for display drivers. More...

Go to the source code of this file.

Data Structures

struct  display_color_dither_state
 Runtime state owned by the color dithering helper for one display device instance. More...

Macros

#define DISPLAY_COLOR_DITHER_DEFINE(inst)
 Define color dithering backing storage for one display driver instance.
#define DISPLAY_COLOR_DITHER_INIT(inst)
 Initialize a driver's display_color_dither_state member for one display driver instance.

Functions

int display_color_dither_prepare (const struct device *dev, struct display_color_dither_state *state, const struct display_buffer_descriptor **desc, const void **buf, struct display_buffer_descriptor *scratch)
 Prepare a write buffer for a PIXEL_FORMAT_I_4 native path.
void display_color_dither_patch_caps (struct display_color_dither_state *state, struct display_capabilities *caps)
 Add helper-managed RGB formats to display capabilities.
int display_color_dither_set_input_format (struct display_color_dither_state *state, enum display_pixel_format pf)
 Select the helper input pixel format.
bool display_color_dither_is_active (const struct display_color_dither_state *state, enum display_pixel_format current_pixel_format)
 Report whether the helper is actively converting input to native I_4.

Detailed Description

Color dithering helpers for display drivers.