Convert raw to jpeg in real time

Hi, i am using the Ximea XiC camera to get frames at 20 fps. I am getting the frames as either RAW8 or RAW16 via usb3 from the camera, I want to be able to convert the frames into jpeg in real time. Is there a fast way to use the Jetson tx2 for such a thing?
Thanks

I can’t answer it, but you may check following link if can find the suitable one.