• Rémi Denis-Courmont's avatar
    vdpau: common support for managing the VdpDecoder in avcodec · ce083282
    Rémi Denis-Courmont authored
    Using the not so new init and uninit callbacks, avcodec can now take
    care of creating and destroying the VDPAU decoder instance.
    
    The application is still responsible for creating the VDPAU device
    and allocating video surfaces - this is necessary to keep video
    surfaces on the GPU all the way to the output. But the application
    will no longer needs to care about any codec-specific aspects.
    Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
    ce083282
vdpau_internal.h 2.98 KB