mirror of
https://github.com/esphome/esphome.git
synced 2026-10-22 05:46:12 +00:00
[runtime_image] Pin JPEGDEC to the 1.8.4-esphome.1 release
Adds the upstream fix that skips building AC Huffman tables for progressive images. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -94,13 +94,13 @@ class JPEGFormat(Format):
|
||||
cg.add_define("USE_RUNTIME_IMAGE_JPEG")
|
||||
# 1.8.4 plus decodeBegin()/decodeRows(), so an image can be decoded a few rows at a time and
|
||||
# can wait for input that has not arrived yet, and fixes for: input that arrives in short
|
||||
# reads, garbled RGB8888 output of grayscale images, progressive images with skipped blocks,
|
||||
# cropping, and two ARM NEON faults (swapped red and blue in the 4:2:0 RGB8888 path, writes
|
||||
# past the row on clipped MCUs)
|
||||
# reads, garbled RGB8888 output of grayscale images, progressive images (skipped blocks, unused
|
||||
# AC tables that fail to build), cropping, and two ARM NEON faults (swapped red and blue in the
|
||||
# 4:2:0 RGB8888 path, writes past the row on clipped MCUs)
|
||||
cg.add_library(
|
||||
"JPEGDEC",
|
||||
"1.8.4",
|
||||
"https://github.com/clydebarrow/JPEGDEC#684017030a7a38bc038b27c8336135d8fc39223e",
|
||||
"https://github.com/clydebarrow/JPEGDEC#1.8.4-esphome.1",
|
||||
)
|
||||
if CORE.is_host:
|
||||
# JPEGDEC's host detection checks __MACH__/__LINUX__, but gcc only
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ lib_deps =
|
||||
improv/Improv@1.2.7 ; improv_serial / improv_ble
|
||||
kikuchan98/pngle@1.1.0 ; runtime_image
|
||||
; Using the repository directly, otherwise ESP-IDF can't use the library
|
||||
https://github.com/clydebarrow/JPEGDEC.git#684017030a7a38bc038b27c8336135d8fc39223e ; runtime_image
|
||||
https://github.com/clydebarrow/JPEGDEC.git#1.8.4-esphome.1 ; runtime_image
|
||||
; This dependency is used only in unit tests.
|
||||
; Must coincide with PLATFORMIO_GOOGLE_TEST_LIB in scripts/cpp_unit_test.py
|
||||
; See scripts/cpp_unit_test.py and tests/components/README.md
|
||||
@@ -253,7 +253,7 @@ lib_deps =
|
||||
heman/AsyncMqttClient-esphome@2.0.0 ; mqtt
|
||||
improv/Improv@1.2.7 ; improv_serial
|
||||
kikuchan98/pngle@1.1.0 ; runtime_image
|
||||
https://github.com/clydebarrow/JPEGDEC.git#684017030a7a38bc038b27c8336135d8fc39223e ; runtime_image
|
||||
https://github.com/clydebarrow/JPEGDEC.git#1.8.4-esphome.1 ; runtime_image
|
||||
build_flags =
|
||||
${common:arduino.build_flags}
|
||||
-DUSE_LIBRETINY
|
||||
|
||||
Reference in New Issue
Block a user