h.264 api using CUDA/OpenCL?

Hi.

I’m looking for a h.264 api which uses CUDA or OpenCL for acceleration. I have found a few programs, like rapiHD, but don’t look like I can integrate it into my program.