docs(ppa): add a note about bilinear scaling algorithm in PPA SRM

Closes https://github.com/espressif/esp-idf/issues/17531
This commit is contained in:
Song Ruo Jing
2025-10-17 19:10:48 +08:00
parent e0577ae677
commit ca3ff9aced
2 changed files with 8 additions and 0 deletions
@@ -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
~~~~~