# ezhv_linear2tiledYUV

## Overview
This project shows how to use EZHV to convert linear YUV to tiled YUV.

## Supported Boards

````{container} board-selector

```{container} board-setup
:name: board-mimxrt700evk

##### MIMXRT700-EVK

##### Hardware requirements
- Micro USB cable
- MIMXRT700-EVK board
- Personal Computer
- RK055AHD091 MIPI panel (Not necessary if use other panel)
- RK055MHD091 MIPI panel (Not necessary if use other panel)

##### Board settings
To use MIPI panel:
Connect MIPI panel to J52.

##### Prepare the Demo
The demo use MIPI RK055MHD091 panel by default, to use MIPI RK055AHD091 panel, change the macro
DEMO_PANEL to DEMO_PANEL_RK055AHD091 in mcux_config.h.
1.  Connect a micro USB cable between the PC host and the USB port on the board
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Launch the debugger in your IDE to begin running the demo.

##### Running the demo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When the example runs, you can see the decoded jpeg image is displayed on the  
panel of RK055AHD091 or RK055MHD091.
JPEG decode and EZHV linear2tile conversion demo start.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

```{container} board-setup
:name: board-frdmimxrt700

##### FRDM-IMXRT700

##### Hardware requirements
- Type-C USB cable
- FRDM-IMXRT700 board
- Personal Computer
- RaspberryPi Panel

##### Board settings
To use Raspberry panel:
Connect the panel to J8. Then connect the panel's 5V pin to JP43-1, GND pin to JP43-2.

##### Prepare the Demo
The demo use MIPI Raspberry panel by default.
1.  Connect a USB cable between the PC host and the USB port on the board
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Launch the debugger in your IDE to begin running the demo.

##### Running the demo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When the example runs, you can see the decoded jpeg image is displayed on the  
panel.
JPEG decode and EZHV linear2tile conversion demo start.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

````

