• Anton Khirnov's avatar
    nvenc: drop the hard dependency on CUDA · 6f58b4dc
    Anton Khirnov authored
    The code needs only a few definitions from cuda.h, so define them
    directly when CUDA is not enabled. CUDA is still required for accepting
    HW frames as input.
    
    Based on the code by Timo Rothenpieler <timo@rothenpieler.org>.
    6f58b4dc
nvenc.h 4.3 KB