How to convert a YUV file to BGR format without Alpha channel

Hi, I’m a new GPU engineer and I got a demand to convert a YUV file.

As the title said, i didn’t find a API to convert a YUV file to BGR format without Alpha channel, it seems that NvVideoConverter doesn’t support 3-byte BGR format. So what should I do to meet my demand efficiently?

This is a similar API I found:
https://docs.nvidia.com/jetson/l4t-multimedia/classNvVideoConverter.html#a2c7ea36f2ec861d546fe779f2ab77fe0

Thank you for answers!