Skip to content

Commit

Permalink
vpu: Generic: Add metadata and documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Abdur Rehman <abdur.rehman@toradex.com>
  • Loading branch information
embdur committed Jan 22, 2024
1 parent b078314 commit 5106b5e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ For more details about each sample metadata, please check the [samples.json](sam
Sample showing an example using Tensorflow Lite with hardware acceleration
on the IMX8 SoCs with Vivante GPU.
Examples available in Python.

- **vpu:**
Sample showing an example of using VPU on i.MX8 for encoding and decoding
Example available as a generic Dockerfile.
8 changes: 8 additions & 0 deletions samples.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,13 @@
"baseTemplateSupport": "Toradex",
"sampleSupport": "Community"
}
},
"VPU": {
"generic": {
"folder": "vpuGeneric",
"baseTemplate": "genericTemplate",
"baseTemplateSupport": "Toradex",
"sampleSupport": "Community"
}
}
}
20 changes: 20 additions & 0 deletions vpu/generic/vpuGeneric/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# VPU Generic Dockerfile Sample

This sample demonstrates the use of VPU on i.MX8 devices for hardware
accelerated encoding and decoding. It performs the encoding and decoding
tests listed in the table below. The table also specifies what codec is
supported by each target.


| | verdin-imx8mm | verdin-imx8mp | apalis-imx8 |
|--------------|---------------|---------------|-------------|
| H.264 Encode ||||
| H.264 Decode ||||
| H.265 Encode ||||
| H.265 Decode ||||
| VP8 Encode ||||
| VP8 Decode ||||
| VP9 Decode ||||

Please select the correct SoM(MACHINE) in the Dockerfile and docker-compose.yml
before running the test.

0 comments on commit 5106b5e

Please sign in to comment.