Merge branch 'refactor/ppa_dma2d_fourcc_v6.0' into 'release/v6.0'

refactor(ppa): use fourcc for dma2d and ppa color formats (v6.0)

See merge request espressif/esp-idf!44128
This commit is contained in:
morris
2025-12-12 12:23:22 +08:00
24 changed files with 387 additions and 329 deletions

View File

@@ -93,6 +93,10 @@ Some notes to avoid confusion in configuring :cpp:type:`ppa_srm_oper_config_t`:
- Output block's width/height is totally determined by the input block's width/height, scaling factor, and rotation angle, so output block's width/height does not need to be configured. However, please make sure the output block can fit at the offset location in the output picture.
- If the color mode of the input or output picture is ``PPA_SRM_COLOR_MODE_YUV420``, then its ``pic_w``, ``pic_h``, ``block_w``, ``block_h``, ``block_offset_x``, ``block_offset_y`` fields must be even.
.. note::
The PPA SRM internally uses bilinear scaling algorithm to process. Therefore, it may cause chromatic aberration and loss of contrast at the edges in a scaled picture.
Blend
~~~~~