Home
last modified time | relevance | path

Searched refs:pixel_bytes (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/display/
Ddisplay_mcux_dcnano_lcdif.c39 uint8_t pixel_bytes; member
56 __ASSERT((data->pixel_bytes * desc->pitch * desc->height) <= in mcux_dcnano_lcdif_write()
86 dst += data->pixel_bytes * (y * config->dpi_config.panelWidth + x); in mcux_dcnano_lcdif_write()
89 memcpy(dst, src, data->pixel_bytes * desc->width); in mcux_dcnano_lcdif_write()
90 src += data->pixel_bytes * desc->pitch; in mcux_dcnano_lcdif_write()
91 dst += data->pixel_bytes * config->dpi_config.panelWidth; in mcux_dcnano_lcdif_write()
108 config->dpi_config.panelWidth * data->pixel_bytes); in mcux_dcnano_lcdif_write()
185 data->pixel_bytes = 2; in mcux_dcnano_lcdif_set_pixel_format()
189 data->pixel_bytes = 4; in mcux_dcnano_lcdif_set_pixel_format()
299 .pixel_bytes = MCUX_DCNANO_LCDIF_PIXEL_BYTES(n), \
Ddisplay_mcux_elcdif.c50 size_t pixel_bytes; member
83 __ASSERT((dev_data->pixel_bytes * desc->pitch * desc->height) <= desc->buf_size, in mcux_elcdif_write()
121 dst += dev_data->pixel_bytes * (y * config->rgb_mode.panelWidth + x); in mcux_elcdif_write()
124 memcpy(dst, src, dev_data->pixel_bytes * desc->width); in mcux_elcdif_write()
125 src += dev_data->pixel_bytes * desc->pitch; in mcux_elcdif_write()
126 dst += dev_data->pixel_bytes * config->rgb_mode.panelWidth; in mcux_elcdif_write()
186 pxp_dma.source_data_size = desc->width * dev_data->pixel_bytes; in mcux_elcdif_write()
187 pxp_dma.dest_data_size = config->rgb_mode.panelWidth * dev_data->pixel_bytes; in mcux_elcdif_write()
250 dev_data->pixel_bytes = DISPLAY_BITS_PER_PIXEL(pixel_format) / BITS_PER_BYTE; in mcux_elcdif_set_pixel_format()
252 config->rgb_mode.panelWidth * config->rgb_mode.panelHeight * dev_data->pixel_bytes; in mcux_elcdif_set_pixel_format()