Add support for rocJpegDecodeBatched API - part 2 of 2 (#39)
* Modify the batchDecode submission
* Add support for grouping the jpeg streams based on their chroma_subsampling, width, and height
* Modify the RocJpegVappiMemPoolEntry to use vectors for va_surface_ids and hip_interops
* Add a function to get the current vcn jpeg spec
* Add support to get hip interop mem for the batched submission
* switch to std::mutext
* Updatet the rocJPEG version
* use std::find to find the surface_id
* correct the vcn_jpeg_spec_ table for gfx942-mi300a/mi300x
* Fix typos
* pass the decode_params to the SubmitDecode function
[ROCm/rocjpeg commit: 3f0be8387e]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
eece5aee73
Коммит
6354880116
@@ -171,7 +171,7 @@ private:
|
||||
int device_id_; // ID of the device to be used
|
||||
hipDeviceProp_t hip_dev_prop_; // HIP device properties
|
||||
hipStream_t hip_stream_; // HIP stream
|
||||
std::recursive_mutex mutex_; // Mutex for thread safety
|
||||
std::mutex mutex_; // Mutex for thread safety
|
||||
RocJpegBackend backend_; // RocJpeg backend
|
||||
RocJpegVappiDecoder jpeg_vaapi_decoder_; // RocJpeg VAAPI decoder object
|
||||
};
|
||||
|
||||
Ссылка в новой задаче
Block a user