Whether hikey970 has hardware encoding and decoding API under lebuntu

Hikey970, if running Android system, it should be able to use mediacodec for hardware encoding and decoding.
But now I want to use hardware codec on lebuntu system. Do you have any relevant information? In the document, we see that Venc is supported, but we don’t see any API interfaces.