# VDEC Demo

## Vdec_demo Overview

This demo decodes `.264`, `.265`, or `.jpg` input files and displays the decoded result on the selected screen.

## Feature Description

- H.264 decode
- H.265 decode
- JPEG decode

## Dependent Resources

Prepare a valid input file with a supported suffix and a working display connector.

## Usage

### Run

Use `-help` to inspect the parameters, then run a command such as:

```bash
./sample_vdec.elf -type 20 -i out.h265
```

Common parameters:

- `-i`: input file, with `.264`, `.265`, or `.jpg` suffix
- `-type`: display connector type such as LCD (`20`) or HDMI (`101`)

### Expected Result

The decoded content is displayed on the selected screen.
