feat(dsi): can use gray8 image as input

This commit is contained in:
morris
2025-09-12 18:20:14 +08:00
parent eedbd9f8e3
commit 42be8c8dbf
8 changed files with 99 additions and 13 deletions

View File

@@ -361,6 +361,10 @@ static inline void mipi_dsi_brg_ll_set_input_color_format(dsi_brg_dev_t *dev, lc
dev->pixel_type.raw_type = 9;
dev->pixel_type.data_in_type = 1;
break;
case LCD_COLOR_FMT_GRAY8:
dev->pixel_type.raw_type = 12;
dev->pixel_type.data_in_type = 0;
break;
default:
abort();
}