feat(dma2d): support RGB24 and BGR24 scramble conversion

Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
This commit is contained in:
morris
2026-06-30 12:00:13 +08:00
parent 3160a1a73f
commit 02cf2a8a3d
6 changed files with 344 additions and 79 deletions
@@ -1009,7 +1009,7 @@ static inline void dma2d_ll_tx_configure_color_space_conv(dma2d_dev_t *dev, uint
input_sel = 7;
break;
case DMA2D_CSC_TX_SCRAMBLE:
input_sel = 2; // Or 3
input_sel = 3; // Other 3-byte/pixel input path
proc_en = false;
output_sel = 2;
break;