lib_jpeg_hw_accel#
Overview#
The lib jpeg with hardware acceleration demo decodes the JPEG picture using the JPEG decoder hardware, and shows them in the LCD panel. Since not all JPEG formats are supported by the hardware, when macro LIB_JPEG_USE_HW_ACCEL is on, the lib jpeg will parse the header first, if the format is supported, it will use the hardware to accelerate, otherwise will use the old software way.
Supported Boards#
MIMXRT700-EVK
Hardware requirements
Micro USB cable
MIMXRT700-EVK
Personal Computer
TFT Proto 5” CAPACITIVE board HW REV 1.01 by Mikroelektronika. (Named as SSD1963 panel in project. Not necessary if use MIPI panel)
LCD_PAR_S035 (Not necessary if use MIPI panel)
RK055AHD091 MIPI panel (Not necessary if use other panel)
RK055MHD091 MIPI panel (Not necessary if use other panel)
RaspberryPi Panel (Not necessary if use other panel)
G1120B0MIPI(RM67162) MIPI Circular Display (Not necessary if use other panel)
ZC143AC72MIPI(CO5300) MIPI Circular Display (Not necessary if use other panel)
Board settings
To use SSD1963 panel: Connect SSD1963 panel to J4. Make sure to connect JP7 2&3 to use 3.3v interface.
To use MIPI panel: Connect MIPI panel to J52.
To use Raspberry panel: Connect the panel to J8. Then connect the panel’s 5V pin to JP43-1, GND pin to JP43-2. Make sure the R75, R76, R79, R80 are connected.
Prepare the Demo
Make sure JP65 1-2 are connected, and insert the SD card which has the pictures unziped in root folder in slot J47. The demo use MIPI RK055MHD091 panel by default, to use other panel, set the coresponding panel DEMO_PANEL_xxx(without ‘_SUPPORT’) to y in prj.conf under board example folder before project generation. The supported panels can be found in examples_boards<board>\project_segments\display_support\Kconfig.prjseg. Or change the macro DEMO_PANEL in mcux_config.h of the project, which number represents which panel can be found in display_support.h and mcux_config.h
Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
If this example runs correctly, the picture is shown in the lcd panel’s center.
FRDM-IMXRT700
Hardware requirements
Type-C USB cable
FRDM-IMXRT700
Personal Computer
RaspberryPi Panel
Board settings
Make sure JP65 1-2 are connected, and insert the SD card which has the pictures unziped in root folder in slot J47.
To use Raspberry panel: Connect the panel to J8. Then connect the panel’s 5V pin to JP43-1, GND pin to JP43-2. Make sure the R75, R76, R79, R80 are connected.
Prepare the Demo
Connect a USB cable between the host PC and the MCU-LINK USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
If this example runs correctly, the picture is shown in the lcd panel’s center.