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

[ROCm/rocdecode commit: 730f3b76d4]
Αυτή η υποβολή περιλαμβάνεται σε:
Aryan Salmanpour
2024-02-06 16:18:02 -05:00
υποβλήθηκε από GitHub
γονέας f41f161ee1
υποβολή d7785b3d5e
@@ -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) {