Add support for the rocDecGetDecoderCaps API (#21)

* Add support for the rocDecGetDecoderCaps API

* move the RocDecVcnCodecSpec class to a new header file
This commit is contained in:
Aryan Salmanpour
2023-10-24 08:40:58 -04:00
zatwierdzone przez GitHub
rodzic 1a06c45b7d
commit bf830a2678
4 zmienionych plików z 140 dodań i 4 usunięć
+1 -3
Wyświetl plik
@@ -33,7 +33,6 @@ THE SOFTWARE.
#include "../api/rocdecode.h"
#include <hip/hip_runtime.h>
class RocDecoder {
public:
RocDecoder(int device_id = 0);
@@ -47,10 +46,9 @@ public:
private:
rocDecStatus initHIP(int device_id);
void initDRMnodes();
int num_devices_;
int device_id_;
hipDeviceProp_t hip_dev_prop_;
hipStream_t hip_stream_;
std::vector<std::string> drm_nodes_;
};
};