# Julia wrapper for header: /usr/include/libavutil/avutil.h
# Automatically generated using Clang.jl wrap_c, version 0.0.0


export
    avutil_version,
    av_version_info,
    avutil_configuration,
    avutil_license,
    av_get_media_type_string,
    av_get_picture_type_char,
    av_x_if_null,
    av_int_list_length_for_size,
    av_fopen_utf8,
    av_get_time_base_q,
    av_fourcc_make_string


function avutil_version()
    ccall((:avutil_version, libavutil), UInt32, ())
end

function av_version_info()
    ccall((:av_version_info, libavutil), Cstring, ())
end

function avutil_configuration()
    ccall((:avutil_configuration, libavutil), Cstring, ())
end

function avutil_license()
    ccall((:avutil_license, libavutil), Cstring, ())
end

function av_get_media_type_string(media_type::AVMediaType)
    ccall((:av_get_media_type_string, libavutil), Cstring, (AVMediaType,), media_type)
end

function av_get_picture_type_char(pict_type::AVPictureType)
    ccall((:av_get_picture_type_char, libavutil), UInt8, (AVPictureType,), pict_type)
end

function av_x_if_null(p, x)
    ccall((:av_x_if_null, libavutil), Ptr{Cvoid}, (Ptr{Cvoid}, Ptr{Cvoid}), p, x)
end

function av_int_list_length_for_size(elsize::Integer, list, term::UInt64)
    ccall((:av_int_list_length_for_size, libavutil), UInt32, (UInt32, Ptr{Cvoid}, UInt64), elsize, list, term)
end

function av_fopen_utf8(path, mode)
    ccall((:av_fopen_utf8, libavutil), Ptr{FILE}, (Cstring, Cstring), path, mode)
end

function av_get_time_base_q()
    ccall((:av_get_time_base_q, libavutil), AVRational, ())
end

function av_fourcc_make_string(buf, fourcc::Integer)
    ccall((:av_fourcc_make_string, libavutil), Cstring, (Cstring, UInt32), buf, fourcc)
end
