Procs
proc av_mediacodec_alloc_context(): AVMediaCodecContext {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_mediacodec_default_free(avctx: ptr AVCodecContext) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_mediacodec_default_init(avctx: ptr AVCodecContext; ctx: ptr AVMediaCodecContext; surface: pointer): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_mediacodec_release_buffer(buffer: ptr AVMediaCodecContext; render: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_mediacodec_render_buffer_at_time(buffer: ptr AVMediaCodecContext; time: int64): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}