// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace Gst.PbUtils {

	using System;
	using System.Collections;
	using System.Collections.Generic;
	using System.Runtime.InteropServices;

#region Autogenerated code
	public partial class DiscovererVideoInfoBuilder : GLib.Opaque {

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_video_info_builder_build(IntPtr raw);

		public Gst.PbUtils.DiscovererVideoInfo Build() {
			IntPtr raw_ret = gst_discoverer_video_info_builder_build(Handle);
			Gst.PbUtils.DiscovererVideoInfo ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.DiscovererVideoInfo;
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_video_info_builder_set_bitrate(IntPtr raw, uint bitrate);

		public Gst.PbUtils.DiscovererVideoInfoBuilder SetBitrate(uint bitrate) {
			IntPtr raw_ret = gst_discoverer_video_info_builder_set_bitrate(Handle, bitrate);
			Gst.PbUtils.DiscovererVideoInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererVideoInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererVideoInfoBuilder), false);
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_video_info_builder_set_interlaced(IntPtr raw, bool interlaced);

		public Gst.PbUtils.DiscovererVideoInfoBuilder SetInterlaced(bool interlaced) {
			IntPtr raw_ret = gst_discoverer_video_info_builder_set_interlaced(Handle, interlaced);
			Gst.PbUtils.DiscovererVideoInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererVideoInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererVideoInfoBuilder), false);
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_video_info_builder_set_is_image(IntPtr raw, bool is_image);

		public Gst.PbUtils.DiscovererVideoInfoBuilder SetIsImage(bool is_image) {
			IntPtr raw_ret = gst_discoverer_video_info_builder_set_is_image(Handle, is_image);
			Gst.PbUtils.DiscovererVideoInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererVideoInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererVideoInfoBuilder), false);
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_video_info_builder_set_max_bitrate(IntPtr raw, uint max_bitrate);

		public Gst.PbUtils.DiscovererVideoInfoBuilder SetMaxBitrate(uint max_bitrate) {
			IntPtr raw_ret = gst_discoverer_video_info_builder_set_max_bitrate(Handle, max_bitrate);
			Gst.PbUtils.DiscovererVideoInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererVideoInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererVideoInfoBuilder), false);
			return ret;
		}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_discoverer_video_info_builder_set_tags(IntPtr raw, IntPtr tags);

		public Gst.PbUtils.DiscovererVideoInfoBuilder SetTags(Gst.TagList tags) {
			IntPtr raw_ret = gst_discoverer_video_info_builder_set_tags(Handle, tags == null ? IntPtr.Zero : tags.Handle);
			Gst.PbUtils.DiscovererVideoInfoBuilder ret = raw_ret == IntPtr.Zero ? null : (Gst.PbUtils.DiscovererVideoInfoBuilder) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.PbUtils.DiscovererVideoInfoBuilder), false);
			return ret;
		}

		public Gst.PbUtils.DiscovererVideoInfoBuilder SetTags() {
			return SetTags (null);
		}

		public DiscovererVideoInfoBuilder(IntPtr raw) : base(raw) {}

		[DllImport("gstpbutils-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern void gst_discoverer_video_info_builder_free(IntPtr raw);

		protected override void Free (IntPtr raw)
		{
			gst_discoverer_video_info_builder_free (raw);
		}

		protected override Action<IntPtr> DisposeUnmanagedFunc {
			get {
				return gst_discoverer_video_info_builder_free;
			}
		}


		// Internal representation of the wrapped structure ABI.
		static GLib.AbiStruct _abi_info = null;
		static public GLib.AbiStruct abi_info {
			get {
				if (_abi_info == null)
					_abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ 
					});

				return _abi_info;
			}
		}


		// End of the ABI representation.

#endregion
	}
}
