Add initial cmake support for building the rocdecode library

[ROCm/rocdecode commit: 1ba367988d]
This commit is contained in:
Aryan
2023-07-26 17:47:47 -04:00
parent 912031c592
commit 5b112f2c5c
17 changed files with 1119 additions and 24 deletions
@@ -0,0 +1,11 @@
# Video Decode Sample
This sample illustrates the FFMPEG demuxer to get the individual frames which are then decoded on AMD hardware using VAAPI. This sample supports both YUV420 8-bit and 10-bit streams.
## Build and run the sample:
```
mkdir build
cd build
cmake ..
make -j
./videodecode -i <input video file - required> -o <optional; output path to save decoded YUV frames> -d <GPU device ID, 0 for the first device, 1 for the second device, etc>
```