From 1aac94863bdbf436bb620b40dbfb4dfb5a1fc16e Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Sun, 11 Aug 2024 22:20:42 -0500 Subject: [PATCH] Enable SIMD acceleration for JPEGDEC component (#86) * add define for jpegdec acceleration enable, remove original jpegdec submodule * add esp-cpp jpegdec fork --- .gitmodules | 2 +- CMakeLists.txt | 3 +++ components/jpegdec | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index eb2e7f85..cdbfdddc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,4 +3,4 @@ url = git@github.com:esp-cpp/espp [submodule "components/jpegdec"] path = components/jpegdec - url = git@github.com:bitbank2/JPEGDEC + url = https://github.com/esp-cpp/jpegdec diff --git a/CMakeLists.txt b/CMakeLists.txt index ceb349b0..debba749 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,9 @@ set(EXTRA_COMPONENT_DIRS "components/espp/components" ) +# add compile definition ARDUINO_ARCH_ESP32, enabling jpegdec simd support +add_compile_definitions(ARDUINO_ARCH_ESP32) + ### NES ### set(NES_COMPONENTS "nes") diff --git a/components/jpegdec b/components/jpegdec index e8e99cdf..9ce05f47 160000 --- a/components/jpegdec +++ b/components/jpegdec @@ -1 +1 @@ -Subproject commit e8e99cdfa71acc4419ccd6659efbdb09ab750db9 +Subproject commit 9ce05f474f5a712ccb277c27355325ca4fe5371a