Add support for ROI decode on MI300 (#53)

* Add support for ROI decode on MI300

* Add ROI decode support for batched decoding

* clean up

* clean up

* Fix a typo and update sample's readme

[ROCm/rocjpeg commit: 7b321a86ed]
Αυτή η υποβολή περιλαμβάνεται σε:
Aryan Salmanpour
2024-08-22 17:04:03 -04:00
υποβλήθηκε από GitHub
γονέας 2d7c4f0040
υποβολή e43acce286
6 αρχεία άλλαξαν με 62 προσθήκες και 7 διαγραφές
@@ -23,5 +23,6 @@ make -j
-fmt <[output format] - select rocJPEG output format for decoding, one of the [native, yuv, y, rgb, rgb_planar] [optional - default: native]>
-o <[output path] - path to an output file or a path to a directory - write decoded images to a file or directory based on selected output format [optional]>
-d <[device id] - specify the GPU device id for the desired device (use 0 for the first device, 1 for the second device, and so on) [optional - default: 0]>
-crop <[crop rectangle] - crop rectangle for output in a comma-separated format: left,top,right,bottom - [optional]>
-t <[threads] - number of threads for parallel JPEG decoding [optional - default: 2]>
```