fix(ppa): fix mismatching writeback and invalidate data size on the same buffer

This commit is contained in:
Song Ruo Jing
2024-05-28 16:59:13 +08:00
parent e4deaf08a7
commit b7e595d211
6 changed files with 18 additions and 14 deletions
+3
View File
@@ -34,6 +34,9 @@ extern "C" {
ESP_RETURN_ON_FALSE(COLOR_SPACE_TYPE(color_type_id) == COLOR_SPACE_ARGB || COLOR_SPACE_TYPE(color_type_id) == COLOR_SPACE_RGB, \
ESP_ERR_INVALID_ARG, TAG, str "_cm does not support rgb_swap");
#define PPA_ALIGN_UP(num, align) (((num) + ((align) - 1)) & ~((align) - 1))
#define PPA_ALIGN_DOWN(num, align) ((num) & ~((align) - 1))
typedef struct ppa_platform_t ppa_platform_t;
/******************************** ENGINE *************************************/