Consts
AV_CODEC_CAP_AUTO_THREADS = 32768
AV_CODEC_CAP_AVOID_PROBING = 131072
AV_CODEC_CAP_CHANNEL_CONF = 1024
AV_CODEC_CAP_DELAY = 32
AV_CODEC_CAP_DR1 = 2
AV_CODEC_CAP_ENCODER_FLUSH = 2097152
AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE = 1048576
AV_CODEC_CAP_FRAME_THREADS = 4096
AV_CODEC_CAP_HARDWARE = 262144
AV_CODEC_CAP_HYBRID = 524288
AV_CODEC_CAP_INTRA_ONLY = 0x40000000
AV_CODEC_CAP_LOSSLESS = 0x0000000080000000'i64
AV_CODEC_CAP_OTHER_THREADS = 32768
AV_CODEC_CAP_PARAM_CHANGE = 16384
AV_CODEC_CAP_SLICE_THREADS = 8192
AV_CODEC_CAP_SUBFRAMES = 256
AV_CODEC_CAP_VARIABLE_FRAME_SIZE = 65536
AV_CODEC_HW_CONFIG_METHOD_AD_HOC = 0x00000008
AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX = 0x00000001
AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX = 0x00000002
AV_CODEC_HW_CONFIG_METHOD_INTERNAL = 0x00000004
Procs
proc av_codec_is_decoder(codec: ptr AVCodec): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_codec_is_encoder(codec: ptr AVCodec): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_codec_iterate(opaque: ptr pointer): ptr AVCodec {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_get_profile_name(codec: ptr AVCodec; profile: cint): ptr cchar {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avcodec_find_decoder(id: AVCodecID): ptr AVCodec {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avcodec_find_decoder_by_name(name: cstring): ptr AVCodec {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avcodec_find_encoder(id: AVCodecID): ptr AVCodec {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avcodec_find_encoder_by_name(name: cstring): ptr AVCodec {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avcodec_get_hw_config(codec: ptr AVCodec; index: cint): ptr AVCodecHWConfig {. importc, cdecl, ...raises: [], tags: [], forbids: [].}