Decompiled source of DesktopBuddyRuntime v1.0.0

plugins/DesktopBuddy/DesktopBuddyRuntime/FFmpeg.AutoGen.dll

Decompiled 16 hours ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using System.Text;
using FFmpeg.AutoGen.Native;
using Microsoft.CodeAnalysis;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("Rationale One")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCopyright("Copyright © Ruslan Balanukhin 2025 All rights reserved.")]
[assembly: AssemblyDescription("FFmpeg auto generated unsafe bindings for C#/.NET and Mono.")]
[assembly: AssemblyFileVersion("8.0.0.1")]
[assembly: AssemblyInformationalVersion("8.0.0.1+8003b88e6a3189bcceba6825e134ad7ed0e06928")]
[assembly: AssemblyProduct("FFmpeg.AutoGen")]
[assembly: AssemblyTitle("FFmpeg.AutoGen")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("8.0.0.1")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace FFmpeg.AutoGen
{
	public class ConstCharPtrMarshaler : ICustomMarshaler
	{
		private static readonly ConstCharPtrMarshaler Instance = new ConstCharPtrMarshaler();

		public object MarshalNativeToManaged(IntPtr pNativeData)
		{
			return Marshal.PtrToStringAnsi(pNativeData);
		}

		public IntPtr MarshalManagedToNative(object managedObj)
		{
			return IntPtr.Zero;
		}

		public void CleanUpNativeData(IntPtr pNativeData)
		{
		}

		public void CleanUpManagedData(object managedObj)
		{
		}

		public int GetNativeDataSize()
		{
			return IntPtr.Size;
		}

		public static ICustomMarshaler GetInstance(string cookie)
		{
			return Instance;
		}
	}
	public static class ffmpeg
	{
		public static readonly int EAGAIN;

		public static readonly int ENOMEM;

		public static readonly int EINVAL;

		public static readonly int EPIPE;

		public static Dictionary<string, int> LibraryVersionMap;

		public const int _WIN32_WINNT = 1538;

		public const int AV_BUFFER_FLAG_READONLY = 1;

		public const int AV_BUFFERSINK_FLAG_NO_REQUEST = 2;

		public const int AV_BUFFERSINK_FLAG_PEEK = 1;

		public static readonly ulong AV_CH_BACK_CENTER;

		public static readonly ulong AV_CH_BACK_LEFT;

		public static readonly ulong AV_CH_BACK_RIGHT;

		public static readonly ulong AV_CH_BINAURAL_LEFT;

		public static readonly ulong AV_CH_BINAURAL_RIGHT;

		public static readonly ulong AV_CH_BOTTOM_FRONT_CENTER;

		public static readonly ulong AV_CH_BOTTOM_FRONT_LEFT;

		public static readonly ulong AV_CH_BOTTOM_FRONT_RIGHT;

		public static readonly ulong AV_CH_FRONT_CENTER;

		public static readonly ulong AV_CH_FRONT_LEFT;

		public static readonly ulong AV_CH_FRONT_LEFT_OF_CENTER;

		public static readonly ulong AV_CH_FRONT_RIGHT;

		public static readonly ulong AV_CH_FRONT_RIGHT_OF_CENTER;

		public static readonly ulong AV_CH_LAYOUT_2_1;

		public static readonly ulong AV_CH_LAYOUT_2_2;

		public static readonly ulong AV_CH_LAYOUT_22POINT2;

		public static readonly ulong AV_CH_LAYOUT_2POINT1;

		public static readonly ulong AV_CH_LAYOUT_3POINT1;

		public static readonly ulong AV_CH_LAYOUT_3POINT1POINT2;

		public static readonly ulong AV_CH_LAYOUT_4POINT0;

		public static readonly ulong AV_CH_LAYOUT_4POINT1;

		public static readonly ulong AV_CH_LAYOUT_5POINT0;

		public static readonly ulong AV_CH_LAYOUT_5POINT0_BACK;

		public static readonly ulong AV_CH_LAYOUT_5POINT1;

		public static readonly ulong AV_CH_LAYOUT_5POINT1_BACK;

		public static readonly ulong AV_CH_LAYOUT_5POINT1POINT2;

		public static readonly ulong AV_CH_LAYOUT_5POINT1POINT2_BACK;

		public static readonly ulong AV_CH_LAYOUT_5POINT1POINT4_BACK;

		public static readonly ulong AV_CH_LAYOUT_6POINT0;

		public static readonly ulong AV_CH_LAYOUT_6POINT0_FRONT;

		public static readonly ulong AV_CH_LAYOUT_6POINT1;

		public static readonly ulong AV_CH_LAYOUT_6POINT1_BACK;

		public static readonly ulong AV_CH_LAYOUT_6POINT1_FRONT;

		public static readonly ulong AV_CH_LAYOUT_7POINT0;

		public static readonly ulong AV_CH_LAYOUT_7POINT0_FRONT;

		public static readonly ulong AV_CH_LAYOUT_7POINT1;

		public static readonly ulong AV_CH_LAYOUT_7POINT1_TOP_BACK;

		public static readonly ulong AV_CH_LAYOUT_7POINT1_WIDE;

		public static readonly ulong AV_CH_LAYOUT_7POINT1_WIDE_BACK;

		public static readonly ulong AV_CH_LAYOUT_7POINT1POINT2;

		public static readonly ulong AV_CH_LAYOUT_7POINT1POINT4_BACK;

		public static readonly ulong AV_CH_LAYOUT_7POINT2POINT3;

		public static readonly ulong AV_CH_LAYOUT_9POINT1POINT4_BACK;

		public static readonly ulong AV_CH_LAYOUT_9POINT1POINT6;

		public static readonly ulong AV_CH_LAYOUT_BINAURAL;

		public static readonly ulong AV_CH_LAYOUT_CUBE;

		public static readonly ulong AV_CH_LAYOUT_HEXADECAGONAL;

		public static readonly ulong AV_CH_LAYOUT_HEXAGONAL;

		public static readonly ulong AV_CH_LAYOUT_MONO;

		public static readonly ulong AV_CH_LAYOUT_OCTAGONAL;

		public static readonly ulong AV_CH_LAYOUT_QUAD;

		public static readonly ulong AV_CH_LAYOUT_STEREO;

		public static readonly ulong AV_CH_LAYOUT_STEREO_DOWNMIX;

		public static readonly ulong AV_CH_LAYOUT_SURROUND;

		public static readonly ulong AV_CH_LOW_FREQUENCY;

		public static readonly ulong AV_CH_LOW_FREQUENCY_2;

		public static readonly ulong AV_CH_SIDE_LEFT;

		public static readonly ulong AV_CH_SIDE_RIGHT;

		public static readonly ulong AV_CH_SIDE_SURROUND_LEFT;

		public static readonly ulong AV_CH_SIDE_SURROUND_RIGHT;

		public static readonly ulong AV_CH_STEREO_LEFT;

		public static readonly ulong AV_CH_STEREO_RIGHT;

		public static readonly ulong AV_CH_SURROUND_DIRECT_LEFT;

		public static readonly ulong AV_CH_SURROUND_DIRECT_RIGHT;

		public static readonly ulong AV_CH_TOP_BACK_CENTER;

		public static readonly ulong AV_CH_TOP_BACK_LEFT;

		public static readonly ulong AV_CH_TOP_BACK_RIGHT;

		public static readonly ulong AV_CH_TOP_CENTER;

		public static readonly ulong AV_CH_TOP_FRONT_CENTER;

		public static readonly ulong AV_CH_TOP_FRONT_LEFT;

		public static readonly ulong AV_CH_TOP_FRONT_RIGHT;

		public static readonly ulong AV_CH_TOP_SIDE_LEFT;

		public static readonly ulong AV_CH_TOP_SIDE_RIGHT;

		public static readonly ulong AV_CH_TOP_SURROUND_LEFT;

		public static readonly ulong AV_CH_TOP_SURROUND_RIGHT;

		public static readonly ulong AV_CH_WIDE_LEFT;

		public static readonly ulong AV_CH_WIDE_RIGHT;

		public const int AV_CHANNEL_LAYOUT_RETYPE_FLAG_CANONICAL = 2;

		public const int AV_CHANNEL_LAYOUT_RETYPE_FLAG_LOSSLESS = 1;

		public const int AV_CODEC_CAP_AVOID_PROBING = 131072;

		public const int AV_CODEC_CAP_CHANNEL_CONF = 1024;

		public const int AV_CODEC_CAP_DELAY = 32;

		public const int AV_CODEC_CAP_DR1 = 2;

		public const int AV_CODEC_CAP_DRAW_HORIZ_BAND = 1;

		public const int AV_CODEC_CAP_ENCODER_FLUSH = 2097152;

		public const int AV_CODEC_CAP_ENCODER_RECON_FRAME = 4194304;

		public const int AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE = 1048576;

		public const int AV_CODEC_CAP_EXPERIMENTAL = 512;

		public const int AV_CODEC_CAP_FRAME_THREADS = 4096;

		public const int AV_CODEC_CAP_HARDWARE = 262144;

		public const int AV_CODEC_CAP_HYBRID = 524288;

		public const int AV_CODEC_CAP_OTHER_THREADS = 32768;

		public const int AV_CODEC_CAP_PARAM_CHANGE = 16384;

		public const int AV_CODEC_CAP_SLICE_THREADS = 8192;

		public const int AV_CODEC_CAP_SMALL_LAST_FRAME = 64;

		public const int AV_CODEC_CAP_VARIABLE_FRAME_SIZE = 65536;

		public const int AV_CODEC_EXPORT_DATA_ENHANCEMENTS = 16;

		public const int AV_CODEC_EXPORT_DATA_FILM_GRAIN = 8;

		public const int AV_CODEC_EXPORT_DATA_MVS = 1;

		public const int AV_CODEC_EXPORT_DATA_PRFT = 2;

		public const int AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS = 4;

		public const int AV_CODEC_FLAG_4MV = 4;

		public const int AV_CODEC_FLAG_AC_PRED = 16777216;

		public const int AV_CODEC_FLAG_BITEXACT = 8388608;

		public const uint AV_CODEC_FLAG_CLOSED_GOP = 2147483648u;

		public const int AV_CODEC_FLAG_COPY_OPAQUE = 128;

		public const int AV_CODEC_FLAG_FRAME_DURATION = 256;

		public const int AV_CODEC_FLAG_GLOBAL_HEADER = 4194304;

		public const int AV_CODEC_FLAG_GRAY = 8192;

		public const int AV_CODEC_FLAG_INTERLACED_DCT = 262144;

		public const int AV_CODEC_FLAG_INTERLACED_ME = 536870912;

		public const int AV_CODEC_FLAG_LOOP_FILTER = 2048;

		public const int AV_CODEC_FLAG_LOW_DELAY = 524288;

		public const int AV_CODEC_FLAG_OUTPUT_CORRUPT = 8;

		public const int AV_CODEC_FLAG_PASS1 = 512;

		public const int AV_CODEC_FLAG_PASS2 = 1024;

		public const int AV_CODEC_FLAG_PSNR = 32768;

		public const int AV_CODEC_FLAG_QPEL = 16;

		public const int AV_CODEC_FLAG_QSCALE = 2;

		public const int AV_CODEC_FLAG_RECON_FRAME = 64;

		public const int AV_CODEC_FLAG_UNALIGNED = 1;

		public const int AV_CODEC_FLAG2_CHUNKS = 32768;

		public const int AV_CODEC_FLAG2_EXPORT_MVS = 268435456;

		public const int AV_CODEC_FLAG2_FAST = 1;

		public const uint AV_CODEC_FLAG2_ICC_PROFILES = 2147483648u;

		public const int AV_CODEC_FLAG2_IGNORE_CROP = 65536;

		public const int AV_CODEC_FLAG2_LOCAL_HEADER = 8;

		public const int AV_CODEC_FLAG2_NO_OUTPUT = 4;

		public const int AV_CODEC_FLAG2_RO_FLUSH_NOOP = 1073741824;

		public const int AV_CODEC_FLAG2_SHOW_ALL = 4194304;

		public const int AV_CODEC_FLAG2_SKIP_MANUAL = 536870912;

		public static readonly int AV_CODEC_ID_H265;

		public static readonly int AV_CODEC_ID_H266;

		public static readonly int AV_CODEC_ID_IFF_BYTERUN1;

		public const int AV_CODEC_PROP_BITMAP_SUB = 65536;

		public const int AV_CODEC_PROP_FIELDS = 16;

		public const int AV_CODEC_PROP_INTRA_ONLY = 1;

		public const int AV_CODEC_PROP_LOSSLESS = 4;

		public const int AV_CODEC_PROP_LOSSY = 2;

		public const int AV_CODEC_PROP_REORDER = 8;

		public const int AV_CODEC_PROP_TEXT_SUB = 131072;

		public const int AV_CPU_FLAG_3DNOW = 4;

		public const int AV_CPU_FLAG_3DNOWEXT = 32;

		public const int AV_CPU_FLAG_AESNI = 524288;

		public const int AV_CPU_FLAG_ALTIVEC = 1;

		public const int AV_CPU_FLAG_ARMV5TE = 1;

		public const int AV_CPU_FLAG_ARMV6 = 2;

		public const int AV_CPU_FLAG_ARMV6T2 = 4;

		public const int AV_CPU_FLAG_ARMV8 = 64;

		public const int AV_CPU_FLAG_ATOM = 268435456;

		public const int AV_CPU_FLAG_AVX = 16384;

		public const int AV_CPU_FLAG_AVX2 = 32768;

		public const int AV_CPU_FLAG_AVX512 = 1048576;

		public const int AV_CPU_FLAG_AVX512ICL = 2097152;

		public const int AV_CPU_FLAG_AVXSLOW = 134217728;

		public const int AV_CPU_FLAG_BMI1 = 131072;

		public const int AV_CPU_FLAG_BMI2 = 262144;

		public const int AV_CPU_FLAG_CMOV = 4096;

		public const int AV_CPU_FLAG_DOTPROD = 256;

		public const int AV_CPU_FLAG_FMA3 = 65536;

		public const int AV_CPU_FLAG_FMA4 = 2048;

		public const uint AV_CPU_FLAG_FORCE = 2147483648u;

		public const int AV_CPU_FLAG_I8MM = 512;

		public const int AV_CPU_FLAG_LASX = 2;

		public const int AV_CPU_FLAG_LSX = 1;

		public const int AV_CPU_FLAG_MMI = 1;

		public const int AV_CPU_FLAG_MMX = 1;

		public const int AV_CPU_FLAG_MMX2 = 2;

		public const int AV_CPU_FLAG_MMXEXT = 2;

		public const int AV_CPU_FLAG_MSA = 2;

		public const int AV_CPU_FLAG_NEON = 32;

		public const int AV_CPU_FLAG_POWER8 = 4;

		public const int AV_CPU_FLAG_RV_MISALIGNED = 1024;

		public const int AV_CPU_FLAG_RV_ZVBB = 512;

		public const int AV_CPU_FLAG_RVB = 2048;

		public const int AV_CPU_FLAG_RVB_ADDR = 256;

		public const int AV_CPU_FLAG_RVB_BASIC = 128;

		public const int AV_CPU_FLAG_RVD = 4;

		public const int AV_CPU_FLAG_RVF = 2;

		public const int AV_CPU_FLAG_RVI = 1;

		public const int AV_CPU_FLAG_RVV_F32 = 16;

		public const int AV_CPU_FLAG_RVV_F64 = 64;

		public const int AV_CPU_FLAG_RVV_I32 = 8;

		public const int AV_CPU_FLAG_RVV_I64 = 32;

		public const int AV_CPU_FLAG_SETEND = 65536;

		public const int AV_CPU_FLAG_SIMD128 = 1;

		public const int AV_CPU_FLAG_SLOW_GATHER = 33554432;

		public const int AV_CPU_FLAG_SSE = 8;

		public const int AV_CPU_FLAG_SSE2 = 16;

		public const int AV_CPU_FLAG_SSE2SLOW = 1073741824;

		public const int AV_CPU_FLAG_SSE3 = 64;

		public const int AV_CPU_FLAG_SSE3SLOW = 536870912;

		public const int AV_CPU_FLAG_SSE4 = 256;

		public const int AV_CPU_FLAG_SSE42 = 512;

		public const int AV_CPU_FLAG_SSSE3 = 128;

		public const int AV_CPU_FLAG_SSSE3SLOW = 67108864;

		public const int AV_CPU_FLAG_SVE = 1024;

		public const int AV_CPU_FLAG_SVE2 = 2048;

		public const int AV_CPU_FLAG_VFP = 8;

		public const int AV_CPU_FLAG_VFP_VM = 128;

		public const int AV_CPU_FLAG_VFPV3 = 16;

		public const int AV_CPU_FLAG_VSX = 2;

		public const int AV_CPU_FLAG_XOP = 1024;

		public const int AV_DICT_APPEND = 32;

		public const int AV_DICT_DEDUP = 128;

		public const int AV_DICT_DONT_OVERWRITE = 16;

		public const int AV_DICT_DONT_STRDUP_KEY = 4;

		public const int AV_DICT_DONT_STRDUP_VAL = 8;

		public const int AV_DICT_IGNORE_SUFFIX = 2;

		public const int AV_DICT_MATCH_CASE = 1;

		public const int AV_DICT_MULTIKEY = 64;

		public const int AV_DISPOSITION_ATTACHED_PIC = 1024;

		public const int AV_DISPOSITION_CAPTIONS = 65536;

		public const int AV_DISPOSITION_CLEAN_EFFECTS = 512;

		public const int AV_DISPOSITION_COMMENT = 8;

		public const int AV_DISPOSITION_DEFAULT = 1;

		public const int AV_DISPOSITION_DEPENDENT = 524288;

		public const int AV_DISPOSITION_DESCRIPTIONS = 131072;

		public const int AV_DISPOSITION_DUB = 2;

		public const int AV_DISPOSITION_FORCED = 64;

		public const int AV_DISPOSITION_HEARING_IMPAIRED = 128;

		public const int AV_DISPOSITION_KARAOKE = 32;

		public const int AV_DISPOSITION_LYRICS = 16;

		public const int AV_DISPOSITION_METADATA = 262144;

		public const int AV_DISPOSITION_MULTILAYER = 2097152;

		public const int AV_DISPOSITION_NON_DIEGETIC = 4096;

		public const int AV_DISPOSITION_ORIGINAL = 4;

		public const int AV_DISPOSITION_STILL_IMAGE = 1048576;

		public const int AV_DISPOSITION_TIMED_THUMBNAILS = 2048;

		public const int AV_DISPOSITION_VISUAL_IMPAIRED = 256;

		public const int AV_EF_AGGRESSIVE = 262144;

		public const int AV_EF_BITSTREAM = 2;

		public const int AV_EF_BUFFER = 4;

		public const int AV_EF_CAREFUL = 65536;

		public const int AV_EF_COMPLIANT = 131072;

		public const int AV_EF_CRCCHECK = 1;

		public const int AV_EF_EXPLODE = 8;

		public const int AV_EF_IGNORE_ERR = 32768;

		public const int AV_ERROR_MAX_STRING_SIZE = 64;

		public const int AV_FOURCC_MAX_STRING_SIZE = 32;

		public const int AV_FRAME_FILENAME_FLAGS_MULTIPLE = 1;

		public const int AV_FRAME_FLAG_CORRUPT = 1;

		public const int AV_FRAME_FLAG_DISCARD = 4;

		public const int AV_FRAME_FLAG_INTERLACED = 8;

		public const int AV_FRAME_FLAG_KEY = 2;

		public const int AV_FRAME_FLAG_LOSSLESS = 32;

		public const int AV_FRAME_FLAG_TOP_FIELD_FIRST = 16;

		public const int AV_FRAME_SIDE_DATA_FLAG_NEW_REF = 4;

		public const int AV_FRAME_SIDE_DATA_FLAG_REPLACE = 2;

		public const int AV_FRAME_SIDE_DATA_FLAG_UNIQUE = 1;

		public const int AV_GET_BUFFER_FLAG_REF = 1;

		public const int AV_GET_ENCODE_BUFFER_FLAG_REF = 1;

		public const int AV_HAVE_BIGENDIAN = 0;

		public const int AV_HAVE_FAST_UNALIGNED = 1;

		public const int AV_HDR_PLUS_MAX_PAYLOAD_SIZE = 907;

		public const int AV_HWACCEL_CODEC_CAP_EXPERIMENTAL = 512;

		public const int AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH = 2;

		public const int AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH = 4;

		public const int AV_HWACCEL_FLAG_IGNORE_LEVEL = 1;

		public const int AV_HWACCEL_FLAG_UNSAFE_OUTPUT = 8;

		public const int AV_INPUT_BUFFER_PADDING_SIZE = 64;

		public const int AV_LEVEL_UNKNOWN = -99;

		public const int AV_LOG_DEBUG = 48;

		public const int AV_LOG_ERROR = 16;

		public const int AV_LOG_FATAL = 8;

		public const int AV_LOG_INFO = 32;

		public const int AV_LOG_MAX_OFFSET = 64;

		public const int AV_LOG_PANIC = 0;

		public const int AV_LOG_PRINT_DATETIME = 8;

		public const int AV_LOG_PRINT_LEVEL = 2;

		public const int AV_LOG_PRINT_TIME = 4;

		public const int AV_LOG_QUIET = -8;

		public const int AV_LOG_SKIP_REPEATED = 1;

		public const int AV_LOG_TRACE = 56;

		public const int AV_LOG_VERBOSE = 40;

		public const int AV_LOG_WARNING = 24;

		public static readonly long AV_NOPTS_VALUE;

		public const int AV_NUM_DATA_POINTERS = 8;

		public const int AV_OPT_ALLOW_NULL = 4;

		public const int AV_OPT_ARRAY_REPLACE = 8;

		public const int AV_OPT_FLAG_AUDIO_PARAM = 8;

		public const int AV_OPT_FLAG_BSF_PARAM = 256;

		public const int AV_OPT_FLAG_CHILD_CONSTS = 262144;

		public const int AV_OPT_FLAG_DECODING_PARAM = 2;

		public const int AV_OPT_FLAG_DEPRECATED = 131072;

		public const int AV_OPT_FLAG_ENCODING_PARAM = 1;

		public const int AV_OPT_FLAG_EXPORT = 64;

		public const int AV_OPT_FLAG_FILTERING_PARAM = 65536;

		public const int AV_OPT_FLAG_READONLY = 128;

		public const int AV_OPT_FLAG_RUNTIME_PARAM = 32768;

		public const int AV_OPT_FLAG_SUBTITLE_PARAM = 32;

		public const int AV_OPT_FLAG_VIDEO_PARAM = 16;

		public const int AV_OPT_MULTI_COMPONENT_RANGE = 4096;

		public const int AV_OPT_SEARCH_CHILDREN = 1;

		public const int AV_OPT_SEARCH_FAKE_OBJ = 2;

		public const int AV_OPT_SERIALIZE_OPT_FLAGS_EXACT = 2;

		public const int AV_OPT_SERIALIZE_SEARCH_CHILDREN = 4;

		public const int AV_OPT_SERIALIZE_SKIP_DEFAULTS = 1;

		public const int AV_PARSER_PTS_NB = 4;

		public const int AV_PIX_FMT_FLAG_ALPHA = 128;

		public const int AV_PIX_FMT_FLAG_BAYER = 256;

		public const int AV_PIX_FMT_FLAG_BE = 1;

		public const int AV_PIX_FMT_FLAG_BITSTREAM = 4;

		public const int AV_PIX_FMT_FLAG_FLOAT = 512;

		public const int AV_PIX_FMT_FLAG_HWACCEL = 8;

		public const int AV_PIX_FMT_FLAG_PAL = 2;

		public const int AV_PIX_FMT_FLAG_PLANAR = 16;

		public const int AV_PIX_FMT_FLAG_RGB = 32;

		public const int AV_PIX_FMT_FLAG_XYZ = 1024;

		public const int AV_PKT_FLAG_CORRUPT = 2;

		public const int AV_PKT_FLAG_DISCARD = 4;

		public const int AV_PKT_FLAG_DISPOSABLE = 16;

		public const int AV_PKT_FLAG_KEY = 1;

		public const int AV_PKT_FLAG_TRUSTED = 8;

		public const int AV_PROFILE_AAC_ELD = 38;

		public const int AV_PROFILE_AAC_HE = 4;

		public const int AV_PROFILE_AAC_HE_V2 = 28;

		public const int AV_PROFILE_AAC_LD = 22;

		public const int AV_PROFILE_AAC_LOW = 1;

		public const int AV_PROFILE_AAC_LTP = 3;

		public const int AV_PROFILE_AAC_MAIN = 0;

		public const int AV_PROFILE_AAC_SSR = 2;

		public const int AV_PROFILE_AAC_USAC = 41;

		public const int AV_PROFILE_APV_400_10 = 99;

		public const int AV_PROFILE_APV_422_10 = 33;

		public const int AV_PROFILE_APV_422_12 = 44;

		public const int AV_PROFILE_APV_444_10 = 55;

		public const int AV_PROFILE_APV_444_12 = 66;

		public const int AV_PROFILE_APV_4444_10 = 77;

		public const int AV_PROFILE_APV_4444_12 = 88;

		public const int AV_PROFILE_ARIB_PROFILE_A = 0;

		public const int AV_PROFILE_ARIB_PROFILE_C = 1;

		public const int AV_PROFILE_AV1_HIGH = 1;

		public const int AV_PROFILE_AV1_MAIN = 0;

		public const int AV_PROFILE_AV1_PROFESSIONAL = 2;

		public const int AV_PROFILE_DNXHD = 0;

		public const int AV_PROFILE_DNXHR_444 = 5;

		public const int AV_PROFILE_DNXHR_HQ = 3;

		public const int AV_PROFILE_DNXHR_HQX = 4;

		public const int AV_PROFILE_DNXHR_LB = 1;

		public const int AV_PROFILE_DNXHR_SQ = 2;

		public const int AV_PROFILE_DTS = 20;

		public const int AV_PROFILE_DTS_96_24 = 40;

		public const int AV_PROFILE_DTS_ES = 30;

		public const int AV_PROFILE_DTS_EXPRESS = 70;

		public const int AV_PROFILE_DTS_HD_HRA = 50;

		public const int AV_PROFILE_DTS_HD_MA = 60;

		public const int AV_PROFILE_DTS_HD_MA_X = 61;

		public const int AV_PROFILE_DTS_HD_MA_X_IMAX = 62;

		public const int AV_PROFILE_EAC3_DDP_ATMOS = 30;

		public const int AV_PROFILE_EVC_BASELINE = 0;

		public const int AV_PROFILE_EVC_MAIN = 1;

		public const int AV_PROFILE_H264_BASELINE = 66;

		public const int AV_PROFILE_H264_CAVLC_444 = 44;

		public const int AV_PROFILE_H264_CONSTRAINED = 512;

		public const int AV_PROFILE_H264_CONSTRAINED_BASELINE = 578;

		public const int AV_PROFILE_H264_EXTENDED = 88;

		public const int AV_PROFILE_H264_HIGH = 100;

		public const int AV_PROFILE_H264_HIGH_10 = 110;

		public const int AV_PROFILE_H264_HIGH_10_INTRA = 2158;

		public const int AV_PROFILE_H264_HIGH_422 = 122;

		public const int AV_PROFILE_H264_HIGH_422_INTRA = 2170;

		public const int AV_PROFILE_H264_HIGH_444 = 144;

		public const int AV_PROFILE_H264_HIGH_444_INTRA = 2292;

		public const int AV_PROFILE_H264_HIGH_444_PREDICTIVE = 244;

		public const int AV_PROFILE_H264_INTRA = 2048;

		public const int AV_PROFILE_H264_MAIN = 77;

		public const int AV_PROFILE_H264_MULTIVIEW_HIGH = 118;

		public const int AV_PROFILE_H264_STEREO_HIGH = 128;

		public const int AV_PROFILE_HEVC_MAIN = 1;

		public const int AV_PROFILE_HEVC_MAIN_10 = 2;

		public const int AV_PROFILE_HEVC_MAIN_STILL_PICTURE = 3;

		public const int AV_PROFILE_HEVC_MULTIVIEW_MAIN = 6;

		public const int AV_PROFILE_HEVC_REXT = 4;

		public const int AV_PROFILE_HEVC_SCC = 9;

		public const int AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION = 32768;

		public const int AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 = 1;

		public const int AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 = 2;

		public const int AV_PROFILE_JPEG2000_DCINEMA_2K = 3;

		public const int AV_PROFILE_JPEG2000_DCINEMA_4K = 4;

		public const int AV_PROFILE_KLVA_ASYNC = 1;

		public const int AV_PROFILE_KLVA_SYNC = 0;

		public const int AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT = 192;

		public const int AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT = 193;

		public const int AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS = 195;

		public const int AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT = 194;

		public const int AV_PROFILE_MJPEG_JPEG_LS = 247;

		public const int AV_PROFILE_MPEG2_422 = 0;

		public const int AV_PROFILE_MPEG2_AAC_HE = 131;

		public const int AV_PROFILE_MPEG2_AAC_LOW = 128;

		public const int AV_PROFILE_MPEG2_HIGH = 1;

		public const int AV_PROFILE_MPEG2_MAIN = 4;

		public const int AV_PROFILE_MPEG2_SIMPLE = 5;

		public const int AV_PROFILE_MPEG2_SNR_SCALABLE = 3;

		public const int AV_PROFILE_MPEG2_SS = 2;

		public const int AV_PROFILE_MPEG4_ADVANCED_CODING = 11;

		public const int AV_PROFILE_MPEG4_ADVANCED_CORE = 12;

		public const int AV_PROFILE_MPEG4_ADVANCED_REAL_TIME = 9;

		public const int AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE = 13;

		public const int AV_PROFILE_MPEG4_ADVANCED_SIMPLE = 15;

		public const int AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE = 7;

		public const int AV_PROFILE_MPEG4_CORE = 2;

		public const int AV_PROFILE_MPEG4_CORE_SCALABLE = 10;

		public const int AV_PROFILE_MPEG4_HYBRID = 8;

		public const int AV_PROFILE_MPEG4_MAIN = 3;

		public const int AV_PROFILE_MPEG4_N_BIT = 4;

		public const int AV_PROFILE_MPEG4_SCALABLE_TEXTURE = 5;

		public const int AV_PROFILE_MPEG4_SIMPLE = 0;

		public const int AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION = 6;

		public const int AV_PROFILE_MPEG4_SIMPLE_SCALABLE = 1;

		public const int AV_PROFILE_MPEG4_SIMPLE_STUDIO = 14;

		public const int AV_PROFILE_PRORES_4444 = 4;

		public const int AV_PROFILE_PRORES_HQ = 3;

		public const int AV_PROFILE_PRORES_LT = 1;

		public const int AV_PROFILE_PRORES_PROXY = 0;

		public const int AV_PROFILE_PRORES_RAW = 0;

		public const int AV_PROFILE_PRORES_RAW_HQ = 1;

		public const int AV_PROFILE_PRORES_STANDARD = 2;

		public const int AV_PROFILE_PRORES_XQ = 5;

		public const int AV_PROFILE_RESERVED = -100;

		public const int AV_PROFILE_SBC_MSBC = 1;

		public const int AV_PROFILE_TRUEHD_ATMOS = 30;

		public const int AV_PROFILE_UNKNOWN = -99;

		public const int AV_PROFILE_VC1_ADVANCED = 3;

		public const int AV_PROFILE_VC1_COMPLEX = 2;

		public const int AV_PROFILE_VC1_MAIN = 1;

		public const int AV_PROFILE_VC1_SIMPLE = 0;

		public const int AV_PROFILE_VP9_0 = 0;

		public const int AV_PROFILE_VP9_1 = 1;

		public const int AV_PROFILE_VP9_2 = 2;

		public const int AV_PROFILE_VP9_3 = 3;

		public const int AV_PROFILE_VVC_MAIN_10 = 1;

		public const int AV_PROFILE_VVC_MAIN_10_444 = 33;

		public const int AV_PROGRAM_RUNNING = 1;

		public const int AV_PTS_WRAP_ADD_OFFSET = 1;

		public const int AV_PTS_WRAP_IGNORE = 0;

		public const int AV_PTS_WRAP_SUB_OFFSET = -1;

		public const int AV_SUBTITLE_FLAG_FORCED = 1;

		public const int AV_TIME_BASE = 1000000;

		public const int AV_TIMECODE_STR_SIZE = 23;

		public const int AV_VIDEO_MAX_PLANES = 4;

		public static readonly int AVERROR_BSF_NOT_FOUND;

		public static readonly int AVERROR_BUFFER_TOO_SMALL;

		public static readonly int AVERROR_BUG;

		public static readonly int AVERROR_BUG2;

		public static readonly int AVERROR_DECODER_NOT_FOUND;

		public static readonly int AVERROR_DEMUXER_NOT_FOUND;

		public static readonly int AVERROR_ENCODER_NOT_FOUND;

		public static readonly int AVERROR_EOF;

		public static readonly int AVERROR_EXIT;

		public const int AVERROR_EXPERIMENTAL = -733130664;

		public static readonly int AVERROR_EXTERNAL;

		public static readonly int AVERROR_FILTER_NOT_FOUND;

		public static readonly int AVERROR_HTTP_BAD_REQUEST;

		public static readonly int AVERROR_HTTP_FORBIDDEN;

		public static readonly int AVERROR_HTTP_NOT_FOUND;

		public static readonly int AVERROR_HTTP_OTHER_4XX;

		public static readonly int AVERROR_HTTP_SERVER_ERROR;

		public static readonly int AVERROR_HTTP_TOO_MANY_REQUESTS;

		public static readonly int AVERROR_HTTP_UNAUTHORIZED;

		public const int AVERROR_INPUT_CHANGED = -1668179713;

		public static readonly int AVERROR_INVALIDDATA;

		public static readonly int AVERROR_MUXER_NOT_FOUND;

		public static readonly int AVERROR_OPTION_NOT_FOUND;

		public const int AVERROR_OUTPUT_CHANGED = -1668179714;

		public static readonly int AVERROR_PATCHWELCOME;

		public static readonly int AVERROR_PROTOCOL_NOT_FOUND;

		public static readonly int AVERROR_STREAM_NOT_FOUND;

		public static readonly int AVERROR_UNKNOWN;

		public const int AVFILTER_CMD_FLAG_FAST = 2;

		public const int AVFILTER_CMD_FLAG_ONE = 1;

		public const int AVFILTER_FLAG_DYNAMIC_INPUTS = 1;

		public const int AVFILTER_FLAG_DYNAMIC_OUTPUTS = 2;

		public const int AVFILTER_FLAG_HWDEVICE = 16;

		public const int AVFILTER_FLAG_METADATA_ONLY = 8;

		public const int AVFILTER_FLAG_SLICE_THREADS = 4;

		public const int AVFILTER_FLAG_SUPPORT_TIMELINE = 196608;

		public const int AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC = 65536;

		public const int AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL = 131072;

		public const int AVFILTER_THREAD_SLICE = 1;

		public const int AVFMT_AVOID_NEG_TS_AUTO = -1;

		public const int AVFMT_AVOID_NEG_TS_DISABLED = 0;

		public const int AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE = 1;

		public const int AVFMT_AVOID_NEG_TS_MAKE_ZERO = 2;

		public const int AVFMT_EVENT_FLAG_METADATA_UPDATED = 1;

		public const int AVFMT_EXPERIMENTAL = 4;

		public const int AVFMT_FLAG_AUTO_BSF = 2097152;

		public const int AVFMT_FLAG_BITEXACT = 1024;

		public const int AVFMT_FLAG_CUSTOM_IO = 128;

		public const int AVFMT_FLAG_DISCARD_CORRUPT = 256;

		public const int AVFMT_FLAG_FAST_SEEK = 524288;

		public const int AVFMT_FLAG_FLUSH_PACKETS = 512;

		public const int AVFMT_FLAG_GENPTS = 1;

		public const int AVFMT_FLAG_IGNDTS = 8;

		public const int AVFMT_FLAG_IGNIDX = 2;

		public const int AVFMT_FLAG_NOBUFFER = 64;

		public const int AVFMT_FLAG_NOFILLIN = 16;

		public const int AVFMT_FLAG_NONBLOCK = 4;

		public const int AVFMT_FLAG_NOPARSE = 32;

		public const int AVFMT_FLAG_SORT_DTS = 65536;

		public const int AVFMT_GENERIC_INDEX = 256;

		public const int AVFMT_GLOBALHEADER = 64;

		public const int AVFMT_NEEDNUMBER = 2;

		public const int AVFMT_NO_BYTE_SEEK = 32768;

		public const int AVFMT_NOBINSEARCH = 8192;

		public const int AVFMT_NODIMENSIONS = 2048;

		public const int AVFMT_NOFILE = 1;

		public const int AVFMT_NOGENSEARCH = 16384;

		public const int AVFMT_NOSTREAMS = 4096;

		public const int AVFMT_NOTIMESTAMPS = 128;

		public const int AVFMT_SEEK_TO_PTS = 67108864;

		public const int AVFMT_SHOW_IDS = 8;

		public const int AVFMT_TS_DISCONT = 512;

		public const int AVFMT_TS_NEGATIVE = 262144;

		public const int AVFMT_TS_NONSTRICT = 131072;

		public const int AVFMT_VARIABLE_FPS = 1024;

		public const int AVFMTCTX_NOHEADER = 1;

		public const int AVFMTCTX_UNSEEKABLE = 2;

		public const int AVINDEX_DISCARD_FRAME = 2;

		public const int AVINDEX_KEYFRAME = 1;

		public const int AVIO_FLAG_DIRECT = 32768;

		public const int AVIO_FLAG_NONBLOCK = 8;

		public const int AVIO_FLAG_READ = 1;

		public const int AVIO_FLAG_READ_WRITE = 3;

		public const int AVIO_FLAG_WRITE = 2;

		public const int AVIO_SEEKABLE_NORMAL = 1;

		public const int AVIO_SEEKABLE_TIME = 2;

		public const int AVPALETTE_COUNT = 256;

		public const int AVPALETTE_SIZE = 1024;

		public const int AVPROBE_PADDING_SIZE = 32;

		public const int AVPROBE_SCORE_EXTENSION = 50;

		public const int AVPROBE_SCORE_MAX = 100;

		public const int AVPROBE_SCORE_MIME_BONUS = 30;

		public const int AVPROBE_SCORE_RETRY = 25;

		public const int AVPROBE_SCORE_STREAM_RETRY = 24;

		public const int AVSEEK_FLAG_ANY = 4;

		public const int AVSEEK_FLAG_BACKWARD = 1;

		public const int AVSEEK_FLAG_BYTE = 2;

		public const int AVSEEK_FLAG_FRAME = 8;

		public const int AVSEEK_FORCE = 131072;

		public const int AVSEEK_SIZE = 65536;

		public const int AVSTREAM_EVENT_FLAG_METADATA_UPDATED = 1;

		public const int AVSTREAM_EVENT_FLAG_NEW_PACKETS = 2;

		public const int AVSTREAM_INIT_IN_INIT_OUTPUT = 1;

		public const int AVSTREAM_INIT_IN_WRITE_HEADER = 0;

		public const bool FF_API_ALSA_CHANNELS = true;

		public const bool FF_API_BUFFERSINK_OPTS = true;

		public const bool FF_API_CODEC_PROPS = true;

		public const bool FF_API_COMPUTE_PKT_FIELDS2 = true;

		public const bool FF_API_CONTEXT_PUBLIC = true;

		public const bool FF_API_EXR_GAMMA = true;

		public const bool FF_API_INIT_PACKET = true;

		public const bool FF_API_INTERNAL_TIMING = true;

		public const bool FF_API_MOD_UINTP2 = true;

		public const bool FF_API_NO_DEFAULT_TLS_VERIFY = true;

		public const bool FF_API_NVDEC_OLD_PIX_FMTS = true;

		public const bool FF_API_OPT_INT_LIST = true;

		public const bool FF_API_OPT_PTR = true;

		public const int FF_API_R_FRAME_RATE = 1;

		public const bool FF_API_RISCV_FD_ZBA = true;

		public const bool FF_API_V408_CODECID = true;

		public const bool FF_API_VULKAN_FIXED_QUEUES = true;

		public const int FF_BUG_AMV = 32;

		public const int FF_BUG_AUTODETECT = 1;

		public const int FF_BUG_DC_CLIP = 4096;

		public const int FF_BUG_DIRECT_BLOCKSIZE = 512;

		public const int FF_BUG_EDGE = 1024;

		public const int FF_BUG_HPEL_CHROMA = 2048;

		public const int FF_BUG_IEDGE = 32768;

		public const int FF_BUG_MS = 8192;

		public const int FF_BUG_NO_PADDING = 16;

		public const int FF_BUG_QPEL_CHROMA = 64;

		public const int FF_BUG_QPEL_CHROMA2 = 256;

		public const int FF_BUG_STD_QPEL = 128;

		public const int FF_BUG_TRUNCATED = 16384;

		public const int FF_BUG_UMP4 = 8;

		public const int FF_BUG_XVID_ILACE = 4;

		public const int FF_CMP_BIT = 5;

		public const int FF_CMP_CHROMA = 256;

		public const int FF_CMP_DCT = 3;

		public const int FF_CMP_DCT264 = 14;

		public const int FF_CMP_DCTMAX = 13;

		public const int FF_CMP_MEDIAN_SAD = 15;

		public const int FF_CMP_NSSE = 10;

		public const int FF_CMP_PSNR = 4;

		public const int FF_CMP_RD = 6;

		public const int FF_CMP_SAD = 0;

		public const int FF_CMP_SATD = 2;

		public const int FF_CMP_SSE = 1;

		public const int FF_CMP_VSAD = 8;

		public const int FF_CMP_VSSE = 9;

		public const int FF_CMP_W53 = 11;

		public const int FF_CMP_W97 = 12;

		public const int FF_CMP_ZERO = 7;

		public const bool FF_CODEC_OMX = true;

		public const int FF_CODEC_PROPERTY_CLOSED_CAPTIONS = 2;

		public const int FF_CODEC_PROPERTY_FILM_GRAIN = 4;

		public const int FF_CODEC_PROPERTY_LOSSLESS = 1;

		public const bool FF_CODEC_SONIC_DEC = true;

		public const bool FF_CODEC_SONIC_ENC = true;

		public const int FF_COMPLIANCE_EXPERIMENTAL = -2;

		public const int FF_COMPLIANCE_NORMAL = 0;

		public const int FF_COMPLIANCE_STRICT = 1;

		public const int FF_COMPLIANCE_UNOFFICIAL = -1;

		public const int FF_COMPLIANCE_VERY_STRICT = 2;

		public const int FF_COMPRESSION_DEFAULT = -1;

		public const int FF_DCT_ALTIVEC = 5;

		public const int FF_DCT_AUTO = 0;

		public const int FF_DCT_FAAN = 6;

		public const int FF_DCT_FASTINT = 1;

		public const int FF_DCT_INT = 2;

		public const int FF_DCT_MMX = 3;

		public const int FF_DCT_NEON = 7;

		public const int FF_DEBUG_BITSTREAM = 4;

		public const int FF_DEBUG_BUFFERS = 32768;

		public const int FF_DEBUG_BUGS = 4096;

		public const int FF_DEBUG_DCT_COEFF = 64;

		public const int FF_DEBUG_ER = 1024;

		public const int FF_DEBUG_GREEN_MD = 8388608;

		public const int FF_DEBUG_MB_TYPE = 8;

		public const int FF_DEBUG_MMCO = 2048;

		public const int FF_DEBUG_NOMC = 16777216;

		public const int FF_DEBUG_PICT_INFO = 1;

		public const int FF_DEBUG_QP = 16;

		public const int FF_DEBUG_RC = 2;

		public const int FF_DEBUG_SKIP = 128;

		public const int FF_DEBUG_STARTCODE = 256;

		public const int FF_DEBUG_THREADS = 65536;

		public const int FF_DECODE_ERROR_CONCEALMENT_ACTIVE = 4;

		public const int FF_DECODE_ERROR_DECODE_SLICES = 8;

		public const int FF_DECODE_ERROR_INVALID_BITSTREAM = 1;

		public const int FF_DECODE_ERROR_MISSING_REFERENCE = 2;

		public const int FF_EC_DEBLOCK = 2;

		public const int FF_EC_FAVOR_INTER = 256;

		public const int FF_EC_GUESS_MVS = 1;

		public const int FF_FDEBUG_TS = 1;

		public const int FF_IDCT_ALTIVEC = 8;

		public const int FF_IDCT_ARM = 7;

		public const int FF_IDCT_AUTO = 0;

		public const int FF_IDCT_FAAN = 20;

		public const int FF_IDCT_INT = 1;

		public const int FF_IDCT_SIMPLE = 2;

		public const int FF_IDCT_SIMPLEARM = 10;

		public const int FF_IDCT_SIMPLEARMV5TE = 16;

		public const int FF_IDCT_SIMPLEARMV6 = 17;

		public const int FF_IDCT_SIMPLEAUTO = 128;

		public const int FF_IDCT_SIMPLEMMX = 3;

		public const int FF_IDCT_SIMPLENEON = 22;

		public const int FF_IDCT_XVID = 14;

		public const int FF_LAMBDA_MAX = 32767;

		public const int FF_LAMBDA_SCALE = 128;

		public const int FF_LAMBDA_SHIFT = 7;

		public const int FF_LOSS_ALPHA = 8;

		public const int FF_LOSS_CHROMA = 32;

		public const int FF_LOSS_COLORQUANT = 16;

		public const int FF_LOSS_COLORSPACE = 4;

		public const int FF_LOSS_DEPTH = 2;

		public const int FF_LOSS_EXCESS_DEPTH = 128;

		public const int FF_LOSS_EXCESS_RESOLUTION = 64;

		public const int FF_LOSS_RESOLUTION = 1;

		public const int FF_MB_DECISION_BITS = 1;

		public const int FF_MB_DECISION_RD = 2;

		public const int FF_MB_DECISION_SIMPLE = 0;

		public const int FF_QP2LAMBDA = 118;

		public const int FF_QUALITY_SCALE = 128;

		public const int FF_SUB_CHARENC_MODE_AUTOMATIC = 0;

		public const int FF_SUB_CHARENC_MODE_DO_NOTHING = -1;

		public const int FF_SUB_CHARENC_MODE_IGNORE = 2;

		public const int FF_SUB_CHARENC_MODE_PRE_DECODER = 1;

		public const int FF_THREAD_FRAME = 1;

		public const int FF_THREAD_SLICE = 2;

		public static readonly int LIBAVCODEC_BUILD;

		public const string LIBAVCODEC_IDENT = "Lavc";

		public static readonly string LIBAVCODEC_VERSION;

		public static readonly int LIBAVCODEC_VERSION_INT;

		public const int LIBAVCODEC_VERSION_MAJOR = 62;

		public const int LIBAVCODEC_VERSION_MICRO = 100;

		public const int LIBAVCODEC_VERSION_MINOR = 11;

		public static readonly int LIBAVDEVICE_BUILD;

		public const string LIBAVDEVICE_IDENT = "Lavd";

		public static readonly string LIBAVDEVICE_VERSION;

		public static readonly int LIBAVDEVICE_VERSION_INT;

		public const int LIBAVDEVICE_VERSION_MAJOR = 62;

		public const int LIBAVDEVICE_VERSION_MICRO = 100;

		public const int LIBAVDEVICE_VERSION_MINOR = 1;

		public static readonly int LIBAVFILTER_BUILD;

		public const string LIBAVFILTER_IDENT = "Lavfi";

		public static readonly string LIBAVFILTER_VERSION;

		public static readonly int LIBAVFILTER_VERSION_INT;

		public const int LIBAVFILTER_VERSION_MAJOR = 11;

		public const int LIBAVFILTER_VERSION_MICRO = 100;

		public const int LIBAVFILTER_VERSION_MINOR = 4;

		public static readonly int LIBAVFORMAT_BUILD;

		public const string LIBAVFORMAT_IDENT = "Lavf";

		public static readonly string LIBAVFORMAT_VERSION;

		public static readonly int LIBAVFORMAT_VERSION_INT;

		public const int LIBAVFORMAT_VERSION_MAJOR = 62;

		public const int LIBAVFORMAT_VERSION_MICRO = 100;

		public const int LIBAVFORMAT_VERSION_MINOR = 3;

		public static readonly int LIBAVUTIL_BUILD;

		public const string LIBAVUTIL_IDENT = "Lavu";

		public static readonly string LIBAVUTIL_VERSION;

		public static readonly int LIBAVUTIL_VERSION_INT;

		public const int LIBAVUTIL_VERSION_MAJOR = 60;

		public const int LIBAVUTIL_VERSION_MICRO = 100;

		public const int LIBAVUTIL_VERSION_MINOR = 8;

		public static readonly int LIBSWRESAMPLE_BUILD;

		public const string LIBSWRESAMPLE_IDENT = "SwR";

		public static readonly string LIBSWRESAMPLE_VERSION;

		public static readonly int LIBSWRESAMPLE_VERSION_INT;

		public const int LIBSWRESAMPLE_VERSION_MAJOR = 6;

		public const int LIBSWRESAMPLE_VERSION_MICRO = 100;

		public const int LIBSWRESAMPLE_VERSION_MINOR = 1;

		public static readonly int LIBSWSCALE_BUILD;

		public const string LIBSWSCALE_IDENT = "SwS";

		public static readonly string LIBSWSCALE_VERSION;

		public static readonly int LIBSWSCALE_VERSION_INT;

		public const int LIBSWSCALE_VERSION_MAJOR = 9;

		public const int LIBSWSCALE_VERSION_MICRO = 100;

		public const int LIBSWSCALE_VERSION_MINOR = 1;

		public const double M_1_PI = 1.0 / Math.PI;

		public const float M_1_PIf = 1f / MathF.PI;

		public const double M_2_PI = 2.0 / Math.PI;

		public const float M_2_PIf = 2f / MathF.PI;

		public const double M_2_SQRTPI = 1.1283791670955126;

		public const float M_2_SQRTPIf = 1.1283792f;

		public const double M_E = Math.E;

		public const float M_Ef = MathF.E;

		public const double M_LN10 = 2.302585092994046;

		public const float M_LN10f = 2.3025851f;

		public const double M_LN2 = 0.6931471805599453;

		public const float M_LN2f = 0.6931472f;

		public const double M_LOG2_10 = 3.321928094887362;

		public const float M_LOG2_10f = 3.321928f;

		public const double M_PHI = 1.618033988749895;

		public const float M_PHIf = 1.618034f;

		public const double M_PI = Math.PI;

		public const double M_PI_2 = Math.PI / 2.0;

		public const float M_PI_2f = MathF.PI / 2f;

		public const double M_PI_4 = Math.PI / 4.0;

		public const float M_PI_4f = MathF.PI / 4f;

		public const float M_PIf = MathF.PI;

		public const double M_SQRT1_2 = 0.7071067811865476;

		public const float M_SQRT1_2f = 0.70710677f;

		public const double M_SQRT2 = 1.4142135623730951;

		public const float M_SQRT2f = 1.4142135f;

		public const int PARSER_FLAG_COMPLETE_FRAMES = 1;

		public const int PARSER_FLAG_FETCHED_OFFSET = 4;

		public const int PARSER_FLAG_ONCE = 2;

		public const int PARSER_FLAG_USE_CODEC_TS = 4096;

		public const int SLICE_FLAG_ALLOW_FIELD = 2;

		public const int SLICE_FLAG_ALLOW_PLANE = 4;

		public const int SLICE_FLAG_CODED_ORDER = 1;

		public const int SWR_FLAG_RESAMPLE = 1;

		public const int SWS_CS_BT2020 = 9;

		public const int SWS_CS_DEFAULT = 5;

		public const int SWS_CS_FCC = 4;

		public const int SWS_CS_ITU601 = 5;

		public const int SWS_CS_ITU624 = 5;

		public const int SWS_CS_ITU709 = 1;

		public const int SWS_CS_SMPTE170M = 5;

		public const int SWS_CS_SMPTE240M = 7;

		public const double SWS_MAX_REDUCE_CUTOFF = 0.002;

		public const int SWS_PARAM_DEFAULT = 123456;

		public const int SWS_SRC_V_CHR_DROP_MASK = 196608;

		public const int SWS_SRC_V_CHR_DROP_SHIFT = 16;

		public static string RootPath { get; set; }

		static ffmpeg()
		{
			ENOMEM = 12;
			EINVAL = 22;
			EPIPE = 32;
			RootPath = AppDomain.CurrentDomain.BaseDirectory;
			LibraryVersionMap = new Dictionary<string, int>
			{
				{ "avcodec", 62 },
				{ "avdevice", 62 },
				{ "avfilter", 11 },
				{ "avformat", 62 },
				{ "avutil", 60 },
				{ "swresample", 6 },
				{ "swscale", 9 }
			};
			AV_CH_BACK_CENTER = 256uL;
			AV_CH_BACK_LEFT = 16uL;
			AV_CH_BACK_RIGHT = 32uL;
			AV_CH_BINAURAL_LEFT = 2305843009213693952uL;
			AV_CH_BINAURAL_RIGHT = 4611686018427387904uL;
			AV_CH_BOTTOM_FRONT_CENTER = 274877906944uL;
			AV_CH_BOTTOM_FRONT_LEFT = 549755813888uL;
			AV_CH_BOTTOM_FRONT_RIGHT = 1099511627776uL;
			AV_CH_FRONT_CENTER = 4uL;
			AV_CH_FRONT_LEFT = 1uL;
			AV_CH_FRONT_LEFT_OF_CENTER = 64uL;
			AV_CH_FRONT_RIGHT = 2uL;
			AV_CH_FRONT_RIGHT_OF_CENTER = 128uL;
			AV_CH_LAYOUT_2_1 = AV_CH_LAYOUT_STEREO | AV_CH_BACK_CENTER;
			AV_CH_LAYOUT_2_2 = AV_CH_LAYOUT_STEREO | AV_CH_SIDE_LEFT | AV_CH_SIDE_RIGHT;
			AV_CH_LAYOUT_22POINT2 = AV_CH_LAYOUT_9POINT1POINT6 | AV_CH_BACK_CENTER | AV_CH_LOW_FREQUENCY_2 | AV_CH_TOP_FRONT_CENTER | AV_CH_TOP_CENTER | AV_CH_TOP_BACK_CENTER | AV_CH_BOTTOM_FRONT_CENTER | AV_CH_BOTTOM_FRONT_LEFT | AV_CH_BOTTOM_FRONT_RIGHT;
			AV_CH_LAYOUT_2POINT1 = AV_CH_LAYOUT_STEREO | AV_CH_LOW_FREQUENCY;
			AV_CH_LAYOUT_3POINT1 = AV_CH_LAYOUT_SURROUND | AV_CH_LOW_FREQUENCY;
			AV_CH_LAYOUT_3POINT1POINT2 = AV_CH_LAYOUT_3POINT1 | AV_CH_TOP_FRONT_LEFT | AV_CH_TOP_FRONT_RIGHT;
			AV_CH_LAYOUT_4POINT0 = AV_CH_LAYOUT_SURROUND | AV_CH_BACK_CENTER;
			AV_CH_LAYOUT_4POINT1 = AV_CH_LAYOUT_4POINT0 | AV_CH_LOW_FREQUENCY;
			AV_CH_LAYOUT_5POINT0 = AV_CH_LAYOUT_SURROUND | AV_CH_SIDE_LEFT | AV_CH_SIDE_RIGHT;
			AV_CH_LAYOUT_5POINT0_BACK = AV_CH_LAYOUT_SURROUND | AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT;
			AV_CH_LAYOUT_5POINT1 = AV_CH_LAYOUT_5POINT0 | AV_CH_LOW_FREQUENCY;
			AV_CH_LAYOUT_5POINT1_BACK = AV_CH_LAYOUT_5POINT0_BACK | AV_CH_LOW_FREQUENCY;
			AV_CH_LAYOUT_5POINT1POINT2 = AV_CH_LAYOUT_5POINT1 | AV_CH_TOP_FRONT_LEFT | AV_CH_TOP_FRONT_RIGHT;
			AV_CH_LAYOUT_5POINT1POINT2_BACK = AV_CH_LAYOUT_5POINT1_BACK | AV_CH_TOP_FRONT_LEFT | AV_CH_TOP_FRONT_RIGHT;
			AV_CH_LAYOUT_5POINT1POINT4_BACK = AV_CH_LAYOUT_5POINT1POINT2 | AV_CH_TOP_BACK_LEFT | AV_CH_TOP_BACK_RIGHT;
			AV_CH_LAYOUT_6POINT0 = AV_CH_LAYOUT_5POINT0 | AV_CH_BACK_CENTER;
			AV_CH_LAYOUT_6POINT0_FRONT = AV_CH_LAYOUT_2_2 | AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER;
			AV_CH_LAYOUT_6POINT1 = AV_CH_LAYOUT_5POINT1 | AV_CH_BACK_CENTER;
			AV_CH_LAYOUT_6POINT1_BACK = AV_CH_LAYOUT_5POINT1_BACK | AV_CH_BACK_CENTER;
			AV_CH_LAYOUT_6POINT1_FRONT = AV_CH_LAYOUT_6POINT0_FRONT | AV_CH_LOW_FREQUENCY;
			AV_CH_LAYOUT_7POINT0 = AV_CH_LAYOUT_5POINT0 | AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT;
			AV_CH_LAYOUT_7POINT0_FRONT = AV_CH_LAYOUT_5POINT0 | AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER;
			AV_CH_LAYOUT_7POINT1 = AV_CH_LAYOUT_5POINT1 | AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT;
			AV_CH_LAYOUT_7POINT1_TOP_BACK = AV_CH_LAYOUT_5POINT1POINT2_BACK;
			AV_CH_LAYOUT_7POINT1_WIDE = AV_CH_LAYOUT_5POINT1 | AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER;
			AV_CH_LAYOUT_7POINT1_WIDE_BACK = AV_CH_LAYOUT_5POINT1_BACK | AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER;
			AV_CH_LAYOUT_7POINT1POINT2 = AV_CH_LAYOUT_7POINT1 | AV_CH_TOP_FRONT_LEFT | AV_CH_TOP_FRONT_RIGHT;
			AV_CH_LAYOUT_7POINT1POINT4_BACK = AV_CH_LAYOUT_7POINT1POINT2 | AV_CH_TOP_BACK_LEFT | AV_CH_TOP_BACK_RIGHT;
			AV_CH_LAYOUT_7POINT2POINT3 = AV_CH_LAYOUT_7POINT1POINT2 | AV_CH_TOP_BACK_CENTER | AV_CH_LOW_FREQUENCY_2;
			AV_CH_LAYOUT_9POINT1POINT4_BACK = AV_CH_LAYOUT_7POINT1POINT4_BACK | AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER;
			AV_CH_LAYOUT_9POINT1POINT6 = AV_CH_LAYOUT_9POINT1POINT4_BACK | AV_CH_TOP_SIDE_LEFT | AV_CH_TOP_SIDE_RIGHT;
			AV_CH_LAYOUT_BINAURAL = AV_CH_BINAURAL_LEFT | AV_CH_BINAURAL_RIGHT;
			AV_CH_LAYOUT_CUBE = AV_CH_LAYOUT_QUAD | AV_CH_TOP_FRONT_LEFT | AV_CH_TOP_FRONT_RIGHT | AV_CH_TOP_BACK_LEFT | AV_CH_TOP_BACK_RIGHT;
			AV_CH_LAYOUT_HEXADECAGONAL = AV_CH_LAYOUT_OCTAGONAL | AV_CH_WIDE_LEFT | AV_CH_WIDE_RIGHT | AV_CH_TOP_BACK_LEFT | AV_CH_TOP_BACK_RIGHT | AV_CH_TOP_BACK_CENTER | AV_CH_TOP_FRONT_CENTER | AV_CH_TOP_FRONT_LEFT | AV_CH_TOP_FRONT_RIGHT;
			AV_CH_LAYOUT_HEXAGONAL = AV_CH_LAYOUT_5POINT0_BACK | AV_CH_BACK_CENTER;
			AV_CH_LAYOUT_MONO = AV_CH_FRONT_CENTER;
			AV_CH_LAYOUT_OCTAGONAL = AV_CH_LAYOUT_5POINT0 | AV_CH_BACK_LEFT | AV_CH_BACK_CENTER | AV_CH_BACK_RIGHT;
			AV_CH_LAYOUT_QUAD = AV_CH_LAYOUT_STEREO | AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT;
			AV_CH_LAYOUT_STEREO = AV_CH_FRONT_LEFT | AV_CH_FRONT_RIGHT;
			AV_CH_LAYOUT_STEREO_DOWNMIX = AV_CH_STEREO_LEFT | AV_CH_STEREO_RIGHT;
			AV_CH_LAYOUT_SURROUND = AV_CH_LAYOUT_STEREO | AV_CH_FRONT_CENTER;
			AV_CH_LOW_FREQUENCY = 8uL;
			AV_CH_LOW_FREQUENCY_2 = 34359738368uL;
			AV_CH_SIDE_LEFT = 512uL;
			AV_CH_SIDE_RIGHT = 1024uL;
			AV_CH_SIDE_SURROUND_LEFT = 2199023255552uL;
			AV_CH_SIDE_SURROUND_RIGHT = 4398046511104uL;
			AV_CH_STEREO_LEFT = 536870912uL;
			AV_CH_STEREO_RIGHT = 1073741824uL;
			AV_CH_SURROUND_DIRECT_LEFT = 8589934592uL;
			AV_CH_SURROUND_DIRECT_RIGHT = 17179869184uL;
			AV_CH_TOP_BACK_CENTER = 65536uL;
			AV_CH_TOP_BACK_LEFT = 32768uL;
			AV_CH_TOP_BACK_RIGHT = 131072uL;
			AV_CH_TOP_CENTER = 2048uL;
			AV_CH_TOP_FRONT_CENTER = 8192uL;
			AV_CH_TOP_FRONT_LEFT = 4096uL;
			AV_CH_TOP_FRONT_RIGHT = 16384uL;
			AV_CH_TOP_SIDE_LEFT = 68719476736uL;
			AV_CH_TOP_SIDE_RIGHT = 137438953472uL;
			AV_CH_TOP_SURROUND_LEFT = 8796093022208uL;
			AV_CH_TOP_SURROUND_RIGHT = 17592186044416uL;
			AV_CH_WIDE_LEFT = 2147483648uL;
			AV_CH_WIDE_RIGHT = 4294967296uL;
			AV_CODEC_ID_H265 = 173;
			AV_CODEC_ID_H266 = 196;
			AV_CODEC_ID_IFF_BYTERUN1 = 136;
			AV_NOPTS_VALUE = (long)UINT64_C(9223372036854775808uL);
			AVERROR_BSF_NOT_FOUND = FFERRTAG(248, 'B', 'S', 'F');
			AVERROR_BUFFER_TOO_SMALL = FFERRTAG('B', 'U', 'F', 'S');
			AVERROR_BUG = FFERRTAG('B', 'U', 'G', '!');
			AVERROR_BUG2 = FFERRTAG('B', 'U', 'G', ' ');
			AVERROR_DECODER_NOT_FOUND = FFERRTAG(248, 'D', 'E', 'C');
			AVERROR_DEMUXER_NOT_FOUND = FFERRTAG(248, 'D', 'E', 'M');
			AVERROR_ENCODER_NOT_FOUND = FFERRTAG(248, 'E', 'N', 'C');
			AVERROR_EOF = FFERRTAG('E', 'O', 'F', ' ');
			AVERROR_EXIT = FFERRTAG('E', 'X', 'I', 'T');
			AVERROR_EXTERNAL = FFERRTAG('E', 'X', 'T', ' ');
			AVERROR_FILTER_NOT_FOUND = FFERRTAG(248, 'F', 'I', 'L');
			AVERROR_HTTP_BAD_REQUEST = FFERRTAG(248, '4', '0', '0');
			AVERROR_HTTP_FORBIDDEN = FFERRTAG(248, '4', '0', '3');
			AVERROR_HTTP_NOT_FOUND = FFERRTAG(248, '4', '0', '4');
			AVERROR_HTTP_OTHER_4XX = FFERRTAG(248, '4', 'X', 'X');
			AVERROR_HTTP_SERVER_ERROR = FFERRTAG(248, '5', 'X', 'X');
			AVERROR_HTTP_TOO_MANY_REQUESTS = FFERRTAG(248, '4', '2', '9');
			AVERROR_HTTP_UNAUTHORIZED = FFERRTAG(248, '4', '0', '1');
			AVERROR_INVALIDDATA = FFERRTAG('I', 'N', 'D', 'A');
			AVERROR_MUXER_NOT_FOUND = FFERRTAG(248, 'M', 'U', 'X');
			AVERROR_OPTION_NOT_FOUND = FFERRTAG(248, 'O', 'P', 'T');
			AVERROR_PATCHWELCOME = FFERRTAG('P', 'A', 'W', 'E');
			AVERROR_PROTOCOL_NOT_FOUND = FFERRTAG(248, 'P', 'R', 'O');
			AVERROR_STREAM_NOT_FOUND = FFERRTAG(248, 'S', 'T', 'R');
			AVERROR_UNKNOWN = FFERRTAG('U', 'N', 'K', 'N');
			LIBAVCODEC_BUILD = LIBAVCODEC_VERSION_INT;
			LIBAVCODEC_VERSION = AV_VERSION(62, 11, 100);
			LIBAVCODEC_VERSION_INT = AV_VERSION_INT(62, 11, 100);
			LIBAVDEVICE_BUILD = LIBAVDEVICE_VERSION_INT;
			LIBAVDEVICE_VERSION = AV_VERSION(62, 1, 100);
			LIBAVDEVICE_VERSION_INT = AV_VERSION_INT(62, 1, 100);
			LIBAVFILTER_BUILD = LIBAVFILTER_VERSION_INT;
			LIBAVFILTER_VERSION = AV_VERSION(11, 4, 100);
			LIBAVFILTER_VERSION_INT = AV_VERSION_INT(11, 4, 100);
			LIBAVFORMAT_BUILD = LIBAVFORMAT_VERSION_INT;
			LIBAVFORMAT_VERSION = AV_VERSION(62, 3, 100);
			LIBAVFORMAT_VERSION_INT = AV_VERSION_INT(62, 3, 100);
			LIBAVUTIL_BUILD = LIBAVUTIL_VERSION_INT;
			LIBAVUTIL_VERSION = AV_VERSION(60, 8, 100);
			LIBAVUTIL_VERSION_INT = AV_VERSION_INT(60, 8, 100);
			LIBSWRESAMPLE_BUILD = LIBSWRESAMPLE_VERSION_INT;
			LIBSWRESAMPLE_VERSION = AV_VERSION(6, 1, 100);
			LIBSWRESAMPLE_VERSION_INT = AV_VERSION_INT(6, 1, 100);
			LIBSWSCALE_BUILD = LIBSWSCALE_VERSION_INT;
			LIBSWSCALE_VERSION = AV_VERSION(9, 1, 100);
			LIBSWSCALE_VERSION_INT = AV_VERSION_INT(9, 1, 100);
			int eAGAIN = ((FunctionResolverFactory.GetPlatformId() != PlatformID.MacOSX) ? 11 : 35);
			EAGAIN = eAGAIN;
			DynamicallyLoadedBindings.Initialize();
		}

		public static ulong UINT64_C<T>(T a)
		{
			return Convert.ToUInt64(a);
		}

		public static int AVERROR<T1>(T1 a)
		{
			return -Convert.ToInt32(a);
		}

		public static int MKTAG<T1, T2, T3, T4>(T1 a, T2 b, T3 c, T4 d)
		{
			return (int)(Convert.ToUInt32(a) | (Convert.ToUInt32(b) << 8) | (Convert.ToUInt32(c) << 16) | (Convert.ToUInt32(d) << 24));
		}

		public static int FFERRTAG<T1, T2, T3, T4>(T1 a, T2 b, T3 c, T4 d)
		{
			return -MKTAG(a, b, c, d);
		}

		public static int AV_VERSION_INT<T1, T2, T3>(T1 a, T2 b, T3 c)
		{
			return (Convert.ToInt32(a) << 16) | (Convert.ToInt32(b) << 8) | Convert.ToInt32(c);
		}

		public static string AV_VERSION_DOT<T1, T2, T3>(T1 a, T2 b, T3 c)
		{
			return $"{a}.{b}.{c}";
		}

		public static string AV_VERSION<T1, T2, T3>(T1 a, T2 b, T3 c)
		{
			return AV_VERSION_DOT(a, b, c);
		}

		public unsafe static int av_add_index_entry(AVStream* st, long pos, long timestamp, int size, int distance, int flags)
		{
			return vectors.av_add_index_entry(st, pos, timestamp, size, distance, flags);
		}

		public static AVRational av_add_q(AVRational b, AVRational c)
		{
			return vectors.av_add_q(b, c);
		}

		public static long av_add_stable(AVRational ts_tb, long ts, AVRational inc_tb, long inc)
		{
			return vectors.av_add_stable(ts_tb, ts, inc_tb, inc);
		}

		public unsafe static int av_append_packet(AVIOContext* s, AVPacket* pkt, int size)
		{
			return vectors.av_append_packet(s, pkt, size);
		}

		public unsafe static AVAudioFifo* av_audio_fifo_alloc(AVSampleFormat sample_fmt, int channels, int nb_samples)
		{
			return vectors.av_audio_fifo_alloc(sample_fmt, channels, nb_samples);
		}

		public unsafe static int av_audio_fifo_drain(AVAudioFifo* af, int nb_samples)
		{
			return vectors.av_audio_fifo_drain(af, nb_samples);
		}

		public unsafe static void av_audio_fifo_free(AVAudioFifo* af)
		{
			vectors.av_audio_fifo_free(af);
		}

		public unsafe static int av_audio_fifo_peek(AVAudioFifo* af, void** data, int nb_samples)
		{
			return vectors.av_audio_fifo_peek(af, data, nb_samples);
		}

		public unsafe static int av_audio_fifo_peek_at(AVAudioFifo* af, void** data, int nb_samples, int offset)
		{
			return vectors.av_audio_fifo_peek_at(af, data, nb_samples, offset);
		}

		public unsafe static int av_audio_fifo_read(AVAudioFifo* af, void** data, int nb_samples)
		{
			return vectors.av_audio_fifo_read(af, data, nb_samples);
		}

		public unsafe static int av_audio_fifo_realloc(AVAudioFifo* af, int nb_samples)
		{
			return vectors.av_audio_fifo_realloc(af, nb_samples);
		}

		public unsafe static void av_audio_fifo_reset(AVAudioFifo* af)
		{
			vectors.av_audio_fifo_reset(af);
		}

		public unsafe static int av_audio_fifo_size(AVAudioFifo* af)
		{
			return vectors.av_audio_fifo_size(af);
		}

		public unsafe static int av_audio_fifo_space(AVAudioFifo* af)
		{
			return vectors.av_audio_fifo_space(af);
		}

		public unsafe static int av_audio_fifo_write(AVAudioFifo* af, void** data, int nb_samples)
		{
			return vectors.av_audio_fifo_write(af, data, nb_samples);
		}

		public static double av_bessel_i0(double x)
		{
			return vectors.av_bessel_i0(x);
		}

		public unsafe static int av_bsf_alloc(AVBitStreamFilter* filter, AVBSFContext** ctx)
		{
			return vectors.av_bsf_alloc(filter, ctx);
		}

		public unsafe static void av_bsf_flush(AVBSFContext* ctx)
		{
			vectors.av_bsf_flush(ctx);
		}

		public unsafe static void av_bsf_free(AVBSFContext** ctx)
		{
			vectors.av_bsf_free(ctx);
		}

		public unsafe static AVBitStreamFilter* av_bsf_get_by_name(string name)
		{
			return vectors.av_bsf_get_by_name(name);
		}

		public unsafe static AVClass* av_bsf_get_class()
		{
			return vectors.av_bsf_get_class();
		}

		public unsafe static int av_bsf_get_null_filter(AVBSFContext** bsf)
		{
			return vectors.av_bsf_get_null_filter(bsf);
		}

		public unsafe static int av_bsf_init(AVBSFContext* ctx)
		{
			return vectors.av_bsf_init(ctx);
		}

		public unsafe static AVBitStreamFilter* av_bsf_iterate(void** opaque)
		{
			return vectors.av_bsf_iterate(opaque);
		}

		public unsafe static AVBSFList* av_bsf_list_alloc()
		{
			return vectors.av_bsf_list_alloc();
		}

		public unsafe static int av_bsf_list_append(AVBSFList* lst, AVBSFContext* bsf)
		{
			return vectors.av_bsf_list_append(lst, bsf);
		}

		public unsafe static int av_bsf_list_append2(AVBSFList* lst, string bsf_name, AVDictionary** options)
		{
			return vectors.av_bsf_list_append2(lst, bsf_name, options);
		}

		public unsafe static int av_bsf_list_finalize(AVBSFList** lst, AVBSFContext** bsf)
		{
			return vectors.av_bsf_list_finalize(lst, bsf);
		}

		public unsafe static void av_bsf_list_free(AVBSFList** lst)
		{
			vectors.av_bsf_list_free(lst);
		}

		public unsafe static int av_bsf_list_parse_str(string str, AVBSFContext** bsf)
		{
			return vectors.av_bsf_list_parse_str(str, bsf);
		}

		public unsafe static int av_bsf_receive_packet(AVBSFContext* ctx, AVPacket* pkt)
		{
			return vectors.av_bsf_receive_packet(ctx, pkt);
		}

		public unsafe static int av_bsf_send_packet(AVBSFContext* ctx, AVPacket* pkt)
		{
			return vectors.av_bsf_send_packet(ctx, pkt);
		}

		public unsafe static AVBufferRef* av_buffer_alloc(ulong size)
		{
			return vectors.av_buffer_alloc(size);
		}

		public unsafe static AVBufferRef* av_buffer_allocz(ulong size)
		{
			return vectors.av_buffer_allocz(size);
		}

		public unsafe static AVBufferRef* av_buffer_create(byte* data, ulong size, av_buffer_create_free_func free, void* opaque, int flags)
		{
			return vectors.av_buffer_create(data, size, free, opaque, flags);
		}

		public unsafe static void av_buffer_default_free(void* opaque, byte* data)
		{
			vectors.av_buffer_default_free(opaque, data);
		}

		public unsafe static void* av_buffer_get_opaque(AVBufferRef* buf)
		{
			return vectors.av_buffer_get_opaque(buf);
		}

		public unsafe static int av_buffer_get_ref_count(AVBufferRef* buf)
		{
			return vectors.av_buffer_get_ref_count(buf);
		}

		public unsafe static int av_buffer_is_writable(AVBufferRef* buf)
		{
			return vectors.av_buffer_is_writable(buf);
		}

		public unsafe static int av_buffer_make_writable(AVBufferRef** buf)
		{
			return vectors.av_buffer_make_writable(buf);
		}

		public unsafe static void* av_buffer_pool_buffer_get_opaque(AVBufferRef* @ref)
		{
			return vectors.av_buffer_pool_buffer_get_opaque(@ref);
		}

		public unsafe static AVBufferRef* av_buffer_pool_get(AVBufferPool* pool)
		{
			return vectors.av_buffer_pool_get(pool);
		}

		public unsafe static AVBufferPool* av_buffer_pool_init(ulong size, av_buffer_pool_init_alloc_func alloc)
		{
			return vectors.av_buffer_pool_init(size, alloc);
		}

		public unsafe static AVBufferPool* av_buffer_pool_init2(ulong size, void* opaque, av_buffer_pool_init2_alloc_func alloc, av_buffer_pool_init2_pool_free_func pool_free)
		{
			return vectors.av_buffer_pool_init2(size, opaque, alloc, pool_free);
		}

		public unsafe static void av_buffer_pool_uninit(AVBufferPool** pool)
		{
			vectors.av_buffer_pool_uninit(pool);
		}

		public unsafe static int av_buffer_realloc(AVBufferRef** buf, ulong size)
		{
			return vectors.av_buffer_realloc(buf, size);
		}

		public unsafe static AVBufferRef* av_buffer_ref(AVBufferRef* buf)
		{
			return vectors.av_buffer_ref(buf);
		}

		public unsafe static int av_buffer_replace(AVBufferRef** dst, AVBufferRef* src)
		{
			return vectors.av_buffer_replace(dst, src);
		}

		public unsafe static void av_buffer_unref(AVBufferRef** buf)
		{
			vectors.av_buffer_unref(buf);
		}

		public unsafe static int av_buffersink_get_ch_layout(AVFilterContext* ctx, AVChannelLayout* ch_layout)
		{
			return vectors.av_buffersink_get_ch_layout(ctx, ch_layout);
		}

		public unsafe static int av_buffersink_get_channels(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_channels(ctx);
		}

		public unsafe static AVColorRange av_buffersink_get_color_range(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_color_range(ctx);
		}

		public unsafe static AVColorSpace av_buffersink_get_colorspace(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_colorspace(ctx);
		}

		public unsafe static int av_buffersink_get_format(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_format(ctx);
		}

		public unsafe static int av_buffersink_get_frame(AVFilterContext* ctx, AVFrame* frame)
		{
			return vectors.av_buffersink_get_frame(ctx, frame);
		}

		public unsafe static int av_buffersink_get_frame_flags(AVFilterContext* ctx, AVFrame* frame, int flags)
		{
			return vectors.av_buffersink_get_frame_flags(ctx, frame, flags);
		}

		public unsafe static AVRational av_buffersink_get_frame_rate(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_frame_rate(ctx);
		}

		public unsafe static int av_buffersink_get_h(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_h(ctx);
		}

		public unsafe static AVBufferRef* av_buffersink_get_hw_frames_ctx(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_hw_frames_ctx(ctx);
		}

		public unsafe static AVRational av_buffersink_get_sample_aspect_ratio(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_sample_aspect_ratio(ctx);
		}

		public unsafe static int av_buffersink_get_sample_rate(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_sample_rate(ctx);
		}

		public unsafe static int av_buffersink_get_samples(AVFilterContext* ctx, AVFrame* frame, int nb_samples)
		{
			return vectors.av_buffersink_get_samples(ctx, frame, nb_samples);
		}

		public unsafe static AVFrameSideData** av_buffersink_get_side_data(AVFilterContext* ctx, int* nb_side_data)
		{
			return vectors.av_buffersink_get_side_data(ctx, nb_side_data);
		}

		public unsafe static AVRational av_buffersink_get_time_base(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_time_base(ctx);
		}

		public unsafe static AVMediaType av_buffersink_get_type(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_type(ctx);
		}

		public unsafe static int av_buffersink_get_w(AVFilterContext* ctx)
		{
			return vectors.av_buffersink_get_w(ctx);
		}

		public unsafe static void av_buffersink_set_frame_size(AVFilterContext* ctx, uint frame_size)
		{
			vectors.av_buffersink_set_frame_size(ctx, frame_size);
		}

		public unsafe static int av_buffersrc_add_frame(AVFilterContext* ctx, AVFrame* frame)
		{
			return vectors.av_buffersrc_add_frame(ctx, frame);
		}

		public unsafe static int av_buffersrc_add_frame_flags(AVFilterContext* buffer_src, AVFrame* frame, int flags)
		{
			return vectors.av_buffersrc_add_frame_flags(buffer_src, frame, flags);
		}

		public unsafe static int av_buffersrc_close(AVFilterContext* ctx, long pts, uint flags)
		{
			return vectors.av_buffersrc_close(ctx, pts, flags);
		}

		public unsafe static uint av_buffersrc_get_nb_failed_requests(AVFilterContext* buffer_src)
		{
			return vectors.av_buffersrc_get_nb_failed_requests(buffer_src);
		}

		public unsafe static AVBufferSrcParameters* av_buffersrc_parameters_alloc()
		{
			return vectors.av_buffersrc_parameters_alloc();
		}

		public unsafe static int av_buffersrc_parameters_set(AVFilterContext* ctx, AVBufferSrcParameters* param)
		{
			return vectors.av_buffersrc_parameters_set(ctx, param);
		}

		public unsafe static int av_buffersrc_write_frame(AVFilterContext* ctx, AVFrame* frame)
		{
			return vectors.av_buffersrc_write_frame(ctx, frame);
		}

		public unsafe static void* av_calloc(ulong nmemb, ulong size)
		{
			return vectors.av_calloc(nmemb, size);
		}

		public unsafe static int av_channel_description(byte* buf, ulong buf_size, AVChannel channel)
		{
			return vectors.av_channel_description(buf, buf_size, channel);
		}

		public unsafe static void av_channel_description_bprint(AVBPrint* bp, AVChannel channel_id)
		{
			vectors.av_channel_description_bprint(bp, channel_id);
		}

		public static AVChannel av_channel_from_string(string name)
		{
			return vectors.av_channel_from_string(name);
		}

		public unsafe static int av_channel_layout_ambisonic_order(AVChannelLayout* channel_layout)
		{
			return vectors.av_channel_layout_ambisonic_order(channel_layout);
		}

		public unsafe static AVChannel av_channel_layout_channel_from_index(AVChannelLayout* channel_layout, uint idx)
		{
			return vectors.av_channel_layout_channel_from_index(channel_layout, idx);
		}

		public unsafe static AVChannel av_channel_layout_channel_from_string(AVChannelLayout* channel_layout, string name)
		{
			return vectors.av_channel_layout_channel_from_string(channel_layout, name);
		}

		public unsafe static int av_channel_layout_check(AVChannelLayout* channel_layout)
		{
			return vectors.av_channel_layout_check(channel_layout);
		}

		public unsafe static int av_channel_layout_compare(AVChannelLayout* chl, AVChannelLayout* chl1)
		{
			return vectors.av_channel_layout_compare(chl, chl1);
		}

		public unsafe static int av_channel_layout_copy(AVChannelLayout* dst, AVChannelLayout* src)
		{
			return vectors.av_channel_layout_copy(dst, src);
		}

		public unsafe static int av_channel_layout_custom_init(AVChannelLayout* channel_layout, int nb_channels)
		{
			return vectors.av_channel_layout_custom_init(channel_layout, nb_channels);
		}

		public unsafe static void av_channel_layout_default(AVChannelLayout* ch_layout, int nb_channels)
		{
			vectors.av_channel_layout_default(ch_layout, nb_channels);
		}

		public unsafe static int av_channel_layout_describe(AVChannelLayout* channel_layout, byte* buf, ulong buf_size)
		{
			return vectors.av_channel_layout_describe(channel_layout, buf, buf_size);
		}

		public unsafe static int av_channel_layout_describe_bprint(AVChannelLayout* channel_layout, AVBPrint* bp)
		{
			return vectors.av_channel_layout_describe_bprint(channel_layout, bp);
		}

		public unsafe static int av_channel_layout_from_mask(AVChannelLayout* channel_layout, ulong mask)
		{
			return vectors.av_channel_layout_from_mask(channel_layout, mask);
		}

		public unsafe static int av_channel_layout_from_string(AVChannelLayout* channel_layout, string str)
		{
			return vectors.av_channel_layout_from_string(channel_layout, str);
		}

		public unsafe static int av_channel_layout_index_from_channel(AVChannelLayout* channel_layout, AVChannel channel)
		{
			return vectors.av_channel_layout_index_from_channel(channel_layout, channel);
		}

		public unsafe static int av_channel_layout_index_from_string(AVChannelLayout* channel_layout, string name)
		{
			return vectors.av_channel_layout_index_from_string(channel_layout, name);
		}

		public unsafe static int av_channel_layout_retype(AVChannelLayout* channel_layout, AVChannelOrder order, int flags)
		{
			return vectors.av_channel_layout_retype(channel_layout, order, flags);
		}

		public unsafe static AVChannelLayout* av_channel_layout_standard(void** opaque)
		{
			return vectors.av_channel_layout_standard(opaque);
		}

		public unsafe static ulong av_channel_layout_subset(AVChannelLayout* channel_layout, ulong mask)
		{
			return vectors.av_channel_layout_subset(channel_layout, mask);
		}

		public unsafe static void av_channel_layout_uninit(AVChannelLayout* channel_layout)
		{
			vectors.av_channel_layout_uninit(channel_layout);
		}

		public unsafe static int av_channel_name(byte* buf, ulong buf_size, AVChannel channel)
		{
			return vectors.av_channel_name(buf, buf_size, channel);
		}

		public unsafe static void av_channel_name_bprint(AVBPrint* bp, AVChannel channel_id)
		{
			vectors.av_channel_name_bprint(bp, channel_id);
		}

		public unsafe static int av_chroma_location_enum_to_pos(int* xpos, int* ypos, AVChromaLocation pos)
		{
			return vectors.av_chroma_location_enum_to_pos(xpos, ypos, pos);
		}

		public static int av_chroma_location_from_name(string name)
		{
			return vectors.av_chroma_location_from_name(name);
		}

		public static string av_chroma_location_name(AVChromaLocation location)
		{
			return vectors.av_chroma_location_name(location);
		}

		public static AVChromaLocation av_chroma_location_pos_to_enum(int xpos, int ypos)
		{
			return vectors.av_chroma_location_pos_to_enum(xpos, ypos);
		}

		public unsafe static AVCodecID av_codec_get_id(AVCodecTag** tags, uint tag)
		{
			return vectors.av_codec_get_id(tags, tag);
		}

		public unsafe static uint av_codec_get_tag(AVCodecTag** tags, AVCodecID id)
		{
			return vectors.av_codec_get_tag(tags, id);
		}

		public unsafe static int av_codec_get_tag2(AVCodecTag** tags, AVCodecID id, uint* tag)
		{
			return vectors.av_codec_get_tag2(tags, id, tag);
		}

		public unsafe static int av_codec_is_decoder(AVCodec* codec)
		{
			return vectors.av_codec_is_decoder(codec);
		}

		public unsafe static int av_codec_is_encoder(AVCodec* codec)
		{
			return vectors.av_codec_is_encoder(codec);
		}

		public unsafe static AVCodec* av_codec_iterate(void** opaque)
		{
			return vectors.av_codec_iterate(opaque);
		}

		public static int av_color_primaries_from_name(string name)
		{
			return vectors.av_color_primaries_from_name(name);
		}

		public static string av_color_primaries_name(AVColorPrimaries primaries)
		{
			return vectors.av_color_primaries_name(primaries);
		}

		public static int av_color_range_from_name(string name)
		{
			return vectors.av_color_range_from_name(name);
		}

		public static string av_color_range_name(AVColorRange range)
		{
			return vectors.av_color_range_name(range);
		}

		public static int av_color_space_from_name(string name)
		{
			return vectors.av_color_space_from_name(name);
		}

		public static string av_color_space_name(AVColorSpace space)
		{
			return vectors.av_color_space_name(space);
		}

		public static int av_color_transfer_from_name(string name)
		{
			return vectors.av_color_transfer_from_name(name);
		}

		public static string av_color_transfer_name(AVColorTransferCharacteristic transfer)
		{
			return vectors.av_color_transfer_name(transfer);
		}

		public static long av_compare_mod(ulong a, ulong b, ulong mod)
		{
			return vectors.av_compare_mod(a, b, mod);
		}

		public static int av_compare_ts(long ts_a, AVRational tb_a, long ts_b, AVRational tb_b)
		{
			return vectors.av_compare_ts(ts_a, tb_a, ts_b, tb_b);
		}

		public unsafe static AVContainerFifo* av_container_fifo_alloc_avpacket(uint flags)
		{
			return vectors.av_container_fifo_alloc_avpacket(flags);
		}

		public unsafe static AVContentLightMetadata* av_content_light_metadata_alloc(ulong* size)
		{
			return vectors.av_content_light_metadata_alloc(size);
		}

		public unsafe static AVContentLightMetadata* av_content_light_metadata_create_side_data(AVFrame* frame)
		{
			return vectors.av_content_light_metadata_create_side_data(frame);
		}

		public unsafe static AVCPBProperties* av_cpb_properties_alloc(ulong* size)
		{
			return vectors.av_cpb_properties_alloc(size);
		}

		public static int av_cpu_count()
		{
			return vectors.av_cpu_count();
		}

		public static void av_cpu_force_count(int count)
		{
			vectors.av_cpu_force_count(count);
		}

		public static ulong av_cpu_max_align()
		{
			return vectors.av_cpu_max_align();
		}

		public static AVRational av_d2q(double d, int max)
		{
			return vectors.av_d2q(d, max);
		}

		public unsafe static AVD3D11VAContext* av_d3d11va_alloc_context()
		{
			return vectors.av_d3d11va_alloc_context();
		}

		public unsafe static AVClassCategory av_default_get_category(void* ptr)
		{
			return vectors.av_default_get_category(ptr);
		}

		public unsafe static string av_default_item_name(void* ctx)
		{
			return vectors.av_default_item_name(ctx);
		}

		public unsafe static AVInputFormat* av_demuxer_iterate(void** opaque)
		{
			return vectors.av_demuxer_iterate(opaque);
		}

		public unsafe static int av_dict_copy(AVDictionary** dst, AVDictionary* src, int flags)
		{
			return vectors.av_dict_copy(dst, src, flags);
		}

		public unsafe static int av_dict_count(AVDictionary* m)
		{
			return vectors.av_dict_count(m);
		}

		public unsafe static void av_dict_free(AVDictionary** m)
		{
			vectors.av_dict_free(m);
		}

		public unsafe static AVDictionaryEntry* av_dict_get(AVDictionary* m, string key, AVDictionaryEntry* prev, int flags)
		{
			return vectors.av_dict_get(m, key, prev, flags);
		}

		public unsafe static int av_dict_get_string(AVDictionary* m, byte** buffer, byte key_val_sep, byte pairs_sep)
		{
			return vectors.av_dict_get_string(m, buffer, key_val_sep, pairs_sep);
		}

		public unsafe static AVDictionaryEntry* av_dict_iterate(AVDictionary* m, AVDictionaryEntry* prev)
		{
			return vectors.av_dict_iterate(m, prev);
		}

		public unsafe static int av_dict_parse_string(AVDictionary** pm, string str, string key_val_sep, string pairs_sep, int flags)
		{
			return vectors.av_dict_parse_string(pm, str, key_val_sep, pairs_sep, flags);
		}

		public unsafe static int av_dict_set(AVDictionary** pm, string key, string value, int flags)
		{
			return vectors.av_dict_set(pm, key, value, flags);
		}

		public unsafe static int av_dict_set_int(AVDictionary** pm, string key, long value, int flags)
		{
			return vectors.av_dict_set_int(pm, key, value, flags);
		}

		public static void av_display_matrix_flip(ref int_array9 matrix, int hflip, int vflip)
		{
			vectors.av_display_matrix_flip(ref matrix, hflip, vflip);
		}

		public static double av_display_rotation_get(in int_array9 matrix)
		{
			return vectors.av_display_rotation_get(in matrix);
		}

		public static void av_display_rotation_set(ref int_array9 matrix, double angle)
		{
			vectors.av_display_rotation_set(ref matrix, angle);
		}

		public static int av_disposition_from_string(string disp)
		{
			return vectors.av_disposition_from_string(disp);
		}

		public static string av_disposition_to_string(int disposition)
		{
			return vectors.av_disposition_to_string(disposition);
		}

		public static AVRational av_div_q(AVRational b, AVRational c)
		{
			return vectors.av_div_q(b, c);
		}

		public unsafe static void av_dump_format(AVFormatContext* ic, int index, string url, int is_output)
		{
			vectors.av_dump_format(ic, index, url, is_output);
		}

		public unsafe static AVDynamicHDRPlus* av_dynamic_hdr_plus_alloc(ulong* size)
		{
			return vectors.av_dynamic_hdr_plus_alloc(size);
		}

		public unsafe static AVDynamicHDRPlus* av_dynamic_hdr_plus_create_side_data(AVFrame* frame)
		{
			return vectors.av_dynamic_hdr_plus_create_side_data(frame);
		}

		public unsafe static int av_dynamic_hdr_plus_from_t35(AVDynamicHDRPlus* s, byte* data, ulong size)
		{
			return vectors.av_dynamic_hdr_plus_from_t35(s, data, size);
		}

		public unsafe static int av_dynamic_hdr_plus_to_t35(AVDynamicHDRPlus* s, byte** data, ulong* size)
		{
			return vectors.av_dynamic_hdr_plus_to_t35(s, data, size);
		}

		public unsafe static void av_dynarray_add(void* tab_ptr, int* nb_ptr, void* elem)
		{
			vectors.av_dynarray_add(tab_ptr, nb_ptr, elem);
		}

		public unsafe static int av_dynarray_add_nofree(void* tab_ptr, int* nb_ptr, void* elem)
		{
			return vectors.av_dynarray_add_nofree(tab_ptr, nb_ptr, elem);
		}

		public unsafe static void* av_dynarray2_add(void** tab_ptr, int* nb_ptr, ulong elem_size, byte* elem_data)
		{
			return vectors.av_dynarray2_add(tab_ptr, nb_ptr, elem_size, elem_data);
		}

		public unsafe static void av_fast_malloc(void* ptr, uint* size, ulong min_size)
		{
			vectors.av_fast_malloc(ptr, size, min_size);
		}

		public unsafe static void av_fast_mallocz(void* ptr, uint* size, ulong min_size)
		{
			vectors.av_fast_mallocz(ptr, size, min_size);
		}

		public unsafe static void av_fast_padded_malloc(void* ptr, uint* size, ulong min_size)
		{
			vectors.av_fast_padded_malloc(ptr, size, min_size);
		}

		public unsafe static void av_fast_padded_mallocz(void* ptr, uint* size, ulong min_size)
		{
			vectors.av_fast_padded_mallocz(ptr, size, min_size);
		}

		public unsafe static void* av_fast_realloc(void* ptr, uint* size, ulong min_size)
		{
			return vectors.av_fast_realloc(ptr, size, min_size);
		}

		public unsafe static int av_file_map(string filename, byte** bufptr, ulong* size, int log_offset, void* log_ctx)
		{
			return vectors.av_file_map(filename, bufptr, size, log_offset, log_ctx);
		}

		public unsafe static void av_file_unmap(byte* bufptr, ulong size)
		{
			vectors.av_file_unmap(bufptr, size);
		}

		public static int av_filename_number_test(string filename)
		{
			return vectors.av_filename_number_test(filename);
		}

		public unsafe static AVFilter* av_filter_iterate(void** opaque)
		{
			return vectors.av_filter_iterate(opaque);
		}

		public unsafe static AVPixelFormat av_find_best_pix_fmt_of_2(AVPixelFormat dst_pix_fmt1, AVPixelFormat dst_pix_fmt2, AVPixelFormat src_pix_fmt, int has_alpha, int* loss_ptr)
		{
			return vectors.av_find_best_pix_fmt_of_2(dst_pix_fmt1, dst_pix_fmt2, src_pix_fmt, has_alpha, loss_ptr);
		}

		public unsafe static int av_find_best_stream(AVFormatContext* ic, AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec** decoder_ret, int flags)
		{
			return vectors.av_find_best_stream(ic, type, wanted_stream_nb, related_stream, decoder_ret, flags);
		}

		public unsafe static int av_find_default_stream_index(AVFormatContext* s)
		{
			return vectors.av_find_default_stream_index(s);
		}

		public unsafe static AVInputFormat* av_find_input_format(string short_name)
		{
			return vectors.av_find_input_format(short_name);
		}

		public unsafe static int av_find_nearest_q_idx(AVRational q, AVRational* q_list)
		{
			return vectors.av_find_nearest_q_idx(q, q_list);
		}

		public unsafe static AVProgram* av_find_program_from_stream(AVFormatContext* ic, AVProgram* last, int s)
		{
			return vectors.av_find_program_from_stream(ic, last, s);
		}

		public static void av_force_cpu_flags(int flags)
		{
			vectors.av_force_cpu_flags(flags);
		}

		public unsafe static byte* av_fourcc_make_string(byte* buf, uint fourcc)
		{
			return vectors.av_fourcc_make_string(buf, fourcc);
		}

		public unsafe static AVFrame* av_frame_alloc()
		{
			return vectors.av_frame_alloc();
		}

		public unsafe static int av_frame_apply_cropping(AVFrame* frame, int flags)
		{
			return vectors.av_frame_apply_cropping(frame, flags);
		}

		public unsafe static AVFrame* av_frame_clone(AVFrame* src)
		{
			return vectors.av_frame_clone(src);
		}

		public unsafe static int av_frame_copy(AVFrame* dst, AVFrame* src)
		{
			return vectors.av_frame_copy(dst, src);
		}

		public unsafe static int av_frame_copy_props(AVFrame* dst, AVFrame* src)
		{
			return vectors.av_frame_copy_props(dst, src);
		}

		public unsafe static void av_frame_free(AVFrame** frame)
		{
			vectors.av_frame_free(frame);
		}

		public unsafe static int av_frame_get_buffer(AVFrame* frame, int align)
		{
			return vectors.av_frame_get_buffer(frame, align);
		}

		public unsafe static AVBufferRef* av_frame_get_plane_buffer(AVFrame* frame, int plane)
		{
			return vectors.av_frame_get_plane_buffer(frame, plane);
		}

		public unsafe static AVFrameSideData* av_frame_get_side_data(AVFrame* frame, AVFrameSideDataType type)
		{
			return vectors.av_frame_get_side_data(frame, type);
		}

		public unsafe static int av_frame_is_writable(AVFrame* frame)
		{
			return vectors.av_frame_is_writable(frame);
		}

		public unsafe static int av_frame_make_writable(AVFrame* frame)
		{
			return vectors.av_frame_make_writable(frame);
		}

		public unsafe static void av_frame_move_ref(AVFrame* dst, AVFrame* src)
		{
			vectors.av_frame_move_ref(dst, src);
		}

		public unsafe static AVFrameSideData* av_frame_new_side_data(AVFrame* frame, AVFrameSideDataType type, ulong size)
		{
			return vectors.av_frame_new_side_data(frame, type, size);
		}

		public unsafe static AVFrameSideData* av_frame_new_side_data_from_buf(AVFrame* frame, AVFrameSideDataType type, AVBufferRef* buf)
		{
			return vectors.av_frame_new_side_data_from_buf(frame, type, buf);
		}

		public unsafe static int av_frame_ref(AVFrame* dst, AVFrame* src)
		{
			return vectors.av_frame_ref(dst, src);
		}

		public unsafe static void av_frame_remove_side_data(AVFrame* frame, AVFrameSideDataType type)
		{
			vectors.av_frame_remove_side_data(frame, type);
		}

		public unsafe static int av_frame_replace(AVFrame* dst, AVFrame* src)
		{
			return vectors.av_frame_replace(dst, src);
		}

		public unsafe static AVFrameSideData* av_frame_side_data_add(AVFrameSideData*** sd, int* nb_sd, AVFrameSideDataType type, AVBufferRef** buf, uint flags)
		{
			return vectors.av_frame_side_data_add(sd, nb_sd, type, buf, flags);
		}

		public unsafe static int av_frame_side_data_clone(AVFrameSideData*** sd, int* nb_sd, AVFrameSideData* src, uint flags)
		{
			return vectors.av_frame_side_data_clone(sd, nb_sd, src, flags);
		}

		public unsafe static AVSideDataDescriptor* av_frame_side_data_desc(AVFrameSideDataType type)
		{
			return vectors.av_frame_side_data_desc(type);
		}

		public unsafe static void av_frame_side_data_free(AVFrameSideData*** sd, int* nb_sd)
		{
			vectors.av_frame_side_data_free(sd, nb_sd);
		}

		public unsafe static AVFrameSideData* av_frame_side_data_get_c(AVFrameSideData** sd, int nb_sd, AVFrameSideDataType type)
		{
			return vectors.av_frame_side_data_get_c(sd, nb_sd, type);
		}

		public static string av_frame_side_data_name(AVFrameSideDataType type)
		{
			return vectors.av_frame_side_data_name(type);
		}

		public unsafe static AVFrameSideData* av_frame_side_data_new(AVFrameSideData*** sd, int* nb_sd, AVFrameSideDataType type, ulong size, uint flags)
		{
			return vectors.av_frame_side_data_new(sd, nb_sd, type, size, flags);
		}

		public unsafe static void av_frame_side_data_remove(AVFrameSideData*** sd, int* nb_sd, AVFrameSideDataType type)
		{
			vectors.av_frame_side_data_remove(sd, nb_sd, type);
		}

		public unsafe static void av_frame_side_data_remove_by_props(AVFrameSideData*** sd, int* nb_sd, int props)
		{
			vectors.av_frame_side_data_remove_by_props(sd, nb_sd, props);
		}

		public unsafe static void av_frame_unref(AVFrame* frame)
		{
			vectors.av_frame_unref(frame);
		}

		public unsafe static void av_free(void* ptr)
		{
			vectors.av_free(ptr);
		}

		public unsafe static void av_freep(void* ptr)
		{
			vectors.av_freep(ptr);
		}

		public static long av_gcd(long a, long b)
		{
			return vectors.av_gcd(a, b);
		}

		public static AVRational av_gcd_q(AVRational a, AVRational b, int max_den, AVRational def)
		{
			return vectors.av_gcd_q(a, b, max_den, def);
		}

		public static AVSampleFormat av_get_alt_sample_fmt(AVSampleFormat sample_fmt, int planar)
		{
			return vectors.av_get_alt_sample_fmt(sample_fmt, planar);
		}

		public unsafe static int av_get_audio_frame_duration(AVCodecContext* avctx, int frame_bytes)
		{
			return vectors.av_get_audio_frame_duration(avctx, frame_bytes);
		}

		public unsafe static int av_get_audio_frame_duration2(AVCodecParameters* par, int frame_bytes)
		{
			return vectors.av_get_audio_frame_duration2(par, frame_bytes);
		}

		public unsafe static int av_get_bits_per_pixel(AVPixFmtDescriptor* pixdesc)
		{
			return vectors.av_get_bits_per_pixel(pixdesc);
		}

		public static int av_get_bits_per_sample(AVCodecID codec_id)
		{
			return vectors.av_get_bits_per_sample(codec_id);
		}

		public static int av_get_bytes_per_sample(AVSampleFormat sample_fmt)
		{
			return vectors.av_get_bytes_per_sample(sample_fmt);
		}

		public static int av_get_cpu_flags()
		{
			return vectors.av_get_cpu_flags();
		}

		public static int av_get_exact_bits_per_sample(AVCodecID codec_id)
		{
			return vectors.av_get_exact_bits_per_sample(codec_id);
		}

		public unsafe static int av_get_frame_filename(byte* buf, int buf_size, string path, int number)
		{
			return vectors.av_get_frame_filename(buf, buf_size, path, number);
		}

		public unsafe static int av_get_frame_filename2(byte* buf, int buf_size, string path, int number, int flags)
		{
			return vectors.av_get_frame_filename2(buf, buf_size, path, number, flags);
		}

		public static string av_get_media_type_string(AVMediaType media_type)
		{
			return vectors.av_get_media_type_string(media_type);
		}

		public unsafe static int av_get_output_timestamp(AVFormatContext* s, int stream, long* dts, long* wall)
		{
			return vectors.av_get_output_timestamp(s, stream, dts, wall);
		}

		public static AVSampleFormat av_get_packed_sample_fmt(AVSampleFormat sample_fmt)
		{
			return vectors.av_get_packed_sample_fmt(sample_fmt);
		}

		public unsafe static int av_get_packet(AVIOContext* s, AVPacket* pkt, int size)
		{
			return vectors.av_get_packet(s, pkt, size);
		}

		public unsafe static int av_get_padded_bits_per_pixel(AVPixFmtDescriptor* pixdesc)
		{
			return vectors.av_get_padded_bits_per_pixel(pixdesc);
		}

		public static AVCodecID av_get_pcm_codec(AVSampleFormat fmt, int be)
		{
			return vectors.av_get_pcm_codec(fmt, be);
		}

		public static byte av_get_picture_type_char(AVPictureType pict_type)
		{
			return vectors.av_get_picture_type_char(pict_type);
		}

		public static AVPixelFormat av_get_pix_fmt(string name)
		{
			return vectors.av_get_pix_fmt(name);
		}

		public static int av_get_pix_fmt_loss(AVPixelFormat dst_pix_fmt, AVPixelFormat src_pix_fmt, int has_alpha)
		{
			return vectors.av_get_pix_fmt_loss(dst_pix_fmt, src_pix_fmt, has_alpha);
		}

		public static string av_get_pix_fmt_name(AVPixelFormat pix_fmt)
		{
			return vectors.av_get_pix_fmt_name(pix_fmt);
		}

		public unsafe static byte* av_get_pix_fmt_string(byte* buf, int buf_size, AVPixelFormat pix_fmt)
		{
			return vectors.av_get_pix_fmt_string(buf, buf_size, pix_fmt);
		}

		public static AVSampleFormat av_get_planar_sample_fmt(AVSampleFormat sample_fmt)
		{
			return vectors.av_get_planar_sample_fmt(sample_fmt);
		}

		public unsafe static string av_get_profile_name(AVCodec* codec, int profile)
		{
			return vectors.av_get_profile_name(codec, profile);
		}

		public static AVSampleFormat av_get_sample_fmt(string name)
		{
			return vectors.av_get_sample_fmt(name);
		}

		public static string av_get_sample_fmt_name(AVSampleFormat sample_fmt)
		{
			return vectors.av_get_sample_fmt_name(sample_fmt);
		}

		public unsafe static byte* av_get_sample_fmt_string(byte* buf, int buf_size, AVSampleFormat sample_fmt)
		{
			return vectors.av_get_sample_fmt_string(buf, buf_size, sample_fmt);
		}

		public static AVRational av_get_time_base_q()
		{
			return vectors.av_get_time_base_q();
		}

		public static long av_gettime()
		{
			return vectors.av_gettime();
		}

		public static long av_gettime_relative()
		{
			return vectors.av_gettime_relative();
		}

		public static int av_gettime_relative_is_monotonic()
		{
			return vectors.av_gettime_relative_is_monotonic();
		}

		public unsafe static int av_grow_packet(AVPacket* pkt, int grow_by)
		{
			return vectors.av_grow_packet(pkt, grow_by);
		}

		public unsafe static AVCodecID av_guess_codec(AVOutputFormat* fmt, string short_name, string filename, string mime_type, AVMediaType type)
		{
			return vectors.av_guess_codec(fmt, short_name, filename, mime_type, type);
		}

		public unsafe static AVOutputFormat* av_guess_format(string short_name, string filename, string mime_type)
		{
			return vectors.av_guess_format(short_name, filename, mime_type);
		}

		public unsafe static AVRational av_guess_frame_rate(AVFormatContext* ctx, AVStream* stream, AVFrame* frame)
		{
			return vectors.av_guess_frame_rate(ctx, stream, frame);
		}

		public unsafe static AVRational av_guess_sample_aspect_ratio(AVFormatContext* format, AVStream* stream, AVFrame* frame)
		{
			return vectors.av_guess_sample_aspect_ratio(format, stream, frame);
		}

		public unsafe static void av_hex_dump(_iobuf* f, byte* buf, int size)
		{
			vectors.av_hex_dump(f, buf, size);
		}

		public unsafe static void av_hex_dump_log(void* avcl, int level, byte* buf, int size)
		{
			vectors.av_hex_dump_log(avcl, level, buf, size);
		}

		public unsafe static AVBufferRef* av_hwdevice_ctx_alloc(AVHWDeviceType type)
		{
			return vectors.av_hwdevice_ctx_alloc(type);
		}

		public unsafe static int av_hwdevice_ctx_create(AVBufferRef** device_ctx, AVHWDeviceType type, string device, AVDictionary* opts, int flags)
		{
			return vectors.av_hwdevice_ctx_create(device_ctx, type, device, opts, flags);
		}

		public unsafe static int av_hwdevice_ctx_create_derived(AVBufferRef** dst_ctx, AVHWDeviceType type, AVBufferRef* src_ctx, int flags)
		{
			return vectors.av_hwdevice_ctx_create_derived(dst_ctx, type, src_ctx, flags);
		}

		public unsafe static int av_hwdevice_ctx_create_derived_opts(AVBufferRef** dst_ctx, AVHWDeviceType type, AVBufferRef* src_ctx, AVDictionary* options, int flags)
		{
			return vectors.av_hwdevice_ctx_create_derived_opts(dst_ctx, type, src_ctx, options, flags);
		}

		public unsafe static int av_hwdevice_ctx_init(AVBufferRef* @ref)
		{
			return vectors.av_hwdevice_ctx_init(@ref);
		}

		public static AVHWDeviceType av_hwdevice_find_type_by_name(string name)
		{
			return vectors.av_hwdevice_find_type_by_name(name);
		}

		public unsafe static AVHWFramesConstraints* av_hwdevice_get_hwframe_constraints(AVBufferRef* @ref, void* hwconfig)
		{
			return vectors.av_hwdevice_get_hwframe_constraints(@ref, hwconfig);
		}

		public static string av_hwdevice_get_type_name(AVHWDeviceType type)
		{
			return vectors.av_hwdevice_get_type_name(type);
		}

		public unsafe static void* av_hwdevice_hwconfig_alloc(AVBufferRef* device_ctx)
		{
			return vectors.av_hwdevice_hwconfig_alloc(device_ctx);
		}

		public static AVHWDeviceType av_hwdevice_iterate_types(AVHWDeviceType prev)
		{
			return vectors.av_hwdevice_iterate_types(prev);
		}

		public unsafe static void av_hwframe_constraints_free(AVHWFramesConstraints** constraints)
		{
			vectors.av_hwframe_constraints_free(constraints);
		}

		public unsafe static AVBufferRef* av_hwframe_ctx_alloc(AVBufferRef* device_ctx)
		{
			return vectors.av_hwframe_ctx_alloc(device_ctx);
		}

		public unsafe static int av_hwframe_ctx_create_derived(AVBufferRef** derived_frame_ctx, AVPixelFormat format, AVBufferRef* derived_device_ctx, AVBufferRef* source_frame_ctx, int flags)
		{
			return vectors.av_hwframe_ctx_create_derived(derived_frame_ctx, format, derived_device_ctx, source_frame_ctx, flags);
		}

		public unsafe static int av_hwframe_ctx_init(AVBufferRef* @ref)
		{
			return vectors.av_hwframe_ctx_init(@ref);
		}

		public unsafe static int av_hwframe_get_buffer(AVBufferRef* hwframe_ctx, AVFrame* frame, int flags)
		{
			return vectors.av_hwframe_get_buffer(hwframe_ctx, frame, flags);
		}

		public unsafe static int av_hwframe_map(AVFrame* dst, AVFrame* src, int flags)
		{
			return vectors.av_hwframe_map(dst, src, flags);
		}

		public unsafe static int av_hwframe_transfer_data(AVFrame* dst, AVFrame* src, int flags)
		{
			return vectors.av_hwframe_transfer_data(dst, src, flags);
		}

		public unsafe static int av_hwframe_transfer_get_formats(AVBufferRef* hwframe_ctx, AVHWFrameTransferDirection dir, AVPixelFormat** formats, int flags)
		{
			return vectors.av_hwframe_transfer_get_formats(hwframe_ctx, dir, formats, flags);
		}

		public static int av_image_alloc(ref byte_ptrArray4 pointers, ref int_array4 linesizes, int w, int h, AVPixelFormat pix_fmt, int align)
		{
			return vectors.av_image_alloc(ref pointers, ref linesizes, w, h, pix_fmt, align);
		}

		public static int av_image_check_sar(uint w, uint h, AVRational sar)
		{
			return vectors.av_image_check_sar(w, h, sar);
		}

		public unsafe static int av_image_check_size(uint w, uint h, int log_offset, void* log_ctx)
		{
			return vectors.av_image_check_size(w, h, log_offset, log_ctx);
		}

		public unsafe static int av_image_check_size2(uint w, uint h, long max_pixels, AVPixelFormat pix_fmt, int log_offset, void* log_ctx)
		{
			return vectors.av_image_check_size2(w, h, max_pixels, pix_fmt, log_offset, log_ctx);
		}

		public static void av_image_copy(ref byte_ptrArray4 dst_data, in int_array4 dst_linesizes, in byte_ptrArray4 src_data, in int_array4 src_linesizes, AVPixelFormat pix_fmt, int width, int height)
		{
			vectors.av_image_copy(ref dst_data, in dst_linesizes, in src_data, in src_linesizes, pix_fmt, width, height);
		}

		public unsafe static void av_image_copy_plane(byte* dst, int dst_linesize, byte* src, int src_linesize, int bytewidth, int height)
		{
			vectors.av_image_copy_plane(dst, dst_linesize, src, src_linesize, bytewidth, height);
		}

		public unsafe static void av_image_copy_plane_uc_from(byte* dst, long dst_linesize, byte* src, long src_linesize, long bytewidth, int height)
		{
			vectors.av_image_copy_plane_uc_from(dst, dst_linesize, src, src_linesize, bytewidth, height);
		}

		public unsafe static int av_image_copy_to_buffer(byte* dst, int dst_size, in byte_ptrArray4 src_data, in int_array4 src_linesize, AVPixelFormat pix_fmt, int width, int height, int align)
		{
			return vectors.av_image_copy_to_buffer(dst, dst_size, in src_data, in src_linesize, pix_fmt, width, height, align);
		}

		public static void av_image_copy_uc_from(ref byte_ptrArray4 dst_data, in long_array4 dst_linesizes, in byte_ptrArray4 src_data, in long_array4 src_linesizes, AVPixelFormat pix_fmt, int width, int height)
		{
			vectors.av_image_copy_uc_from(ref dst_data, in dst_linesizes, in src_data, in src_linesizes, pix_fmt, width, height);
		}

		public unsafe static int av_image_fill_arrays(ref byte_ptrArray4 dst_data, ref int_array4 dst_linesize, byte* src, AVPixelFormat pix_fmt, int width, int height, int align)
		{
			return vectors.av_image_fill_arrays(ref dst_data, ref dst_linesize, src, pix_fmt, width, height, align);
		}

		public static int av_image_fill_black(ref byte_ptrArray4 dst_data, in long_array4 dst_linesize, AVPixelFormat pix_fmt, AVColorRange range, int width, int height)
		{
			return vectors.av_image_fill_black(ref dst_data, in dst_linesize, pix_fmt, range, width, height);
		}

		public static int av_image_fill_color(ref byte_ptrArray4 dst_data, in long_array4 dst_linesize, AVPixelFormat pix_fmt, in uint_array4 color, int width, int height, int flags)
		{
			return vectors.av_image_fill_color(ref dst_data, in dst_linesize, pix_fmt, in color, width, height, flags);
		}

		public static int av_image_fill_linesizes(ref int_array4 linesizes, AVPixelFormat pix_fmt, int width)
		{
			return vectors.av_image_fill_linesizes(ref linesizes, pix_fmt, width);
		}

		public unsafe static void av_image_fill_max_pixsteps(ref int_array4 max_pixsteps, ref int_array4 max_pixstep_comps, AVPixFmtDescriptor* pixdesc)
		{
			vectors.av_image_fill_max_pixsteps(ref max_pixsteps, ref max_pixstep_comps, pixdesc);
		}

		public static int av_image_fill_plane_sizes(ref ulong_array4 size, AVPixelFormat pix_fmt, int height, in long_array4 linesizes)
		{
			return vectors.av_image_fill_plane_sizes(ref size, pix_fmt, height, in linesizes);
		}

		public unsafe static int av_image_fill_pointers(ref byte_ptrArray4 data, AVPixelFormat pix_fmt, int height, byte* ptr, in int_array4 linesizes)
		{
			return vectors.av_image_fill_pointers(ref data, pix_fmt, height, ptr, in linesizes);
		}

		public static int av_image_get_buffer_size(AVPixelFormat pix_fmt, int width, int height, int align)
		{
			return vectors.av_image_get_buffer_size(pix_fmt, width, height, align);
		}

		public static int av_image_get_linesize(AVPixelFormat pix_fmt, int width, int plane)
		{
			return vectors.av_image_get_linesize(pix_fmt, width, plane);
		}

		public unsafe static int av_index_search_timestamp(AVStream* st, long timestamp, int flags)
		{
			return vectors.av_index_search_timestamp(st, timestamp, flags);
		}

		[Obsolete("This function is deprecated. Once it's removed, sizeof(AVPacket) will not be a part of the ABI anymore.")]
		public unsafe static void av_init_packet(AVPacket* pkt)
		{
			vectors.av_init_packet(pkt);
		}

		public unsafe static AVInputFormat* av_input_audio_device_next(AVInputFormat* d)
		{
			return vectors.av_input_audio_device_next(d);
		}

		public unsafe static AVInputFormat* av_input_video_device_next(AVInputFormat* d)
		{
			return vectors.av_input_video_device_next(d);
		}

		[Obsolete]
		public unsafe static uint av_int_list_length_for_size(uint elsize, void* list, ulong term)
		{
			return vectors.av_int_list_length_for_size(elsize, list, term);
		}

		public unsafe static int av_interleaved_write_frame(AVFormatContext* s, AVPacket* pkt)
		{
			return vectors.av_interleaved_write_frame(s, pkt);
		}

		public unsafe static int av_interleaved_write_uncoded_frame(AVFormatContext* s, int stream_index, AVFrame* frame)
		{
			return vectors.av_interleaved_write_uncoded_frame(s, stream_index, frame);
		}

		public unsafe static void av_log(void* avcl, int level, string fmt)
		{
			vectors.av_log(avcl, level, fmt);
		}

		public unsafe static void av_log_default_callback(void* avcl, int level, string fmt, byte* vl)
		{
			vectors.av_log_default_callback(avcl, level, fmt, vl);
		}

		public unsafe static void av_log_format_line(void* ptr, int level, string fmt, byte* vl, byte* line, int line_size, int* print_prefix)
		{
			vectors.av_log_format_line(ptr, level, fmt, vl, line, line_size, print_prefix);
		}

		public unsafe static int av_log_format_line2(void* ptr, int level, string fmt, byte* vl, byte* line, int line_size, int* print_prefix)
		{
			return vectors.av_log_format_line2(ptr, level, fmt, vl, line, line_size, print_prefix);
		}

		public static int av_log_get_flags()
		{
			return vectors.av_log_get_flags();
		}

		public static int av_log_get_level()
		{
			return vectors.av_log_get_level();
		}

		public unsafe static void av_log_once(void* avcl, int initial_level, int subsequent_level, int* state, string fmt)
		{
			vectors.av_log_once(avcl, initial_level, subsequent_level, state, fmt);
		}

		public static void av_log_set_callback(av_log_set_callback_callback_func callback)
		{
			vectors.av_log_set_callback(callback);
		}

		public static void av_log_set_flags(int arg)
		{
			vectors.av_log_set_flags(arg);
		}

		public static void av_log_set_level(int level)
		{
			vectors.av_log_set_level(level);
		}

		public static int av_log2(uint v)
		{
			return vectors.av_log2(v);
		}

		public static int av_log2_16bit(uint v)
		{
			return vectors.av_log2_16bit(v);
		}

		public unsafe static void* av_malloc(ulong size)
		{
			return vectors.av_malloc(size);
		}

		public unsafe static void* av_malloc_array(ulong nmemb, ulong size)
		{
			return vectors.av_malloc_array(nmemb, size);
		}

		public unsafe static void* av_mallocz(ulong size)
		{
			return vectors.av_mallocz(size);
		}

		public unsafe static AVMasteringDisplayMetadata* av_mastering_display_metadata_alloc()
		{
			return vectors.av_mastering_display_metadata_alloc();
		}

		public unsafe static AVMasteringDisplayMetadata* av_mastering_display_metadata_alloc_size(ulong* size)
		{
			return vectors.av_mastering_display_metadata_alloc_size(size);
		}

		public unsafe static AVMasteringDisplayMetadata* av_mastering_display_metadata_create_side_data(AVFrame* frame)
		{
			return vectors.av_mastering_display_metadata_create_side_data(frame);
		}

		public static int av_match_ext(string filename, string extensions)
		{
			return vectors.av_match_ext(filename, extensions);
		}

		public static void av_max_alloc(ulong max)
		{
			vectors.av_max_alloc(max);
		}

		public unsafe static void av_memcpy_backptr(byte* dst, int back, int cnt)
		{
			vectors.av_memcpy_backptr(dst, back, cnt);
		}

		public unsafe static void* av_memdup(void* p, ulong size)
		{
			return vectors.av_memdup(p, size);
		}

		public static AVRational av_mul_q(AVRational b, AVRational c)
		{
			return vectors.av_mul_q(b, c);
		}

		public unsafe static AVOutputFormat* av_muxer_iterate(void** opaque)
		{
			return vectors.av_muxer_iterate(opaque);
		}

		public static int av_nearer_q(AVRational q, AVRational q1, AVRational q2)
		{
			return vectors.av_nearer_q(q, q1, q2);
		}

		public unsafe static int av_new_packet(AVPacket* pkt, int size)
		{
			return vectors.av_new_packet(pkt, size);
		}

		public unsafe static AVProgram* av_new_program(AVFormatContext* s, int id)
		{
			return vectors.av_new_program(s, id);
		}

		public unsafe static AVClass* av_opt_child_class_iterate(AVClass* parent, void** iter)
		{
			return vectors.av_opt_child_class_iterate(parent, iter);
		}

		public unsafe static void* av_opt_child_next(void* obj, void* prev)
		{
			return vectors.av_opt_child_next(obj, prev);
		}

		public unsafe static int av_opt_copy(void* dest, void* src)
		{
			return vectors.av_opt_copy(dest, src);
		}

		public unsafe static int av_opt_eval_double(void* obj, AVOption* o, string val, double* double_out)
		{
			return vectors.av_opt_eval_double(obj, o, val, double_out);
		}

		public unsafe static int av_opt_eval_flags(void* obj, AVOption* o, string val, int* flags_out)
		{
			return vectors.av_opt_eval_flags(obj, o, val, flags_out);
		}

		public unsafe static int av_opt_eval_float(void* obj, AVOption* o, string val, float* float_out)
		{
			return vectors.av_opt_eval_float(obj, o, val, float_out);
		}

		public unsafe static int av_opt_eval_int(void* obj, AVOption* o, string val, int* int_out)
		{
			return vectors.av_opt_eval_int(obj, o, val, int_out);
		}

		public unsafe static int av_opt_eval_int64(void* obj, AVOption* o, string val, long* int64_out)
		{
			return vectors.av_opt_eval_int64(obj, o, val, int64_out);
		}

		public unsafe static int av_opt_eval_q(void* obj, AVOption* o, string val, AVRational* q_out)
		{
			return vectors.av_opt_eval_q(obj, o, val, q_out);
		}

		public unsafe static int av_opt_eval_uint(void* obj, AVOption* o, string val, uint* uint_out)
		{
			return vectors.av_opt_eval_uint(obj, o, val, uint_out);
		}

		public unsafe static AVOption* av_opt_find(void* obj, string name, string unit, int opt_flags, int search_flags)
		{
			return vectors.av_opt_find(obj, name, unit, opt_flags, search_flags);
		}

		public unsafe static AVOption* av_opt_find2(void* obj, string name, string unit, int opt_flags, int search_flags, void** target_obj)
		{
			return vectors.av_opt_find2(obj, name, unit, opt_flags, search_flags, target_obj);
		}

		public unsafe static int av_opt_flag_is_set(void* obj, string field_name, string flag_name)
		{
			return vectors.av_opt_flag_is_set(obj, field_name, flag_name);
		}

		public unsafe static void av_opt_free(void* obj)
		{
			vectors.av_opt_free(obj);
		}

		public unsafe static void av_opt_freep_ranges(AVOptionRanges** ranges)
		{
			vectors.av_opt_freep_ranges(ranges);
		}

		public unsafe static int av_opt_get(void* obj, string name, int search_flags, byte** out_val)
		{
			return vectors.av_opt_get(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_get_array(void* obj, string name, int search_flags, uint start_elem, uint nb_elems, AVOptionType out_type, void* out_val)
		{
			return vectors.av_opt_get_array(obj, name, search_flags, start_elem, nb_elems, out_type, out_val);
		}

		public unsafe static int av_opt_get_array_size(void* obj, string name, int search_flags, uint* out_val)
		{
			return vectors.av_opt_get_array_size(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_get_chlayout(void* obj, string name, int search_flags, AVChannelLayout* layout)
		{
			return vectors.av_opt_get_chlayout(obj, name, search_flags, layout);
		}

		public unsafe static int av_opt_get_dict_val(void* obj, string name, int search_flags, AVDictionary** out_val)
		{
			return vectors.av_opt_get_dict_val(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_get_double(void* obj, string name, int search_flags, double* out_val)
		{
			return vectors.av_opt_get_double(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_get_image_size(void* obj, string name, int search_flags, int* w_out, int* h_out)
		{
			return vectors.av_opt_get_image_size(obj, name, search_flags, w_out, h_out);
		}

		public unsafe static int av_opt_get_int(void* obj, string name, int search_flags, long* out_val)
		{
			return vectors.av_opt_get_int(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_get_key_value(byte** ropts, string key_val_sep, string pairs_sep, uint flags, byte** rkey, byte** rval)
		{
			return vectors.av_opt_get_key_value(ropts, key_val_sep, pairs_sep, flags, rkey, rval);
		}

		public unsafe static int av_opt_get_pixel_fmt(void* obj, string name, int search_flags, AVPixelFormat* out_fmt)
		{
			return vectors.av_opt_get_pixel_fmt(obj, name, search_flags, out_fmt);
		}

		public unsafe static int av_opt_get_q(void* obj, string name, int search_flags, AVRational* out_val)
		{
			return vectors.av_opt_get_q(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_get_sample_fmt(void* obj, string name, int search_flags, AVSampleFormat* out_fmt)
		{
			return vectors.av_opt_get_sample_fmt(obj, name, search_flags, out_fmt);
		}

		public unsafe static int av_opt_get_video_rate(void* obj, string name, int search_flags, AVRational* out_val)
		{
			return vectors.av_opt_get_video_rate(obj, name, search_flags, out_val);
		}

		public unsafe static int av_opt_is_set_to_default(void* obj, AVOption* o)
		{
			return vectors.av_opt_is_set_to_default(obj, o);
		}

		public unsafe static int

plugins/DesktopBuddy/DesktopBuddyRuntime/WinRT.Runtime.dll

Decompiled 16 hours ago
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Numerics;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Cryptography;
using System.Security.Permissions;
using System.Text;
using System.Threading;
using System.Windows.Input;
using ABI.Microsoft.UI.Xaml.Data;
using ABI.Microsoft.UI.Xaml.Interop;
using ABI.System;
using ABI.System.Collections;
using ABI.System.Collections.Generic;
using ABI.System.Collections.Specialized;
using ABI.System.ComponentModel;
using ABI.System.Numerics;
using ABI.System.Windows.Input;
using ABI.WinRT;
using ABI.WinRT.Interop;
using ABI.Windows.Foundation;
using ABI.Windows.Foundation.Collections;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Automation;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Interop;
using Microsoft.UI.Xaml.Markup;
using WinRT;
using WinRT.Interop;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation;
using Windows.UI.Xaml.Markup;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(/*Could not decode attribute arguments.*/)]
[assembly: SupportedOSPlatform("Windows")]
[assembly: TargetFramework(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
[assembly: AssemblyMetadata("IsTrimmable", "True")]
[assembly: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation. All rights reserved.")]
[assembly: AssemblyDescription("C#/WinRT Runtime v2.2.0.241111.1")]
[assembly: AssemblyFileVersion("2.2.0.48161")]
[assembly: AssemblyInformationalVersion("2.2.0.48161+8649ee3eeb2445ca2a36d80d878ef60b96a6c65d")]
[assembly: AssemblyProduct("C#/WinRT")]
[assembly: AssemblyTitle("C#/WinRT Runtime v2.2.0.241111.1")]
[assembly: NeutralResourcesLanguage("en")]
[assembly: DisableRuntimeMarshalling]
[assembly: SecurityPermission(8, SkipVerification = true)]
[assembly: AssemblyVersion("2.2.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
internal class <Module>
{
	static <Module>()
	{
		ProjectionInitializer.InitalizeProjection();
	}
}
namespace Windows.Foundation
{
	internal static class GSR
	{
		public static string ArgumentOutOfRange_NeedNonNegNum = "Non-negative number required.";
	}
	[WindowsRuntimeType("Windows.Foundation.FoundationContract")]
	[WindowsRuntimeHelperType(typeof(ABI.Windows.Foundation.Point))]
	[WinRTExposedType(typeof(StructTypeDetails<Point, Point>))]
	public struct Point : System.IFormattable
	{
		public float _x;

		public float _y;

		public double X
		{
			get
			{
				return _x;
			}
			set
			{
				_x = (float)value;
			}
		}

		public double Y
		{
			get
			{
				return _y;
			}
			set
			{
				_y = (float)value;
			}
		}

		public Point(float x, float y)
		{
			_x = x;
			_y = y;
		}

		public Point(double x, double y)
			: this((float)x, (float)y)
		{
		}

		public string ToString()
		{
			return ConvertToString(null, null);
		}

		public string ToString(IFormatProvider provider)
		{
			return ConvertToString(null, provider);
		}

		string System.IFormattable.ToString(string format, IFormatProvider provider)
		{
			return ConvertToString(format, provider);
		}

		private string ConvertToString(string format, IFormatProvider provider)
		{
			char numericListSeparator = GetNumericListSeparator(provider);
			return string.Format(provider, string.Concat(new string[5] { "{1:", format, "}{0}{2:", format, "}" }), (object)numericListSeparator, (object)_x, (object)_y);
		}

		private static char GetNumericListSeparator(IFormatProvider provider)
		{
			char c = ',';
			NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
			if (instance.NumberDecimalSeparator.Length > 0 && instance.NumberDecimalSeparator[0] == c)
			{
				c = ';';
			}
			return c;
		}

		public static bool operator ==(Point point1, Point point2)
		{
			if (point1._x == point2._x)
			{
				return point1._y == point2._y;
			}
			return false;
		}

		public static bool operator !=(Point point1, Point point2)
		{
			return !(point1 == point2);
		}

		public bool Equals(object o)
		{
			if (o is Point)
			{
				return this == (Point)o;
			}
			return false;
		}

		public bool Equals(Point value)
		{
			return this == value;
		}

		public int GetHashCode()
		{
			return X.GetHashCode() ^ Y.GetHashCode();
		}
	}
	[WindowsRuntimeType("Windows.Foundation.FoundationContract")]
	[WindowsRuntimeHelperType(typeof(ABI.Windows.Foundation.Rect))]
	[WinRTExposedType(typeof(StructTypeDetails<Rect, Rect>))]
	public struct Rect : System.IFormattable
	{
		public float _x;

		public float _y;

		public float _width;

		public float _height;

		private const double EmptyX = 1.0 / 0.0;

		private const double EmptyY = 1.0 / 0.0;

		private const double EmptyWidth = -1.0 / 0.0;

		private const double EmptyHeight = -1.0 / 0.0;

		private static readonly Rect s_empty = CreateEmptyRect();

		public double X
		{
			get
			{
				return _x;
			}
			set
			{
				_x = (float)value;
			}
		}

		public double Y
		{
			get
			{
				return _y;
			}
			set
			{
				_y = (float)value;
			}
		}

		public double Width
		{
			get
			{
				return _width;
			}
			set
			{
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				if (value < 0.0)
				{
					throw new ArgumentOutOfRangeException("Width", GSR.ArgumentOutOfRange_NeedNonNegNum);
				}
				_width = (float)value;
			}
		}

		public double Height
		{
			get
			{
				return _height;
			}
			set
			{
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				if (value < 0.0)
				{
					throw new ArgumentOutOfRangeException("Height", GSR.ArgumentOutOfRange_NeedNonNegNum);
				}
				_height = (float)value;
			}
		}

		public double Left => _x;

		public double Top => _y;

		public double Right
		{
			get
			{
				if (IsEmpty)
				{
					return -1.0 / 0.0;
				}
				return _x + _width;
			}
		}

		public double Bottom
		{
			get
			{
				if (IsEmpty)
				{
					return -1.0 / 0.0;
				}
				return _y + _height;
			}
		}

		public static Rect Empty => s_empty;

		public bool IsEmpty => _width < 0f;

		public Rect(float x, float y, float width, float height)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_002b: Unknown result type (might be due to invalid IL or missing references)
			if (width < 0f)
			{
				throw new ArgumentOutOfRangeException("width", GSR.ArgumentOutOfRange_NeedNonNegNum);
			}
			if (height < 0f)
			{
				throw new ArgumentOutOfRangeException("height", GSR.ArgumentOutOfRange_NeedNonNegNum);
			}
			_x = x;
			_y = y;
			_width = width;
			_height = height;
		}

		public Rect(double x, double y, double width, double height)
			: this((float)x, (float)y, (float)width, (float)height)
		{
		}

		public Rect(Point point1, Point point2)
		{
			_x = Math.Min(point1._x, point2._x);
			_y = Math.Min(point1._y, point2._y);
			_width = Math.Max(Math.Max(point1._x, point2._x) - _x, 0f);
			_height = Math.Max(Math.Max(point1._y, point2._y) - _y, 0f);
		}

		public Rect(Point location, Size size)
		{
			if (size.IsEmpty)
			{
				this = s_empty;
				return;
			}
			_x = location._x;
			_y = location._y;
			_width = size._width;
			_height = size._height;
		}

		public bool Contains(Point point)
		{
			return ContainsInternal(point._x, point._y);
		}

		public void Intersect(Rect rect)
		{
			if (!IntersectsWith(rect))
			{
				this = s_empty;
				return;
			}
			double num = Math.Max(X, rect.X);
			double num2 = Math.Max(Y, rect.Y);
			Width = Math.Max(Math.Min(X + Width, rect.X + rect.Width) - num, 0.0);
			Height = Math.Max(Math.Min(Y + Height, rect.Y + rect.Height) - num2, 0.0);
			X = num;
			Y = num2;
		}

		public void Union(Rect rect)
		{
			if (IsEmpty)
			{
				this = rect;
			}
			else if (!rect.IsEmpty)
			{
				double num = Math.Min(Left, rect.Left);
				double num2 = Math.Min(Top, rect.Top);
				if (rect.Width == 1.0 / 0.0 || Width == 1.0 / 0.0)
				{
					Width = 1.0 / 0.0;
				}
				else
				{
					double num3 = Math.Max(Right, rect.Right);
					Width = Math.Max(num3 - num, 0.0);
				}
				if (rect.Height == 1.0 / 0.0 || Height == 1.0 / 0.0)
				{
					Height = 1.0 / 0.0;
				}
				else
				{
					double num4 = Math.Max(Bottom, rect.Bottom);
					Height = Math.Max(num4 - num2, 0.0);
				}
				X = num;
				Y = num2;
			}
		}

		public void Union(Point point)
		{
			Union(new Rect(point, point));
		}

		private bool ContainsInternal(float x, float y)
		{
			if (x >= _x && x - _width <= _x && y >= _y)
			{
				return y - _height <= _y;
			}
			return false;
		}

		internal bool IntersectsWith(Rect rect)
		{
			if (_width < 0f || rect._width < 0f)
			{
				return false;
			}
			if (rect._x <= _x + _width && rect._x + rect._width >= _x && rect._y <= _y + _height)
			{
				return rect._y + rect._height >= _y;
			}
			return false;
		}

		private static Rect CreateEmptyRect()
		{
			Rect result = default(Rect);
			result._x = 1f / 0f;
			result._y = 1f / 0f;
			result._width = -1f / 0f;
			result._height = -1f / 0f;
			return result;
		}

		public string ToString()
		{
			return ConvertToString(null, null);
		}

		public string ToString(IFormatProvider provider)
		{
			return ConvertToString(null, provider);
		}

		string System.IFormattable.ToString(string format, IFormatProvider provider)
		{
			return ConvertToString(format, provider);
		}

		internal string ConvertToString(string format, IFormatProvider provider)
		{
			if (IsEmpty)
			{
				return "Empty.";
			}
			char numericListSeparator = TokenizerHelper.GetNumericListSeparator(provider);
			return string.Format(provider, string.Concat(new string[9] { "{1:", format, "}{0}{2:", format, "}{0}{3:", format, "}{0}{4:", format, "}" }), new object[5] { numericListSeparator, _x, _y, _width, _height });
		}

		public bool Equals(Rect value)
		{
			return this == value;
		}

		public static bool operator ==(Rect rect1, Rect rect2)
		{
			if (rect1._x == rect2._x && rect1._y == rect2._y && rect1._width == rect2._width)
			{
				return rect1._height == rect2._height;
			}
			return false;
		}

		public static bool operator !=(Rect rect1, Rect rect2)
		{
			return !(rect1 == rect2);
		}

		public bool Equals(object o)
		{
			if (o is Rect)
			{
				return this == (Rect)o;
			}
			return false;
		}

		public int GetHashCode()
		{
			return X.GetHashCode() ^ Y.GetHashCode() ^ Width.GetHashCode() ^ Height.GetHashCode();
		}
	}
	[WindowsRuntimeType("Windows.Foundation.FoundationContract")]
	[WindowsRuntimeHelperType(typeof(ABI.Windows.Foundation.Size))]
	[WinRTExposedType(typeof(StructTypeDetails<Size, Size>))]
	public struct Size
	{
		public float _width;

		public float _height;

		private static readonly Size s_empty = CreateEmptySize();

		public double Width
		{
			get
			{
				return _width;
			}
			set
			{
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				if (value < 0.0)
				{
					throw new ArgumentOutOfRangeException("Width", GSR.ArgumentOutOfRange_NeedNonNegNum);
				}
				_width = (float)value;
			}
		}

		public double Height
		{
			get
			{
				return _height;
			}
			set
			{
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				if (value < 0.0)
				{
					throw new ArgumentOutOfRangeException("Height", GSR.ArgumentOutOfRange_NeedNonNegNum);
				}
				_height = (float)value;
			}
		}

		public static Size Empty => s_empty;

		public bool IsEmpty => Width < 0.0;

		public Size(float width, float height)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_002a: Unknown result type (might be due to invalid IL or missing references)
			if (width < 0f)
			{
				throw new ArgumentOutOfRangeException("width", GSR.ArgumentOutOfRange_NeedNonNegNum);
			}
			if (height < 0f)
			{
				throw new ArgumentOutOfRangeException("height", GSR.ArgumentOutOfRange_NeedNonNegNum);
			}
			_width = width;
			_height = height;
		}

		public Size(double width, double height)
			: this((float)width, (float)height)
		{
		}

		private static Size CreateEmptySize()
		{
			Size result = default(Size);
			result._width = -1f / 0f;
			result._height = -1f / 0f;
			return result;
		}

		public static bool operator ==(Size size1, Size size2)
		{
			if (size1._width == size2._width)
			{
				return size1._height == size2._height;
			}
			return false;
		}

		public static bool operator !=(Size size1, Size size2)
		{
			return !(size1 == size2);
		}

		public bool Equals(object o)
		{
			if (o is Size)
			{
				return Equals(this, (Size)o);
			}
			return false;
		}

		public bool Equals(Size value)
		{
			return Equals(this, value);
		}

		public int GetHashCode()
		{
			if (IsEmpty)
			{
				return 0;
			}
			return Width.GetHashCode() ^ Height.GetHashCode();
		}

		private static bool Equals(Size size1, Size size2)
		{
			if (size1.IsEmpty)
			{
				return size2.IsEmpty;
			}
			if (size1._width.Equals(size2._width))
			{
				return size1._height.Equals(size2._height);
			}
			return false;
		}

		public string ToString()
		{
			if (IsEmpty)
			{
				return "Empty";
			}
			return $"{_width},{_height}";
		}
	}
	public static class TokenizerHelper
	{
		public static char GetNumericListSeparator(IFormatProvider provider)
		{
			char c = ',';
			NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
			if (instance.NumberDecimalSeparator.Length > 0 && c == instance.NumberDecimalSeparator[0])
			{
				c = ';';
			}
			return c;
		}
	}
	internal enum PropertyType : uint
	{
		Empty = 0u,
		UInt8 = 1u,
		Int16 = 2u,
		UInt16 = 3u,
		Int32 = 4u,
		UInt32 = 5u,
		Int64 = 6u,
		UInt64 = 7u,
		Single = 8u,
		Double = 9u,
		Char16 = 10u,
		Boolean = 11u,
		String = 12u,
		Inspectable = 13u,
		DateTime = 14u,
		TimeSpan = 15u,
		Guid = 16u,
		Point = 17u,
		Size = 18u,
		Rect = 19u,
		OtherType = 20u,
		UInt8Array = 1025u,
		Int16Array = 1026u,
		UInt16Array = 1027u,
		Int32Array = 1028u,
		UInt32Array = 1029u,
		Int64Array = 1030u,
		UInt64Array = 1031u,
		SingleArray = 1032u,
		DoubleArray = 1033u,
		Char16Array = 1034u,
		BooleanArray = 1035u,
		StringArray = 1036u,
		InspectableArray = 1037u,
		DateTimeArray = 1038u,
		TimeSpanArray = 1039u,
		GuidArray = 1040u,
		PointArray = 1041u,
		SizeArray = 1042u,
		RectArray = 1043u,
		OtherTypeArray = 1044u
	}
	[Guid("4BD682DD-7554-40E9-9A9B-82654EDE7E62")]
	internal interface IPropertyValue
	{
		bool IsNumericScalar { get; }

		PropertyType Type { get; }

		byte GetUInt8();

		short GetInt16();

		ushort GetUInt16();

		int GetInt32();

		uint GetUInt32();

		long GetInt64();

		ulong GetUInt64();

		float GetSingle();

		double GetDouble();

		char GetChar16();

		bool GetBoolean();

		string GetString();

		Guid GetGuid();

		DateTimeOffset GetDateTime();

		TimeSpan GetTimeSpan();

		Point GetPoint();

		Size GetSize();

		Rect GetRect();

		void GetUInt8Array(out byte[] value);

		void GetInt16Array(out short[] value);

		void GetUInt16Array(out ushort[] value);

		void GetInt32Array(out int[] value);

		void GetUInt32Array(out uint[] value);

		void GetInt64Array(out long[] value);

		void GetUInt64Array(out ulong[] value);

		void GetSingleArray(out float[] value);

		void GetDoubleArray(out double[] value);

		void GetChar16Array(out char[] value);

		void GetBooleanArray(out bool[] value);

		void GetStringArray(out string[] value);

		void GetInspectableArray(out object[] value);

		void GetGuidArray(out Guid[] value);

		void GetDateTimeArray(out DateTimeOffset[] value);

		void GetTimeSpanArray(out TimeSpan[] value);

		void GetPointArray(out Point[] value);

		void GetSizeArray(out Size[] value);

		void GetRectArray(out Rect[] value);
	}
	[Guid("61C17707-2D65-11E0-9AE8-D48564015472")]
	[WindowsRuntimeHelperType(typeof(ABI.Windows.Foundation.IReferenceArray<>))]
	internal interface IReferenceArray<T>
	{
		T[] Value { get; }
	}
}
namespace Windows.Foundation.Collections
{
	[Guid("3C2925FE-8519-45C1-AA79-197B6718C1C1")]
	internal interface IMap<K, V> : IIterable<IKeyValuePair<K, V>>
	{
		uint Size { get; }

		V Lookup(K key);

		bool HasKey(K key);

		IReadOnlyDictionary<K, V> GetView();

		bool Insert(K key, V value);

		void _Remove(K key);

		void Clear();
	}
	[Guid("FAA585EA-6214-4217-AFDA-7F46DE5869B3")]
	internal interface IIterable<T>
	{
		System.Collections.Generic.IEnumerator<T> First();
	}
	[Guid("6A79E863-4300-459A-9966-CBB660963EE1")]
	internal interface IIterator<T>
	{
		T _Current { get; }

		bool HasCurrent { get; }

		bool _MoveNext();

		uint GetMany(ref T[] items);
	}
	[Guid("913337E9-11A1-4345-A3A2-4E7F956E222D")]
	internal interface IVector<T> : IIterable<T>
	{
		uint Size { get; }

		T GetAt(uint index);

		System.Collections.Generic.IReadOnlyList<T> GetView();

		bool IndexOf(T value, out uint index);

		void SetAt(uint index, T value);

		void InsertAt(uint index, T value);

		void RemoveAt(uint index);

		void Append(T value);

		void RemoveAtEnd();

		void _Clear();

		uint GetMany(uint startIndex, ref T[] items);

		void ReplaceAll(T[] items);
	}
	[Guid("E480CE40-A338-4ADA-ADCF-272272E48CB9")]
	internal interface IMapView<K, V> : IIterable<IKeyValuePair<K, V>>
	{
		uint Size { get; }

		V Lookup(K key);

		bool HasKey(K key);

		void Split(out IMapView<K, V> first, out IMapView<K, V> second);
	}
	[Guid("BBE1FA4C-B0E3-4583-BAEF-1F1B2E483E56")]
	internal interface IVectorView<T> : IIterable<T>
	{
		uint Size { get; }

		T GetAt(uint index);

		bool IndexOf(T value, out uint index);

		uint GetMany(uint startIndex, ref T[] items);
	}
	[Guid("02B51929-C1C4-4A7E-8940-0312B5C18500")]
	internal interface IKeyValuePair<K, V>
	{
		K Key { get; }

		V Value { get; }
	}
}
namespace Windows.UI.Xaml
{
	public class LayoutCycleException : System.Exception
	{
		public LayoutCycleException()
			: base("A cycle occurred while laying out the GUI.")
		{
			base.HResult = -2144665580;
		}

		public LayoutCycleException(string message)
			: base(message)
		{
			base.HResult = -2144665580;
		}

		public LayoutCycleException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665580;
		}
	}
}
namespace Windows.UI.Xaml.Markup
{
	public class XamlParseException : System.Exception
	{
		public XamlParseException()
			: base("XAML parsing failed.")
		{
			base.HResult = -2144665590;
		}

		public XamlParseException(string message)
			: base(message)
		{
			base.HResult = -2144665590;
		}

		public XamlParseException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665590;
		}
	}
}
namespace Windows.UI.Xaml.Automation
{
	public class ElementNotAvailableException : System.Exception
	{
		public ElementNotAvailableException()
			: base("The element is not available.")
		{
			base.HResult = -2144665569;
		}

		public ElementNotAvailableException(string message)
			: base(message)
		{
			base.HResult = -2144665569;
		}

		public ElementNotAvailableException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665569;
		}
	}
	public class ElementNotEnabledException : System.Exception
	{
		public ElementNotEnabledException()
			: base("The element is not enabled.")
		{
			base.HResult = -2144665570;
		}

		public ElementNotEnabledException(string message)
			: base(message)
		{
			base.HResult = -2144665570;
		}

		public ElementNotEnabledException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665570;
		}
	}
}
namespace Microsoft.UI.Xaml
{
	public class LayoutCycleException : System.Exception
	{
		public LayoutCycleException()
			: base("A cycle occurred while laying out the GUI.")
		{
			base.HResult = -2144665580;
		}

		public LayoutCycleException(string message)
			: base(message)
		{
			base.HResult = -2144665580;
		}

		public LayoutCycleException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665580;
		}
	}
}
namespace Microsoft.UI.Xaml.Data
{
	[WindowsRuntimeType(null)]
	[WindowsRuntimeHelperType(typeof(ABI.Microsoft.UI.Xaml.Data.ICustomProperty))]
	[Guid("30DA92C0-23E8-42A0-AE7C-734A0E5D2782")]
	internal interface ICustomProperty
	{
		bool CanRead { get; }

		bool CanWrite { get; }

		string Name { get; }

		System.Type Type { get; }

		object GetValue(object target);

		void SetValue(object target, object value);

		object GetIndexedValue(object target, object index);

		void SetIndexedValue(object target, object value, object index);
	}
	public interface IBindableCustomPropertyImplementation
	{
		BindableCustomProperty GetProperty(string name);

		BindableCustomProperty GetProperty(System.Type indexParameterType);
	}
	[WinRTExposedType(typeof(ManagedCustomPropertyWinRTTypeDetails))]
	public sealed class BindableCustomProperty : ICustomProperty
	{
		private readonly bool _canRead;

		private readonly bool _canWrite;

		private readonly string _name;

		private readonly System.Type _type;

		private readonly Func<object, object> _getValue;

		private readonly Action<object, object> _setValue;

		private readonly Func<object, object, object> _getIndexedValue;

		private readonly Action<object, object, object> _setIndexedValue;

		bool ICustomProperty.CanRead => _canRead;

		bool ICustomProperty.CanWrite => _canWrite;

		string ICustomProperty.Name => _name;

		System.Type ICustomProperty.Type => _type;

		public BindableCustomProperty(bool canRead, bool canWrite, string name, System.Type type, Func<object, object> getValue, Action<object, object> setValue, Func<object, object, object> getIndexedValue, Action<object, object, object> setIndexedValue)
		{
			_canRead = canRead;
			_canWrite = canWrite;
			_name = name;
			_type = type;
			_getValue = getValue;
			_setValue = setValue;
			_getIndexedValue = getIndexedValue;
			_setIndexedValue = setIndexedValue;
		}

		object ICustomProperty.GetIndexedValue(object target, object index)
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			if (_getIndexedValue == null)
			{
				throw new NotImplementedException();
			}
			return _getIndexedValue.Invoke(target, index);
		}

		object ICustomProperty.GetValue(object target)
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			if (_getValue == null)
			{
				throw new NotImplementedException();
			}
			return _getValue.Invoke(target);
		}

		void ICustomProperty.SetIndexedValue(object target, object value, object index)
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			if (_setIndexedValue == null)
			{
				throw new NotImplementedException();
			}
			_setIndexedValue.Invoke(target, value, index);
		}

		void ICustomProperty.SetValue(object target, object value)
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			if (_setValue == null)
			{
				throw new NotImplementedException();
			}
			_setValue.Invoke(target, value);
		}
	}
}
namespace Microsoft.UI.Xaml.Interop
{
	[WindowsRuntimeType(null)]
	[Guid("036D2C08-DF29-41AF-8AA2-D774BE62BA6F")]
	[WindowsRuntimeHelperType(typeof(ABI.Microsoft.UI.Xaml.Interop.IBindableIterable))]
	internal interface IBindableIterable
	{
		IBindableIterator First();
	}
	[WindowsRuntimeType(null)]
	[Guid("6A1D6C07-076D-49F2-8314-F52C9C9A8331")]
	[WindowsRuntimeHelperType(typeof(ABI.Microsoft.UI.Xaml.Interop.IBindableIterator))]
	internal interface IBindableIterator
	{
		object Current { get; }

		bool HasCurrent { get; }

		bool MoveNext();

		uint GetMany(ref object[] items);
	}
	[WindowsRuntimeType(null)]
	[Guid("393DE7DE-6FD0-4C0D-BB71-47244A113E93")]
	internal interface IBindableVector : System.Collections.IEnumerable
	{
		uint Size { get; }

		object GetAt(uint index);

		IBindableVectorView GetView();

		bool IndexOf(object value, out uint index);

		void SetAt(uint index, object value);

		void InsertAt(uint index, object value);

		void RemoveAt(uint index);

		void Append(object value);

		void RemoveAtEnd();

		void Clear();
	}
	[WindowsRuntimeType(null)]
	[Guid("346DD6E7-976E-4BC3-815D-ECE243BC0F33")]
	[WindowsRuntimeHelperType(typeof(ABI.Microsoft.UI.Xaml.Interop.IBindableVectorView))]
	internal interface IBindableVectorView : System.Collections.IEnumerable
	{
		uint Size { get; }

		object GetAt(uint index);

		bool IndexOf(object value, out uint index);
	}
}
namespace Microsoft.UI.Xaml.Markup
{
	public class XamlParseException : System.Exception
	{
		public XamlParseException()
			: base("XAML parsing failed.")
		{
			base.HResult = -2144665590;
		}

		public XamlParseException(string message)
			: base(message)
		{
			base.HResult = -2144665590;
		}

		public XamlParseException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665590;
		}
	}
}
namespace Microsoft.UI.Xaml.Automation
{
	public class ElementNotAvailableException : System.Exception
	{
		public ElementNotAvailableException()
			: base("The element is not available.")
		{
			base.HResult = -2144665569;
		}

		public ElementNotAvailableException(string message)
			: base(message)
		{
			base.HResult = -2144665569;
		}

		public ElementNotAvailableException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665569;
		}
	}
	public class ElementNotEnabledException : System.Exception
	{
		public ElementNotEnabledException()
			: base("The element is not enabled.")
		{
			base.HResult = -2144665570;
		}

		public ElementNotEnabledException(string message)
			: base(message)
		{
			base.HResult = -2144665570;
		}

		public ElementNotEnabledException(string message, System.Exception innerException)
			: base(message, innerException)
		{
			base.HResult = -2144665570;
		}
	}
}
namespace ABI.Windows.Foundation
{
	public static class Point
	{
		public static string GetGuidSignature()
		{
			return "struct(Windows.Foundation.Point;f4;f4)";
		}
	}
	public static class Rect
	{
		public static string GetGuidSignature()
		{
			return "struct(Windows.Foundation.Rect;f4;f4;f4;f4)";
		}
	}
	public static class Size
	{
		public static string GetGuidSignature()
		{
			return "struct(Windows.Foundation.Size;f4;f4)";
		}
	}
	internal static class ManagedIPropertyValueImpl
	{
		private const int TYPE_E_TYPEMISMATCH = -2147316576;

		private const int DISP_E_OVERFLOW = -2147352566;

		private static IPropertyValue.Vftbl AbiToProjectionVftable;

		public static nint AbiToProjectionVftablePtr;

		private static volatile Dictionary<global::System.Type, PropertyType> s_numericScalarTypes;

		private static Dictionary<global::System.Type, PropertyType> NumericScalarTypes
		{
			get
			{
				if (s_numericScalarTypes == null)
				{
					Dictionary<global::System.Type, PropertyType> val = new Dictionary<global::System.Type, PropertyType>();
					val.Add(typeof(byte), PropertyType.UInt8);
					val.Add(typeof(short), PropertyType.Int16);
					val.Add(typeof(ushort), PropertyType.UInt16);
					val.Add(typeof(int), PropertyType.Int32);
					val.Add(typeof(uint), PropertyType.UInt32);
					val.Add(typeof(long), PropertyType.Int64);
					val.Add(typeof(ulong), PropertyType.UInt64);
					val.Add(typeof(float), PropertyType.Single);
					val.Add(typeof(double), PropertyType.Double);
					Dictionary<global::System.Type, PropertyType> val2 = val;
					s_numericScalarTypes = val2;
				}
				return s_numericScalarTypes;
			}
		}

		unsafe static ManagedIPropertyValueImpl()
		{
			AbiToProjectionVftable = new IPropertyValue.Vftbl
			{
				IInspectableVftbl = IInspectable.Vftbl.AbiToProjectionVftable,
				_get_Type_0 = (delegate*<nint, PropertyType*, int>)(&Do_Abi_get_Type_0),
				_get_IsNumericScalar_1 = (delegate*<nint, byte*, int>)(&Do_Abi_get_IsNumericScalar_1),
				_GetUInt8_2 = (delegate*<nint, byte*, int>)(&Do_Abi_GetUInt8_2),
				_GetInt16_3 = (delegate*<nint, short*, int>)(&Do_Abi_GetInt16_3),
				_GetUInt16_4 = (delegate*<nint, ushort*, int>)(&Do_Abi_GetUInt16_4),
				_GetInt32_5 = (delegate*<nint, int*, int>)(&Do_Abi_GetInt32_5),
				_GetUInt32_6 = (delegate*<nint, uint*, int>)(&Do_Abi_GetUInt32_6),
				_GetInt64_7 = (delegate*<nint, long*, int>)(&Do_Abi_GetInt64_7),
				_GetUInt64_8 = (delegate*<nint, ulong*, int>)(&Do_Abi_GetUInt64_8),
				_GetSingle_9 = (delegate*<nint, float*, int>)(&Do_Abi_GetSingle_9),
				_GetDouble_10 = (delegate*<nint, double*, int>)(&Do_Abi_GetDouble_10),
				_GetChar16_11 = (delegate*<nint, ushort*, int>)(&Do_Abi_GetChar16_11),
				_GetBoolean_12 = (delegate*<nint, byte*, int>)(&Do_Abi_GetBoolean_12),
				_GetString_13 = (delegate*<nint, nint*, int>)(&Do_Abi_GetString_13),
				_GetGuid_14 = (delegate*<nint, Guid*, int>)(&Do_Abi_GetGuid_14),
				_GetDateTime_15 = (delegate*<nint, DateTimeOffset*, int>)(&Do_Abi_GetDateTime_15),
				_GetTimeSpan_16 = (delegate*<nint, TimeSpan*, int>)(&Do_Abi_GetTimeSpan_16),
				_GetPoint_17 = (delegate*<nint, global::Windows.Foundation.Point*, int>)(&Do_Abi_GetPoint_17),
				_GetSize_18 = (delegate*<nint, global::Windows.Foundation.Size*, int>)(&Do_Abi_GetSize_18),
				_GetRect_19 = (delegate*<nint, global::Windows.Foundation.Rect*, int>)(&Do_Abi_GetRect_19),
				_GetUInt8Array_20 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetUInt8Array_20),
				_GetInt16Array_21 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetInt16Array_21),
				_GetUInt16Array_22 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetUInt16Array_22),
				_GetInt32Array_23 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetInt32Array_23),
				_GetUInt32Array_24 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetUInt32Array_24),
				_GetInt64Array_25 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetInt64Array_25),
				_GetUInt64Array_26 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetUInt64Array_26),
				_GetSingleArray_27 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetSingleArray_27),
				_GetDoubleArray_28 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetDoubleArray_28),
				_GetChar16Array_29 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetChar16Array_29),
				_GetBooleanArray_30 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetBooleanArray_30),
				_GetStringArray_31 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetStringArray_31),
				_GetInspectableArray_32 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetInspectableArray_32),
				_GetGuidArray_33 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetGuidArray_33),
				_GetDateTimeArray_34 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetDateTimeArray_34),
				_GetTimeSpanArray_35 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetTimeSpanArray_35),
				_GetPointArray_36 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetPointArray_36),
				_GetSizeArray_37 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetSizeArray_37),
				_GetRectArray_38 = (delegate*<nint, int*, nint*, int>)(&Do_Abi_GetRectArray_38)
			};
			nint* ptr = (nint*)ComWrappersSupport.AllocateVtableMemory(typeof(ManagedIPropertyValueImpl), sizeof(IInspectable.Vftbl) + sizeof(nint) * 39);
			*(IPropertyValue.Vftbl*)ptr = AbiToProjectionVftable;
			AbiToProjectionVftablePtr = (nint)ptr;
		}

		private static T UnboxValue<T>(object value) where T : struct
		{
			//IL_0028: Unknown result type (might be due to invalid IL or missing references)
			if (value.GetType() == typeof(T))
			{
				return (T)value;
			}
			throw new InvalidCastException("", -2147316576);
		}

		private static T[] UnboxArray<T>(object value) where T : struct
		{
			//IL_0037: Expected O, but got Unknown
			//IL_0042: Unknown result type (might be due to invalid IL or missing references)
			//IL_0049: Expected O, but got Unknown
			//IL_000a: Unknown result type (might be due to invalid IL or missing references)
			if (!(value is global::System.Array array))
			{
				throw new InvalidCastException();
			}
			T[] array2 = new T[array.Length];
			for (int i = 0; i < array.Length; i++)
			{
				try
				{
					array2[i] = UnboxValue<T>(array.GetValue(i));
				}
				catch (InvalidCastException val)
				{
					InvalidCastException val2 = val;
					global::System.Exception ex = (global::System.Exception)new InvalidCastException("", ((global::System.Exception)(object)val2).HResult);
					throw ex;
				}
			}
			return array2;
		}

		private static bool IsCoercable(object value)
		{
			if (value.GetType() == typeof(string) || value.GetType() == typeof(Guid) || value.GetType() != typeof(object))
			{
				return true;
			}
			PropertyType propertyType = default(PropertyType);
			return NumericScalarTypes.TryGetValue(value.GetType(), ref propertyType);
		}

		private static T CoerceValue<T>(object value)
		{
			//IL_0436: Unknown result type (might be due to invalid IL or missing references)
			//IL_0447: Unknown result type (might be due to invalid IL or missing references)
			//IL_0458: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0202: Unknown result type (might be due to invalid IL or missing references)
			//IL_01df: Unknown result type (might be due to invalid IL or missing references)
			//IL_0425: Unknown result type (might be due to invalid IL or missing references)
			if (value is T)
			{
				return (T)value;
			}
			if (value is global::Windows.Foundation.IPropertyValue propertyValue)
			{
				if (typeof(T) == typeof(byte))
				{
					return (T)(object)propertyValue.GetUInt8();
				}
				if (typeof(T) == typeof(short))
				{
					return (T)(object)propertyValue.GetInt16();
				}
				if (typeof(T) == typeof(ushort))
				{
					return (T)(object)propertyValue.GetUInt16();
				}
				if (typeof(T) == typeof(int))
				{
					return (T)(object)propertyValue.GetInt32();
				}
				if (typeof(T) == typeof(uint))
				{
					return (T)(object)propertyValue.GetUInt32();
				}
				if (typeof(T) == typeof(long))
				{
					return (T)(object)propertyValue.GetInt64();
				}
				if (typeof(T) == typeof(ulong))
				{
					return (T)(object)propertyValue.GetUInt64();
				}
				if (typeof(T) == typeof(float))
				{
					return (T)(object)propertyValue.GetSingle();
				}
				if (typeof(T) == typeof(double))
				{
					return (T)(object)propertyValue.GetDouble();
				}
			}
			if (!IsCoercable(value))
			{
				throw new InvalidCastException();
			}
			try
			{
				if (value is string text && typeof(T) == typeof(Guid))
				{
					return (T)(object)Guid.Parse(text);
				}
				if (value is Guid val && typeof(T) == typeof(string))
				{
					return (T)(object)((Guid)(ref val)).ToString("D", (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(byte))
				{
					return (T)(object)Convert.ToByte(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(short))
				{
					return (T)(object)Convert.ToInt16(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(ushort))
				{
					return (T)(object)Convert.ToUInt16(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(int))
				{
					return (T)(object)Convert.ToInt32(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(uint))
				{
					return (T)(object)Convert.ToUInt32(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(long))
				{
					return (T)(object)Convert.ToInt64(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(ulong))
				{
					return (T)(object)Convert.ToUInt64(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(float))
				{
					return (T)(object)Convert.ToSingle(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				if (typeof(T) == typeof(double))
				{
					return (T)(object)Convert.ToDouble(value, (IFormatProvider)(object)CultureInfo.InvariantCulture);
				}
				throw new InvalidCastException("", -2147316576);
			}
			catch (FormatException)
			{
				throw new InvalidCastException("", -2147316576);
			}
			catch (InvalidCastException)
			{
				throw new InvalidCastException("", -2147316576);
			}
			catch (OverflowException)
			{
				throw new InvalidCastException("", -2147352566);
			}
		}

		private static T[] CoerceArray<T>(object value)
		{
			//IL_0044: Expected O, but got Unknown
			//IL_0050: Unknown result type (might be due to invalid IL or missing references)
			//IL_0057: Expected O, but got Unknown
			//IL_0016: Unknown result type (might be due to invalid IL or missing references)
			if (value is T[] result)
			{
				return result;
			}
			if (!(value is global::System.Array array))
			{
				throw new InvalidCastException();
			}
			T[] array2 = new T[array.Length];
			for (int i = 0; i < array.Length; i++)
			{
				try
				{
					array2[i] = CoerceValue<T>(array.GetValue(i));
				}
				catch (InvalidCastException val)
				{
					InvalidCastException val2 = val;
					global::System.Exception ex = (global::System.Exception)new InvalidCastException("", ((global::System.Exception)(object)val2).HResult);
					throw ex;
				}
			}
			return array2;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt8_2(nint thisPtr, byte* value)
		{
			try
			{
				*value = CoerceValue<byte>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInt16_3(nint thisPtr, short* value)
		{
			try
			{
				*value = CoerceValue<short>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt16_4(nint thisPtr, ushort* value)
		{
			try
			{
				*value = CoerceValue<ushort>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInt32_5(nint thisPtr, int* value)
		{
			try
			{
				*value = CoerceValue<int>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt32_6(nint thisPtr, uint* value)
		{
			try
			{
				*value = CoerceValue<uint>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInt64_7(nint thisPtr, long* value)
		{
			try
			{
				*value = CoerceValue<long>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt64_8(nint thisPtr, ulong* value)
		{
			try
			{
				*value = CoerceValue<ulong>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetSingle_9(nint thisPtr, float* value)
		{
			try
			{
				*value = CoerceValue<float>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetDouble_10(nint thisPtr, double* value)
		{
			try
			{
				*value = CoerceValue<double>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetChar16_11(nint thisPtr, ushort* value)
		{
			try
			{
				*value = CoerceValue<char>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetBoolean_12(nint thisPtr, byte* value)
		{
			try
			{
				*value = (CoerceValue<bool>(ComWrappersSupport.FindObject<object>(thisPtr)) ? ((byte)1) : ((byte)0));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetString_13(nint thisPtr, nint* value)
		{
			try
			{
				*value = MarshalString.FromManaged(CoerceValue<string>(ComWrappersSupport.FindObject<object>(thisPtr)));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetGuid_14(nint thisPtr, Guid* value)
		{
			//IL_0007: Unknown result type (might be due to invalid IL or missing references)
			//IL_000c: Unknown result type (might be due to invalid IL or missing references)
			try
			{
				global::System.Runtime.CompilerServices.Unsafe.Write(value, CoerceValue<Guid>(ComWrappersSupport.FindObject<object>(thisPtr)));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetDateTime_15(nint thisPtr, DateTimeOffset* value)
		{
			//IL_0007: Unknown result type (might be due to invalid IL or missing references)
			try
			{
				*value = DateTimeOffset.FromManaged(CoerceValue<DateTimeOffset>(ComWrappersSupport.FindObject<object>(thisPtr)));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetTimeSpan_16(nint thisPtr, TimeSpan* value)
		{
			//IL_0007: Unknown result type (might be due to invalid IL or missing references)
			try
			{
				*value = TimeSpan.FromManaged(CoerceValue<TimeSpan>(ComWrappersSupport.FindObject<object>(thisPtr)));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetPoint_17(nint thisPtr, global::Windows.Foundation.Point* value)
		{
			try
			{
				*value = UnboxValue<global::Windows.Foundation.Point>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetSize_18(nint thisPtr, global::Windows.Foundation.Size* value)
		{
			try
			{
				*value = UnboxValue<global::Windows.Foundation.Size>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetRect_19(nint thisPtr, global::Windows.Foundation.Rect* value)
		{
			try
			{
				*value = UnboxValue<global::Windows.Foundation.Rect>(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt8Array_20(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			byte[] array = null;
			try
			{
				array = CoerceArray<byte>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<byte>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInt16Array_21(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			short[] array = null;
			try
			{
				array = CoerceArray<short>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<short>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt16Array_22(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			ushort[] array = null;
			try
			{
				array = CoerceArray<ushort>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<ushort>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInt32Array_23(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			int[] array = null;
			try
			{
				array = CoerceArray<int>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<int>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt32Array_24(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			uint[] array = null;
			try
			{
				array = CoerceArray<uint>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<uint>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInt64Array_25(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			long[] array = null;
			try
			{
				array = CoerceArray<long>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<long>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetUInt64Array_26(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			ulong[] array = null;
			try
			{
				array = CoerceArray<ulong>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<ulong>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetSingleArray_27(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			float[] array = null;
			try
			{
				array = CoerceArray<float>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<float>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetDoubleArray_28(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			double[] array = null;
			try
			{
				array = CoerceArray<double>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<double>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetChar16Array_29(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			char[] array = null;
			try
			{
				array = CoerceArray<char>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalNonBlittable<char>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetBooleanArray_30(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			bool[] array = null;
			try
			{
				array = CoerceArray<bool>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalNonBlittable<bool>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetStringArray_31(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			string[] array = null;
			try
			{
				array = CoerceArray<string>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalString.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetInspectableArray_32(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			object[] array = null;
			try
			{
				array = CoerceArray<object>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalInspectable<object>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetGuidArray_33(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			Guid[] array = null;
			try
			{
				array = CoerceArray<Guid>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<Guid>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetDateTimeArray_34(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			DateTimeOffset[] array = null;
			try
			{
				array = CoerceArray<DateTimeOffset>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalNonBlittable<DateTimeOffset>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetTimeSpanArray_35(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			TimeSpan[] array = null;
			try
			{
				array = CoerceArray<TimeSpan>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalNonBlittable<TimeSpan>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetPointArray_36(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			global::Windows.Foundation.Point[] array = null;
			try
			{
				array = UnboxArray<global::Windows.Foundation.Point>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<global::Windows.Foundation.Point>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetSizeArray_37(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			global::Windows.Foundation.Size[] array = null;
			try
			{
				array = UnboxArray<global::Windows.Foundation.Size>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<global::Windows.Foundation.Size>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_GetRectArray_38(nint thisPtr, int* __valueSize, nint* value)
		{
			//IL_0012: Unknown result type (might be due to invalid IL or missing references)
			//IL_0017: Unknown result type (might be due to invalid IL or missing references)
			//IL_0018: Unknown result type (might be due to invalid IL or missing references)
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			global::Windows.Foundation.Rect[] array = null;
			try
			{
				array = UnboxArray<global::Windows.Foundation.Rect>(ComWrappersSupport.FindObject<object>(thisPtr));
				ref nint reference = ref *value;
				ValueTuple<int, nint> val = MarshalBlittable<global::Windows.Foundation.Rect>.FromManagedArray(array);
				*__valueSize = val.Item1;
				reference = val.Item2;
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_get_IsNumericScalar_1(nint thisPtr, byte* value)
		{
			try
			{
				PropertyType propertyType = default(PropertyType);
				*value = (NumericScalarTypes.TryGetValue(ComWrappersSupport.FindObject<object>(thisPtr).GetType(), ref propertyType) ? ((byte)1) : ((byte)0));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		[UnmanagedCallersOnly]
		private unsafe static int Do_Abi_get_Type_0(nint thisPtr, PropertyType* value)
		{
			try
			{
				*value = GetPropertyTypeOfObject(ComWrappersSupport.FindObject<object>(thisPtr));
			}
			catch (global::System.Exception ex)
			{
				ExceptionHelpers.SetErrorInfo(ex);
				return ExceptionHelpers.GetHRForException(ex);
			}
			return 0;
		}

		private static PropertyType GetPropertyTypeOfObject(object obj)
		{
			global::System.Type type = obj.GetType();
			bool isArray = type.IsArray;
			if (isArray)
			{
				type = type.GetElementType();
			}
			PropertyType propertyType = default(PropertyType);
			if (!NumericScalarTypes.TryGetValue(type, ref propertyType))
			{
				propertyType = ((type == typeof(string)) ? PropertyType.String : ((type == typeof(char)) ? PropertyType.Char16 : ((type == typeof(bool)) ? PropertyType.Boolean : ((type == typeof(DateTimeOffset)) ? PropertyType.DateTime : ((type == typeof(TimeSpan)) ? PropertyType.TimeSpan : ((type == typeof(Guid)) ? PropertyType.Guid : ((string.CompareOrdinal(type.FullName, "Windows.Foundation.Point") == 0) ? PropertyType.Point : ((string.CompareOrdinal(type.FullName, "Windows.Foundation.Rect") == 0) ? PropertyType.Rect : ((string.CompareOrdinal(type.FullName, "Windows.Foundation.Size") == 0) ? PropertyType.Size : ((type == typeof(object)) ? PropertyType.Inspectable : (typeof(global::System.Delegate).IsAssignableFrom(type) ? PropertyType.OtherType : ((!(!type.IsValueType && type != typeof(global::System.Type) && isArray)) ? PropertyType.OtherType : PropertyType.Inspectable))))))))))));
			}
			if (isArray)
			{
				propertyType += 1024;
			}
			return propertyType;
		}
	}
	[DynamicInterfaceCastableImplementation]
	[Guid("4BD682DD-7554-40E9-9A9B-82654EDE7E62")]
	internal interface IPropertyValue : global::Windows.Foundation.IPropertyValue
	{
		[Guid("4BD682DD-7554-40E9-9A9B-82654EDE7E62")]
		public struct Vftbl
		{
			internal IInspectable.Vftbl IInspectableVftbl;

			internal unsafe void* _get_Type_0;

			public unsafe void* _get_IsNumericScalar_1;

			internal unsafe void* _GetUInt8_2;

			internal unsafe void* _GetInt16_3;

			internal unsafe void* _GetUInt16_4;

			internal unsafe void* _GetInt32_5;

			internal unsafe void* _GetUInt32_6;

			internal unsafe void* _GetInt64_7;

			internal unsafe void* _GetUInt64_8;

			internal unsafe void* _GetSingle_9;

			internal unsafe void* _GetDouble_10;

			internal unsafe void* _GetChar16_11;

			internal unsafe void* _GetBoolean_12;

			internal unsafe void* _GetString_13;

			internal unsafe void* _GetGuid_14;

			internal unsafe void* _GetDateTime_15;

			internal unsafe void* _GetTimeSpan_16;

			internal unsafe void* _GetPoint_17;

			internal unsafe void* _GetSize_18;

			internal unsafe void* _GetRect_19;

			internal unsafe void* _GetUInt8Array_20;

			internal unsafe void* _GetInt16Array_21;

			internal unsafe void* _GetUInt16Array_22;

			internal unsafe void* _GetInt32Array_23;

			internal unsafe void* _GetUInt32Array_24;

			internal unsafe void* _GetInt64Array_25;

			internal unsafe void* _GetUInt64Array_26;

			internal unsafe void* _GetSingleArray_27;

			internal unsafe void* _GetDoubleArray_28;

			internal unsafe void* _GetChar16Array_29;

			internal unsafe void* _GetBooleanArray_30;

			internal unsafe void* _GetStringArray_31;

			internal unsafe void* _GetInspectableArray_32;

			internal unsafe void* _GetGuidArray_33;

			internal unsafe void* _GetDateTimeArray_34;

			internal unsafe void* _GetTimeSpanArray_35;

			internal unsafe void* _GetPointArray_36;

			internal unsafe void* _GetSizeArray_37;

			internal unsafe void* _GetRectArray_38;

			public unsafe delegate* unmanaged[Stdcall]<nint, PropertyType*, int> get_Type_0
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, PropertyType*, int>)_get_Type_0;
				}
				set
				{
					_get_Type_0 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, byte*, int> get_IsNumericScalar_1
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, byte*, int>)_get_IsNumericScalar_1;
				}
				set
				{
					_get_IsNumericScalar_1 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, byte*, int> GetUInt8_2
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, byte*, int>)_GetUInt8_2;
				}
				set
				{
					_GetUInt8_2 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, short*, int> GetInt16_3
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, short*, int>)_GetInt16_3;
				}
				set
				{
					_GetInt16_3 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, ushort*, int> GetUInt16_4
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, ushort*, int>)_GetUInt16_4;
				}
				set
				{
					_GetUInt16_4 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, int> GetInt32_5
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, int>)_GetInt32_5;
				}
				set
				{
					_GetInt32_5 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, uint*, int> GetUInt32_6
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, uint*, int>)_GetUInt32_6;
				}
				set
				{
					_GetUInt32_6 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, long*, int> GetInt64_7
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, long*, int>)_GetInt64_7;
				}
				set
				{
					_GetInt64_7 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, ulong*, int> GetUInt64_8
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, ulong*, int>)_GetUInt64_8;
				}
				set
				{
					_GetUInt64_8 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, float*, int> GetSingle_9
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, float*, int>)_GetSingle_9;
				}
				set
				{
					_GetSingle_9 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, double*, int> GetDouble_10
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, double*, int>)_GetDouble_10;
				}
				set
				{
					_GetDouble_10 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, ushort*, int> GetChar16_11
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, ushort*, int>)_GetChar16_11;
				}
				set
				{
					_GetChar16_11 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, byte*, int> GetBoolean_12
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, byte*, int>)_GetBoolean_12;
				}
				set
				{
					_GetBoolean_12 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, nint*, int> GetString_13
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, nint*, int>)_GetString_13;
				}
				set
				{
					_GetString_13 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, Guid*, int> GetGuid_14
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, Guid*, int>)_GetGuid_14;
				}
				set
				{
					_GetGuid_14 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, DateTimeOffset*, int> GetDateTime_15
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, DateTimeOffset*, int>)_GetDateTime_15;
				}
				set
				{
					_GetDateTime_15 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, TimeSpan*, int> GetTimeSpan_16
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, TimeSpan*, int>)_GetTimeSpan_16;
				}
				set
				{
					_GetTimeSpan_16 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, global::Windows.Foundation.Point*, int> GetPoint_17
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, global::Windows.Foundation.Point*, int>)_GetPoint_17;
				}
				set
				{
					_GetPoint_17 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, global::Windows.Foundation.Size*, int> GetSize_18
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, global::Windows.Foundation.Size*, int>)_GetSize_18;
				}
				set
				{
					_GetSize_18 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, global::Windows.Foundation.Rect*, int> GetRect_19
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, global::Windows.Foundation.Rect*, int>)_GetRect_19;
				}
				set
				{
					_GetRect_19 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetUInt8Array_20
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetUInt8Array_20;
				}
				set
				{
					_GetUInt8Array_20 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetInt16Array_21
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetInt16Array_21;
				}
				set
				{
					_GetInt16Array_21 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetUInt16Array_22
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetUInt16Array_22;
				}
				set
				{
					_GetUInt16Array_22 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetInt32Array_23
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetInt32Array_23;
				}
				set
				{
					_GetInt32Array_23 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetUInt32Array_24
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetUInt32Array_24;
				}
				set
				{
					_GetUInt32Array_24 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetInt64Array_25
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetInt64Array_25;
				}
				set
				{
					_GetInt64Array_25 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetUInt64Array_26
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetUInt64Array_26;
				}
				set
				{
					_GetUInt64Array_26 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetSingleArray_27
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetSingleArray_27;
				}
				set
				{
					_GetSingleArray_27 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetDoubleArray_28
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetDoubleArray_28;
				}
				set
				{
					_GetDoubleArray_28 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetChar16Array_29
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetChar16Array_29;
				}
				set
				{
					_GetChar16Array_29 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetBooleanArray_30
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetBooleanArray_30;
				}
				set
				{
					_GetBooleanArray_30 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetStringArray_31
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetStringArray_31;
				}
				set
				{
					_GetStringArray_31 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetInspectableArray_32
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetInspectableArray_32;
				}
				set
				{
					_GetInspectableArray_32 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetGuidArray_33
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetGuidArray_33;
				}
				set
				{
					_GetGuidArray_33 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetDateTimeArray_34
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetDateTimeArray_34;
				}
				set
				{
					_GetDateTimeArray_34 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetTimeSpanArray_35
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetTimeSpanArray_35;
				}
				set
				{
					_GetTimeSpanArray_35 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetPointArray_36
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetPointArray_36;
				}
				set
				{
					_GetPointArray_36 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetSizeArray_37
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetSizeArray_37;
				}
				set
				{
					_GetSizeArray_37 = value;
				}
			}

			public unsafe delegate* unmanaged[Stdcall]<nint, int*, nint*, int> GetRectArray_38
			{
				get
				{
					return (delegate* unmanaged[Stdcall]<nint, int*, nint*, int>)_GetRectArray_38;
				}
				set
				{
					_GetRectArray_38 = value;
				}
			}
		}

		unsafe bool global::Windows.Foundation.IPropertyValue.IsNumericScalar
		{
			get
			{
				//IL_0010: Unknown result type (might be due to invalid IL or missing references)
				ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
				nint thisPtr = objectReference.ThisPtr;
				byte b = 0;
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.get_IsNumericScalar_1(thisPtr, &b));
				GC.KeepAlive((object)objectReference);
				return b != 0;
			}
		}

		unsafe PropertyType global::Windows.Foundation.IPropertyValue.Type
		{
			get
			{
				//IL_0010: Unknown result type (might be due to invalid IL or missing references)
				ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
				nint thisPtr = objectReference.ThisPtr;
				PropertyType result = PropertyType.Empty;
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.get_Type_0(thisPtr, &result));
				GC.KeepAlive((object)objectReference);
				return result;
			}
		}

		unsafe byte global::Windows.Foundation.IPropertyValue.GetUInt8()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			byte result = 0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt8_2(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe short global::Windows.Foundation.IPropertyValue.GetInt16()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			short result = 0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInt16_3(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe ushort global::Windows.Foundation.IPropertyValue.GetUInt16()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			ushort result = 0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt16_4(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe int global::Windows.Foundation.IPropertyValue.GetInt32()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int result = 0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInt32_5(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe uint global::Windows.Foundation.IPropertyValue.GetUInt32()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			uint result = 0u;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt32_6(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe long global::Windows.Foundation.IPropertyValue.GetInt64()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			long result = 0L;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInt64_7(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe ulong global::Windows.Foundation.IPropertyValue.GetUInt64()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			ulong result = 0uL;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt64_8(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe float global::Windows.Foundation.IPropertyValue.GetSingle()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			float result = 0f;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetSingle_9(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe double global::Windows.Foundation.IPropertyValue.GetDouble()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			double result = 0.0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetDouble_10(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe char global::Windows.Foundation.IPropertyValue.GetChar16()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			ushort result = 0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetChar16_11(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return (char)result;
		}

		unsafe bool global::Windows.Foundation.IPropertyValue.GetBoolean()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			byte b = 0;
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetBoolean_12(thisPtr, &b));
			GC.KeepAlive((object)objectReference);
			return b != 0;
		}

		unsafe string global::Windows.Foundation.IPropertyValue.GetString()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			nint num = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetString_13(thisPtr, &num));
				GC.KeepAlive((object)objectReference);
				return MarshalString.FromAbi(num);
			}
			finally
			{
				MarshalString.DisposeAbi(num);
			}
		}

		unsafe Guid global::Windows.Foundation.IPropertyValue.GetGuid()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_0029: Unknown result type (might be due to invalid IL or missing references)
			//IL_0055: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			Guid result = default(Guid);
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetGuid_14(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe DateTimeOffset global::Windows.Foundation.IPropertyValue.GetDateTime()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0066: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			DateTimeOffset dateTimeOffset = default(DateTimeOffset);
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetDateTime_15(thisPtr, &dateTimeOffset));
				GC.KeepAlive((object)objectReference);
				return DateTimeOffset.FromAbi(dateTimeOffset);
			}
			finally
			{
				DateTimeOffset.DisposeAbi(dateTimeOffset);
			}
		}

		unsafe TimeSpan global::Windows.Foundation.IPropertyValue.GetTimeSpan()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0066: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			TimeSpan timeSpan = default(TimeSpan);
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetTimeSpan_16(thisPtr, &timeSpan));
				GC.KeepAlive((object)objectReference);
				return TimeSpan.FromAbi(timeSpan);
			}
			finally
			{
				TimeSpan.DisposeAbi(timeSpan);
			}
		}

		unsafe global::Windows.Foundation.Point global::Windows.Foundation.IPropertyValue.GetPoint()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			global::Windows.Foundation.Point result = default(global::Windows.Foundation.Point);
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetPoint_17(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe global::Windows.Foundation.Size global::Windows.Foundation.IPropertyValue.GetSize()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			global::Windows.Foundation.Size result = default(global::Windows.Foundation.Size);
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetSize_18(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe global::Windows.Foundation.Rect global::Windows.Foundation.IPropertyValue.GetRect()
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			global::Windows.Foundation.Rect result = default(global::Windows.Foundation.Rect);
			ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetRect_19(thisPtr, &result));
			GC.KeepAlive((object)objectReference);
			return result;
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetUInt8Array(out byte[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt8Array_20(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<byte>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<byte>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetInt16Array(out short[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInt16Array_21(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<short>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<short>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetUInt16Array(out ushort[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt16Array_22(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<ushort>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<ushort>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetInt32Array(out int[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInt32Array_23(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<int>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<int>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetUInt32Array(out uint[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt32Array_24(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<uint>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<uint>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetInt64Array(out long[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInt64Array_25(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<long>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<long>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetUInt64Array(out ulong[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetUInt64Array_26(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<ulong>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<ulong>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetSingleArray(out float[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetSingleArray_27(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<float>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<float>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetDoubleArray(out double[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetDoubleArray_28(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalBlittable<double>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalBlittable<double>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetChar16Array(out char[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetChar16Array_29(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalNonBlittable<char>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalNonBlittable<char>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetBooleanArray(out bool[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetBooleanArray_30(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalNonBlittable<bool>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalNonBlittable<bool>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetStringArray(out string[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetStringArray_31(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalString.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalString.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetInspectableArray(out object[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).GetObjectReferenceForType(typeof(global::Windows.Foundation.IPropertyValue).TypeHandle);
			nint thisPtr = objectReference.ThisPtr;
			int num = 0;
			nint num2 = 0;
			try
			{
				ExceptionHelpers.ThrowExceptionForHR(objectReference.Vftbl.GetInspectableArray_32(thisPtr, &num, &num2));
				GC.KeepAlive((object)objectReference);
				value = MarshalInspectable<object>.FromAbiArray(new ValueTuple<int, nint>(num, num2));
			}
			finally
			{
				MarshalInspectable<object>.DisposeAbiArray(new ValueTuple<int, nint>(num, num2));
			}
		}

		unsafe void global::Windows.Foundation.IPropertyValue.GetGuidArray(out Guid[] value)
		{
			//IL_0010: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0059: Unknown result type (might be due to invalid IL or missing references)
			ObjectReference<Vftbl> objectReference = (ObjectReference<Vftbl>)((IWinRTObject)this).Ge