Add support for detecting visible devices before initializing va-api (#4)
[ROCm/rocjpeg commit: e93199e3d8]
This commit is contained in:
@@ -70,6 +70,7 @@ private:
|
||||
RocJpegStatus InitVAAPI(std::string drm_node);
|
||||
RocJpegStatus CreateDecoderConfig();
|
||||
RocJpegStatus DestroyDataBuffers();
|
||||
void GetVisibleDevices(std::vector<int>& visible_devices);
|
||||
};
|
||||
|
||||
#endif // ROC_JPEG_VAAPI_DECODER_H_
|
||||
Reference in New Issue
Block a user