src/ffmpeg/libavcodec/vdpau

Types

AVVDPAU_Render2 {.importc, header: "<libavcodec/vdpau.h>".} = proc (
    a1: ptr AVCodecContext; a2: ptr AVFrame; a3: ptr VdpPictureInfo; a4: cuint;
    a5: ptr VdpBitStreamBuffer): cint
AVVDPAUContext {.importc, header: "<libavcodec/vdpau.h>".} = object
  decoder*: VdpDecoder
  render*: ptr VdpDecoderRender
  render2*: AVVDPAU_Render2
VdpBitStreamBuffer {.importc, header: "<vdpau/vdpau.h>".} = object
VdpChromaType {.importc, header: "<vdpau/vdpau.h>".} = object
VdpDecoder {.importc: "struct $1", importc, header: "<libavcodec/vdpau.h>".} = object
VdpDecoderRender {.importc: "struct $1", importc, header: "<libavcodec/vdpau.h>".} = object
VdpDevice {.importc, header: "<vdpau/vdpau.h>".} = object
VdpGetProcAddress {.importc, header: "<vdpau/vdpau.h>".} = object
VdpPictureInfo {.importc, header: "<vdpau/vdpau.h>".} = object

Procs

proc av_alloc_vdpaucontext(): AVVDPAUContext {.importc, cdecl, ...raises: [],
    tags: [], forbids: [].}
proc av_vdpau_alloc_context(): AVVDPAUContext {.importc, cdecl, ...raises: [],
    tags: [], forbids: [].}
proc av_vdpau_bind_context(avctx: ptr AVCodecContext; device: VdpDevice;
                           get_proc_address: ptr VdpGetProcAddress; flags: cuint): cint {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_vdpau_get_surface_parameters(avctx: ptr AVCodecContext;
                                     type: ptr VdpChromaType;
                                     width, height: ptr cuint): cint {.importc,
    cdecl, ...raises: [], tags: [], forbids: [].}
proc av_vdpau_hwaccel_get_render2(a1: ptr AVVDPAUContext): AVVDPAU_Render2 {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_vdpau_hwaccel_set_render2(a1: ptr AVVDPAUContext; a2: AVVDPAU_Render2) {.
    importc, cdecl, ...raises: [], tags: [], forbids: [].}