Multi Files Sample - Add reconfigure option (#118)

* Add support for rocDecReconfigureDecoder API

* adrress reviewer's comemnts

* add reconfigure to multifile

* update readme

* Update videodecodemultifiles.cpp

* Update README.md

---------

Co-authored-by: Aryan <aryan.salmanpour@amd.com>

[ROCm/rocdecode commit: 4de634cfd0]
This commit is contained in:
Lakshmi Kumar
2023-12-06 07:32:39 -08:00
committed by GitHub
parent 64d7f1c37f
commit 47ff590d98
2 changed files with 41 additions and 11 deletions
@@ -48,4 +48,6 @@ outfile output2.yuv [optional]
```
./videodecodemultifiles -i <input file list[required - example.txt]>
-d <GPU device ID - 0:device 0 / 1:device 1/ ... [optional - default:0]>
```
-use_reconfigure <flag (bool - 0/1) [optional - default: 1] set 0 to disable reconfigure api for decoding multiple files. Only resolution changes between files are supported when reconfigure is enabled.
The codec, bit_depth, and the chroma_format must be the same between files.>
```