Return ROCDEC_NOT_IMPLEMENTED for GetDecoderCaps API for future GPU (#224)

Этот коммит содержится в:
Aryan Salmanpour
2024-02-06 16:18:02 -05:00
коммит произвёл GitHub
родитель aa3615c32b
Коммит 730f3b76d4
+2 -2
Просмотреть файл
@@ -82,8 +82,8 @@ public:
return ROCDEC_NOT_SUPPORTED;
}
} else {
ERR("ERROR: Didn't find the decoder capability for " + gcn_arch_name + " GPU!");
return ROCDEC_DEVICE_INVALID;
ERR("Didn't find the decoder capability for " + gcn_arch_name + " GPU!");
return ROCDEC_NOT_IMPLEMENTED;
}
}
bool IsCodecConfigSupported(std::string gcn_arch_name, rocDecVideoCodec codec_type, rocDecVideoChromaFormat chroma_format, uint32_t bit_depth_minus8, rocDecVideoSurfaceFormat output_format) {