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

namespace Gst.Video {

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

#region Autogenerated code
	[StructLayout(LayoutKind.Sequential)]
	public partial struct VideoDSCSelectionMeta : IEquatable<VideoDSCSelectionMeta> {

		public Gst.Meta Meta;
		public Gst.Video.H274DigitallySignedContentSelection DscSelection;

		public static Gst.Video.VideoDSCSelectionMeta Zero = new Gst.Video.VideoDSCSelectionMeta ();

		public static Gst.Video.VideoDSCSelectionMeta New(IntPtr raw) {
			if (raw == IntPtr.Zero)
				return Gst.Video.VideoDSCSelectionMeta.Zero;
			return (Gst.Video.VideoDSCSelectionMeta) Marshal.PtrToStructure (raw, typeof (Gst.Video.VideoDSCSelectionMeta));
		}

		[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
		static extern IntPtr gst_video_dsc_selection_meta_get_info();

		public static Gst.MetaInfo Info { 
			get {
				IntPtr raw_ret = gst_video_dsc_selection_meta_get_info();
				Gst.MetaInfo ret = Gst.MetaInfo.New (raw_ret);
				return ret;
			}
		}

		public bool Equals (VideoDSCSelectionMeta other)
		{
			return true && Meta.Equals (other.Meta) && DscSelection.Equals (other.DscSelection);
		}

		public override bool Equals (object other)
		{
			return other is VideoDSCSelectionMeta && Equals ((VideoDSCSelectionMeta) other);
		}

		public override int GetHashCode ()
		{
			return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ DscSelection.GetHashCode ();
		}

		private static GLib.GType GType {
			get { return GLib.GType.Pointer; }
		}
#endregion
	}
}
