Skip to content

what is CONFIG_SOC_JPEG_DECODE_SUPPORTED and ESP_LV_ENABLE_HW_JPEG? (AEGHB-1253) #592

@zhiyoutech

Description

@zhiyoutech

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

In component of esp_lv_decoder, there is an head file named esp_lv_decoder_config.h

the first question is :
In esp_lv_decoder_config.h, the macro named CONFIG_SOC_JPEG_DECODE_SUPPORTED is not found in ESP IDF v5.4.1. meanwhile, how to configure the macore called ESP_LV_ENABLE_HW_JPEG?

the second question is :
by the way, could please provide an example about how to use esp_lv_decoder in LVGL9? the example called perf_benchmark is only suitable to LVGL8.

the file lv_decoder_config.h is defined as fellows:
#pragma once
#include "sdkconfig.h"

#ifndef ESP_LV_ENABLE_HW_JPEG
#if defined(CONFIG_SOC_JPEG_DECODE_SUPPORTED) && CONFIG_SOC_JPEG_DECODE_SUPPORTED
#define ESP_LV_ENABLE_HW_JPEG 1
#else
#define ESP_LV_ENABLE_HW_JPEG 0
#endif
#endif

#ifndef ESP_LV_ENABLE_PJPG
#if ESP_LV_ENABLE_HW_JPEG
#define ESP_LV_ENABLE_PJPG 1
#else
#define ESP_LV_ENABLE_PJPG 0
#endif
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions