feat(jpeg_decoder): Add decode to yuv420 since esp32p4 version3

This commit is contained in:
C.S.M
2025-12-16 12:07:52 +08:00
parent ce47286387
commit 01eedb7fc2
3 changed files with 29 additions and 6 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -40,10 +40,10 @@ const uint8_t zigzag_arr[64] = {
* data stream during the decoding process.
*/
const uint32_t dec_hb_tbl[JPEG_DOWN_SAMPLING_NUM][JPEG_DEC_BEST_HB_MAX] = {
{40, 40, 40, 32, 0},
{64, 32, 32, 64, 0},
{48, 32, 32, 48, 0},
{96, 0, 0, 0, 96},
{40, 40, 40, 32, 0, 32},
{64, 32, 32, 64, 0, 32},
{48, 32, 32, 48, 0, 48},
{96, 0, 0, 0, 96, 0},
};
/**