13412 lines
618 KiB
C++
13412 lines
618 KiB
C++
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
#include <stdint.h>
|
|
|
|
|
|
struct VirtualActionInvoker0
|
|
{
|
|
typedef void (*Action)(void*, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1>
|
|
struct VirtualActionInvoker1
|
|
{
|
|
typedef void (*Action)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R>
|
|
struct VirtualFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R>
|
|
struct InterfaceFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R, typename T1>
|
|
struct InterfaceFuncInvoker1
|
|
{
|
|
typedef R (*Func)(void*, T1, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj, T1 p1)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
return ((Func)invokeData.methodPtr)(obj, p1, invokeData.method);
|
|
}
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<System.Text.RegularExpressions.Regex/CachedCodeEntryKey,System.Text.RegularExpressions.Regex/CachedCodeEntry>
|
|
struct Dictionary_2_t5B5B38BB06341F50E1C75FB53208A2A66CAE57F7;
|
|
// System.Collections.Generic.List`1<UnityEngine.Events.UnityAction`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>>
|
|
struct List_1_tAD91F1F4316FB265F7D855830F97F91B83BD41E6;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>
|
|
struct List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.AudioTrack>
|
|
struct List_1_t01FE6F9654EFF2B2927CF4D2E59CACCB98F0E09E;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>
|
|
struct List_1_t348DB816683936C664231900D6E77653B7AE20F8;
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Subtitle>
|
|
struct List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.TextTrack>
|
|
struct List_1_t1D958AD636939DBB380E0BCEC16704959FA0D9D8;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.VideoTrack>
|
|
struct List_1_tC13401FC5A9D5F32E43EE93D30006C9BDC6E95B2;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.AudioTrack>
|
|
struct TrackCollection_1_t4A8C574B884ED2EBC42CC852474738C9C9A1A5C6;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<System.Object>
|
|
struct TrackCollection_1_t8A81433EBB19D9229A6D2F01013DB9ADE3C867E9;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.TextTrack>
|
|
struct TrackCollection_1_t7D45897E2C63836954B42BAF3EAEB04BB7C9B2B1;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.VideoTrack>
|
|
struct TrackCollection_1_t430D1159840E86C352B92A53895CB43177A8C6FD;
|
|
// UnityEngine.Events.UnityAction`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>
|
|
struct UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81;
|
|
// UnityEngine.Events.UnityAction`3<System.Object,System.Int32Enum,System.Int32Enum>
|
|
struct UnityAction_3_t6DD5B8ECD125F220BE7E9DFC165CEEB0FC1165E1;
|
|
// System.WeakReference`1<System.Text.RegularExpressions.RegexReplacement>
|
|
struct WeakReference_1_tDC6E83496181D1BAFA3B89CBC00BCD0B64450257;
|
|
// RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[][]
|
|
struct TimestampedRenderTextureU5BU5DU5BU5D_tBBC8182D587F4D26564A4AD91046B8C686FD9FA1;
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
// System.Char[]
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
// RenderHeads.Media.AVProVideo.HttpHeader[]
|
|
struct HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// UnityEngine.RenderTexture[]
|
|
struct RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6;
|
|
// System.Single[]
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
// RenderHeads.Media.AVProVideo.Subtitle[]
|
|
struct SubtitleU5BU5D_t5EBA6FFB4E7430E0C3C96F58BB6B528DEF9518D1;
|
|
// UnityEngine.Texture[]
|
|
struct TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46;
|
|
// RenderHeads.Media.AVProVideo.TimeRange[]
|
|
struct TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection[]
|
|
struct TrackCollectionU5BU5D_tB9BDCAC0A65CF417E91F0967707E1637D7F9AFCA;
|
|
// RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]
|
|
struct TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380;
|
|
// UnityEngine.AudioSource
|
|
struct AudioSource_t871AC2272F896738252F04EE949AEF5B241D3299;
|
|
// RenderHeads.Media.AVProVideo.AudioTrack
|
|
struct AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7;
|
|
// RenderHeads.Media.AVProVideo.AudioTracks
|
|
struct AudioTracks_t6A73CB5D4C2BC6FDA6F5C276B8DF23583601570F;
|
|
// RenderHeads.Media.AVProVideo.BaseMediaPlayer
|
|
struct BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104;
|
|
// UnityEngine.Camera
|
|
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184;
|
|
// UnityEngine.Coroutine
|
|
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B;
|
|
// System.DelegateData
|
|
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
|
|
// UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB;
|
|
// System.Text.RegularExpressions.ExclusiveReference
|
|
struct ExclusiveReference_t411F04D4CC440EB7399290027E1BBABEF4C28837;
|
|
// System.FormatException
|
|
struct FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B;
|
|
// System.Collections.Hashtable
|
|
struct Hashtable_tEFC3B6496E6747787D8BB761B51F2AE3A8CFFE2D;
|
|
// RenderHeads.Media.AVProVideo.HttpHeaderData
|
|
struct HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5;
|
|
// RenderHeads.Media.AVProVideo.IAudioTracks
|
|
struct IAudioTracks_t8A3F2CDDD50C5D19774FF02BF9A47145CCF02FD8;
|
|
// RenderHeads.Media.AVProVideo.IBufferedDisplay
|
|
struct IBufferedDisplay_tC7A73FFB9F297222B9BA8B295A424C12E7814A25;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// System.IDisposable
|
|
struct IDisposable_t030E0496B4E0E4E4F086825007979AF51F7248C5;
|
|
// System.Collections.IEnumerator
|
|
struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
|
|
// RenderHeads.Media.AVProVideo.IMediaCache
|
|
struct IMediaCache_t66A8FB6CD99EF62F7026A5B437F9477DF0221132;
|
|
// RenderHeads.Media.AVProVideo.IMediaControl
|
|
struct IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF;
|
|
// RenderHeads.Media.AVProVideo.IMediaInfo
|
|
struct IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0;
|
|
// RenderHeads.Media.AVProVideo.IMediaPlayer
|
|
struct IMediaPlayer_t42FED49F372A58B9C162F0F9A5A46F0295CCF57E;
|
|
// RenderHeads.Media.AVProVideo.IMediaSubtitles
|
|
struct IMediaSubtitles_tDD9AB10BDDA2246008993E0EA85F072D7CD35585;
|
|
// RenderHeads.Media.AVProVideo.ITextTracks
|
|
struct ITextTracks_t67CB72054756889C5C2786039E1EDDCA4038382F;
|
|
// RenderHeads.Media.AVProVideo.ITextureProducer
|
|
struct ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4;
|
|
// RenderHeads.Media.AVProVideo.IVideoTracks
|
|
struct IVideoTracks_tDDFAA12F121DE28E876F66D19135CA918E6405AA;
|
|
// UnityEngine.Events.InvokableCallList
|
|
struct InvokableCallList_t309E1C8C7CE885A0D2F98C84CEA77A8935688382;
|
|
// RenderHeads.Media.AVProVideo.KeyAuthData
|
|
struct KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092;
|
|
// UnityEngine.Material
|
|
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
|
|
// RenderHeads.Media.AVProVideo.MediaPath
|
|
struct MediaPath_t8AD36B2B518A8A90D83F7EB4F6533B9BFF9DC04F;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer
|
|
struct MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayerEvent
|
|
struct MediaPlayerEvent_t121509C282EF0611D2925165D8D101C0CDD759A8;
|
|
// RenderHeads.Media.AVProVideo.MediaReference
|
|
struct MediaReference_t8FD65045987DB0F4D07210AD684E87212147E2C9;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// RenderHeads.Media.AVProVideo.NullMediaPlayer
|
|
struct NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E;
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
// UnityEngine.Events.PersistentCallGroup
|
|
struct PersistentCallGroup_tB826EDF15DC80F71BCBCD8E410FD959A04C33F25;
|
|
// RenderHeads.Media.AVProVideo.PlaybackQualityStats
|
|
struct PlaybackQualityStats_tDAABE7EB8C2E4CC93A294AF665FAE35484DC34CC;
|
|
// System.Text.RegularExpressions.Regex
|
|
struct Regex_tE773142C2BE45C5D362B0F815AFF831707A51772;
|
|
// System.Text.RegularExpressions.RegexCode
|
|
struct RegexCode_tA23175D9DA02AD6A79B073E10EC5D225372ED6C7;
|
|
// System.Text.RegularExpressions.RegexRunnerFactory
|
|
struct RegexRunnerFactory_t72373B672C7D8785F63516DDD88834F286AF41E7;
|
|
// UnityEngine.RenderTexture
|
|
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27;
|
|
// RenderHeads.Media.AVProVideo.Resampler
|
|
struct Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// UnityEngine.Shader
|
|
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692;
|
|
// System.String
|
|
struct String_t;
|
|
// RenderHeads.Media.AVProVideo.Subtitle
|
|
struct Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638;
|
|
// RenderHeads.Media.AVProVideo.SubtitlePlayer
|
|
struct SubtitlePlayer_t23DC35AB9EBDB5080FCF3DED4D2D1D64170C0615;
|
|
// RenderHeads.Media.AVProVideo.SubtitleUtils
|
|
struct SubtitleUtils_tB6588297E78CC67673FB47CB0DC3D98F4E8FE54E;
|
|
// RenderHeads.Media.AVProVideo.TextCue
|
|
struct TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210;
|
|
// RenderHeads.Media.AVProVideo.TextTrack
|
|
struct TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31;
|
|
// RenderHeads.Media.AVProVideo.TextTracks
|
|
struct TextTracks_tF24853BCB513D5A858C8CD3A8ED08961CC1DA68D;
|
|
// UnityEngine.Texture
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700;
|
|
// UnityEngine.Texture2D
|
|
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
|
|
// RenderHeads.Media.AVProVideo.TimeRanges
|
|
struct TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594;
|
|
// RenderHeads.Media.AVProVideo.TrackBase
|
|
struct TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection
|
|
struct TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C;
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
|
|
// RenderHeads.Media.AVProVideo.VideoRender
|
|
struct VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F;
|
|
// RenderHeads.Media.AVProVideo.VideoTrack
|
|
struct VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81;
|
|
// RenderHeads.Media.AVProVideo.VideoTracks
|
|
struct VideoTracks_tA329271899DFDD262477C3EDEC0BC4619B78B43E;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// RenderHeads.Media.AVProVideo.WebGLMediaPlayer
|
|
struct WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid
|
|
struct OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsApple
|
|
struct OptionsApple_t496EC04E4BBDFCADE77190404AEE62DC514AC56E;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL
|
|
struct OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWindows
|
|
struct OptionsWindows_t724D824EE751C9E6B9ED05C9997062237CEDF787;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWindowsUWP
|
|
struct OptionsWindowsUWP_tD439C6865888A85D4F40D4A9E5415BAA64CD17B5;
|
|
// System.Text.RegularExpressions.Regex/CachedCodeEntry
|
|
struct CachedCodeEntry_tE201C3AD65C234AD9ED7A78C95025824A7A9FF39;
|
|
// RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture
|
|
struct TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GUI_tA9CDB3D69DB13D51AD83ABDB587EF95947EC2D2A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* IntPtr_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t348DB816683936C664231900D6E77653B7AE20F8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0BF3C245D30A858E114A60A1CA10B183FC44771C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0CFF853ED08FCFAB98A89B5B716B7EF1B1D5C2CB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral10EA4E5EFF41124EDF14E3BECA92F08426A01666;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral12A524A4F9469BCE0EB406BC279885C0DF9528E0;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1320877E539EA04F144D5C0EE41A612A530FD4CA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral15235BC74165BBF5347EE41E8B0CA2D1D04C3586;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral20FF46EC5E6AE829985A8B644662841F423BF954;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral2E966C309AC3040D7968E7959BEF68433E5D4571;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral32C206406C9F4ABAF61F1F335D775AB68C56FA99;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral36C4B4074DE0349A5A7A3CEF8600D92296824996;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3AE148F4539A6130C80EF45C5441F068ADBF8C8C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3C36CD238383C63FF066F9E7664CA73025A8D111;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3F42B9F0F106EADBC5A6D35B0C706AB9041D29C8;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral43B7533C6955A825756D5C55BDA5B3FA2E6A97F9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral43EAAC296F64D7E382A237C2F92A1F0BC6D59ABE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral45B5280635F9562E92DC9110D20BD17FF160DFB7;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral46FDE9A8C2A782D692F25006593F78DF1625D62A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6467A5F1778FA416FDC0EE4F5BE0A345E51F74EF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral67C144DCC155B060105008F360F054296C74C2C2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral6F4FAFD94D97B7105B393F85AC3640FEDC596DB0;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral71D190CFC8DB508894D074E9883462A78E492E7D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral77F7BCDE3316D6DE390298CF601CA3B1FD6A2CA2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7EA7CAD6C6E0661AC900E454360598BF786CD471;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral818E0F38E0D79E904B0CF3705136246275D511C5;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral854F5C596AF428EF7DDECE2270682035818A729D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8A12EDFA0124AE7FA2227D5CE4921ACE47393802;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8C1F9317F0F6CD38539297951AC9FF62130D82D9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8D9AA8ED3AAB83BAA504E8F588ECACB284144F75;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8E19801F3EFF616570844AE719CC7E2356DB01A4;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral97342B84F4B4ACC3FFC99C17093E9D06AA318D61;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9AD581FE7C141727C60385840002FA78EF806DFC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9E7B8EB481D432B24624CC9573E7AC2E516E7B43;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA182B414CE75C071ABFBB3D245D97FCCAE86FB9B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA2E807FC179DB9A7A82AAE7B84F522CB007A8FB3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA493FF06F94D0907E2F1797D03C4EB68CE5751F2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA5E215A6DBE803E908043576B18C4FAD26AD44F7;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralAD657B1B096A5DF9E95A5949BFEDCC3F73EAE130;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB35E9D3D8BD6E2E5ED49505FDED0CE9CEA7C98EA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB5696D802E93F47F31F1E298FB7F74857D3CC019;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB718667676A984E040D557E0B6DDA71E276A3E16;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC11E38F553DD44F945849F83A0FD83F8721F8D57;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC25531ECE3BAFE307AF040E6193D3FF264D56BE3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCCD273725E4FDEB95D34DF1FEB221D2194EBCE3A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD1B53BD89CF5AF3ACF16EBB300657D98ECC9392B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD5A59EF736212174C538CE94E1A1BC47039BEBCB;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD5D1E54DC2650B47E9E151A7B3CF1BC78C9D1AFC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD75887742FFD5FDFE0983398A386031AAC1DD29B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD98831812CE8E8678A487B2CD329A0E36D2B78CA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDB5B55A9B215F744DB82517864984D073F2E8F8C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDD87718A5672E09DB2DF6854C13362F6E1E57879;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDE2DD33BCD541DA280E529743F65CB84C9541BC9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDE9FAF482EBF07DB48E259D5B8D2B04A5EF5EFA9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE591FEBE47581B0598D6E58AEB057F24BBC46342;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF23EEF1DF238589AFB61D3085A95FBE90002199B;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m598BC6DC34899140EE3171EB821C9A1D03EC17E0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mFB2ACE52643AD70A974C2F1B52DE54B8718D2E5A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m29C27E5AF5869D2F882020874E9829D3ABD43660_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m2C6CE7DA2F06E97C139A7F4D07A50AC3A0604C5D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Resampler_OnVideoEvent_mADA38D81410BAED2C41DA91FCC876BF32A5DCFDA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* SubtitleUtils_ParseSubtitlesSRT_m3F91C6952F4038AF2D021475DD7F7012B1170023_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* TrackCollection_1__ctor_m2134CB8242E502E3FA35BD5EA8C190DC3C16950C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* TrackCollection_1__ctor_m35A84193F85A94E702CF4F086C2E48FF77A621F1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* TrackCollection_1__ctor_m75FA599F1112966C820CC02590E97007BFA3D3B9_RuntimeMethod_var;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
|
|
struct HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9;
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6;
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
struct TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46;
|
|
struct TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19;
|
|
struct TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380;
|
|
|
|
IL2CPP_EXTERN_C_BEGIN
|
|
IL2CPP_EXTERN_C_END
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>
|
|
struct List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
TimestampedRenderTextureU5BU5DU5BU5D_tBBC8182D587F4D26564A4AD91046B8C686FD9FA1* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
struct List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
TimestampedRenderTextureU5BU5DU5BU5D_tBBC8182D587F4D26564A4AD91046B8C686FD9FA1* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>
|
|
struct List_1_t348DB816683936C664231900D6E77653B7AE20F8 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
struct List_1_t348DB816683936C664231900D6E77653B7AE20F8_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Subtitle>
|
|
struct List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SubtitleU5BU5D_t5EBA6FFB4E7430E0C3C96F58BB6B528DEF9518D1* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
struct List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SubtitleU5BU5D_t5EBA6FFB4E7430E0C3C96F58BB6B528DEF9518D1* ___s_emptyArray_5;
|
|
};
|
|
struct Il2CppArrayBounds;
|
|
|
|
// RenderHeads.Media.AVProVideo.HttpHeaderData
|
|
struct HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader> RenderHeads.Media.AVProVideo.HttpHeaderData::httpHeaders
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* ___httpHeaders_0;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.KeyAuthData
|
|
struct KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092 : public RuntimeObject
|
|
{
|
|
// System.String RenderHeads.Media.AVProVideo.KeyAuthData::keyServerToken
|
|
String_t* ___keyServerToken_0;
|
|
// System.String RenderHeads.Media.AVProVideo.KeyAuthData::overrideDecryptionKeyBase64
|
|
String_t* ___overrideDecryptionKeyBase64_1;
|
|
// System.Byte[] RenderHeads.Media.AVProVideo.KeyAuthData::overrideDecryptionKey
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___overrideDecryptionKey_2;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.Resampler
|
|
struct Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]> RenderHeads.Media.AVProVideo.Resampler::_buffer
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* ____buffer_0;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer RenderHeads.Media.AVProVideo.Resampler::_mediaPlayer
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* ____mediaPlayer_1;
|
|
// UnityEngine.RenderTexture[] RenderHeads.Media.AVProVideo.Resampler::_outputTexture
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* ____outputTexture_2;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_start
|
|
int32_t ____start_3;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_end
|
|
int32_t ____end_4;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_bufferSize
|
|
int32_t ____bufferSize_5;
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::_baseTimestamp
|
|
int64_t ____baseTimestamp_6;
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::_elapsedTimeSinceBase
|
|
float ____elapsedTimeSinceBase_7;
|
|
// UnityEngine.Material RenderHeads.Media.AVProVideo.Resampler::_blendMat
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ____blendMat_8;
|
|
// RenderHeads.Media.AVProVideo.Resampler/ResampleMode RenderHeads.Media.AVProVideo.Resampler::_resampleMode
|
|
int32_t ____resampleMode_9;
|
|
// System.String RenderHeads.Media.AVProVideo.Resampler::_name
|
|
String_t* ____name_10;
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::_lastTimeStamp
|
|
int64_t ____lastTimeStamp_11;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_droppedFrames
|
|
int32_t ____droppedFrames_12;
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::_lastDisplayedTimestamp
|
|
int64_t ____lastDisplayedTimestamp_13;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_frameDisplayedTimer
|
|
int32_t ____frameDisplayedTimer_14;
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::_currentDisplayedTimestamp
|
|
int64_t ____currentDisplayedTimestamp_15;
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::<LastT>k__BackingField
|
|
float ___U3CLastTU3Ek__BackingField_16;
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::<TextureTimeStamp>k__BackingField
|
|
int64_t ___U3CTextureTimeStampU3Ek__BackingField_17;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_propAfterTex
|
|
int32_t ____propAfterTex_20;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::_propT
|
|
int32_t ____propT_21;
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::_videoFrameRate
|
|
float ____videoFrameRate_22;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.Subtitle
|
|
struct Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638 : public RuntimeObject
|
|
{
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Subtitle::index
|
|
int32_t ___index_0;
|
|
// System.String RenderHeads.Media.AVProVideo.Subtitle::text
|
|
String_t* ___text_1;
|
|
// System.Double RenderHeads.Media.AVProVideo.Subtitle::timeStart
|
|
double ___timeStart_2;
|
|
// System.Double RenderHeads.Media.AVProVideo.Subtitle::timeEnd
|
|
double ___timeEnd_3;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.SubtitlePlayer
|
|
struct SubtitlePlayer_t23DC35AB9EBDB5080FCF3DED4D2D1D64170C0615 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.SubtitleUtils
|
|
struct SubtitleUtils_tB6588297E78CC67673FB47CB0DC3D98F4E8FE54E : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TextCue
|
|
struct TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210 : public RuntimeObject
|
|
{
|
|
// System.String RenderHeads.Media.AVProVideo.TextCue::<Text>k__BackingField
|
|
String_t* ___U3CTextU3Ek__BackingField_0;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TimeRanges
|
|
struct TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594 : public RuntimeObject
|
|
{
|
|
// RenderHeads.Media.AVProVideo.TimeRange[] RenderHeads.Media.AVProVideo.TimeRanges::_ranges
|
|
TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19* ____ranges_0;
|
|
// System.Double RenderHeads.Media.AVProVideo.TimeRanges::_minTime
|
|
double ____minTime_1;
|
|
// System.Double RenderHeads.Media.AVProVideo.TimeRanges::_maxTime
|
|
double ____maxTime_2;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TrackBase
|
|
struct TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE : public RuntimeObject
|
|
{
|
|
// System.Int32 RenderHeads.Media.AVProVideo.TrackBase::<Uid>k__BackingField
|
|
int32_t ___U3CUidU3Ek__BackingField_0;
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.TrackBase::<TrackType>k__BackingField
|
|
int32_t ___U3CTrackTypeU3Ek__BackingField_1;
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::<DisplayName>k__BackingField
|
|
String_t* ___U3CDisplayNameU3Ek__BackingField_2;
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::<Name>k__BackingField
|
|
String_t* ___U3CNameU3Ek__BackingField_3;
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::<Language>k__BackingField
|
|
String_t* ___U3CLanguageU3Ek__BackingField_4;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.TrackBase::<IsDefault>k__BackingField
|
|
bool ___U3CIsDefaultU3Ek__BackingField_5;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TrackCollection
|
|
struct TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C : public RuntimeObject
|
|
{
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.TrackCollection::<TrackType>k__BackingField
|
|
int32_t ___U3CTrackTypeU3Ek__BackingField_0;
|
|
};
|
|
|
|
// UnityEngine.Events.UnityEventBase
|
|
struct UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Events.InvokableCallList UnityEngine.Events.UnityEventBase::m_Calls
|
|
InvokableCallList_t309E1C8C7CE885A0D2F98C84CEA77A8935688382* ___m_Calls_0;
|
|
// UnityEngine.Events.PersistentCallGroup UnityEngine.Events.UnityEventBase::m_PersistentCalls
|
|
PersistentCallGroup_tB826EDF15DC80F71BCBCD8E410FD959A04C33F25* ___m_PersistentCalls_1;
|
|
// System.Boolean UnityEngine.Events.UnityEventBase::m_CallsDirty
|
|
bool ___m_CallsDirty_2;
|
|
};
|
|
|
|
// System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/PlatformOptions
|
|
struct PlatformOptions_t69C50599ED82188A2ADDBB78578DC5242F871516 : public RuntimeObject
|
|
{
|
|
// RenderHeads.Media.AVProVideo.HttpHeaderData RenderHeads.Media.AVProVideo.MediaPlayer/PlatformOptions::httpHeaders
|
|
HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* ___httpHeaders_0;
|
|
// RenderHeads.Media.AVProVideo.KeyAuthData RenderHeads.Media.AVProVideo.MediaPlayer/PlatformOptions::keyAuth
|
|
KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092* ___keyAuth_1;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture
|
|
struct TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA : public RuntimeObject
|
|
{
|
|
// UnityEngine.RenderTexture RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture::texture
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___texture_0;
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture::timestamp
|
|
int64_t ___timestamp_1;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture::used
|
|
bool ___used_2;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.AudioTrack>
|
|
struct TrackCollection_1_t4A8C574B884ED2EBC42CC852474738C9C9A1A5C6 : public TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C
|
|
{
|
|
// T RenderHeads.Media.AVProVideo.TrackCollection`1::<ActiveTrack>k__BackingField
|
|
AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* ___U3CActiveTrackU3Ek__BackingField_1;
|
|
// System.Collections.Generic.List`1<T> RenderHeads.Media.AVProVideo.TrackCollection`1::_tracks
|
|
List_1_t01FE6F9654EFF2B2927CF4D2E59CACCB98F0E09E* ____tracks_2;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.TextTrack>
|
|
struct TrackCollection_1_t7D45897E2C63836954B42BAF3EAEB04BB7C9B2B1 : public TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C
|
|
{
|
|
// T RenderHeads.Media.AVProVideo.TrackCollection`1::<ActiveTrack>k__BackingField
|
|
TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31* ___U3CActiveTrackU3Ek__BackingField_1;
|
|
// System.Collections.Generic.List`1<T> RenderHeads.Media.AVProVideo.TrackCollection`1::_tracks
|
|
List_1_t1D958AD636939DBB380E0BCEC16704959FA0D9D8* ____tracks_2;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.VideoTrack>
|
|
struct TrackCollection_1_t430D1159840E86C352B92A53895CB43177A8C6FD : public TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C
|
|
{
|
|
// T RenderHeads.Media.AVProVideo.TrackCollection`1::<ActiveTrack>k__BackingField
|
|
VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* ___U3CActiveTrackU3Ek__BackingField_1;
|
|
// System.Collections.Generic.List`1<T> RenderHeads.Media.AVProVideo.TrackCollection`1::_tracks
|
|
List_1_tC13401FC5A9D5F32E43EE93D30006C9BDC6E95B2* ____tracks_2;
|
|
};
|
|
|
|
// UnityEngine.Events.UnityEvent`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>
|
|
struct UnityEvent_3_t9D3AEF6E66499C350FD74E6D941941068DE50B6A : public UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8
|
|
{
|
|
// System.Object[] UnityEngine.Events.UnityEvent`3::m_InvokeArray
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___m_InvokeArray_3;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.AudioTrack
|
|
struct AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7 : public TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE
|
|
{
|
|
// System.Int32 RenderHeads.Media.AVProVideo.AudioTrack::<Bitrate>k__BackingField
|
|
int32_t ___U3CBitrateU3Ek__BackingField_6;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.AudioTrack::<ChannelCount>k__BackingField
|
|
int32_t ___U3CChannelCountU3Ek__BackingField_7;
|
|
};
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
|
|
{
|
|
// System.Boolean System.Boolean::m_value
|
|
bool ___m_value_0;
|
|
};
|
|
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
|
|
{
|
|
// System.String System.Boolean::TrueString
|
|
String_t* ___TrueString_5;
|
|
// System.String System.Boolean::FalseString
|
|
String_t* ___FalseString_6;
|
|
};
|
|
|
|
// System.Byte
|
|
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
|
|
{
|
|
// System.Byte System.Byte::m_value
|
|
uint8_t ___m_value_0;
|
|
};
|
|
|
|
// System.Char
|
|
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
|
|
{
|
|
// System.Char System.Char::m_value
|
|
Il2CppChar ___m_value_0;
|
|
};
|
|
|
|
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
|
|
{
|
|
// System.Byte[] System.Char::s_categoryForLatin1
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___s_categoryForLatin1_3;
|
|
};
|
|
|
|
// UnityEngine.Color
|
|
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
|
|
{
|
|
// System.Single UnityEngine.Color::r
|
|
float ___r_0;
|
|
// System.Single UnityEngine.Color::g
|
|
float ___g_1;
|
|
// System.Single UnityEngine.Color::b
|
|
float ___b_2;
|
|
// System.Single UnityEngine.Color::a
|
|
float ___a_3;
|
|
};
|
|
|
|
// System.Double
|
|
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
|
|
{
|
|
// System.Double System.Double::m_value
|
|
double ___m_value_0;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.HttpHeader
|
|
struct HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45
|
|
{
|
|
// System.String RenderHeads.Media.AVProVideo.HttpHeader::name
|
|
String_t* ___name_0;
|
|
// System.String RenderHeads.Media.AVProVideo.HttpHeader::value
|
|
String_t* ___value_1;
|
|
};
|
|
// Native definition for P/Invoke marshalling of RenderHeads.Media.AVProVideo.HttpHeader
|
|
struct HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_pinvoke
|
|
{
|
|
char* ___name_0;
|
|
char* ___value_1;
|
|
};
|
|
// Native definition for COM marshalling of RenderHeads.Media.AVProVideo.HttpHeader
|
|
struct HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_com
|
|
{
|
|
Il2CppChar* ___name_0;
|
|
Il2CppChar* ___value_1;
|
|
};
|
|
|
|
// System.Int32
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
// System.Int32 System.Int32::m_value
|
|
int32_t ___m_value_0;
|
|
};
|
|
|
|
// System.Int64
|
|
struct Int64_t092CFB123BE63C28ACDAF65C68F21A526050DBA3
|
|
{
|
|
// System.Int64 System.Int64::m_value
|
|
int64_t ___m_value_0;
|
|
};
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
};
|
|
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
struct LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C
|
|
{
|
|
// System.String RenderHeads.Media.AVProVideo.LazyShaderProperty::_name
|
|
String_t* ____name_0;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.LazyShaderProperty::_id
|
|
int32_t ____id_1;
|
|
};
|
|
// Native definition for P/Invoke marshalling of RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
struct LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_pinvoke
|
|
{
|
|
char* ____name_0;
|
|
int32_t ____id_1;
|
|
};
|
|
// Native definition for COM marshalling of RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
struct LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_com
|
|
{
|
|
Il2CppChar* ____name_0;
|
|
int32_t ____id_1;
|
|
};
|
|
|
|
// UnityEngine.Matrix4x4
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
|
|
{
|
|
// System.Single UnityEngine.Matrix4x4::m00
|
|
float ___m00_0;
|
|
// System.Single UnityEngine.Matrix4x4::m10
|
|
float ___m10_1;
|
|
// System.Single UnityEngine.Matrix4x4::m20
|
|
float ___m20_2;
|
|
// System.Single UnityEngine.Matrix4x4::m30
|
|
float ___m30_3;
|
|
// System.Single UnityEngine.Matrix4x4::m01
|
|
float ___m01_4;
|
|
// System.Single UnityEngine.Matrix4x4::m11
|
|
float ___m11_5;
|
|
// System.Single UnityEngine.Matrix4x4::m21
|
|
float ___m21_6;
|
|
// System.Single UnityEngine.Matrix4x4::m31
|
|
float ___m31_7;
|
|
// System.Single UnityEngine.Matrix4x4::m02
|
|
float ___m02_8;
|
|
// System.Single UnityEngine.Matrix4x4::m12
|
|
float ___m12_9;
|
|
// System.Single UnityEngine.Matrix4x4::m22
|
|
float ___m22_10;
|
|
// System.Single UnityEngine.Matrix4x4::m32
|
|
float ___m32_11;
|
|
// System.Single UnityEngine.Matrix4x4::m03
|
|
float ___m03_12;
|
|
// System.Single UnityEngine.Matrix4x4::m13
|
|
float ___m13_13;
|
|
// System.Single UnityEngine.Matrix4x4::m23
|
|
float ___m23_14;
|
|
// System.Single UnityEngine.Matrix4x4::m33
|
|
float ___m33_15;
|
|
};
|
|
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
|
|
{
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.MediaHints
|
|
struct MediaHints_t916A8C9D21592BD170808C019593D4A248C15589
|
|
{
|
|
// RenderHeads.Media.AVProVideo.TransparencyMode RenderHeads.Media.AVProVideo.MediaHints::transparency
|
|
int32_t ___transparency_0;
|
|
// RenderHeads.Media.AVProVideo.AlphaPacking RenderHeads.Media.AVProVideo.MediaHints::alphaPacking
|
|
int32_t ___alphaPacking_1;
|
|
// RenderHeads.Media.AVProVideo.StereoPacking RenderHeads.Media.AVProVideo.MediaHints::stereoPacking
|
|
int32_t ___stereoPacking_2;
|
|
};
|
|
|
|
struct MediaHints_t916A8C9D21592BD170808C019593D4A248C15589_StaticFields
|
|
{
|
|
// RenderHeads.Media.AVProVideo.MediaHints RenderHeads.Media.AVProVideo.MediaHints::defaultHints
|
|
MediaHints_t916A8C9D21592BD170808C019593D4A248C15589 ___defaultHints_3;
|
|
};
|
|
|
|
// UnityEngine.Rect
|
|
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
|
|
{
|
|
// System.Single UnityEngine.Rect::m_XMin
|
|
float ___m_XMin_0;
|
|
// System.Single UnityEngine.Rect::m_YMin
|
|
float ___m_YMin_1;
|
|
// System.Single UnityEngine.Rect::m_Width
|
|
float ___m_Width_2;
|
|
// System.Single UnityEngine.Rect::m_Height
|
|
float ___m_Height_3;
|
|
};
|
|
|
|
// System.Single
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
// System.Single System.Single::m_value
|
|
float ___m_value_0;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TextTrack
|
|
struct TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31 : public TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TimeRange
|
|
#pragma pack(push, tp, 1)
|
|
struct TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF
|
|
{
|
|
// System.Double RenderHeads.Media.AVProVideo.TimeRange::startTime
|
|
double ___startTime_0;
|
|
// System.Double RenderHeads.Media.AVProVideo.TimeRange::duration
|
|
double ___duration_1;
|
|
};
|
|
#pragma pack(pop, tp)
|
|
|
|
// System.TimeSpan
|
|
struct TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A
|
|
{
|
|
// System.Int64 System.TimeSpan::_ticks
|
|
int64_t ____ticks_22;
|
|
};
|
|
|
|
struct TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A_StaticFields
|
|
{
|
|
// System.TimeSpan System.TimeSpan::Zero
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___Zero_19;
|
|
// System.TimeSpan System.TimeSpan::MaxValue
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___MaxValue_20;
|
|
// System.TimeSpan System.TimeSpan::MinValue
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___MinValue_21;
|
|
};
|
|
|
|
// UnityEngine.Vector2Int
|
|
struct Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A
|
|
{
|
|
// System.Int32 UnityEngine.Vector2Int::m_X
|
|
int32_t ___m_X_0;
|
|
// System.Int32 UnityEngine.Vector2Int::m_Y
|
|
int32_t ___m_Y_1;
|
|
};
|
|
|
|
struct Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A_StaticFields
|
|
{
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Zero
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Zero_2;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_One
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_One_3;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Up
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Up_4;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Down
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Down_5;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Left
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Left_6;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Right
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Right_7;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.VideoTrack
|
|
struct VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81 : public TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE
|
|
{
|
|
// System.Int32 RenderHeads.Media.AVProVideo.VideoTrack::<Bitrate>k__BackingField
|
|
int32_t ___U3CBitrateU3Ek__BackingField_6;
|
|
};
|
|
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
|
|
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=40
|
|
struct __StaticArrayInitTypeSizeU3D40_t1118A6D5BFB6BFC230ABAB480801B4142FD49E98
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
union
|
|
{
|
|
};
|
|
};
|
|
uint8_t __StaticArrayInitTypeSizeU3D40_t1118A6D5BFB6BFC230ABAB480801B4142FD49E98__padding[40];
|
|
};
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL
|
|
struct OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1 : public PlatformOptions_t69C50599ED82188A2ADDBB78578DC5242F871516
|
|
{
|
|
// RenderHeads.Media.AVProVideo.WebGL/ExternalLibrary RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL::externalLibrary
|
|
int32_t ___externalLibrary_2;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL::useTextureMips
|
|
bool ___useTextureMips_3;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>
|
|
struct Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208
|
|
{
|
|
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::_list
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* ____list_0;
|
|
// System.Int32 System.Collections.Generic.List`1/Enumerator::_index
|
|
int32_t ____index_1;
|
|
// System.Int32 System.Collections.Generic.List`1/Enumerator::_version
|
|
int32_t ____version_2;
|
|
// T System.Collections.Generic.List`1/Enumerator::_current
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 ____current_3;
|
|
};
|
|
|
|
// <PrivateImplementationDetails>
|
|
struct U3CPrivateImplementationDetailsU3E_tB450078DDE7A55C24846612D13C95DA82F57CF19 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
struct U3CPrivateImplementationDetailsU3E_tB450078DDE7A55C24846612D13C95DA82F57CF19_StaticFields
|
|
{
|
|
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=40 <PrivateImplementationDetails>::E33B94EF0E1FECD53849D083EEBE3E8A40DA9DDB1FAD7BDE4AF5ABDF4B6796DD
|
|
__StaticArrayInitTypeSizeU3D40_t1118A6D5BFB6BFC230ABAB480801B4142FD49E98 ___E33B94EF0E1FECD53849D083EEBE3E8A40DA9DDB1FAD7BDE4AF5ABDF4B6796DD_0;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.AudioTracks
|
|
struct AudioTracks_t6A73CB5D4C2BC6FDA6F5C276B8DF23583601570F : public TrackCollection_1_t4A8C574B884ED2EBC42CC852474738C9C9A1A5C6
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.BaseMediaPlayer
|
|
struct BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104 : public RuntimeObject
|
|
{
|
|
// System.String RenderHeads.Media.AVProVideo.BaseMediaPlayer::_playerDescription
|
|
String_t* ____playerDescription_0;
|
|
// RenderHeads.Media.AVProVideo.ErrorCode RenderHeads.Media.AVProVideo.BaseMediaPlayer::_lastError
|
|
int32_t ____lastError_1;
|
|
// UnityEngine.FilterMode RenderHeads.Media.AVProVideo.BaseMediaPlayer::_defaultTextureFilterMode
|
|
int32_t ____defaultTextureFilterMode_2;
|
|
// UnityEngine.TextureWrapMode RenderHeads.Media.AVProVideo.BaseMediaPlayer::_defaultTextureWrapMode
|
|
int32_t ____defaultTextureWrapMode_3;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.BaseMediaPlayer::_defaultTextureAnisoLevel
|
|
int32_t ____defaultTextureAnisoLevel_4;
|
|
// RenderHeads.Media.AVProVideo.MediaHints RenderHeads.Media.AVProVideo.BaseMediaPlayer::_mediaHints
|
|
MediaHints_t916A8C9D21592BD170808C019593D4A248C15589 ____mediaHints_5;
|
|
// RenderHeads.Media.AVProVideo.TimeRanges RenderHeads.Media.AVProVideo.BaseMediaPlayer::_seekableTimes
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* ____seekableTimes_6;
|
|
// RenderHeads.Media.AVProVideo.TimeRanges RenderHeads.Media.AVProVideo.BaseMediaPlayer::_bufferedTimes
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* ____bufferedTimes_7;
|
|
// System.Single RenderHeads.Media.AVProVideo.BaseMediaPlayer::_displayRateTimer
|
|
float ____displayRateTimer_8;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.BaseMediaPlayer::_displayRateLastFrameCount
|
|
int32_t ____displayRateLastFrameCount_9;
|
|
// System.Single RenderHeads.Media.AVProVideo.BaseMediaPlayer::_displayRate
|
|
float ____displayRate_10;
|
|
// System.Single RenderHeads.Media.AVProVideo.BaseMediaPlayer::_stallDetectionTimer
|
|
float ____stallDetectionTimer_11;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.BaseMediaPlayer::_stallDetectionFrame
|
|
int32_t ____stallDetectionFrame_12;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.BaseMediaPlayer::_stallDetectionGuard
|
|
int32_t ____stallDetectionGuard_13;
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Subtitle> RenderHeads.Media.AVProVideo.BaseMediaPlayer::_subtitles
|
|
List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* ____subtitles_14;
|
|
// RenderHeads.Media.AVProVideo.Subtitle RenderHeads.Media.AVProVideo.BaseMediaPlayer::_currentSubtitle
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* ____currentSubtitle_15;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.BaseMediaPlayer::_unityFrameCountBufferedDisplayGuard
|
|
int32_t ____unityFrameCountBufferedDisplayGuard_16;
|
|
// RenderHeads.Media.AVProVideo.PlaybackQualityStats RenderHeads.Media.AVProVideo.BaseMediaPlayer::_playbackQualityStats
|
|
PlaybackQualityStats_tDAABE7EB8C2E4CC93A294AF665FAE35484DC34CC* ____playbackQualityStats_17;
|
|
// RenderHeads.Media.AVProVideo.TextCue RenderHeads.Media.AVProVideo.BaseMediaPlayer::_currentTextCue
|
|
TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* ____currentTextCue_18;
|
|
// RenderHeads.Media.AVProVideo.VideoTracks RenderHeads.Media.AVProVideo.BaseMediaPlayer::_videoTracks
|
|
VideoTracks_tA329271899DFDD262477C3EDEC0BC4619B78B43E* ____videoTracks_19;
|
|
// RenderHeads.Media.AVProVideo.AudioTracks RenderHeads.Media.AVProVideo.BaseMediaPlayer::_audioTracks
|
|
AudioTracks_t6A73CB5D4C2BC6FDA6F5C276B8DF23583601570F* ____audioTracks_20;
|
|
// RenderHeads.Media.AVProVideo.TextTracks RenderHeads.Media.AVProVideo.BaseMediaPlayer::_textTracks
|
|
TextTracks_tF24853BCB513D5A858C8CD3A8ED08961CC1DA68D* ____textTracks_21;
|
|
// RenderHeads.Media.AVProVideo.TrackCollection[] RenderHeads.Media.AVProVideo.BaseMediaPlayer::_trackCollections
|
|
TrackCollectionU5BU5D_tB9BDCAC0A65CF417E91F0967707E1637D7F9AFCA* ____trackCollections_22;
|
|
};
|
|
|
|
// System.Delegate
|
|
struct Delegate_t : public RuntimeObject
|
|
{
|
|
// System.IntPtr System.Delegate::method_ptr
|
|
Il2CppMethodPointer ___method_ptr_0;
|
|
// System.IntPtr System.Delegate::invoke_impl
|
|
intptr_t ___invoke_impl_1;
|
|
// System.Object System.Delegate::m_target
|
|
RuntimeObject* ___m_target_2;
|
|
// System.IntPtr System.Delegate::method
|
|
intptr_t ___method_3;
|
|
// System.IntPtr System.Delegate::delegate_trampoline
|
|
intptr_t ___delegate_trampoline_4;
|
|
// System.IntPtr System.Delegate::extra_arg
|
|
intptr_t ___extra_arg_5;
|
|
// System.IntPtr System.Delegate::method_code
|
|
intptr_t ___method_code_6;
|
|
// System.IntPtr System.Delegate::interp_method
|
|
intptr_t ___interp_method_7;
|
|
// System.IntPtr System.Delegate::interp_invoke_impl
|
|
intptr_t ___interp_invoke_impl_8;
|
|
// System.Reflection.MethodInfo System.Delegate::method_info
|
|
MethodInfo_t* ___method_info_9;
|
|
// System.Reflection.MethodInfo System.Delegate::original_method_info
|
|
MethodInfo_t* ___original_method_info_10;
|
|
// System.DelegateData System.Delegate::data
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
// System.Boolean System.Delegate::method_is_virtual
|
|
bool ___method_is_virtual_12;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_pinvoke
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
// Native definition for COM marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_com
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
|
|
// UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Event::m_Ptr
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB_StaticFields
|
|
{
|
|
// UnityEngine.Event UnityEngine.Event::s_Current
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* ___s_Current_1;
|
|
// UnityEngine.Event UnityEngine.Event::s_MasterEvent
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* ___s_MasterEvent_2;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Event
|
|
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB_marshaled_com
|
|
{
|
|
intptr_t ___m_Ptr_0;
|
|
};
|
|
|
|
// System.Exception
|
|
struct Exception_t : public RuntimeObject
|
|
{
|
|
// System.String System.Exception::_className
|
|
String_t* ____className_1;
|
|
// System.String System.Exception::_message
|
|
String_t* ____message_2;
|
|
// System.Collections.IDictionary System.Exception::_data
|
|
RuntimeObject* ____data_3;
|
|
// System.Exception System.Exception::_innerException
|
|
Exception_t* ____innerException_4;
|
|
// System.String System.Exception::_helpURL
|
|
String_t* ____helpURL_5;
|
|
// System.Object System.Exception::_stackTrace
|
|
RuntimeObject* ____stackTrace_6;
|
|
// System.String System.Exception::_stackTraceString
|
|
String_t* ____stackTraceString_7;
|
|
// System.String System.Exception::_remoteStackTraceString
|
|
String_t* ____remoteStackTraceString_8;
|
|
// System.Int32 System.Exception::_remoteStackIndex
|
|
int32_t ____remoteStackIndex_9;
|
|
// System.Object System.Exception::_dynamicMethods
|
|
RuntimeObject* ____dynamicMethods_10;
|
|
// System.Int32 System.Exception::_HResult
|
|
int32_t ____HResult_11;
|
|
// System.String System.Exception::_source
|
|
String_t* ____source_12;
|
|
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
// System.IntPtr[] System.Exception::native_trace_ips
|
|
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
|
|
// System.Int32 System.Exception::caught_in_unmanaged
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Exception
|
|
struct Exception_t_marshaled_pinvoke
|
|
{
|
|
char* ____className_1;
|
|
char* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_pinvoke* ____innerException_4;
|
|
char* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
char* ____stackTraceString_7;
|
|
char* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
char* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for COM marshalling of System.Exception
|
|
struct Exception_t_marshaled_com
|
|
{
|
|
Il2CppChar* ____className_1;
|
|
Il2CppChar* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_com* ____innerException_4;
|
|
Il2CppChar* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
Il2CppChar* ____stackTraceString_7;
|
|
Il2CppChar* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
Il2CppChar* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.MediaPlayerEvent
|
|
struct MediaPlayerEvent_t121509C282EF0611D2925165D8D101C0CDD759A8 : public UnityEvent_3_t9D3AEF6E66499C350FD74E6D941941068DE50B6A
|
|
{
|
|
// System.Collections.Generic.List`1<UnityEngine.Events.UnityAction`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>> RenderHeads.Media.AVProVideo.MediaPlayerEvent::_listeners
|
|
List_1_tAD91F1F4316FB265F7D855830F97F91B83BD41E6* ____listeners_4;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Object::m_CachedPtr
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
// System.Text.RegularExpressions.Regex
|
|
struct Regex_tE773142C2BE45C5D362B0F815AFF831707A51772 : public RuntimeObject
|
|
{
|
|
// System.TimeSpan System.Text.RegularExpressions.Regex::internalMatchTimeout
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___internalMatchTimeout_10;
|
|
// System.String System.Text.RegularExpressions.Regex::pattern
|
|
String_t* ___pattern_12;
|
|
// System.Text.RegularExpressions.RegexOptions System.Text.RegularExpressions.Regex::roptions
|
|
int32_t ___roptions_13;
|
|
// System.Text.RegularExpressions.RegexRunnerFactory System.Text.RegularExpressions.Regex::factory
|
|
RegexRunnerFactory_t72373B672C7D8785F63516DDD88834F286AF41E7* ___factory_14;
|
|
// System.Collections.Hashtable System.Text.RegularExpressions.Regex::caps
|
|
Hashtable_tEFC3B6496E6747787D8BB761B51F2AE3A8CFFE2D* ___caps_15;
|
|
// System.Collections.Hashtable System.Text.RegularExpressions.Regex::capnames
|
|
Hashtable_tEFC3B6496E6747787D8BB761B51F2AE3A8CFFE2D* ___capnames_16;
|
|
// System.String[] System.Text.RegularExpressions.Regex::capslist
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___capslist_17;
|
|
// System.Int32 System.Text.RegularExpressions.Regex::capsize
|
|
int32_t ___capsize_18;
|
|
// System.Text.RegularExpressions.ExclusiveReference System.Text.RegularExpressions.Regex::_runnerref
|
|
ExclusiveReference_t411F04D4CC440EB7399290027E1BBABEF4C28837* ____runnerref_19;
|
|
// System.WeakReference`1<System.Text.RegularExpressions.RegexReplacement> System.Text.RegularExpressions.Regex::_replref
|
|
WeakReference_1_tDC6E83496181D1BAFA3B89CBC00BCD0B64450257* ____replref_20;
|
|
// System.Text.RegularExpressions.RegexCode System.Text.RegularExpressions.Regex::_code
|
|
RegexCode_tA23175D9DA02AD6A79B073E10EC5D225372ED6C7* ____code_21;
|
|
// System.Boolean System.Text.RegularExpressions.Regex::_refsInitialized
|
|
bool ____refsInitialized_22;
|
|
};
|
|
|
|
struct Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_StaticFields
|
|
{
|
|
// System.Int32 System.Text.RegularExpressions.Regex::s_cacheSize
|
|
int32_t ___s_cacheSize_1;
|
|
// System.Collections.Generic.Dictionary`2<System.Text.RegularExpressions.Regex/CachedCodeEntryKey,System.Text.RegularExpressions.Regex/CachedCodeEntry> System.Text.RegularExpressions.Regex::s_cache
|
|
Dictionary_2_t5B5B38BB06341F50E1C75FB53208A2A66CAE57F7* ___s_cache_2;
|
|
// System.Int32 System.Text.RegularExpressions.Regex::s_cacheCount
|
|
int32_t ___s_cacheCount_3;
|
|
// System.Text.RegularExpressions.Regex/CachedCodeEntry System.Text.RegularExpressions.Regex::s_cacheFirst
|
|
CachedCodeEntry_tE201C3AD65C234AD9ED7A78C95025824A7A9FF39* ___s_cacheFirst_4;
|
|
// System.Text.RegularExpressions.Regex/CachedCodeEntry System.Text.RegularExpressions.Regex::s_cacheLast
|
|
CachedCodeEntry_tE201C3AD65C234AD9ED7A78C95025824A7A9FF39* ___s_cacheLast_5;
|
|
// System.TimeSpan System.Text.RegularExpressions.Regex::s_maximumMatchTimeout
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___s_maximumMatchTimeout_6;
|
|
// System.TimeSpan System.Text.RegularExpressions.Regex::s_defaultMatchTimeout
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___s_defaultMatchTimeout_8;
|
|
// System.TimeSpan System.Text.RegularExpressions.Regex::InfiniteMatchTimeout
|
|
TimeSpan_t8195C5B013A2C532FEBDF0B64B6911982E750F5A ___InfiniteMatchTimeout_9;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.TextTracks
|
|
struct TextTracks_tF24853BCB513D5A858C8CD3A8ED08961CC1DA68D : public TrackCollection_1_t7D45897E2C63836954B42BAF3EAEB04BB7C9B2B1
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.VideoRender
|
|
struct VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
struct VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields
|
|
{
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropChromaTex
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropChromaTex_19;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropVertScale
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropVertScale_20;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropApplyGamma
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropApplyGamma_21;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropStereo
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropStereo_22;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropAlphaPack
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropAlphaPack_23;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropLayout
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropLayout_24;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropViewMatrix
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropViewMatrix_25;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropTextureMatrix
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropTextureMatrix_26;
|
|
// System.String RenderHeads.Media.AVProVideo.VideoRender::Keyword_UseHSBC
|
|
String_t* ___Keyword_UseHSBC_27;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropHue
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropHue_28;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropSaturation
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropSaturation_29;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropContrast
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropContrast_30;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropBrightness
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropBrightness_31;
|
|
// RenderHeads.Media.AVProVideo.LazyShaderProperty RenderHeads.Media.AVProVideo.VideoRender::PropInvGamma
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C ___PropInvGamma_32;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.VideoResolveOptions
|
|
struct VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180
|
|
{
|
|
// System.Boolean RenderHeads.Media.AVProVideo.VideoResolveOptions::applyHSBC
|
|
bool ___applyHSBC_0;
|
|
// System.Single RenderHeads.Media.AVProVideo.VideoResolveOptions::hue
|
|
float ___hue_1;
|
|
// System.Single RenderHeads.Media.AVProVideo.VideoResolveOptions::saturation
|
|
float ___saturation_2;
|
|
// System.Single RenderHeads.Media.AVProVideo.VideoResolveOptions::brightness
|
|
float ___brightness_3;
|
|
// System.Single RenderHeads.Media.AVProVideo.VideoResolveOptions::contrast
|
|
float ___contrast_4;
|
|
// System.Single RenderHeads.Media.AVProVideo.VideoResolveOptions::gamma
|
|
float ___gamma_5;
|
|
// UnityEngine.Color RenderHeads.Media.AVProVideo.VideoResolveOptions::tint
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___tint_6;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.VideoResolveOptions::generateMipmaps
|
|
bool ___generateMipmaps_7;
|
|
};
|
|
// Native definition for P/Invoke marshalling of RenderHeads.Media.AVProVideo.VideoResolveOptions
|
|
struct VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180_marshaled_pinvoke
|
|
{
|
|
int32_t ___applyHSBC_0;
|
|
float ___hue_1;
|
|
float ___saturation_2;
|
|
float ___brightness_3;
|
|
float ___contrast_4;
|
|
float ___gamma_5;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___tint_6;
|
|
int32_t ___generateMipmaps_7;
|
|
};
|
|
// Native definition for COM marshalling of RenderHeads.Media.AVProVideo.VideoResolveOptions
|
|
struct VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180_marshaled_com
|
|
{
|
|
int32_t ___applyHSBC_0;
|
|
float ___hue_1;
|
|
float ___saturation_2;
|
|
float ___brightness_3;
|
|
float ___contrast_4;
|
|
float ___gamma_5;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___tint_6;
|
|
int32_t ___generateMipmaps_7;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.VideoTracks
|
|
struct VideoTracks_tA329271899DFDD262477C3EDEC0BC4619B78B43E : public TrackCollection_1_t430D1159840E86C352B92A53895CB43177A8C6FD
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid
|
|
struct OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605 : public PlatformOptions_t69C50599ED82188A2ADDBB78578DC5242F871516
|
|
{
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid/ChangeFlags RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::_changed
|
|
int32_t ____changed_2;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid/Resolution RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::_preferredMaximumResolution
|
|
int32_t ____preferredMaximumResolution_3;
|
|
// UnityEngine.Vector2Int RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::_customPreferredMaximumResolution
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ____customPreferredMaximumResolution_4;
|
|
// System.Single RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::_preferredPeakBitRate
|
|
float ____preferredPeakBitRate_5;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid/BitRateUnits RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::_preferredPeakBitRateUnits
|
|
int32_t ____preferredPeakBitRateUnits_6;
|
|
// RenderHeads.Media.AVProVideo.Android/VideoApi RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::videoApi
|
|
int32_t ___videoApi_7;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::useFastOesPath
|
|
bool ___useFastOesPath_8;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::showPosterFrame
|
|
bool ___showPosterFrame_9;
|
|
// RenderHeads.Media.AVProVideo.Android/AudioOutput RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::audioOutput
|
|
int32_t ___audioOutput_10;
|
|
// RenderHeads.Media.AVProVideo.Audio360ChannelMode RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::audio360ChannelMode
|
|
int32_t ___audio360ChannelMode_11;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::preferSoftwareDecoder
|
|
bool ___preferSoftwareDecoder_12;
|
|
// RenderHeads.Media.AVProVideo.Android/TextureFiltering RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::blitTextureFiltering
|
|
int32_t ___blitTextureFiltering_13;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::fileOffset
|
|
int32_t ___fileOffset_14;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::startWithHighestBitrate
|
|
bool ___startWithHighestBitrate_15;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::minBufferMs
|
|
int32_t ___minBufferMs_16;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::maxBufferMs
|
|
int32_t ___maxBufferMs_17;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::bufferForPlaybackMs
|
|
int32_t ___bufferForPlaybackMs_18;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::bufferForPlaybackAfterRebufferMs
|
|
int32_t ___bufferForPlaybackAfterRebufferMs_19;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid::enableAudio360
|
|
bool ___enableAudio360_20;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Material
|
|
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t : public Delegate_t
|
|
{
|
|
// System.Delegate[] System.MulticastDelegate::delegates
|
|
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
|
|
{
|
|
Delegate_t_marshaled_pinvoke** ___delegates_13;
|
|
};
|
|
// Native definition for COM marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
|
|
{
|
|
Delegate_t_marshaled_com** ___delegates_13;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.NullMediaPlayer
|
|
struct NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E : public BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104
|
|
{
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::_isPlaying
|
|
bool ____isPlaying_23;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::_isPaused
|
|
bool ____isPaused_24;
|
|
// System.Double RenderHeads.Media.AVProVideo.NullMediaPlayer::_currentTime
|
|
double ____currentTime_25;
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::_volume
|
|
float ____volume_26;
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::_playbackRate
|
|
float ____playbackRate_27;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::_bLoop
|
|
bool ____bLoop_28;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::_Width
|
|
int32_t ____Width_29;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::_height
|
|
int32_t ____height_30;
|
|
// UnityEngine.Texture2D RenderHeads.Media.AVProVideo.NullMediaPlayer::_texture
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ____texture_31;
|
|
// UnityEngine.Texture2D RenderHeads.Media.AVProVideo.NullMediaPlayer::_texture_AVPro
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ____texture_AVPro_32;
|
|
// UnityEngine.Texture2D RenderHeads.Media.AVProVideo.NullMediaPlayer::_texture_AVPro1
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ____texture_AVPro1_33;
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::_fakeFlipTime
|
|
float ____fakeFlipTime_34;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::_frameCount
|
|
int32_t ____frameCount_35;
|
|
};
|
|
|
|
// UnityEngine.Shader
|
|
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// System.SystemException
|
|
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Texture
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
struct Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Texture::GenerateAllMips
|
|
int32_t ___GenerateAllMips_4;
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.WebGLMediaPlayer
|
|
struct WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394 : public BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104
|
|
{
|
|
// RenderHeads.Media.AVProVideo.WebGL/ExternalLibrary RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_externalLibrary
|
|
int32_t ____externalLibrary_23;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_playerIndex
|
|
int32_t ____playerIndex_24;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_playerID
|
|
int32_t ____playerID_25;
|
|
// UnityEngine.Texture2D RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_texture
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* ____texture_26;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_width
|
|
int32_t ____width_27;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_height
|
|
int32_t ____height_28;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_cachedVideoTrackCount
|
|
int32_t ____cachedVideoTrackCount_29;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_cachedAudioTrackCount
|
|
int32_t ____cachedAudioTrackCount_30;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_cachedTextTrackCount
|
|
int32_t ____cachedTextTrackCount_31;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_isDirtyVideoTracks
|
|
bool ____isDirtyVideoTracks_32;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_isDirtyAudioTracks
|
|
bool ____isDirtyAudioTracks_33;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_isDirtyTextTracks
|
|
bool ____isDirtyTextTracks_34;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_useTextureMips
|
|
bool ____useTextureMips_35;
|
|
// System.IntPtr RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_cachedTextureNativePtr
|
|
intptr_t ____cachedTextureNativePtr_36;
|
|
};
|
|
|
|
struct WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_StaticFields
|
|
{
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::_isWebGL1
|
|
bool ____isWebGL1_37;
|
|
};
|
|
|
|
// UnityEngine.Events.UnityAction`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>
|
|
struct UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Behaviour
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// System.FormatException
|
|
struct FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// UnityEngine.RenderTexture
|
|
struct RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Texture2D
|
|
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 : public Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer
|
|
struct MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// RenderHeads.Media.AVProVideo.MediaSource RenderHeads.Media.AVProVideo.MediaPlayer::_mediaSource
|
|
int32_t ____mediaSource_4;
|
|
// RenderHeads.Media.AVProVideo.MediaReference RenderHeads.Media.AVProVideo.MediaPlayer::_mediaReference
|
|
MediaReference_t8FD65045987DB0F4D07210AD684E87212147E2C9* ____mediaReference_5;
|
|
// RenderHeads.Media.AVProVideo.MediaPath RenderHeads.Media.AVProVideo.MediaPlayer::_mediaPath
|
|
MediaPath_t8AD36B2B518A8A90D83F7EB4F6533B9BFF9DC04F* ____mediaPath_6;
|
|
// RenderHeads.Media.AVProVideo.MediaHints RenderHeads.Media.AVProVideo.MediaPlayer::_fallbackMediaHints
|
|
MediaHints_t916A8C9D21592BD170808C019593D4A248C15589 ____fallbackMediaHints_7;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_autoOpen
|
|
bool ____autoOpen_8;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_autoPlayOnStart
|
|
bool ____autoPlayOnStart_9;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_loop
|
|
bool ____loop_10;
|
|
// System.Single RenderHeads.Media.AVProVideo.MediaPlayer::_audioVolume
|
|
float ____audioVolume_11;
|
|
// System.Single RenderHeads.Media.AVProVideo.MediaPlayer::_audioBalance
|
|
float ____audioBalance_12;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_audioMuted
|
|
bool ____audioMuted_13;
|
|
// UnityEngine.AudioSource RenderHeads.Media.AVProVideo.MediaPlayer::_audioSource
|
|
AudioSource_t871AC2272F896738252F04EE949AEF5B241D3299* ____audioSource_14;
|
|
// System.Single RenderHeads.Media.AVProVideo.MediaPlayer::_playbackRate
|
|
float ____playbackRate_15;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_useResampler
|
|
bool ____useResampler_16;
|
|
// RenderHeads.Media.AVProVideo.Resampler/ResampleMode RenderHeads.Media.AVProVideo.MediaPlayer::_resampleMode
|
|
int32_t ____resampleMode_17;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer::_resampleBufferSize
|
|
int32_t ____resampleBufferSize_18;
|
|
// RenderHeads.Media.AVProVideo.Resampler RenderHeads.Media.AVProVideo.MediaPlayer::_resampler
|
|
Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* ____resampler_19;
|
|
// RenderHeads.Media.AVProVideo.VideoMapping RenderHeads.Media.AVProVideo.MediaPlayer::_videoMapping
|
|
int32_t ____videoMapping_20;
|
|
// UnityEngine.FilterMode RenderHeads.Media.AVProVideo.MediaPlayer::_textureFilterMode
|
|
int32_t ____textureFilterMode_21;
|
|
// UnityEngine.TextureWrapMode RenderHeads.Media.AVProVideo.MediaPlayer::_textureWrapMode
|
|
int32_t ____textureWrapMode_22;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer::_textureAnisoLevel
|
|
int32_t ____textureAnisoLevel_23;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_useVideoResolve
|
|
bool ____useVideoResolve_24;
|
|
// RenderHeads.Media.AVProVideo.VideoResolveOptions RenderHeads.Media.AVProVideo.MediaPlayer::_videoResolveOptions
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 ____videoResolveOptions_25;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_sideloadSubtitles
|
|
bool ____sideloadSubtitles_26;
|
|
// RenderHeads.Media.AVProVideo.MediaPath RenderHeads.Media.AVProVideo.MediaPlayer::_subtitlePath
|
|
MediaPath_t8AD36B2B518A8A90D83F7EB4F6533B9BFF9DC04F* ____subtitlePath_27;
|
|
// UnityEngine.Transform RenderHeads.Media.AVProVideo.MediaPlayer::_audioHeadTransform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ____audioHeadTransform_28;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_audioFocusEnabled
|
|
bool ____audioFocusEnabled_29;
|
|
// UnityEngine.Transform RenderHeads.Media.AVProVideo.MediaPlayer::_audioFocusTransform
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ____audioFocusTransform_30;
|
|
// System.Single RenderHeads.Media.AVProVideo.MediaPlayer::_audioFocusWidthDegrees
|
|
float ____audioFocusWidthDegrees_31;
|
|
// System.Single RenderHeads.Media.AVProVideo.MediaPlayer::_audioFocusOffLevelDB
|
|
float ____audioFocusOffLevelDB_32;
|
|
// RenderHeads.Media.AVProVideo.HttpHeaderData RenderHeads.Media.AVProVideo.MediaPlayer::_httpHeaders
|
|
HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* ____httpHeaders_33;
|
|
// RenderHeads.Media.AVProVideo.KeyAuthData RenderHeads.Media.AVProVideo.MediaPlayer::_keyAuth
|
|
KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092* ____keyAuth_34;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayerEvent RenderHeads.Media.AVProVideo.MediaPlayer::_events
|
|
MediaPlayerEvent_t121509C282EF0611D2925165D8D101C0CDD759A8* ____events_35;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer::_eventMask
|
|
int32_t ____eventMask_36;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_pauseMediaOnAppPause
|
|
bool ____pauseMediaOnAppPause_37;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_playMediaOnAppUnpause
|
|
bool ____playMediaOnAppUnpause_38;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_persistent
|
|
bool ____persistent_39;
|
|
// RenderHeads.Media.AVProVideo.FileFormat RenderHeads.Media.AVProVideo.MediaPlayer::_forceFileFormat
|
|
int32_t ____forceFileFormat_40;
|
|
// RenderHeads.Media.AVProVideo.BaseMediaPlayer RenderHeads.Media.AVProVideo.MediaPlayer::_baseMediaPlayer
|
|
BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104* ____baseMediaPlayer_41;
|
|
// RenderHeads.Media.AVProVideo.IMediaControl RenderHeads.Media.AVProVideo.MediaPlayer::_controlInterface
|
|
RuntimeObject* ____controlInterface_42;
|
|
// RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::_textureInterface
|
|
RuntimeObject* ____textureInterface_43;
|
|
// RenderHeads.Media.AVProVideo.IMediaInfo RenderHeads.Media.AVProVideo.MediaPlayer::_infoInterface
|
|
RuntimeObject* ____infoInterface_44;
|
|
// RenderHeads.Media.AVProVideo.IMediaPlayer RenderHeads.Media.AVProVideo.MediaPlayer::_playerInterface
|
|
RuntimeObject* ____playerInterface_45;
|
|
// RenderHeads.Media.AVProVideo.IMediaSubtitles RenderHeads.Media.AVProVideo.MediaPlayer::_subtitlesInterface
|
|
RuntimeObject* ____subtitlesInterface_46;
|
|
// RenderHeads.Media.AVProVideo.IMediaCache RenderHeads.Media.AVProVideo.MediaPlayer::_cacheInterface
|
|
RuntimeObject* ____cacheInterface_47;
|
|
// RenderHeads.Media.AVProVideo.IBufferedDisplay RenderHeads.Media.AVProVideo.MediaPlayer::_bufferedDisplayInterface
|
|
RuntimeObject* ____bufferedDisplayInterface_48;
|
|
// RenderHeads.Media.AVProVideo.IVideoTracks RenderHeads.Media.AVProVideo.MediaPlayer::_videoTracksInterface
|
|
RuntimeObject* ____videoTracksInterface_49;
|
|
// RenderHeads.Media.AVProVideo.IAudioTracks RenderHeads.Media.AVProVideo.MediaPlayer::_audioTracksInterface
|
|
RuntimeObject* ____audioTracksInterface_50;
|
|
// RenderHeads.Media.AVProVideo.ITextTracks RenderHeads.Media.AVProVideo.MediaPlayer::_textTracksInterface
|
|
RuntimeObject* ____textTracksInterface_51;
|
|
// System.IDisposable RenderHeads.Media.AVProVideo.MediaPlayer::_disposeInterface
|
|
RuntimeObject* ____disposeInterface_52;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_isMediaOpened
|
|
bool ____isMediaOpened_53;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_autoPlayOnStartTriggered
|
|
bool ____autoPlayOnStartTriggered_54;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_wasPlayingOnPause
|
|
bool ____wasPlayingOnPause_55;
|
|
// UnityEngine.Coroutine RenderHeads.Media.AVProVideo.MediaPlayer::_renderingCoroutine
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* ____renderingCoroutine_56;
|
|
// RenderHeads.Media.AVProVideo.MediaPath RenderHeads.Media.AVProVideo.MediaPlayer::_queueSubtitlePath
|
|
MediaPath_t8AD36B2B518A8A90D83F7EB4F6533B9BFF9DC04F* ____queueSubtitlePath_59;
|
|
// UnityEngine.Coroutine RenderHeads.Media.AVProVideo.MediaPlayer::_loadSubtitlesRoutine
|
|
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B* ____loadSubtitlesRoutine_60;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventFired_MetaDataReady
|
|
bool ____eventFired_MetaDataReady_62;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventFired_ReadyToPlay
|
|
bool ____eventFired_ReadyToPlay_63;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventFired_Started
|
|
bool ____eventFired_Started_64;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventFired_FirstFrameReady
|
|
bool ____eventFired_FirstFrameReady_65;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventFired_FinishedPlaying
|
|
bool ____eventFired_FinishedPlaying_66;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventState_PlaybackBuffering
|
|
bool ____eventState_PlaybackBuffering_67;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventState_PlaybackSeeking
|
|
bool ____eventState_PlaybackSeeking_68;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_eventState_PlaybackStalled
|
|
bool ____eventState_PlaybackStalled_69;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer::_eventState_PreviousWidth
|
|
int32_t ____eventState_PreviousWidth_70;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer::_eventState_PreviousHeight
|
|
int32_t ____eventState_PreviousHeight_71;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.MediaPlayer::_previousSubtitleIndex
|
|
int32_t ____previousSubtitleIndex_72;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::_finishedFrameOpenCheck
|
|
bool ____finishedFrameOpenCheck_73;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWindows RenderHeads.Media.AVProVideo.MediaPlayer::_optionsWindows
|
|
OptionsWindows_t724D824EE751C9E6B9ED05C9997062237CEDF787* ____optionsWindows_74;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsApple RenderHeads.Media.AVProVideo.MediaPlayer::_optionsMacOSX
|
|
OptionsApple_t496EC04E4BBDFCADE77190404AEE62DC514AC56E* ____optionsMacOSX_75;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsApple RenderHeads.Media.AVProVideo.MediaPlayer::_optionsIOS
|
|
OptionsApple_t496EC04E4BBDFCADE77190404AEE62DC514AC56E* ____optionsIOS_76;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsApple RenderHeads.Media.AVProVideo.MediaPlayer::_optionsTVOS
|
|
OptionsApple_t496EC04E4BBDFCADE77190404AEE62DC514AC56E* ____optionsTVOS_77;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid RenderHeads.Media.AVProVideo.MediaPlayer::_optionsAndroid
|
|
OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605* ____optionsAndroid_78;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWindowsUWP RenderHeads.Media.AVProVideo.MediaPlayer::_optionsWindowsUWP
|
|
OptionsWindowsUWP_tD439C6865888A85D4F40D4A9E5415BAA64CD17B5* ____optionsWindowsUWP_79;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL RenderHeads.Media.AVProVideo.MediaPlayer::_optionsWebGL
|
|
OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* ____optionsWebGL_80;
|
|
// System.String RenderHeads.Media.AVProVideo.MediaPlayer::m_VideoPath
|
|
String_t* ___m_VideoPath_81;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/FileLocation RenderHeads.Media.AVProVideo.MediaPlayer::m_VideoLocation
|
|
int32_t ___m_VideoLocation_82;
|
|
};
|
|
|
|
struct MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6_StaticFields
|
|
{
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::s_GlobalStartup
|
|
bool ___s_GlobalStartup_57;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::s_TrialVersion
|
|
bool ___s_TrialVersion_58;
|
|
// UnityEngine.Camera RenderHeads.Media.AVProVideo.MediaPlayer::_dummyCamera
|
|
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184* ____dummyCamera_61;
|
|
};
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) int32_t m_Items[1];
|
|
|
|
inline int32_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// RenderHeads.Media.AVProVideo.TimeRange[]
|
|
struct TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF m_Items[1];
|
|
|
|
inline TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Byte[]
|
|
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) uint8_t m_Items[1];
|
|
|
|
inline uint8_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// UnityEngine.Texture[]
|
|
struct TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* m_Items[1];
|
|
|
|
inline Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.RenderTexture[]
|
|
struct RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* m_Items[1];
|
|
|
|
inline RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]
|
|
struct TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* m_Items[1];
|
|
|
|
inline TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) String_t* m_Items[1];
|
|
|
|
inline String_t* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.Char[]
|
|
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Il2CppChar m_Items[1];
|
|
|
|
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Il2CppChar* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Il2CppChar value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Single[]
|
|
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) float m_Items[1];
|
|
|
|
inline float GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline float* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, float value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline float GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline float* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, float value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// RenderHeads.Media.AVProVideo.HttpHeader[]
|
|
struct HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 m_Items[1];
|
|
|
|
inline HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___name_0), (void*)NULL);
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
|
|
#endif
|
|
}
|
|
inline HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___name_0), (void*)NULL);
|
|
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
|
|
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___value_1), (void*)NULL);
|
|
#endif
|
|
}
|
|
};
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
|
|
|
|
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
|
|
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackCollection`1<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackCollection_1__ctor_m0B79D3A93CF3548591D55CA8188DFC3B6B73F1BC_gshared (TrackCollection_1_t8A81433EBB19D9229A6D2F01013DB9ADE3C867E9* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_gshared (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8_gshared (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, int32_t ___index0, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_gshared_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_gshared_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 ___item0, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_gshared_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>::Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50_gshared (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>::get_Current()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_gshared_inline (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E_gshared (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5_gshared (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Events.UnityAction`3<System.Object,System.Int32Enum,System.Int32Enum>::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityAction_3__ctor_mFFA2A157BCCAC9E24B08D227ECC631AB2A830CC7_gshared (UnityAction_3_t6DD5B8ECD125F220BE7E9DFC165CEEB0FC1165E1* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___index0, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___item0, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m76CBBC3E2F0583F5AD30CE592CEA1225C06A0428_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___capacity0, const RuntimeMethod* method) ;
|
|
|
|
// UnityEngine.Object UnityEngine.Resources::Load(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* Resources_Load_mA66E7AA8D024B495158F157382C3A8528306FFEA (String_t* ___path0, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___exists0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Resources::UnloadAsset(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resources_UnloadAsset_m4828D1393356C052061C66403B1437F7D7E21908 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___assetToUnload0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::CloseMedia()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BaseMediaPlayer_CloseMedia_mDF05061B7103E853B2AC02322532D8C8B15AC114 (BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Time::get_deltaTime()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865 (const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BaseMediaPlayer__ctor_m9ED3C66417B8D72D5BC0DE295370793403283BC1 (BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Rendering.GraphicsDeviceType UnityEngine.SystemInfo::get_graphicsDeviceType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SystemInfo_get_graphicsDeviceType_m2D54A0B94D138727041B29B127D8837165686545 (const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SetOptions(RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_SetOptions_m05E45D4E8DBE190D4A8193975D81053A483A8831 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* ___options0, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::StartsWith(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0 (String_t* __this, String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerInsertVideoElement(System.String,System.Int32[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerInsertVideoElement_m18B8A9F69D9DDE8DCB4FB77808B1D805A199B49E (String_t* ___path0, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___idValues1, int32_t ___externalLibrary2, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___message0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerClose(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerClose_m5B4B526E07970002F2EA62511DF2DB264572FF2C (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___y1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::DestroyTexture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_DestroyTexture_m201F1D3C134B954F1ECDFAEDAF39F8EFC4A96EE7 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsLooping(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsLooping_mB55F4CA26634C8C54BD7E7AC2E6CABAE3CD224B3 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetLooping(System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetLooping_m80CF9D9EB6B61843B0BE5EDFE0AB12C5AF7B142C (int32_t ___player0, bool ___loop1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHasAudio(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerHasAudio_m13FE3C3DBF2A5A6026A8248FD7BFC6104A08FF31 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHasVideo(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerHasVideo_mEB214102F34B5E305BACD64B60CA45245151CD97 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHasMetadata(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerHasMetadata_mAD3B5AE91A5012F63BEC9B95CFB11DCCB5458B20 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerReady(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerReady_mCFCDFFDA5721F44EBC9662B401861F7C39850C47 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerPlay(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerPlay_m03A7EF4B874D64EB081239610E7F202123F77FBC (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::LogWarning(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9 (RuntimeObject* ___message0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerPause(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerPause_m8F07AEA66E20F9D7BEEA70BE2A7190FEA9187407 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSeekToTime(System.Int32,System.Double,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSeekToTime_m4E5C3B7F861B99D73D977F538D2A6A9B4667866A (int32_t ___player0, double ___time1, bool ___fast2, const RuntimeMethod* method) ;
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetCurrentTime(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_AVPPlayerGetCurrentTime_m59EA6B21A85791C4BC8E0FA1C0E0FB907C561F9B (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___value0, float ___min1, float ___max2, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetPlaybackRate(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetPlaybackRate_mF4AF8FA90481ACA47ECA0061CCFC9B4EB0584DCE (int32_t ___player0, float ___rate1, const RuntimeMethod* method) ;
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetPlaybackRate(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_AVPPlayerGetPlaybackRate_m300AF8DA9DD3CCD6BD54FF25A862D82E89A02D31 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetDuration(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_AVPPlayerGetDuration_m609850863CB66CDF7C0A7227F836DC09F281A43B (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerWidth(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerWidth_m472E0059E734AC83838426D9FCE394FAB1198EB0 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHeight(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerHeight_mBA2DD93EDD6C7B6B945A16663BA30FAABDBBF88A (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsSeeking(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsSeeking_m502F05B8E24573D40533183DF512E36D84A27C57 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsPlaying(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsPlaying_m90ABC4472C80E68562B421A388060103C09EA228 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsPaused(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsPaused_mCBE4B86DD93A26B9E5860839729FB208487EAB6D (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsFinished(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsFinished_m28597D4E49F66C528F071DD37086B1F9A635713A (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsBuffering(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsBuffering_mB04A4C1188D999B90C40A7D0E894E0447CE9494F (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetDecodedFrameCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetDecodedFrameCount_mADD5A786FABEBB1312E37E4713C3791FA3699689 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSupportedDecodedFrameCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSupportedDecodedFrameCount_mDDF0EDC9FB581EE793A1AD59E59A15B52C5BC754 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsMuted(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsMuted_mC77FAC7DF60B5C122FFDE286E1C2BE8C519BF3EA (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetMuted(System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetMuted_m338120738D652258014F9F63463A2A1A650CE694 (int32_t ___player0, bool ___muted1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetVolume(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetVolume_m7CE1FE48D530F275FE5A663FA9019665BFE91E93 (int32_t ___player0, float ___volume1, const RuntimeMethod* method) ;
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVolume(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_AVPPlayerGetVolume_m4A17AC5B955FF9A19B360500EB8B098269A9CB6A (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetLastError(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetLastError_m3B3421D0A9D6A58BE21608D718127AC27E639134 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Mathf::IsPowerOfTwo(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Mathf_IsPowerOfTwo_m58172AEBE272F53FD34CC10641057847181E960A (int32_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Void System.IntPtr::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IntPtr__ctor_m20A566609A091311C734617C699E61F545250AC7 (intptr_t* __this, int32_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerCreateVideoTexture(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerCreateVideoTexture_m0FB500BDF72C041DA59FE09B1ED8E36F09CA719D (int32_t ___textureId0, const RuntimeMethod* method) ;
|
|
// UnityEngine.Texture2D UnityEngine.Texture2D::CreateExternalTexture(System.Int32,System.Int32,UnityEngine.TextureFormat,System.Boolean,System.Boolean,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* Texture2D_CreateExternalTexture_mF821F07B386D19D124696C9A6F6EBEA84212B112 (int32_t ___width0, int32_t ___height1, int32_t ___format2, bool ___mipChain3, bool ___linear4, intptr_t ___nativeTex5, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerFetchVideoTexture(System.Int32,System.IntPtr,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerFetchVideoTexture_mD0168FC0162E8A7E3B3806F6EBCF5A5F09801EB2 (int32_t ___player0, intptr_t ___texture1, bool ___init2, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Destroy_mE97D0A766419A81296E8D4E5C23D01D3FE91ACBB (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___obj0, const RuntimeMethod* method) ;
|
|
// System.Int32 System.IntPtr::ToInt32()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t IntPtr_ToInt32_mD53B5D2C73C7E4BE5ADEBC5D187EACC83D5BB292 (intptr_t* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerDestroyVideoTexture(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerDestroyVideoTexture_m5EA9EE50BD9F75C79DA5ED2367329616C3C072EF (int32_t ___textureId0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerUpdatePlayerIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerUpdatePlayerIndex_m8062CD5D11131AC63063AEDD3BF048E329DE05C4 (int32_t ___id0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::CheckTracksDirty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_CheckTracksDirty_mB36EA813FE5CF11ADD831AF9FCE53E2008A34970 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::UpdateTracks()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BaseMediaPlayer_UpdateTracks_mCB692C3D6830B0AE22B81D267427FF3DE980CA7A (BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.BaseMediaPlayer::UpdateTextCue(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BaseMediaPlayer_UpdateTextCue_m141C81A09195AD12CE9EF2827C0F1ABD613F2E5D (BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104* __this, bool ___force0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::UpdateLastErrorCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_UpdateLastErrorCode_mA14C793335773483A0CE69F5DE2DFC6E1B03081D (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::UpdateTimeRanges()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_UpdateTimeRanges_mE5A9B6783B45B43BDD460643343D998080908253 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::CreateTexture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_CreateTexture_mA26D368DACC2D9EE6304D03DEB463DE41652DFA8 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.IntPtr::op_Inequality(System.IntPtr,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IntPtr_op_Inequality_m90EFC9C4CAD9A33E309F2DDF98EE4E1DD253637B (intptr_t ___value10, intptr_t ___value21, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::UpdateDisplayFrameRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BaseMediaPlayer_UpdateDisplayFrameRate_mF58B4DA95A0B863A434BEA550684D30CF39CC945 (BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVideoTrackCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetVideoTrackCount_m4769C152A84E4024A237EEE2AEBCCB484CD66D7A (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetAudioTrackCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetAudioTrackCount_m179EC8EADFB08EFD2BDDBE4E161FA0EFCD1FF4A7 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTextTrackCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetTextTrackCount_m614C8347C4AAC161B1ED738A20C164FC82AB769A (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetNumBufferedTimeRanges(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetNumBufferedTimeRanges_mFB23991D0F734C7DB8A394F439E73E1BDCE12177 (int32_t ___id0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.TimeRanges::get_Count()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TimeRanges_get_Count_mE253B759FCC97EA2E8F8CA0F4FDC6B1DDAC06A2D (TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* __this, const RuntimeMethod* method) ;
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTimeRangeStart(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_AVPPlayerGetTimeRangeStart_mDF1030E741678F3B61ED009CD6F1899AAAB0E47D (int32_t ___id0, int32_t ___timeRangeIndex1, const RuntimeMethod* method) ;
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTimeRangeEnd(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_AVPPlayerGetTimeRangeEnd_m6BE15C23FCBBC9146CA11C8D7FA290D912D16760 (int32_t ___id0, int32_t ___timeRangeIndex1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TimeRange::.ctor(System.Double,System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeRange__ctor_m7F4D6CD7D9EBB33B17B02C9E1AC99F80EA29573D (TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF* __this, double ___startTime0, double ___duration1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TimeRanges::CalculateRange()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimeRanges_CalculateRange_mC28784300FA39DBE92EACE4E35F7406BAAAFA7A0 (TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsPlaybackStalled(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsPlaybackStalled_m3457D016BAB15866D134BD2619B5088F1302F7A6 (int32_t ___player0, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetActiveVideoTrack(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSetActiveVideoTrack_m51DDB65D432C5CC080C44681E491EC8F50EC740F (int32_t ___player0, int32_t ___trackId1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetActiveAudioTrack(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSetActiveAudioTrack_mAC1EEE189AD05F70E8C702EC2BEF35F62C0892CD (int32_t ___player0, int32_t ___trackId1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetActiveTextTrack(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSetActiveTextTrack_m534077AB9489FDF8F26CC610A47AB6DF321D4E5E (int32_t ___player0, int32_t ___trackId1, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVideoTrackName(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetVideoTrackName_mCE4AEB820AD4EC8ED5F0C944A8877ADEFDF1BFF0 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVideoTrackLanguage(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetVideoTrackLanguage_m067DD4FB69D271D8C6158E10B48AA0976634555B (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsVideoTrackActive(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsVideoTrackActive_m8A6952AE1FDC31CA258A138FFA81EFAEA2BCC377 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoTrack::.ctor(System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoTrack__ctor_m33656C7529F78ADEB8E99157660AC1447600E75D (VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* __this, int32_t ___uid0, String_t* ___name1, String_t* ___language2, bool ___isDefault3, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetAudioTrackName(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetAudioTrackName_m8D7805DA842811CAF5C95A54EE0AF974B22B511D (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetAudioTrackLanguage(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetAudioTrackLanguage_mCFF925E6B7E58FAD8AD489E615FAC6CA0E7CB1F7 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsAudioTrackActive(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsAudioTrackActive_mBB1A62162E084CC9DE31C30805D772630963CB00 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.AudioTrack::.ctor(System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AudioTrack__ctor_mA3681D1A7CC5391D65454915553EDF582C7490EF (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, int32_t ___uid0, String_t* ___name1, String_t* ___language2, bool ___isDefault3, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTextTrackName(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetTextTrackName_m628B77C722E7FCF7CC91D4153015B0392DCAF98E (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTextTrackLanguage(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetTextTrackLanguage_m74EE6F3A7E9FE3194FCDEABF0D296AFE2797B513 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsTextTrackActive(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsTextTrackActive_m4567DF4FEBE4B04D3ACDC631E84B1350100C2562 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TextTrack::.ctor(System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextTrack__ctor_m964B555915FD4640185992BCEED9CBF1047D8101 (TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31* __this, int32_t ___uid0, String_t* ___name1, String_t* ___language2, bool ___isDefault3, const RuntimeMethod* method) ;
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TextCue::set_Text(System.String)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TextCue_set_Text_mD2763F8269C7BB5FD9F0763F69D83F7334EC1052_inline (TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* __this, String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_TrackType(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_TrackType_mDC51E2EBEE0A33EDF85380E88E51817FCF0D7A4F_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_Uid(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_Uid_mBE149B8253B1CAC549ED47172CDA6222EC987A09_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_Name(System.String)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_Name_m7BEB71CCA26B2FF14FFF697CC9E2A6042D610711_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_Language(System.String)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_Language_m8B930B8EA5E9EE7446E0F268FFDC71FC88AD3619_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_IsDefault(System.Boolean)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_IsDefault_mBE4CAE02379C29F1294F82AE67A27442BE432636_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, bool ___value0, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::CreateDisplayName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TrackBase_CreateDisplayName_mAD525FD9B4768F44A24879B965B8A94AA01355D9 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_DisplayName(System.String)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_DisplayName_mF3AF8B7A9C87FF6FCAFB30667E7F29A3EEF78704_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::get_Name()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* TrackBase_get_Name_m01740047C8D985F2B6861D5668E700BDF9025B67_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::IsNullOrEmpty(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478 (String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.TrackBase::get_Uid()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t TrackBase_get_Uid_m8173B84FCBEC945BCF7B8409B0ECDFF6C7F67B6B_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method) ;
|
|
// System.String System.Int32::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __this, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::get_Language()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* TrackBase_get_Language_m884A41A99D5F115C30D097CFCA3013F06E515E6C_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method) ;
|
|
// System.String System.String::Format(System.String,System.Object,System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mFB7DA489BD99F4670881FF50EC017BFB0A5C0987 (String_t* ___format0, RuntimeObject* ___arg01, RuntimeObject* ___arg12, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.VideoTrack>::.ctor()
|
|
inline void TrackCollection_1__ctor_m2134CB8242E502E3FA35BD5EA8C190DC3C16950C (TrackCollection_1_t430D1159840E86C352B92A53895CB43177A8C6FD* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (TrackCollection_1_t430D1159840E86C352B92A53895CB43177A8C6FD*, const RuntimeMethod*))TrackCollection_1__ctor_m0B79D3A93CF3548591D55CA8188DFC3B6B73F1BC_gshared)(__this, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.AudioTrack>::.ctor()
|
|
inline void TrackCollection_1__ctor_m75FA599F1112966C820CC02590E97007BFA3D3B9 (TrackCollection_1_t4A8C574B884ED2EBC42CC852474738C9C9A1A5C6* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (TrackCollection_1_t4A8C574B884ED2EBC42CC852474738C9C9A1A5C6*, const RuntimeMethod*))TrackCollection_1__ctor_m0B79D3A93CF3548591D55CA8188DFC3B6B73F1BC_gshared)(__this, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackCollection`1<RenderHeads.Media.AVProVideo.TextTrack>::.ctor()
|
|
inline void TrackCollection_1__ctor_m35A84193F85A94E702CF4F086C2E48FF77A621F1 (TrackCollection_1_t7D45897E2C63836954B42BAF3EAEB04BB7C9B2B1* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (TrackCollection_1_t7D45897E2C63836954B42BAF3EAEB04BB7C9B2B1*, const RuntimeMethod*))TrackCollection_1__ctor_m0B79D3A93CF3548591D55CA8188DFC3B6B73F1BC_gshared)(__this, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase__ctor_mA2F8528093A8521BE9024978BFB03CFCFAC0519C (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::.ctor(RenderHeads.Media.AVProVideo.TrackType,System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase__ctor_mD86F79CAA48305C3BDFC3B113973E36D75DA6CAC (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___trackType0, int32_t ___uid1, String_t* ___name2, String_t* ___language3, bool ___isDefault4, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.HttpHeader::.ctor(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HttpHeader__ctor_m877E945429E6BE136A27EE56B092405C26295512 (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, String_t* ___name0, String_t* ___value1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsComplete()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsComplete_m28D537BC30F8394CE76ED2F20AC5C8FD054E5EF5 (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsValid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsValid_mB3B819C56846C6B43B952AF7874294AC496CF2D9 (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.HttpHeader::ToValidatedString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* HttpHeader_ToValidatedString_mC032ACB50CC67FB22930F6E5D3C960F7625BD45F (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsAscii(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsAscii_m6525170E78D2A229FAF531A83A6B7ABB26BDE109 (String_t* ___text0, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::Contains(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_Contains_m6D77B121FADA7CA5F397C0FABB65DA62DF03B6C3 (String_t* __this, String_t* ___value0, const RuntimeMethod* method) ;
|
|
// System.Char System.String::get_Chars(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3 (String_t* __this, int32_t ___index0, const RuntimeMethod* method) ;
|
|
// System.Int32 System.String::get_Length()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsValid(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsValid_mED5B496E6838F089631BF56157D0B808261CCC28 (String_t* ___text0, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1/Enumerator<T> System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::GetEnumerator()
|
|
inline Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, const RuntimeMethod*))List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::get_Item(System.Int32)
|
|
inline HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8 (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, int32_t ___index0, const RuntimeMethod* method)
|
|
{
|
|
return (( HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, int32_t, const RuntimeMethod*))List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8_gshared)(__this, ___index0, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::Clear()
|
|
inline void List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, const RuntimeMethod*))List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::Add(T)
|
|
inline void List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 ___item0, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45, const RuntimeMethod*))List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_gshared_inline)(__this, ___item0, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::get_Count()
|
|
inline int32_t List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, const RuntimeMethod*))List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>::Dispose()
|
|
inline void Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50 (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208*, const RuntimeMethod*))Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>::get_Current()
|
|
inline HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_inline (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 (*) (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208*, const RuntimeMethod*))Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.List`1/Enumerator<RenderHeads.Media.AVProVideo.HttpHeader>::MoveNext()
|
|
inline bool Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208*, const RuntimeMethod*))Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.HttpHeader>::.ctor()
|
|
inline void List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5 (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, const RuntimeMethod*))List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5_gshared)(__this, method);
|
|
}
|
|
// System.Byte[] System.Convert::FromBase64String(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* Convert_FromBase64String_m267327B074B41D93C9622D142B95CFAA4ACCCA9C (String_t* ___s0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_Reset_mFBF3243A204A98C4F7900BDE8BBFCADA20BA3AD1 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>::.ctor()
|
|
inline void List_1__ctor_m2C6CE7DA2F06E97C139A7F4D07A50AC3A0604C5D (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Int32 UnityEngine.Mathf::Max(System.Int32,System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline (int32_t ___a0, int32_t ___b1, const RuntimeMethod* method) ;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayerEvent RenderHeads.Media.AVProVideo.MediaPlayer::get_Events()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MediaPlayerEvent_t121509C282EF0611D2925165D8D101C0CDD759A8* MediaPlayer_get_Events_mC03BCDE15F4DD1621730080D407BDFEB4701962A (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Events.UnityAction`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>::.ctor(System.Object,System.IntPtr)
|
|
inline void UnityAction_3__ctor_m7C91BC66E7FAB384E7989EE1F26095E95EA5B3BC (UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81* __this, RuntimeObject* ___object0, intptr_t ___method1, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81*, RuntimeObject*, intptr_t, const RuntimeMethod*))UnityAction_3__ctor_mFFA2A157BCCAC9E24B08D227ECC631AB2A830CC7_gshared)(__this, ___object0, ___method1, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.MediaPlayerEvent::AddListener(UnityEngine.Events.UnityAction`3<RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MediaPlayerEvent_AddListener_mA7364D01750EEED48F9C0EA83BBF4A2FF9433358 (MediaPlayerEvent_t121509C282EF0611D2925165D8D101C0CDD759A8* __this, UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81* ___call0, const RuntimeMethod* method) ;
|
|
// UnityEngine.Shader UnityEngine.Shader::Find(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5 (String_t* ___name0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::.ctor(UnityEngine.Shader)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___shader0, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Shader::PropertyToID(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Shader_PropertyToID_mE98523D50F5656CAE89B30695C458253EB8956CA (String_t* ___name0, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::Log(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB (RuntimeObject* ___message0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::InvalidateBuffer()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_InvalidateBuffer_m0B913F9557E523326A11F73F357FFDBC948E3EDD (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::ReleaseRenderTextures()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_ReleaseRenderTextures_mD676A2A1B85F4B6613E26E0EFA89CCDB1E315F3D (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Application::get_isPlaying()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34 (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___obj0, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>::get_Item(System.Int32)
|
|
inline TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* __this, int32_t ___index0, const RuntimeMethod* method)
|
|
{
|
|
return (( TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* (*) (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___index0, method);
|
|
}
|
|
// System.Void UnityEngine.RenderTexture::ReleaseTemporary(UnityEngine.RenderTexture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_ReleaseTemporary_mEEF2C1990196FF06FDD0DC190928AD3A023EBDD2 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___temp0, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>::get_Count()
|
|
inline int32_t List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>::Clear()
|
|
inline void List_1_Clear_mFB2ACE52643AD70A974C2F1B52DE54B8718D2E5A_inline (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture[]>::Add(T)
|
|
inline void List_1_Add_m598BC6DC34899140EE3171EB821C9A1D03EC17E0_inline (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* __this, TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* ___item0, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23*, TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___item0, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimestampedRenderTexture__ctor_m39077E5F2697F63AC7FD0B7CC41776B33775CAF7 (TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.RenderTexture UnityEngine.RenderTexture::GetTemporary(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* RenderTexture_GetTemporary_m5B16E03FC6142149BDC336285A5C18D5152CA2C3 (int32_t ___width0, int32_t ___height1, int32_t ___depthBuffer2, const RuntimeMethod* method) ;
|
|
// UnityEngine.FilterMode UnityEngine.Texture::get_filterMode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Texture_get_filterMode_mFEF0AEA29E8468450EF85533965DCEBE66D02A45 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Texture::set_filterMode(UnityEngine.FilterMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture_set_filterMode_mE423E58C0C16D059EA62BA87AD70F44AEA50CCC9 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, int32_t ___value0, const RuntimeMethod* method) ;
|
|
// UnityEngine.TextureWrapMode UnityEngine.Texture::get_wrapMode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Texture_get_wrapMode_m1DE1C2813B72EDCCCEB396CFC91989358E8C3AD0 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Texture::set_wrapMode(UnityEngine.TextureWrapMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture_set_wrapMode_m1F74A690E3883EC9C5C371D502D09642F15D0F7E (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, int32_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Texture::get_anisoLevel()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Texture_get_anisoLevel_m49CB873A0A3A71281BAE34A9512803D76D2EA27F (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Texture::set_anisoLevel(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Texture_set_anisoLevel_m768759DE9D6BE15FCE995F5FC468980B904B9D1F (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* __this, int32_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::FindClosestFrame(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Resampler_FindClosestFrame_mE90CFA152953F0CBC0A6629409C34884BAC2BE63 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___frameIdx0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::DiscardContents()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_DiscardContents_m6C446FB1B7B57334FAD8847DB03E983975F38B32 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Graphics::Blit(UnityEngine.Texture,UnityEngine.RenderTexture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504 (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___source0, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___dest1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::set_TextureTimeStamp(System.Int64)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Resampler_set_TextureTimeStamp_mCDD4505315EEA519591775DD9C0384713B3F2B40_inline (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int64_t ___value0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::SetFloat(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, float ___value1, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::SetTexture(System.Int32,UnityEngine.Texture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetTexture_mA9F8461850AAB88F992E9C6FA6F24C2E050B83FD (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___value1, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Graphics::Blit(UnityEngine.Texture,UnityEngine.RenderTexture,UnityEngine.Material)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphics_Blit_m8DFE1C855FA028398E5072592582721D5DA6253F (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___source0, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___dest1, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___mat2, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___a0, float ___b1, float ___t2, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::FindBeforeFrameIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Resampler_FindBeforeFrameIndex_m2AE6A85DB94FFEF8B121D15655ADF64DDBE4596E (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___frameIdx0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::SampleFrame(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_SampleFrame_m6D60DC53849AE6D5DC8250878B2D8D41AAFC7EF5 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___frameIdx0, int32_t ___bufferIdx1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::set_LastT(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Resampler_set_LastT_mC0A0BE8D8A073BCA6524B182073DCF0D7288382F_inline (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, float ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::SampleFrames(System.Int32,System.Int32,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_SampleFrames_mD66D11E32A50184A7EB473941F91E419177A332F (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___bufferIdx0, int32_t ___frameIdx11, int32_t ___frameIdx22, float ___t3, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.Resampler::CheckRenderTexturesValid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Resampler_CheckRenderTexturesValid_m836221D21D6D23F1B4BEC3209852964D83822D15 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::ConstructRenderTextures()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_ConstructRenderTextures_m1A190174EB87518714F5A8D32EF7650A6A21B591 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::GuessFrameRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Resampler_GuessFrameRate_m88C9816585B360FB58452033AB2684B680FEDB5D (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::PointUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_PointUpdate_m6F90E2FA43C9BC205DE2B04629EBA02401C3DC1B (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::LinearUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_LinearUpdate_mB3CF3BA173B97983F66E053B73D05F69BDEAC5F9 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Time::get_unscaledDeltaTime()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_unscaledDeltaTime_mF057EECA857E5C0F90A3F910D26D3EE59F27C4B5 (const RuntimeMethod* method) ;
|
|
// System.String[] System.String::Split(System.Char[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* String_Split_m101D35FEC86371D2BB4E3480F6F896880093B2E9 (String_t* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___separator0, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Int32::Parse(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Int32_Parse_m273CA1A9C7717C99641291A95C543711C0202AF0 (String_t* ___s0, const RuntimeMethod* method) ;
|
|
// System.String System.String::Trim()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5 (String_t* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Text.RegularExpressions.Regex::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Regex__ctor_m082970AA73B8236360F0CA651FA24A8D1EBF89CD (Regex_tE773142C2BE45C5D362B0F815AFF831707A51772* __this, String_t* ___pattern0, const RuntimeMethod* method) ;
|
|
// System.String[] System.Text.RegularExpressions.Regex::Split(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* Regex_Split_m88380E0EEF6DD409DEA41D27A0A0634E1928D367 (Regex_tE773142C2BE45C5D362B0F815AFF831707A51772* __this, String_t* ___input0, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Subtitle>::.ctor(System.Int32)
|
|
inline void List_1__ctor_m29C27E5AF5869D2F882020874E9829D3ABD43660 (List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* __this, int32_t ___capacity0, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B*, int32_t, const RuntimeMethod*))List_1__ctor_m76CBBC3E2F0583F5AD30CE592CEA1225C06A0428_gshared)(__this, ___capacity0, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Subtitle::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Subtitle__ctor_mB2E36AD8BD2099E5D92CF09F4033C59C598D0AA9 (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* __this, const RuntimeMethod* method) ;
|
|
// System.String[] System.String::Split(System.String[],System.StringSplitOptions)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* String_Split_m03F46561E2DF46D1E3AE749A77706EFC2F6488F4 (String_t* __this, StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___separator0, int32_t ___options1, const RuntimeMethod* method) ;
|
|
// System.Double RenderHeads.Media.AVProVideo.SubtitleUtils::ParseTimeToSeconds(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double SubtitleUtils_ParseTimeToSeconds_mAD4BEC1689C86DF8BC2C118799CC02E396A2BB5C (String_t* ___text0, const RuntimeMethod* method) ;
|
|
// System.Void System.FormatException::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FormatException__ctor_mE04AEA59C0EEFF4BD34B7CE8601F9D331D1D473E (FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* __this, String_t* ___message0, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Subtitle>::Add(T)
|
|
inline void List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_inline (List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* __this, Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* ___item0, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B*, Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___item0, method);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.LazyShaderProperty::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529 (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, String_t* ___name0, const RuntimeMethod* method) ;
|
|
// System.String RenderHeads.Media.AVProVideo.LazyShaderProperty::get_Name()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LazyShaderProperty_get_Name_m647CC5EE748F44A502314D8D96FF99795FBB63EC_inline (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 RenderHeads.Media.AVProVideo.LazyShaderProperty::get_Id()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::DisableKeyword(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, String_t* ___keyword0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::EnableKeyword(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, String_t* ___keyword0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Shader::EnableKeyword(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_EnableKeyword_m2449D6D86962FA7F5D1ED2B165EF63B019CBCCF1 (String_t* ___keyword0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Shader::DisableKeyword(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Shader_DisableKeyword_m20FCB3643CD53D86E46DA431DA971E59D49DAF88 (String_t* ___keyword0, const RuntimeMethod* method) ;
|
|
// UnityEngine.ColorSpace UnityEngine.QualitySettings::get_activeColorSpace()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t QualitySettings_get_activeColorSpace_m4F47784E7B0FE0A5497C8BAB9CA86BD576FB92F9 (const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.MediaPlayer::get_UseResampler()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool MediaPlayer_get_UseResampler_m889BFBE683DD30406908AC8B7B862A8AD3DB7454_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method) ;
|
|
// RenderHeads.Media.AVProVideo.Resampler RenderHeads.Media.AVProVideo.MediaPlayer::get_FrameResampler()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* MediaPlayer_get_FrameResampler_m80964CB71EDF60E1107493F5478AA203D1779DA0_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Texture[] RenderHeads.Media.AVProVideo.Resampler::get_OutputTexture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* Resampler_get_OutputTexture_m3AB836CDACB1FDE9EB2275F4DCC760F094BF5758 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Texture RenderHeads.Media.AVProVideo.VideoRender::GetTexture(RenderHeads.Media.AVProVideo.MediaPlayer,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* VideoRender_GetTexture_mF22AEBB1FADE84A0A439988C4EFF09DF5E5E13A1 (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* ___mediaPlayer0, int32_t ___textureIndex1, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_identity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline (const RuntimeMethod* method) ;
|
|
// RenderHeads.Media.AVProVideo.MediaPlayer/OptionsAndroid RenderHeads.Media.AVProVideo.MediaPlayer::get_PlatformOptionsAndroid()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605* MediaPlayer_get_PlatformOptionsAndroid_m99C4FEF7199FEEEA9948F9D47E70CAB483534AE7_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method) ;
|
|
// RenderHeads.Media.AVProVideo.VideoMapping RenderHeads.Media.AVProVideo.MediaPlayer::get_VideoLayoutMapping()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t MediaPlayer_get_VideoLayoutMapping_m1F4908E9231423D117015771EA125A25015E27DB_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupMaterial(UnityEngine.Material,System.Boolean,System.Boolean,UnityEngine.Matrix4x4,UnityEngine.Texture,System.Single[],RenderHeads.Media.AVProVideo.VideoMapping,RenderHeads.Media.AVProVideo.StereoPacking,RenderHeads.Media.AVProVideo.AlphaPacking)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupMaterial_m4A79DB24932EE429B56F4BF40EB147C5A0F297AC (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___flipVertically1, bool ___playerSupportsLinear2, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___ycbcrTransform3, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___ycbcrTexture4, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___textureTransform5, int32_t ___mapping6, int32_t ___stereoPacking7, int32_t ___alphaPacking8, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupVerticalFlipMaterial(UnityEngine.Material,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupVerticalFlipMaterial_mD536374949F6586A4B112B6EA7B5F556143F60C8 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___flip1, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Material::HasProperty(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, int32_t ___nameID0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupLayoutMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.VideoMapping)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupLayoutMaterial_m5D6B519AA71C58F07653101C049F2166468DDA33 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___mapping1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupStereoMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.StereoPacking)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupStereoMaterial_m93FEFE843D718518F2AA7A1A65AE516367FB1058 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___packing1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupAlphaPackedMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.AlphaPacking)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupAlphaPackedMaterial_mBB03F013908CE3FEE0247DEB2DEABAC6E9DD65C0 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___packing1, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupGammaMaterial(UnityEngine.Material,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupGammaMaterial_m3393AACF1EAA7B2979AC4CCB26F0059864F1C194 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___playerSupportsLinear1, const RuntimeMethod* method) ;
|
|
// System.Boolean RenderHeads.Media.AVProVideo.VideoResolveOptions::IsColourAdjust()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool VideoResolveOptions_IsColourAdjust_m043320CA6C3119F8B5E93A4E75E5B79655132EE2 (VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::set_color(UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_set_color_m5C32DEBB215FF9EE35E7B575297D8C2F29CC2A2D (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___value0, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::GetResolveTextureSize(RenderHeads.Media.AVProVideo.AlphaPacking,RenderHeads.Media.AVProVideo.StereoPacking,RenderHeads.Media.AVProVideo.StereoEye,System.Single,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_GetResolveTextureSize_m1093BEC59EE8876534B37AE2E99895D06F3BB882 (int32_t ___alphaPacking0, int32_t ___stereoPacking1, int32_t ___eyeMode2, float ___pixelAspectRatio3, int32_t* ___width4, int32_t* ___height5, const RuntimeMethod* method) ;
|
|
// UnityEngine.RenderTexture UnityEngine.RenderTexture::GetTemporary(System.Int32,System.Int32,System.Int32,UnityEngine.RenderTextureFormat,UnityEngine.RenderTextureReadWrite)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* RenderTexture_GetTemporary_mA6619EA324AAE80B6892107C6968092F6F1B4C45 (int32_t ___width0, int32_t ___height1, int32_t ___depthBuffer2, int32_t ___format3, int32_t ___readWrite4, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.RenderTexture::IsCreated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RenderTexture_IsCreated_mB69D4DBD99D74AA5D1F3C9E84A08D6744A031006 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.RenderTexture::get_useMipMap()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RenderTexture_get_useMipMap_m76150AD5CF0192BC8DAC05522302D9C13ECD07D7 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::Release()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_Release_mE7399D6187A0E38945D2913D0FFB41247143AB1E (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::set_autoGenerateMips(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_set_autoGenerateMips_mDEFAC13954D315DE52B35B34577218D3AD4897A9 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, bool ___value0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::set_useMipMap(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_set_useMipMap_mB280A39DAB18372D3A0050FF20F730E5B0B44C32 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, bool ___value0, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.RenderTexture::Create()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RenderTexture_Create_mA6E4D3CCC84AC3F68E85AA0D6609E1692C672AD2 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.GL::get_sRGBWrite()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool GL_get_sRGBWrite_m0E8DDA5982CEB64D98CBF108A81D719637BDA5C1 (const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.RenderTexture::get_sRGB()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RenderTexture_get_sRGB_m84B7CD257050BA42363E9D1562AFEF2854BB4E04 (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GL::set_sRGBWrite(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_set_sRGBWrite_m28E2276D0879B7BAD039B14B10E470D312CDE0C8 (bool ___value0, const RuntimeMethod* method) ;
|
|
// UnityEngine.RenderTexture UnityEngine.RenderTexture::get_active()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7 (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.RenderTexture::set_active(UnityEngine.RenderTexture)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RenderTexture_set_active_m5EE8E2327EF9B306C1425014CC34C41A8384E7AB (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___value0, const RuntimeMethod* method) ;
|
|
// UnityEngine.Color UnityEngine.Color::get_black()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GL::Clear(System.Boolean,System.Boolean,UnityEngine.Color)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_Clear_mA172E771FC32B516DB826F537832307C3A16BE09 (bool ___clearDepth0, bool ___clearColor1, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___backgroundColor2, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___x0, float ___y1, float ___width2, float ___height3, const RuntimeMethod* method) ;
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::DrawTexture(UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,RenderHeads.Media.AVProVideo.AlphaPacking,System.Single,UnityEngine.Material)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_DrawTexture_m39D02C4B89D024F0E3368F7CAFDF59B6403CD96C (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___destRect0, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___texture1, int32_t ___scaleMode2, int32_t ___alphaPacking3, float ___pixelAspectRatio4, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material5, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mathf::RoundToInt(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___f0, const RuntimeMethod* method) ;
|
|
// UnityEngine.Event UnityEngine.Event::get_current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* Event_get_current_mBD7135E10C392EAD61AC0A0D2489EF758C8A3FAD (const RuntimeMethod* method) ;
|
|
// UnityEngine.EventType UnityEngine.Event::get_type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Event_get_type_m8A825D6DA432B967DAA3E22E5C8571620A75F8A8 (Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_width()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_height()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_xMin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_xMin_mE89C40702926D016A633399E20DB9501E251630D (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_yMin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_yMin_mB19848FB25DE61EDF958F7A22CFDD86DE103062F (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GL::PushMatrix()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_PushMatrix_mB505DD9B224528266FCADC716A16343838105A09 (const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Screen::get_width()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9 (const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Screen::get_height()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_height_m01A3102DE71EE1FBEA51D09D6B0261CF864FE8F9 (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GL::LoadPixelMatrix(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_LoadPixelMatrix_mF1C5A4508C5F110512C116A5DDE7AB0483FE961A (float ___left0, float ___right1, float ___bottom2, float ___top3, const RuntimeMethod* method) ;
|
|
// UnityEngine.Color UnityEngine.GUI::get_color()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GUI_get_color_m15488B4AD785D10DEB5C66398D0FA9A0C0EA7ABB (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Graphics::DrawTexture(UnityEngine.Rect,UnityEngine.Texture,UnityEngine.Rect,System.Int32,System.Int32,System.Int32,System.Int32,UnityEngine.Color,UnityEngine.Material)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Graphics_DrawTexture_m51E330054D8D18EA1C3A455B529B192BBB1AA2D3 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___screenRect0, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___texture1, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___sourceRect2, int32_t ___leftBorder3, int32_t ___rightBorder4, int32_t ___topBorder5, int32_t ___bottomBorder6, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___color7, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___mat8, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GL::PopMatrix()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GL_PopMatrix_mCE0D33302104D1168B6382136039E979E8C02855 (const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___value0, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method) ;
|
|
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB (RuntimeArray* ___array0, int32_t ___index1, int32_t ___length2, const RuntimeMethod* method) ;
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerInsertVideoElement(char*, int32_t*, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerWidth(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerHeight(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerGetLastError(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerGetVideoTrackCount(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerGetAudioTrackCount(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerGetTextTrackCount(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerSetActiveVideoTrack(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerSetActiveAudioTrack(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerSetActiveTextTrack(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerClose(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerReady(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerSetLooping(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsLooping(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsSeeking(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsPlaying(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsPaused(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsFinished(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsBuffering(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsPlaybackStalled(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerPlay(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerPause(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerSeekToTime(int32_t, double, int32_t);
|
|
IL2CPP_EXTERN_C double DEFAULT_CALL AVPPlayerGetCurrentTime(int32_t);
|
|
IL2CPP_EXTERN_C float DEFAULT_CALL AVPPlayerGetDuration(int32_t);
|
|
IL2CPP_EXTERN_C float DEFAULT_CALL AVPPlayerGetPlaybackRate(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerSetPlaybackRate(int32_t, float);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerSetMuted(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsMuted(int32_t);
|
|
IL2CPP_EXTERN_C float DEFAULT_CALL AVPPlayerGetVolume(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerSetVolume(int32_t, float);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerHasVideo(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerHasAudio(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerCreateVideoTexture(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerDestroyVideoTexture(int32_t);
|
|
IL2CPP_EXTERN_C void DEFAULT_CALL AVPPlayerFetchVideoTexture(int32_t, intptr_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerGetDecodedFrameCount(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerSupportedDecodedFrameCount(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerHasMetadata(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerUpdatePlayerIndex(int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerGetNumBufferedTimeRanges(int32_t);
|
|
IL2CPP_EXTERN_C double DEFAULT_CALL AVPPlayerGetTimeRangeStart(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C double DEFAULT_CALL AVPPlayerGetTimeRangeEnd(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C char* DEFAULT_CALL AVPPlayerGetVideoTrackName(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C char* DEFAULT_CALL AVPPlayerGetAudioTrackName(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C char* DEFAULT_CALL AVPPlayerGetTextTrackName(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C char* DEFAULT_CALL AVPPlayerGetVideoTrackLanguage(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C char* DEFAULT_CALL AVPPlayerGetAudioTrackLanguage(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C char* DEFAULT_CALL AVPPlayerGetTextTrackLanguage(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsVideoTrackActive(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsAudioTrackActive(int32_t, int32_t);
|
|
IL2CPP_EXTERN_C int32_t DEFAULT_CALL AVPPlayerIsTextTrackActive(int32_t, int32_t);
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.String RenderHeads.Media.AVProVideo.NullMediaPlayer::GetVersion()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NullMediaPlayer_GetVersion_m2E2063FE8F8CADE1A80881EA38E87A12FCC9A838 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral36C4B4074DE0349A5A7A3CEF8600D92296824996);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "0.0.0";
|
|
return _stringLiteral36C4B4074DE0349A5A7A3CEF8600D92296824996;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.NullMediaPlayer::GetExpectedVersion()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NullMediaPlayer_GetExpectedVersion_mEE586850D462F12850B7F1F4A1868B0D4A80A347 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetVersion();
|
|
String_t* L_0;
|
|
L_0 = VirtualFuncInvoker0< String_t* >::Invoke(122 /* System.String RenderHeads.Media.AVProVideo.BaseMediaPlayer::GetVersion() */, __this);
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::OpenMedia(System.String,System.Int64,System.String,RenderHeads.Media.AVProVideo.MediaHints,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_OpenMedia_m1F285DCC95031589AFA399F3DBB9B314E2FC5D7B (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, String_t* ___path0, int64_t ___offset1, String_t* ___httpHeader2, MediaHints_t916A8C9D21592BD170808C019593D4A248C15589 ___mediaHints3, int32_t ___forceFileFormat4, bool ___startWithHighestBitrate5, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8A12EDFA0124AE7FA2227D5CE4921ACE47393802);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9AD581FE7C141727C60385840002FA78EF806DFC);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// _texture_AVPro = (Texture2D)Resources.Load("Textures/AVProVideo-NullPlayer-Frame0");
|
|
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_0;
|
|
L_0 = Resources_Load_mA66E7AA8D024B495158F157382C3A8528306FFEA(_stringLiteral9AD581FE7C141727C60385840002FA78EF806DFC, NULL);
|
|
__this->____texture_AVPro_32 = ((Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)CastclassSealed((RuntimeObject*)L_0, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____texture_AVPro_32), (void*)((Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)CastclassSealed((RuntimeObject*)L_0, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var)));
|
|
// _texture_AVPro1 = (Texture2D)Resources.Load("Textures/AVProVideo-NullPlayer-Frame1");
|
|
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* L_1;
|
|
L_1 = Resources_Load_mA66E7AA8D024B495158F157382C3A8528306FFEA(_stringLiteral8A12EDFA0124AE7FA2227D5CE4921ACE47393802, NULL);
|
|
__this->____texture_AVPro1_33 = ((Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)CastclassSealed((RuntimeObject*)L_1, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var));
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____texture_AVPro1_33), (void*)((Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)CastclassSealed((RuntimeObject*)L_1, Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4_il2cpp_TypeInfo_var)));
|
|
// if( _texture_AVPro )
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_2 = __this->____texture_AVPro_32;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0059;
|
|
}
|
|
}
|
|
{
|
|
// _Width = _texture_AVPro.width;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_4 = __this->____texture_AVPro_32;
|
|
int32_t L_5;
|
|
L_5 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_4);
|
|
__this->____Width_29 = L_5;
|
|
// _height = _texture_AVPro.height;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_6 = __this->____texture_AVPro_32;
|
|
int32_t L_7;
|
|
L_7 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_6);
|
|
__this->____height_30 = L_7;
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// _texture = _texture_AVPro;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_8 = __this->____texture_AVPro_32;
|
|
__this->____texture_31 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____texture_31), (void*)L_8);
|
|
// _fakeFlipTime = 0.0f;
|
|
__this->____fakeFlipTime_34 = (0.0f);
|
|
// _frameCount = 0;
|
|
__this->____frameCount_35 = 0;
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::CloseMedia()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_CloseMedia_mEA4EFB7B8BD5D8B8578A63FDE98349290B9BE617 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _frameCount = 0;
|
|
__this->____frameCount_35 = 0;
|
|
// Resources.UnloadAsset(_texture_AVPro);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = __this->____texture_AVPro_32;
|
|
Resources_UnloadAsset_m4828D1393356C052061C66403B1437F7D7E21908(L_0, NULL);
|
|
// Resources.UnloadAsset(_texture_AVPro1);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_1 = __this->____texture_AVPro1_33;
|
|
Resources_UnloadAsset_m4828D1393356C052061C66403B1437F7D7E21908(L_1, NULL);
|
|
// base.CloseMedia();
|
|
BaseMediaPlayer_CloseMedia_mDF05061B7103E853B2AC02322532D8C8B15AC114(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::SetLooping(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_SetLooping_mF16558E4C1168C3645ED22D2C8213F56EEA1C83C (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, bool ___bLooping0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _bLoop = bLooping;
|
|
bool L_0 = ___bLooping0;
|
|
__this->____bLoop_28 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsLooping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsLooping_mAF92EDAA46390FC362CB3085ABF7C9D76058FC2F (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _bLoop;
|
|
bool L_0 = __this->____bLoop_28;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::HasMetaData()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_HasMetaData_m66AE9349A59758E6F8CEC45E2440E0E10DF3594A (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::CanPlay()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_CanPlay_m96E40CFCCFBE7F5DEAD8966D981DB934562856C0 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::HasAudio()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_HasAudio_mF38CAE1E409B24CEC9B0D447979E8CF24ED50296 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::HasVideo()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_HasVideo_mD2FFDE0F454B43B58E27EAC453CC5344F645EC3D (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Play()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Play_m6E2A2073295B5193175B79496553CB3DECC72B33 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _isPlaying = true;
|
|
__this->____isPlaying_23 = (bool)1;
|
|
// _isPaused = false;
|
|
__this->____isPaused_24 = (bool)0;
|
|
// _fakeFlipTime = 0.0f;
|
|
__this->____fakeFlipTime_34 = (0.0f);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Pause()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Pause_m51B150530E6AAB8BEC71EF90900A23A66DC7C80F (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _isPlaying = false;
|
|
__this->____isPlaying_23 = (bool)0;
|
|
// _isPaused = true;
|
|
__this->____isPaused_24 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Stop()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Stop_mF2825C65A606C4E9A064BA580907F63964098E5A (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _isPlaying = false;
|
|
__this->____isPlaying_23 = (bool)0;
|
|
// _isPaused = false;
|
|
__this->____isPaused_24 = (bool)0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsSeeking()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsSeeking_mC15918D4BB96D8F729188A49BB03212B008875CB (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsPlaying()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsPlaying_m04AE1C99AA92795C15F3F4E14D28E0AA868DB329 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _isPlaying;
|
|
bool L_0 = __this->____isPlaying_23;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsPaused()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsPaused_mE3FEF0E8441593B47D96DAAD341009EE22E5D859 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _isPaused;
|
|
bool L_0 = __this->____isPaused_24;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsFinished()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsFinished_mC78C72EA3055D8F1AEAF1EE78F2ADA4CECF4A614 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _isPlaying && (_currentTime >= GetDuration());
|
|
bool L_0 = __this->____isPlaying_23;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
double L_1 = __this->____currentTime_25;
|
|
double L_2;
|
|
L_2 = VirtualFuncInvoker0< double >::Invoke(145 /* System.Double RenderHeads.Media.AVProVideo.BaseMediaPlayer::GetDuration() */, __this);
|
|
return (bool)((((int32_t)((!(((double)L_1) >= ((double)L_2)))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsBuffering()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsBuffering_mD5B0B2FA6E3C3BD8EF5E808341FEE4F0632A346F (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.NullMediaPlayer::GetDuration()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double NullMediaPlayer_GetDuration_m235BA04932FB6B311E8A1926011FDE6B5E369B28 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return 10.0;
|
|
return (10.0);
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::GetVideoWidth()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NullMediaPlayer_GetVideoWidth_m73324DF183D2EB646EC06C6FE0BA60B70F252165 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _Width;
|
|
int32_t L_0 = __this->____Width_29;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::GetVideoHeight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NullMediaPlayer_GetVideoHeight_m40551F058C7663F8692A34C7DEF15C6E63ECE094 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _height;
|
|
int32_t L_0 = __this->____height_30;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::GetVideoDisplayRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NullMediaPlayer_GetVideoDisplayRate_m032855439AC6985C05CF767C1E6C7578531E0C3A (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return FrameRate;
|
|
return (10.0f);
|
|
}
|
|
}
|
|
// UnityEngine.Texture RenderHeads.Media.AVProVideo.NullMediaPlayer::GetTexture(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* NullMediaPlayer_GetTexture_mF39F8A8B245F30F9159A5341805569D477C98E6C (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, int32_t ___index0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _texture;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = __this->____texture_31;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::GetTextureFrameCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NullMediaPlayer_GetTextureFrameCount_m15D3CC750F0A4998D1C11B3F3DD73DBC63A468C7 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _frameCount;
|
|
int32_t L_0 = __this->____frameCount_35;
|
|
return L_0;
|
|
}
|
|
}
|
|
// RenderHeads.Media.AVProVideo.StereoPacking RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalGetTextureStereoPacking()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NullMediaPlayer_InternalGetTextureStereoPacking_mA2BF6AA0F93BA12B79983682AFFEF60B77DC65BF (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return StereoPacking.Unknown;
|
|
return (int32_t)(((int32_t)10));
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::RequiresVerticalFlip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_RequiresVerticalFlip_m4255E6E878B835A2156908D9C6F0F31158ED12ED (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Seek(System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Seek_m1ACF4C5359ABE1AC418909BF1A2B606B0D891F63 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, double ___time0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _currentTime = time;
|
|
double L_0 = ___time0;
|
|
__this->____currentTime_25 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::SeekFast(System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_SeekFast_mB7A8302B924169D09129ADE40D5968BFE703791C (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, double ___time0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _currentTime = time;
|
|
double L_0 = ___time0;
|
|
__this->____currentTime_25 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.NullMediaPlayer::GetCurrentTime()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double NullMediaPlayer_GetCurrentTime_mA5736A3E1EE3F71CFFF0FA1A9CF31172147510DC (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _currentTime;
|
|
double L_0 = __this->____currentTime_25;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::SetPlaybackRate(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_SetPlaybackRate_m74FEF32C463899E8E7AD00F439E9EDAA051BFA4A (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, float ___rate0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _playbackRate = rate;
|
|
float L_0 = ___rate0;
|
|
__this->____playbackRate_27 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::GetPlaybackRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NullMediaPlayer_GetPlaybackRate_mEF47BB100EBD42DE82B855550562F6228508D9A2 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _playbackRate;
|
|
float L_0 = __this->____playbackRate_27;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::MuteAudio(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_MuteAudio_mDDDCFAB36062573AD3F9A1E9B034103BC0E5C5A7 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, bool ___bMuted0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::IsMuted()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_IsMuted_m5D310B545F81D3201341B8DD0FF85275B4F10543 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::SetVolume(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_SetVolume_m108D0D9B78E18DBFA6EF9AA12FE10BB6A633662A (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, float ___volume0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _volume = volume;
|
|
float L_0 = ___volume0;
|
|
__this->____volume_26 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::GetVolume()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NullMediaPlayer_GetVolume_m4D4F8DD7A534A31D986B5938FE222A222B20A96C (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _volume;
|
|
float L_0 = __this->____volume_26;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.NullMediaPlayer::GetVideoFrameRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float NullMediaPlayer_GetVideoFrameRate_m384A408509690282789A8501DB619FC13AAB1086 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return 0.0f;
|
|
return (0.0f);
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Update_m30E70F11F70F50E7EBC54D6644F7C3CCE3A32180 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* G_B7_0 = NULL;
|
|
NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* G_B6_0 = NULL;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* G_B8_0 = NULL;
|
|
NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* G_B8_1 = NULL;
|
|
{
|
|
// UpdateSubtitles();
|
|
VirtualActionInvoker0::Invoke(211 /* System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::UpdateSubtitles() */, __this);
|
|
// if (_isPlaying)
|
|
bool L_0 = __this->____isPlaying_23;
|
|
if (!L_0)
|
|
{
|
|
goto IL_00b0;
|
|
}
|
|
}
|
|
{
|
|
// _currentTime += Time.deltaTime;
|
|
double L_1 = __this->____currentTime_25;
|
|
float L_2;
|
|
L_2 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
__this->____currentTime_25 = ((double)il2cpp_codegen_add(L_1, ((double)L_2)));
|
|
// if (_currentTime >= GetDuration())
|
|
double L_3 = __this->____currentTime_25;
|
|
double L_4;
|
|
L_4 = VirtualFuncInvoker0< double >::Invoke(145 /* System.Double RenderHeads.Media.AVProVideo.BaseMediaPlayer::GetDuration() */, __this);
|
|
if ((!(((double)L_3) >= ((double)L_4))))
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// _currentTime = GetDuration();
|
|
double L_5;
|
|
L_5 = VirtualFuncInvoker0< double >::Invoke(145 /* System.Double RenderHeads.Media.AVProVideo.BaseMediaPlayer::GetDuration() */, __this);
|
|
__this->____currentTime_25 = L_5;
|
|
// if( _bLoop )
|
|
bool L_6 = __this->____bLoop_28;
|
|
if (!L_6)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// Rewind();
|
|
VirtualActionInvoker0::Invoke(137 /* System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::Rewind() */, __this);
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// _fakeFlipTime += Time.deltaTime;
|
|
float L_7 = __this->____fakeFlipTime_34;
|
|
float L_8;
|
|
L_8 = Time_get_deltaTime_mC3195000401F0FD167DD2F948FD2BC58330D0865(NULL);
|
|
__this->____fakeFlipTime_34 = ((float)il2cpp_codegen_add(L_7, L_8));
|
|
// if( _fakeFlipTime >= (1.0 / FrameRate))
|
|
float L_9 = __this->____fakeFlipTime_34;
|
|
if ((!(((double)((double)L_9)) >= ((double)(0.10000000000000001)))))
|
|
{
|
|
goto IL_00b0;
|
|
}
|
|
}
|
|
{
|
|
// _fakeFlipTime = 0.0f;
|
|
__this->____fakeFlipTime_34 = (0.0f);
|
|
// _texture = ( _texture == _texture_AVPro ) ? _texture_AVPro1 : _texture_AVPro;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_10 = __this->____texture_31;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_11 = __this->____texture_AVPro_32;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_12;
|
|
L_12 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, L_11, NULL);
|
|
G_B6_0 = __this;
|
|
if (L_12)
|
|
{
|
|
G_B7_0 = __this;
|
|
goto IL_0097;
|
|
}
|
|
}
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_13 = __this->____texture_AVPro_32;
|
|
G_B8_0 = L_13;
|
|
G_B8_1 = G_B6_0;
|
|
goto IL_009d;
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_14 = __this->____texture_AVPro1_33;
|
|
G_B8_0 = L_14;
|
|
G_B8_1 = G_B7_0;
|
|
}
|
|
|
|
IL_009d:
|
|
{
|
|
G_B8_1->____texture_31 = G_B8_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&G_B8_1->____texture_31), (void*)G_B8_0);
|
|
// _frameCount++;
|
|
int32_t L_15 = __this->____frameCount_35;
|
|
__this->____frameCount_35 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_00b0:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Render()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Render_mC5E3AA96B365ACAF943DB29B131689EBF3E5A6A5 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer_Dispose_m61A5DA67AE1DDFEFA556F570E3E41E56ACF90C14 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalSetActiveTrack(RenderHeads.Media.AVProVideo.TrackType,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_InternalSetActiveTrack_m93E3D8B498C48D662CD9B59D331B4EECC454D39F (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, int32_t ___trackType0, int32_t ___trackUid1, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalIsChangedTracks(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_InternalIsChangedTracks_m443B839585871B85CF36D28F9D9D55127EF82A57 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, int32_t ___trackType0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalGetTrackCount(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NullMediaPlayer_InternalGetTrackCount_mA08F5CF0CA870378D59C5ADF1F43F2345F93D343 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, int32_t ___trackType0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// RenderHeads.Media.AVProVideo.TrackBase RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalGetTrackInfo(RenderHeads.Media.AVProVideo.TrackType,System.Int32,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* NullMediaPlayer_InternalGetTrackInfo_m7BA86B76494114B5457FD3482EA168EBA79170C2 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, int32_t ___trackType0, int32_t ___index1, bool* ___isActiveTrack2, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return null;
|
|
return (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE*)NULL;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalIsChangedTextCue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool NullMediaPlayer_InternalIsChangedTextCue_m5BFA684FCDC60F049DF5E0BD516380D1CBEEE10C (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.NullMediaPlayer::InternalGetCurrentTextCue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* NullMediaPlayer_InternalGetCurrentTextCue_mBAC954CDEBBE0F689561BF32FE09A8E9EF2570D4 (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return null;
|
|
return (String_t*)NULL;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.NullMediaPlayer::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NullMediaPlayer__ctor_m7DABC3D64239CFE5EBAAFE6779275DF3B103863D (NullMediaPlayer_t5AF69048EDFAAA7B8AA2CDBC430CB7108E76E38E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// private float _playbackRate = 1.0f;
|
|
__this->____playbackRate_27 = (1.0f);
|
|
// private int _Width = 256;
|
|
__this->____Width_29 = ((int32_t)256);
|
|
// private int _height = 256;
|
|
__this->____height_30 = ((int32_t)256);
|
|
BaseMediaPlayer__ctor_m9ED3C66417B8D72D5BC0DE295370793403283BC1(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerInsertVideoElement(System.String,System.Int32[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerInsertVideoElement_m18B8A9F69D9DDE8DCB4FB77808B1D805A199B49E (String_t* ___path0, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___idValues1, int32_t ___externalLibrary2, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (char*, int32_t*, int32_t);
|
|
|
|
// Marshaling of parameter '___path0' to native representation
|
|
char* ____path0_marshaled = NULL;
|
|
____path0_marshaled = il2cpp_codegen_marshal_string(___path0);
|
|
|
|
// Marshaling of parameter '___idValues1' to native representation
|
|
int32_t* ____idValues1_marshaled = NULL;
|
|
if (___idValues1 != NULL)
|
|
{
|
|
____idValues1_marshaled = reinterpret_cast<int32_t*>((___idValues1)->GetAddressAtUnchecked(0));
|
|
}
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerInsertVideoElement)(____path0_marshaled, ____idValues1_marshaled, ___externalLibrary2);
|
|
|
|
// Marshaling cleanup of parameter '___path0' native representation
|
|
il2cpp_codegen_marshal_free(____path0_marshaled);
|
|
____path0_marshaled = NULL;
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerWidth(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerWidth_m472E0059E734AC83838426D9FCE394FAB1198EB0 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerWidth)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHeight(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerHeight_mBA2DD93EDD6C7B6B945A16663BA30FAABDBBF88A (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerHeight)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetLastError(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetLastError_m3B3421D0A9D6A58BE21608D718127AC27E639134 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetLastError)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVideoTrackCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetVideoTrackCount_m4769C152A84E4024A237EEE2AEBCCB484CD66D7A (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetVideoTrackCount)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetAudioTrackCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetAudioTrackCount_m179EC8EADFB08EFD2BDDBE4E161FA0EFCD1FF4A7 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetAudioTrackCount)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTextTrackCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetTextTrackCount_m614C8347C4AAC161B1ED738A20C164FC82AB769A (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetTextTrackCount)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetActiveVideoTrack(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSetActiveVideoTrack_m51DDB65D432C5CC080C44681E491EC8F50EC740F (int32_t ___player0, int32_t ___trackId1, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerSetActiveVideoTrack)(___player0, ___trackId1);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetActiveAudioTrack(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSetActiveAudioTrack_mAC1EEE189AD05F70E8C702EC2BEF35F62C0892CD (int32_t ___player0, int32_t ___trackId1, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerSetActiveAudioTrack)(___player0, ___trackId1);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetActiveTextTrack(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSetActiveTextTrack_m534077AB9489FDF8F26CC610A47AB6DF321D4E5E (int32_t ___player0, int32_t ___trackId1, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerSetActiveTextTrack)(___player0, ___trackId1);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerClose(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerClose_m5B4B526E07970002F2EA62511DF2DB264572FF2C (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerClose)(___player0);
|
|
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerReady(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerReady_mCFCDFFDA5721F44EBC9662B401861F7C39850C47 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerReady)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetLooping(System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetLooping_m80CF9D9EB6B61843B0BE5EDFE0AB12C5AF7B142C (int32_t ___player0, bool ___loop1, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerSetLooping)(___player0, static_cast<int32_t>(___loop1));
|
|
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsLooping(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsLooping_mB55F4CA26634C8C54BD7E7AC2E6CABAE3CD224B3 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsLooping)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsSeeking(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsSeeking_m502F05B8E24573D40533183DF512E36D84A27C57 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsSeeking)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsPlaying(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsPlaying_m90ABC4472C80E68562B421A388060103C09EA228 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsPlaying)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsPaused(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsPaused_mCBE4B86DD93A26B9E5860839729FB208487EAB6D (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsPaused)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsFinished(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsFinished_m28597D4E49F66C528F071DD37086B1F9A635713A (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsFinished)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsBuffering(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsBuffering_mB04A4C1188D999B90C40A7D0E894E0447CE9494F (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsBuffering)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsPlaybackStalled(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsPlaybackStalled_m3457D016BAB15866D134BD2619B5088F1302F7A6 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsPlaybackStalled)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerPlay(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerPlay_m03A7EF4B874D64EB081239610E7F202123F77FBC (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerPlay)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerPause(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerPause_m8F07AEA66E20F9D7BEEA70BE2A7190FEA9187407 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerPause)(___player0);
|
|
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSeekToTime(System.Int32,System.Double,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSeekToTime_m4E5C3B7F861B99D73D977F538D2A6A9B4667866A (int32_t ___player0, double ___time1, bool ___fast2, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, double, int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerSeekToTime)(___player0, ___time1, static_cast<int32_t>(___fast2));
|
|
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetCurrentTime(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_AVPPlayerGetCurrentTime_m59EA6B21A85791C4BC8E0FA1C0E0FB907C561F9B (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef double (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
double returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetCurrentTime)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetDuration(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_AVPPlayerGetDuration_m609850863CB66CDF7C0A7227F836DC09F281A43B (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef float (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
float returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetDuration)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetPlaybackRate(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_AVPPlayerGetPlaybackRate_m300AF8DA9DD3CCD6BD54FF25A862D82E89A02D31 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef float (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
float returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetPlaybackRate)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetPlaybackRate(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetPlaybackRate_mF4AF8FA90481ACA47ECA0061CCFC9B4EB0584DCE (int32_t ___player0, float ___rate1, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, float);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerSetPlaybackRate)(___player0, ___rate1);
|
|
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetMuted(System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetMuted_m338120738D652258014F9F63463A2A1A650CE694 (int32_t ___player0, bool ___muted1, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerSetMuted)(___player0, static_cast<int32_t>(___muted1));
|
|
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsMuted(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsMuted_mC77FAC7DF60B5C122FFDE286E1C2BE8C519BF3EA (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsMuted)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVolume(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_AVPPlayerGetVolume_m4A17AC5B955FF9A19B360500EB8B098269A9CB6A (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef float (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
float returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetVolume)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSetVolume(System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerSetVolume_m7CE1FE48D530F275FE5A663FA9019665BFE91E93 (int32_t ___player0, float ___volume1, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, float);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerSetVolume)(___player0, ___volume1);
|
|
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHasVideo(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerHasVideo_mEB214102F34B5E305BACD64B60CA45245151CD97 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerHasVideo)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHasAudio(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerHasAudio_m13FE3C3DBF2A5A6026A8248FD7BFC6104A08FF31 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerHasAudio)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerCreateVideoTexture(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerCreateVideoTexture_m0FB500BDF72C041DA59FE09B1ED8E36F09CA719D (int32_t ___textureId0, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerCreateVideoTexture)(___textureId0);
|
|
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerDestroyVideoTexture(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerDestroyVideoTexture_m5EA9EE50BD9F75C79DA5ED2367329616C3C072EF (int32_t ___textureId0, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerDestroyVideoTexture)(___textureId0);
|
|
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerFetchVideoTexture(System.Int32,System.IntPtr,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_AVPPlayerFetchVideoTexture_mD0168FC0162E8A7E3B3806F6EBCF5A5F09801EB2 (int32_t ___player0, intptr_t ___texture1, bool ___init2, const RuntimeMethod* method)
|
|
{
|
|
typedef void (DEFAULT_CALL *PInvokeFunc) (int32_t, intptr_t, int32_t);
|
|
|
|
// Native function invocation
|
|
reinterpret_cast<PInvokeFunc>(AVPPlayerFetchVideoTexture)(___player0, ___texture1, static_cast<int32_t>(___init2));
|
|
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetDecodedFrameCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetDecodedFrameCount_mADD5A786FABEBB1312E37E4713C3791FA3699689 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetDecodedFrameCount)(___player0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerSupportedDecodedFrameCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerSupportedDecodedFrameCount_mDDF0EDC9FB581EE793A1AD59E59A15B52C5BC754 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerSupportedDecodedFrameCount)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerHasMetadata(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerHasMetadata_mAD3B5AE91A5012F63BEC9B95CFB11DCCB5458B20 (int32_t ___player0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerHasMetadata)(___player0);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerUpdatePlayerIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerUpdatePlayerIndex_m8062CD5D11131AC63063AEDD3BF048E329DE05C4 (int32_t ___id0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerUpdatePlayerIndex)(___id0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetNumBufferedTimeRanges(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_AVPPlayerGetNumBufferedTimeRanges_mFB23991D0F734C7DB8A394F439E73E1BDCE12177 (int32_t ___id0, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetNumBufferedTimeRanges)(___id0);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTimeRangeStart(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_AVPPlayerGetTimeRangeStart_mDF1030E741678F3B61ED009CD6F1899AAAB0E47D (int32_t ___id0, int32_t ___timeRangeIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef double (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
double returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetTimeRangeStart)(___id0, ___timeRangeIndex1);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTimeRangeEnd(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_AVPPlayerGetTimeRangeEnd_m6BE15C23FCBBC9146CA11C8D7FA290D912D16760 (int32_t ___id0, int32_t ___timeRangeIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef double (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
double returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetTimeRangeEnd)(___id0, ___timeRangeIndex1);
|
|
|
|
return returnValue;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVideoTrackName(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetVideoTrackName_mCE4AEB820AD4EC8ED5F0C944A8877ADEFDF1BFF0 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef char* (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
char* returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetVideoTrackName)(___player0, ___trackIndex1);
|
|
|
|
// Marshaling of return value back from native representation
|
|
String_t* _returnValue_unmarshaled = NULL;
|
|
_returnValue_unmarshaled = il2cpp_codegen_marshal_string_result(returnValue);
|
|
|
|
// Marshaling cleanup of return value native representation
|
|
il2cpp_codegen_marshal_free(returnValue);
|
|
returnValue = NULL;
|
|
|
|
return _returnValue_unmarshaled;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetAudioTrackName(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetAudioTrackName_m8D7805DA842811CAF5C95A54EE0AF974B22B511D (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef char* (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
char* returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetAudioTrackName)(___player0, ___trackIndex1);
|
|
|
|
// Marshaling of return value back from native representation
|
|
String_t* _returnValue_unmarshaled = NULL;
|
|
_returnValue_unmarshaled = il2cpp_codegen_marshal_string_result(returnValue);
|
|
|
|
// Marshaling cleanup of return value native representation
|
|
il2cpp_codegen_marshal_free(returnValue);
|
|
returnValue = NULL;
|
|
|
|
return _returnValue_unmarshaled;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTextTrackName(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetTextTrackName_m628B77C722E7FCF7CC91D4153015B0392DCAF98E (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef char* (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
char* returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetTextTrackName)(___player0, ___trackIndex1);
|
|
|
|
// Marshaling of return value back from native representation
|
|
String_t* _returnValue_unmarshaled = NULL;
|
|
_returnValue_unmarshaled = il2cpp_codegen_marshal_string_result(returnValue);
|
|
|
|
// Marshaling cleanup of return value native representation
|
|
il2cpp_codegen_marshal_free(returnValue);
|
|
returnValue = NULL;
|
|
|
|
return _returnValue_unmarshaled;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetVideoTrackLanguage(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetVideoTrackLanguage_m067DD4FB69D271D8C6158E10B48AA0976634555B (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef char* (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
char* returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetVideoTrackLanguage)(___player0, ___trackIndex1);
|
|
|
|
// Marshaling of return value back from native representation
|
|
String_t* _returnValue_unmarshaled = NULL;
|
|
_returnValue_unmarshaled = il2cpp_codegen_marshal_string_result(returnValue);
|
|
|
|
// Marshaling cleanup of return value native representation
|
|
il2cpp_codegen_marshal_free(returnValue);
|
|
returnValue = NULL;
|
|
|
|
return _returnValue_unmarshaled;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetAudioTrackLanguage(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetAudioTrackLanguage_mCFF925E6B7E58FAD8AD489E615FAC6CA0E7CB1F7 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef char* (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
char* returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetAudioTrackLanguage)(___player0, ___trackIndex1);
|
|
|
|
// Marshaling of return value back from native representation
|
|
String_t* _returnValue_unmarshaled = NULL;
|
|
_returnValue_unmarshaled = il2cpp_codegen_marshal_string_result(returnValue);
|
|
|
|
// Marshaling cleanup of return value native representation
|
|
il2cpp_codegen_marshal_free(returnValue);
|
|
returnValue = NULL;
|
|
|
|
return _returnValue_unmarshaled;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerGetTextTrackLanguage(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_AVPPlayerGetTextTrackLanguage_m74EE6F3A7E9FE3194FCDEABF0D296AFE2797B513 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef char* (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
char* returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerGetTextTrackLanguage)(___player0, ___trackIndex1);
|
|
|
|
// Marshaling of return value back from native representation
|
|
String_t* _returnValue_unmarshaled = NULL;
|
|
_returnValue_unmarshaled = il2cpp_codegen_marshal_string_result(returnValue);
|
|
|
|
// Marshaling cleanup of return value native representation
|
|
il2cpp_codegen_marshal_free(returnValue);
|
|
returnValue = NULL;
|
|
|
|
return _returnValue_unmarshaled;
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsVideoTrackActive(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsVideoTrackActive_m8A6952AE1FDC31CA258A138FFA81EFAEA2BCC377 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsVideoTrackActive)(___player0, ___trackIndex1);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsAudioTrackActive(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsAudioTrackActive_mBB1A62162E084CC9DE31C30805D772630963CB00 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsAudioTrackActive)(___player0, ___trackIndex1);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::AVPPlayerIsTextTrackActive(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_AVPPlayerIsTextTrackActive_m4567DF4FEBE4B04D3ACDC631E84B1350100C2562 (int32_t ___player0, int32_t ___trackIndex1, const RuntimeMethod* method)
|
|
{
|
|
typedef int32_t (DEFAULT_CALL *PInvokeFunc) (int32_t, int32_t);
|
|
|
|
// Native function invocation
|
|
int32_t returnValue = reinterpret_cast<PInvokeFunc>(AVPPlayerIsTextTrackActive)(___player0, ___trackIndex1);
|
|
|
|
return static_cast<bool>(returnValue);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InitialisePlatform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_InitialisePlatform_m5871F2D27D584F2FFC6EE5ADBB70E9ED9610143D (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// _isWebGL1 = (SystemInfo.graphicsDeviceType == UnityEngine.Rendering.GraphicsDeviceType.OpenGLES2);
|
|
int32_t L_0;
|
|
L_0 = SystemInfo_get_graphicsDeviceType_m2D54A0B94D138727041B29B127D8837165686545(NULL);
|
|
((WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_StaticFields*)il2cpp_codegen_static_fields_for(WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_il2cpp_TypeInfo_var))->____isWebGL1_37 = (bool)((((int32_t)L_0) == ((int32_t)8))? 1 : 0);
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::.ctor(RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer__ctor_m102FD4EEFA3FA748A1E590EE525EE003F473A0C4 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* ___options0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// private int _playerIndex = -1;
|
|
__this->____playerIndex_24 = (-1);
|
|
// private int _playerID = -1;
|
|
__this->____playerID_25 = (-1);
|
|
// private System.IntPtr _cachedTextureNativePtr = System.IntPtr.Zero;
|
|
intptr_t L_0 = ((IntPtr_t_StaticFields*)il2cpp_codegen_static_fields_for(IntPtr_t_il2cpp_TypeInfo_var))->___Zero_1;
|
|
__this->____cachedTextureNativePtr_36 = L_0;
|
|
// public WebGLMediaPlayer(MediaPlayer.OptionsWebGL options)
|
|
BaseMediaPlayer__ctor_m9ED3C66417B8D72D5BC0DE295370793403283BC1(__this, NULL);
|
|
// SetOptions(options);
|
|
OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* L_1 = ___options0;
|
|
WebGLMediaPlayer_SetOptions_m05E45D4E8DBE190D4A8193975D81053A483A8831(__this, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SetOptions(RenderHeads.Media.AVProVideo.MediaPlayer/OptionsWebGL)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_SetOptions_m05E45D4E8DBE190D4A8193975D81053A483A8831 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* ___options0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _externalLibrary = options.externalLibrary;
|
|
OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* L_0 = ___options0;
|
|
int32_t L_1 = L_0->___externalLibrary_2;
|
|
__this->____externalLibrary_23 = L_1;
|
|
// _useTextureMips = options.useTextureMips;
|
|
OptionsWebGL_tD880C75CFB9C53F63C90B709FB619DA375A41AB1* L_2 = ___options0;
|
|
bool L_3 = L_2->___useTextureMips_3;
|
|
__this->____useTextureMips_35 = L_3;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetVersion()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_GetVersion_m97B9C7FF4A1CCAAD2601C0FEADD6ECE3E23716FE (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB718667676A984E040D557E0B6DDA71E276A3E16);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return "2.1.6";
|
|
return _stringLiteralB718667676A984E040D557E0B6DDA71E276A3E16;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetExpectedVersion()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_GetExpectedVersion_m7FC0C45D9FDD4C2F9BA41A7B9427EC1FD368C36B (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GetVersion();
|
|
String_t* L_0;
|
|
L_0 = VirtualFuncInvoker0< String_t* >::Invoke(122 /* System.String RenderHeads.Media.AVProVideo.BaseMediaPlayer::GetVersion() */, __this);
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::OpenMedia(System.String,System.Int64,System.String,RenderHeads.Media.AVProVideo.MediaHints,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_OpenMedia_m5410A8191D4ABDC081B7E5EBED1A45D155E5033C (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, String_t* ___path0, int64_t ___offset1, String_t* ___httpHeader2, MediaHints_t916A8C9D21592BD170808C019593D4A248C15589 ___mediaHints3, int32_t ___forceFileFormat4, bool ___startWithHighestBitrate5, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3AE148F4539A6130C80EF45C5441F068ADBF8C8C);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral46FDE9A8C2A782D692F25006593F78DF1625D62A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6F4FAFD94D97B7105B393F85AC3640FEDC596DB0);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA493FF06F94D0907E2F1797D03C4EB68CE5751F2);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD1B53BD89CF5AF3ACF16EBB300657D98ECC9392B);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (path.StartsWith("http://") ||
|
|
// path.StartsWith("https://") ||
|
|
// path.StartsWith("file://") ||
|
|
// path.StartsWith("blob:") ||
|
|
// path.StartsWith("chrome-extension://"))
|
|
String_t* L_0 = ___path0;
|
|
bool L_1;
|
|
L_1 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_0, _stringLiteral3AE148F4539A6130C80EF45C5441F068ADBF8C8C, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = ___path0;
|
|
bool L_3;
|
|
L_3 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_2, _stringLiteralA493FF06F94D0907E2F1797D03C4EB68CE5751F2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_4 = ___path0;
|
|
bool L_5;
|
|
L_5 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_4, _stringLiteral218F5A08519088A96BE3C1074984C53EA49F1CCA, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_6 = ___path0;
|
|
bool L_7;
|
|
L_7 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_6, _stringLiteral6F4FAFD94D97B7105B393F85AC3640FEDC596DB0, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_8 = ___path0;
|
|
bool L_9;
|
|
L_9 = String_StartsWith_mF75DBA1EB709811E711B44E26FF919C88A8E65C0(L_8, _stringLiteral46FDE9A8C2A782D692F25006593F78DF1625D62A, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// int[] idValues = new int[2];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_10 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)2);
|
|
V_1 = L_10;
|
|
// idValues[0] = -1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = V_1;
|
|
(L_11)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (int32_t)(-1));
|
|
// AVPPlayerInsertVideoElement(path, idValues, (int)_externalLibrary);
|
|
String_t* L_12 = ___path0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_13 = V_1;
|
|
int32_t L_14 = __this->____externalLibrary_23;
|
|
bool L_15;
|
|
L_15 = WebGLMediaPlayer_AVPPlayerInsertVideoElement_m18B8A9F69D9DDE8DCB4FB77808B1D805A199B49E(L_12, L_13, L_14, NULL);
|
|
// int playerIndex = idValues[0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16 = V_1;
|
|
int32_t L_17 = 0;
|
|
int32_t L_18 = (L_16)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17));
|
|
V_2 = L_18;
|
|
// _playerID = idValues[1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_19 = V_1;
|
|
int32_t L_20 = 1;
|
|
int32_t L_21 = (L_19)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20));
|
|
__this->____playerID_25 = L_21;
|
|
// if (playerIndex > -1)
|
|
int32_t L_22 = V_2;
|
|
if ((((int32_t)L_22) <= ((int32_t)(-1))))
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// _playerIndex = playerIndex;
|
|
int32_t L_23 = V_2;
|
|
__this->____playerIndex_24 = L_23;
|
|
// _mediaHints = mediaHints;
|
|
MediaHints_t916A8C9D21592BD170808C019593D4A248C15589 L_24 = ___mediaHints3;
|
|
((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____mediaHints_5 = L_24;
|
|
// result = true;
|
|
V_0 = (bool)1;
|
|
goto IL_008a;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// Debug.LogError("[AVProVideo] Unknown URL protocol");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteralD1B53BD89CF5AF3ACF16EBB300657D98ECC9392B, NULL);
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// return result;
|
|
bool L_25 = V_0;
|
|
return L_25;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::CloseMedia()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_CloseMedia_mDFDFA1BF5D0815FF44315147376564CC1B7554D5 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
{
|
|
// Pause();
|
|
VirtualActionInvoker0::Invoke(135 /* System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::Pause() */, __this);
|
|
// _width = 0;
|
|
__this->____width_27 = 0;
|
|
// _height = 0;
|
|
__this->____height_28 = 0;
|
|
// _cachedVideoTrackCount = 0;
|
|
__this->____cachedVideoTrackCount_29 = 0;
|
|
// _cachedAudioTrackCount = 0;
|
|
__this->____cachedAudioTrackCount_30 = 0;
|
|
// _cachedTextTrackCount = 0;
|
|
__this->____cachedTextTrackCount_31 = 0;
|
|
// _isDirtyVideoTracks = false;
|
|
__this->____isDirtyVideoTracks_32 = (bool)0;
|
|
// _isDirtyAudioTracks = false;
|
|
__this->____isDirtyAudioTracks_33 = (bool)0;
|
|
// _isDirtyTextTracks = false;
|
|
__this->____isDirtyTextTracks_34 = (bool)0;
|
|
// AVPPlayerClose(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
WebGLMediaPlayer_AVPPlayerClose_m5B4B526E07970002F2EA62511DF2DB264572FF2C(L_1, NULL);
|
|
// if (_texture != null)
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_2 = __this->____texture_26;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// DestroyTexture();
|
|
WebGLMediaPlayer_DestroyTexture_m201F1D3C134B954F1ECDFAEDAF39F8EFC4A96EE7(__this, NULL);
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// _playerIndex = -1;
|
|
__this->____playerIndex_24 = (-1);
|
|
// _playerID = -1;
|
|
__this->____playerID_25 = (-1);
|
|
// base.CloseMedia();
|
|
BaseMediaPlayer_CloseMedia_mDF05061B7103E853B2AC02322532D8C8B15AC114(__this, NULL);
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsLooping()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsLooping_mBF8A74944B84A6F2EBC5577D1A665B25EB0C3E08 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsLooping(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsLooping_mB55F4CA26634C8C54BD7E7AC2E6CABAE3CD224B3(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SetLooping(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_SetLooping_mBF77E153C8A3B749BBEE436C3A3BFCC54E021955 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, bool ___looping0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerSetLooping(_playerIndex, looping);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
bool L_1 = ___looping0;
|
|
WebGLMediaPlayer_AVPPlayerSetLooping_m80CF9D9EB6B61843B0BE5EDFE0AB12C5AF7B142C(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::HasAudio()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_HasAudio_mFBB99670E7A8BEA32E6C4CC8A49C537B4C495D40 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerHasAudio(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerHasAudio_m13FE3C3DBF2A5A6026A8248FD7BFC6104A08FF31(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::HasVideo()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_HasVideo_m96E971D59AB64D293E82848E104D5578E3E9D669 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerHasVideo(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerHasVideo_mEB214102F34B5E305BACD64B60CA45245151CD97(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::HasMetaData()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_HasMetaData_m7D9AC5EDF62551B7FA65C93948A9C820C5A3248A (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerHasMetadata(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerHasMetadata_mAD3B5AE91A5012F63BEC9B95CFB11DCCB5458B20(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::CanPlay()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_CanPlay_m6FC86F964B486037DEFADF094BE99A438982B1EC (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerReady(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerReady_mCFCDFFDA5721F44EBC9662B401861F7C39850C47(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Play()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Play_mFCAD2E7EDC4B7BABF94A338D97DEF7EA8426526F (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD5D1E54DC2650B47E9E151A7B3CF1BC78C9D1AFC);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!AVPPlayerPlay(_playerIndex))
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
bool L_1;
|
|
L_1 = WebGLMediaPlayer_AVPPlayerPlay_m03A7EF4B874D64EB081239610E7F202123F77FBC(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogWarning("[AVProVideo] Browser permission prevented video playback");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteralD5D1E54DC2650B47E9E151A7B3CF1BC78C9D1AFC, NULL);
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Pause()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Pause_m6DFD4719536A7F2EBF8485A82197CC4792D59253 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerPause(_playerIndex);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
WebGLMediaPlayer_AVPPlayerPause_m8F07AEA66E20F9D7BEEA70BE2A7190FEA9187407(L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Stop()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Stop_m003E0304C3E8BB38E2649F8029ACDB3B456416EE (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerPause(_playerIndex);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
WebGLMediaPlayer_AVPPlayerPause_m8F07AEA66E20F9D7BEEA70BE2A7190FEA9187407(L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Seek(System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Seek_m113A4E0146E6EEB1883A18F91FC654AD7B0347D3 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, double ___time0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerSeekToTime(_playerIndex, time, false);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
double L_1 = ___time0;
|
|
WebGLMediaPlayer_AVPPlayerSeekToTime_m4E5C3B7F861B99D73D977F538D2A6A9B4667866A(L_0, L_1, (bool)0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SeekFast(System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_SeekFast_m59FD9D7822A7670A88E353AE1342CD5C9BA1DF94 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, double ___time0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerSeekToTime(_playerIndex, time, true);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
double L_1 = ___time0;
|
|
WebGLMediaPlayer_AVPPlayerSeekToTime_m4E5C3B7F861B99D73D977F538D2A6A9B4667866A(L_0, L_1, (bool)1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetCurrentTime()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_GetCurrentTime_mF039041163B7574B1ABDE18013EF52D023FE4F92 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
double V_0 = 0.0;
|
|
{
|
|
// double result = 0.0;
|
|
V_0 = (0.0);
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerGetCurrentTime(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
double L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerGetCurrentTime_m59EA6B21A85791C4BC8E0FA1C0E0FB907C561F9B(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// return result;
|
|
double L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SetPlaybackRate(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_SetPlaybackRate_m67596E5C40BE580667BA53399E84886E8B228599 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, float ___rate0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// rate = Mathf.Clamp(rate, 0.25f, 8f);
|
|
float L_0 = ___rate0;
|
|
float L_1;
|
|
L_1 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_0, (0.25f), (8.0f), NULL);
|
|
___rate0 = L_1;
|
|
// AVPPlayerSetPlaybackRate(_playerIndex, rate);
|
|
int32_t L_2 = __this->____playerIndex_24;
|
|
float L_3 = ___rate0;
|
|
WebGLMediaPlayer_AVPPlayerSetPlaybackRate_mF4AF8FA90481ACA47ECA0061CCFC9B4EB0584DCE(L_2, L_3, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetPlaybackRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_GetPlaybackRate_m4B579AD79043DD36E61C55ADFD7CF254FE6E8277 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float result = 0.0f;
|
|
V_0 = (0.0f);
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerGetPlaybackRate(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
float L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerGetPlaybackRate_m300AF8DA9DD3CCD6BD54FF25A862D82E89A02D31(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// return result;
|
|
float L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Double RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetDuration()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double WebGLMediaPlayer_GetDuration_m1B71F22B750D7DCC8A1A404A143EA26848F30B67 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
double V_0 = 0.0;
|
|
{
|
|
// double result = 0.0;
|
|
V_0 = (0.0);
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerGetDuration(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
float L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerGetDuration_m609850863CB66CDF7C0A7227F836DC09F281A43B(L_1, NULL);
|
|
V_0 = ((double)L_2);
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// return result;
|
|
double L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetVideoWidth()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_GetVideoWidth_mF204EFFB49FF1B42A36842716AA5B1960801F5FE (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (_width == 0)
|
|
int32_t L_0 = __this->____width_27;
|
|
if (L_0)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// _width = AVPPlayerWidth(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
int32_t L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerWidth_m472E0059E734AC83838426D9FCE394FAB1198EB0(L_1, NULL);
|
|
__this->____width_27 = L_2;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// return _width;
|
|
int32_t L_3 = __this->____width_27;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetVideoHeight()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_GetVideoHeight_mAB41942402AFB2C5942916D2FB7ED498849B03E3 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (_height == 0)
|
|
int32_t L_0 = __this->____height_28;
|
|
if (L_0)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// _height = AVPPlayerHeight(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
int32_t L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerHeight_mBA2DD93EDD6C7B6B945A16663BA30FAABDBBF88A(L_1, NULL);
|
|
__this->____height_28 = L_2;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// return _height;
|
|
int32_t L_3 = __this->____height_28;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetVideoFrameRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_GetVideoFrameRate_m85662DDBFED46B144D710E19C881FF5784BF74B8 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return 0f;
|
|
return (0.0f);
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsSeeking()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsSeeking_m977CB7038CC798D7F744A1D021F4D98CB46BFAC9 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsSeeking(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsSeeking_m502F05B8E24573D40533183DF512E36D84A27C57(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsPlaying()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsPlaying_m0538E722E2E16F698536C41342957C7230C0D2D7 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsPlaying(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsPlaying_m90ABC4472C80E68562B421A388060103C09EA228(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsPaused()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsPaused_m347CD92B6EB30DC850B5E852AD995037FCF5979F (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsPaused(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsPaused_mCBE4B86DD93A26B9E5860839729FB208487EAB6D(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsFinished()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsFinished_m0F55D0A2EFEAF32162AB3F841503420B63E79526 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsFinished(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsFinished_m28597D4E49F66C528F071DD37086B1F9A635713A(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsBuffering()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsBuffering_m77A7EF6259CD357F0FD6AD45776A174EF100B207 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsBuffering(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsBuffering_mB04A4C1188D999B90C40A7D0E894E0447CE9494F(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// UnityEngine.Texture RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetTexture(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* WebGLMediaPlayer_GetTexture_m03CB1B7088CB568285C254FEE37512BADD909D14 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, int32_t ___index0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return _texture;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = __this->____texture_26;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetTextureFrameCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_GetTextureFrameCount_m048245F2CBEDD39C928FAE81FF19FAB540A95ECB (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int result = 0;
|
|
V_0 = 0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerGetDecodedFrameCount(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
int32_t L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerGetDecodedFrameCount_mADD5A786FABEBB1312E37E4713C3791FA3699689(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
int32_t L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// RenderHeads.Media.AVProVideo.StereoPacking RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalGetTextureStereoPacking()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_InternalGetTextureStereoPacking_m0B0FB24A1A14805B81CF4F86A6F88D3FCD623D8F (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return StereoPacking.Unknown;
|
|
return (int32_t)(((int32_t)10));
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SupportsTextureFrameCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_SupportsTextureFrameCount_m8E625C1684145C98729E22333C493EFC7249946C (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerSupportedDecodedFrameCount(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerSupportedDecodedFrameCount_mDDF0EDC9FB581EE793A1AD59E59A15B52C5BC754(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::RequiresVerticalFlip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_RequiresVerticalFlip_mB03C3874B7DD50F99C84FD239859062AA18FA671 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsMuted()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsMuted_mA354AAADFC4AA7FDFFC6859DE31E967EF69BD0EB (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsMuted(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsMuted_mC77FAC7DF60B5C122FFDE286E1C2BE8C519BF3EA(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return result;
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::MuteAudio(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_MuteAudio_m74C2FC4FC32F7C3BF1C6FFAFE5F9B41C41A7DB05 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, bool ___bMute0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerSetMuted(_playerIndex, bMute);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
bool L_1 = ___bMute0;
|
|
WebGLMediaPlayer_AVPPlayerSetMuted_m338120738D652258014F9F63463A2A1A650CE694(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::SetVolume(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_SetVolume_mB40D36E28473C0DE5C3C6FD6BE22A1F04BA45790 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, float ___volume0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// AVPPlayerSetVolume(_playerIndex, volume);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
float L_1 = ___volume0;
|
|
WebGLMediaPlayer_AVPPlayerSetVolume_m7CE1FE48D530F275FE5A663FA9019665BFE91E93(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.WebGLMediaPlayer::GetVolume()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float WebGLMediaPlayer_GetVolume_m179B52EA8CBA04F0DB91E249935045FF47CF932E (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float result = 0.0f;
|
|
V_0 = (0.0f);
|
|
// if (_playerIndex != -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerGetVolume(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
float L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerGetVolume_m4A17AC5B955FF9A19B360500EB8B098269A9CB6A(L_1, NULL);
|
|
V_0 = L_2;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// return result;
|
|
float L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Render()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Render_m5DC7B0FD9CAA86D72DD68F4F489E96F506B81B50 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::UpdateLastErrorCode()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_UpdateLastErrorCode_mA14C793335773483A0CE69F5DE2DFC6E1B03081D (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// var code = AVPPlayerGetLastError(_playerIndex);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
int32_t L_1;
|
|
L_1 = WebGLMediaPlayer_AVPPlayerGetLastError_m3B3421D0A9D6A58BE21608D718127AC27E639134(L_0, NULL);
|
|
V_0 = L_1;
|
|
int32_t L_2 = V_0;
|
|
switch (L_2)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// _lastError = ErrorCode.None;
|
|
((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____lastError_1 = 0;
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// _lastError = ErrorCode.LoadFailed;
|
|
((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____lastError_1 = ((int32_t)100);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// _lastError = ErrorCode.LoadFailed;
|
|
((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____lastError_1 = ((int32_t)100);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// _lastError = ErrorCode.DecodeFailed;
|
|
((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____lastError_1 = ((int32_t)200);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// _lastError = ErrorCode.LoadFailed;
|
|
((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____lastError_1 = ((int32_t)100);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsMipMapGenerationSupported(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsMipMapGenerationSupported_m6A38060E7F3CCA7F0D583868F74FD1365D24CFD9 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, int32_t ___videoWidth0, int32_t ___videoHeight1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!_isWebGL1 || (Mathf.IsPowerOfTwo(videoWidth) && Mathf.IsPowerOfTwo(videoHeight)))
|
|
bool L_0 = ((WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_StaticFields*)il2cpp_codegen_static_fields_for(WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394_il2cpp_TypeInfo_var))->____isWebGL1_37;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___videoWidth0;
|
|
bool L_2;
|
|
L_2 = Mathf_IsPowerOfTwo_m58172AEBE272F53FD34CC10641057847181E960A(L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_3 = ___videoHeight1;
|
|
bool L_4;
|
|
L_4 = Mathf_IsPowerOfTwo_m58172AEBE272F53FD34CC10641057847181E960A(L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::CreateTexture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_CreateTexture_mA26D368DACC2D9EE6304D03DEB463DE41652DFA8 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7EA7CAD6C6E0661AC900E454360598BF786CD471);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
bool V_1 = false;
|
|
{
|
|
// int textureId = 80000 + _playerIndex;
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(((int32_t)80000), L_0));
|
|
// _cachedTextureNativePtr = new System.IntPtr(textureId);
|
|
int32_t L_1 = V_0;
|
|
intptr_t L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
IntPtr__ctor_m20A566609A091311C734617C699E61F545250AC7((&L_2), L_1, /*hidden argument*/NULL);
|
|
__this->____cachedTextureNativePtr_36 = L_2;
|
|
// AVPPlayerCreateVideoTexture(textureId);
|
|
int32_t L_3 = V_0;
|
|
WebGLMediaPlayer_AVPPlayerCreateVideoTexture_m0FB500BDF72C041DA59FE09B1ED8E36F09CA719D(L_3, NULL);
|
|
// _texture = Texture2D.CreateExternalTexture(_width, _height, TextureFormat.RGBA32, false, false, _cachedTextureNativePtr);
|
|
int32_t L_4 = __this->____width_27;
|
|
int32_t L_5 = __this->____height_28;
|
|
intptr_t L_6 = __this->____cachedTextureNativePtr_36;
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_7;
|
|
L_7 = Texture2D_CreateExternalTexture_mF821F07B386D19D124696C9A6F6EBEA84212B112(L_4, L_5, 4, (bool)0, (bool)0, L_6, NULL);
|
|
__this->____texture_26 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____texture_26), (void*)L_7);
|
|
// if (_useTextureMips)
|
|
bool L_8 = __this->____useTextureMips_35;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogWarning("[AVProVideo] Texture Mips not yet implemented in this WebGL rendering path");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral7EA7CAD6C6E0661AC900E454360598BF786CD471, NULL);
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// ApplyTextureProperties(_texture);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_9 = __this->____texture_26;
|
|
VirtualActionInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* >::Invoke(209 /* System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::ApplyTextureProperties(UnityEngine.Texture) */, __this, L_9);
|
|
// bool initTexture = true;
|
|
V_1 = (bool)1;
|
|
// AVPPlayerFetchVideoTexture(_playerIndex, _cachedTextureNativePtr, initTexture);
|
|
int32_t L_10 = __this->____playerIndex_24;
|
|
intptr_t L_11 = __this->____cachedTextureNativePtr_36;
|
|
bool L_12 = V_1;
|
|
WebGLMediaPlayer_AVPPlayerFetchVideoTexture_mD0168FC0162E8A7E3B3806F6EBCF5A5F09801EB2(L_10, L_11, L_12, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::DestroyTexture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_DestroyTexture_m201F1D3C134B954F1ECDFAEDAF39F8EFC4A96EE7 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (_texture != null)
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_0 = __this->____texture_26;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
// Texture2D.Destroy(_texture);
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_2 = __this->____texture_26;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Object_Destroy_mE97D0A766419A81296E8D4E5C23D01D3FE91ACBB(L_2, NULL);
|
|
// AVPPlayerDestroyVideoTexture(_cachedTextureNativePtr.ToInt32());
|
|
intptr_t* L_3 = (&__this->____cachedTextureNativePtr_36);
|
|
int32_t L_4;
|
|
L_4 = IntPtr_ToInt32_mD53B5D2C73C7E4BE5ADEBC5D187EACC83D5BB292(L_3, NULL);
|
|
WebGLMediaPlayer_AVPPlayerDestroyVideoTexture_m5EA9EE50BD9F75C79DA5ED2367329616C3C072EF(L_4, NULL);
|
|
// _texture = null;
|
|
__this->____texture_26 = (Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____texture_26), (void*)(Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4*)NULL);
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// _cachedTextureNativePtr = System.IntPtr.Zero;
|
|
intptr_t L_5 = ((IntPtr_t_StaticFields*)il2cpp_codegen_static_fields_for(IntPtr_t_il2cpp_TypeInfo_var))->___Zero_1;
|
|
__this->____cachedTextureNativePtr_36 = L_5;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Update_mFE692C24DD3E779E6DF263B4752ACF5290A7110B (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IntPtr_t_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if(_playerID >= 0) // CheckPlayer's index and update it
|
|
int32_t L_0 = __this->____playerID_25;
|
|
if ((((int32_t)L_0) < ((int32_t)0)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// _playerIndex = AVPPlayerUpdatePlayerIndex(_playerID);
|
|
int32_t L_1 = __this->____playerID_25;
|
|
int32_t L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerUpdatePlayerIndex_m8062CD5D11131AC63063AEDD3BF048E329DE05C4(L_1, NULL);
|
|
__this->____playerIndex_24 = L_2;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if(_playerIndex >= 0)
|
|
int32_t L_3 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_3) < ((int32_t)0)))
|
|
{
|
|
goto IL_0118;
|
|
}
|
|
}
|
|
{
|
|
// CheckTracksDirty();
|
|
WebGLMediaPlayer_CheckTracksDirty_mB36EA813FE5CF11ADD831AF9FCE53E2008A34970(__this, NULL);
|
|
// UpdateTracks();
|
|
BaseMediaPlayer_UpdateTracks_mCB692C3D6830B0AE22B81D267427FF3DE980CA7A(__this, NULL);
|
|
// UpdateTextCue();
|
|
bool L_4;
|
|
L_4 = BaseMediaPlayer_UpdateTextCue_m141C81A09195AD12CE9EF2827C0F1ABD613F2E5D(__this, (bool)0, NULL);
|
|
// UpdateSubtitles();
|
|
VirtualActionInvoker0::Invoke(211 /* System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::UpdateSubtitles() */, __this);
|
|
// UpdateLastErrorCode();
|
|
WebGLMediaPlayer_UpdateLastErrorCode_mA14C793335773483A0CE69F5DE2DFC6E1B03081D(__this, NULL);
|
|
// if (AVPPlayerReady(_playerIndex))
|
|
int32_t L_5 = __this->____playerIndex_24;
|
|
bool L_6;
|
|
L_6 = WebGLMediaPlayer_AVPPlayerReady_mCFCDFFDA5721F44EBC9662B401861F7C39850C47(L_5, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_0118;
|
|
}
|
|
}
|
|
{
|
|
// UpdateTimeRanges();
|
|
WebGLMediaPlayer_UpdateTimeRanges_mE5A9B6783B45B43BDD460643343D998080908253(__this, NULL);
|
|
// if (AVPPlayerHasVideo(_playerIndex))
|
|
int32_t L_7 = __this->____playerIndex_24;
|
|
bool L_8;
|
|
L_8 = WebGLMediaPlayer_AVPPlayerHasVideo_mEB214102F34B5E305BACD64B60CA45245151CD97(L_7, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0118;
|
|
}
|
|
}
|
|
{
|
|
// _width = AVPPlayerWidth(_playerIndex);
|
|
int32_t L_9 = __this->____playerIndex_24;
|
|
int32_t L_10;
|
|
L_10 = WebGLMediaPlayer_AVPPlayerWidth_m472E0059E734AC83838426D9FCE394FAB1198EB0(L_9, NULL);
|
|
__this->____width_27 = L_10;
|
|
// _height = AVPPlayerHeight(_playerIndex);
|
|
int32_t L_11 = __this->____playerIndex_24;
|
|
int32_t L_12;
|
|
L_12 = WebGLMediaPlayer_AVPPlayerHeight_mBA2DD93EDD6C7B6B945A16663BA30FAABDBBF88A(L_11, NULL);
|
|
__this->____height_28 = L_12;
|
|
// if (_texture != null && (_texture.width != _width || _texture.height != _height))
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_13 = __this->____texture_26;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_14;
|
|
L_14 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_13, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_14)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_15 = __this->____texture_26;
|
|
int32_t L_16;
|
|
L_16 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_15);
|
|
int32_t L_17 = __this->____width_27;
|
|
if ((!(((uint32_t)L_16) == ((uint32_t)L_17))))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_18 = __this->____texture_26;
|
|
int32_t L_19;
|
|
L_19 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_18);
|
|
int32_t L_20 = __this->____height_28;
|
|
if ((((int32_t)L_19) == ((int32_t)L_20)))
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// DestroyTexture();
|
|
WebGLMediaPlayer_DestroyTexture_m201F1D3C134B954F1ECDFAEDAF39F8EFC4A96EE7(__this, NULL);
|
|
}
|
|
|
|
IL_00c8:
|
|
{
|
|
// if (_texture == null && _width > 0 && _height > 0)
|
|
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4* L_21 = __this->____texture_26;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_22;
|
|
L_22 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_21, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_22)
|
|
{
|
|
goto IL_00ee;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_23 = __this->____width_27;
|
|
if ((((int32_t)L_23) <= ((int32_t)0)))
|
|
{
|
|
goto IL_00ee;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_24 = __this->____height_28;
|
|
if ((((int32_t)L_24) <= ((int32_t)0)))
|
|
{
|
|
goto IL_00ee;
|
|
}
|
|
}
|
|
{
|
|
// CreateTexture();
|
|
WebGLMediaPlayer_CreateTexture_mA26D368DACC2D9EE6304D03DEB463DE41652DFA8(__this, NULL);
|
|
}
|
|
|
|
IL_00ee:
|
|
{
|
|
// if (_cachedTextureNativePtr != System.IntPtr.Zero)
|
|
intptr_t L_25 = __this->____cachedTextureNativePtr_36;
|
|
intptr_t L_26 = ((IntPtr_t_StaticFields*)il2cpp_codegen_static_fields_for(IntPtr_t_il2cpp_TypeInfo_var))->___Zero_1;
|
|
bool L_27;
|
|
L_27 = IntPtr_op_Inequality_m90EFC9C4CAD9A33E309F2DDF98EE4E1DD253637B(L_25, L_26, NULL);
|
|
if (!L_27)
|
|
{
|
|
goto IL_0112;
|
|
}
|
|
}
|
|
{
|
|
// AVPPlayerFetchVideoTexture(_playerIndex, _cachedTextureNativePtr, false);
|
|
int32_t L_28 = __this->____playerIndex_24;
|
|
intptr_t L_29 = __this->____cachedTextureNativePtr_36;
|
|
WebGLMediaPlayer_AVPPlayerFetchVideoTexture_mD0168FC0162E8A7E3B3806F6EBCF5A5F09801EB2(L_28, L_29, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0112:
|
|
{
|
|
// UpdateDisplayFrameRate();
|
|
BaseMediaPlayer_UpdateDisplayFrameRate_mF58B4DA95A0B863A434BEA550684D30CF39CC945(__this, NULL);
|
|
}
|
|
|
|
IL_0118:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::CheckTracksDirty()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_CheckTracksDirty_mB36EA813FE5CF11ADD831AF9FCE53E2008A34970 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// _isDirtyVideoTracks = false;
|
|
__this->____isDirtyVideoTracks_32 = (bool)0;
|
|
// _isDirtyAudioTracks = false;
|
|
__this->____isDirtyAudioTracks_33 = (bool)0;
|
|
// _isDirtyTextTracks = false;
|
|
__this->____isDirtyTextTracks_34 = (bool)0;
|
|
// int videoTrackCount = AVPPlayerGetVideoTrackCount(_playerIndex);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
int32_t L_1;
|
|
L_1 = WebGLMediaPlayer_AVPPlayerGetVideoTrackCount_m4769C152A84E4024A237EEE2AEBCCB484CD66D7A(L_0, NULL);
|
|
V_0 = L_1;
|
|
// int audioTrackCount = AVPPlayerGetAudioTrackCount(_playerIndex);
|
|
int32_t L_2 = __this->____playerIndex_24;
|
|
int32_t L_3;
|
|
L_3 = WebGLMediaPlayer_AVPPlayerGetAudioTrackCount_m179EC8EADFB08EFD2BDDBE4E161FA0EFCD1FF4A7(L_2, NULL);
|
|
V_1 = L_3;
|
|
// int textTrackCount = AVPPlayerGetTextTrackCount(_playerIndex);
|
|
int32_t L_4 = __this->____playerIndex_24;
|
|
int32_t L_5;
|
|
L_5 = WebGLMediaPlayer_AVPPlayerGetTextTrackCount_m614C8347C4AAC161B1ED738A20C164FC82AB769A(L_4, NULL);
|
|
V_2 = L_5;
|
|
// _isDirtyVideoTracks = (_cachedVideoTrackCount != videoTrackCount);
|
|
int32_t L_6 = __this->____cachedVideoTrackCount_29;
|
|
int32_t L_7 = V_0;
|
|
__this->____isDirtyVideoTracks_32 = (bool)((((int32_t)((((int32_t)L_6) == ((int32_t)L_7))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
// _isDirtyAudioTracks = (_cachedAudioTrackCount != audioTrackCount);
|
|
int32_t L_8 = __this->____cachedAudioTrackCount_30;
|
|
int32_t L_9 = V_1;
|
|
__this->____isDirtyAudioTracks_33 = (bool)((((int32_t)((((int32_t)L_8) == ((int32_t)L_9))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
// _isDirtyTextTracks = ( _cachedTextTrackCount != textTrackCount);
|
|
int32_t L_10 = __this->____cachedTextTrackCount_31;
|
|
int32_t L_11 = V_2;
|
|
__this->____isDirtyTextTracks_34 = (bool)((((int32_t)((((int32_t)L_10) == ((int32_t)L_11))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
// _cachedVideoTrackCount = videoTrackCount;
|
|
int32_t L_12 = V_0;
|
|
__this->____cachedVideoTrackCount_29 = L_12;
|
|
// _cachedAudioTrackCount = audioTrackCount;
|
|
int32_t L_13 = V_1;
|
|
__this->____cachedAudioTrackCount_30 = L_13;
|
|
// _cachedTextTrackCount = textTrackCount;
|
|
int32_t L_14 = V_2;
|
|
__this->____cachedTextTrackCount_31 = L_14;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::UpdateTimeRanges()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_UpdateTimeRanges_mE5A9B6783B45B43BDD460643343D998080908253 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
double V_2 = 0.0;
|
|
double V_3 = 0.0;
|
|
double V_4 = 0.0;
|
|
{
|
|
// int rangeCount = AVPPlayerGetNumBufferedTimeRanges(_playerIndex);
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
int32_t L_1;
|
|
L_1 = WebGLMediaPlayer_AVPPlayerGetNumBufferedTimeRanges_mFB23991D0F734C7DB8A394F439E73E1BDCE12177(L_0, NULL);
|
|
V_0 = L_1;
|
|
// if (rangeCount != _bufferedTimes.Count)
|
|
int32_t L_2 = V_0;
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_3 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____bufferedTimes_7;
|
|
int32_t L_4;
|
|
L_4 = TimeRanges_get_Count_mE253B759FCC97EA2E8F8CA0F4FDC6B1DDAC06A2D(L_3, NULL);
|
|
if ((((int32_t)L_2) == ((int32_t)L_4)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// _bufferedTimes._ranges = new TimeRange[rangeCount];
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_5 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____bufferedTimes_7;
|
|
int32_t L_6 = V_0;
|
|
TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19* L_7 = (TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19*)(TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19*)SZArrayNew(TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19_il2cpp_TypeInfo_var, (uint32_t)L_6);
|
|
L_5->____ranges_0 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_5->____ranges_0), (void*)L_7);
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// for (int i = 0; i < rangeCount; i++)
|
|
V_1 = 0;
|
|
goto IL_0067;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// double startTime = AVPPlayerGetTimeRangeStart(_playerIndex, i);
|
|
int32_t L_8 = __this->____playerIndex_24;
|
|
int32_t L_9 = V_1;
|
|
double L_10;
|
|
L_10 = WebGLMediaPlayer_AVPPlayerGetTimeRangeStart_mDF1030E741678F3B61ED009CD6F1899AAAB0E47D(L_8, L_9, NULL);
|
|
V_2 = L_10;
|
|
// double endTime = AVPPlayerGetTimeRangeEnd(_playerIndex, i);
|
|
int32_t L_11 = __this->____playerIndex_24;
|
|
int32_t L_12 = V_1;
|
|
double L_13;
|
|
L_13 = WebGLMediaPlayer_AVPPlayerGetTimeRangeEnd_m6BE15C23FCBBC9146CA11C8D7FA290D912D16760(L_11, L_12, NULL);
|
|
V_3 = L_13;
|
|
// _bufferedTimes._ranges[i] = new TimeRange(startTime, endTime - startTime);
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_14 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____bufferedTimes_7;
|
|
TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19* L_15 = L_14->____ranges_0;
|
|
int32_t L_16 = V_1;
|
|
double L_17 = V_2;
|
|
double L_18 = V_3;
|
|
double L_19 = V_2;
|
|
TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF L_20;
|
|
memset((&L_20), 0, sizeof(L_20));
|
|
TimeRange__ctor_m7F4D6CD7D9EBB33B17B02C9E1AC99F80EA29573D((&L_20), L_17, ((double)il2cpp_codegen_subtract(L_18, L_19)), /*hidden argument*/NULL);
|
|
(L_15)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16), (TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF)L_20);
|
|
// for (int i = 0; i < rangeCount; i++)
|
|
int32_t L_21 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// for (int i = 0; i < rangeCount; i++)
|
|
int32_t L_22 = V_1;
|
|
int32_t L_23 = V_0;
|
|
if ((((int32_t)L_22) < ((int32_t)L_23)))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// _bufferedTimes.CalculateRange();
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_24 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____bufferedTimes_7;
|
|
TimeRanges_CalculateRange_mC28784300FA39DBE92EACE4E35F7406BAAAFA7A0(L_24, NULL);
|
|
// double duration = GetDuration();
|
|
double L_25;
|
|
L_25 = VirtualFuncInvoker0< double >::Invoke(145 /* System.Double RenderHeads.Media.AVProVideo.BaseMediaPlayer::GetDuration() */, __this);
|
|
V_4 = L_25;
|
|
// if (duration > 0.0)
|
|
double L_26 = V_4;
|
|
if ((!(((double)L_26) > ((double)(0.0)))))
|
|
{
|
|
goto IL_00bf;
|
|
}
|
|
}
|
|
{
|
|
// _seekableTimes._ranges = new TimeRange[1];
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_27 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____seekableTimes_6;
|
|
TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19* L_28 = (TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19*)(TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19*)SZArrayNew(TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19_il2cpp_TypeInfo_var, (uint32_t)1);
|
|
L_27->____ranges_0 = L_28;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_27->____ranges_0), (void*)L_28);
|
|
// _seekableTimes._ranges[0] = new TimeRange(0.0, duration);
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_29 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____seekableTimes_6;
|
|
TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19* L_30 = L_29->____ranges_0;
|
|
double L_31 = V_4;
|
|
TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF L_32;
|
|
memset((&L_32), 0, sizeof(L_32));
|
|
TimeRange__ctor_m7F4D6CD7D9EBB33B17B02C9E1AC99F80EA29573D((&L_32), (0.0), L_31, /*hidden argument*/NULL);
|
|
(L_30)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (TimeRange_tBBA1CEEC74FB6CF6F9781DECA8E8AEF103C33CAF)L_32);
|
|
goto IL_00d0;
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
// _seekableTimes._ranges = new TimeRange[0];
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_33 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____seekableTimes_6;
|
|
TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19* L_34 = (TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19*)(TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19*)SZArrayNew(TimeRangeU5BU5D_tA898FFB894BB2CE846E7CF8870E5615878BA5F19_il2cpp_TypeInfo_var, (uint32_t)0);
|
|
L_33->____ranges_0 = L_34;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_33->____ranges_0), (void*)L_34);
|
|
}
|
|
|
|
IL_00d0:
|
|
{
|
|
// _seekableTimes.CalculateRange();
|
|
TimeRanges_tFFAA5DD5161D30CAB1EC092138FF58788127B594* L_35 = ((BaseMediaPlayer_tFA078F6B054890E45F61CE4D873B42D52C0B8104*)__this)->____seekableTimes_6;
|
|
TimeRanges_CalculateRange_mC28784300FA39DBE92EACE4E35F7406BAAAFA7A0(L_35, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.WebGLMediaPlayer::Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebGLMediaPlayer_Dispose_mF9CB92E09A0EF3585BC249FC612B1945F19DCB5B (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// CloseMedia();
|
|
VirtualActionInvoker0::Invoke(129 /* System.Void RenderHeads.Media.AVProVideo.BaseMediaPlayer::CloseMedia() */, __this);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::IsPlaybackStalled()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_IsPlaybackStalled_m0BF96C383E0CB0BC37DE4C729BBDDA7794554B46 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
int32_t G_B4_0 = 0;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
// if (_playerIndex > -1)
|
|
int32_t L_0 = __this->____playerIndex_24;
|
|
if ((((int32_t)L_0) <= ((int32_t)(-1))))
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// result = AVPPlayerIsPlaybackStalled(_playerIndex) && IsPlaying();
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
bool L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerIsPlaybackStalled_m3457D016BAB15866D134BD2619B5088F1302F7A6(L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
bool L_3;
|
|
L_3 = VirtualFuncInvoker0< bool >::Invoke(153 /* System.Boolean RenderHeads.Media.AVProVideo.BaseMediaPlayer::IsPlaying() */, __this);
|
|
G_B4_0 = ((int32_t)(L_3));
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
G_B4_0 = 0;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
V_0 = (bool)G_B4_0;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// return result;
|
|
bool L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalGetTrackCount(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t WebGLMediaPlayer_InternalGetTrackCount_m26781306EA6399031A1EA6F3B8AD144A1CC1DB34 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, int32_t ___trackType0, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
// int result = 0;
|
|
V_0 = 0;
|
|
int32_t L_0 = ___trackType0;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// result = AVPPlayerGetVideoTrackCount(_playerIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
int32_t L_2;
|
|
L_2 = WebGLMediaPlayer_AVPPlayerGetVideoTrackCount_m4769C152A84E4024A237EEE2AEBCCB484CD66D7A(L_1, NULL);
|
|
V_0 = L_2;
|
|
// break;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// result = AVPPlayerGetAudioTrackCount(_playerIndex);
|
|
int32_t L_3 = __this->____playerIndex_24;
|
|
int32_t L_4;
|
|
L_4 = WebGLMediaPlayer_AVPPlayerGetAudioTrackCount_m179EC8EADFB08EFD2BDDBE4E161FA0EFCD1FF4A7(L_3, NULL);
|
|
V_0 = L_4;
|
|
// break;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// result = AVPPlayerGetTextTrackCount(_playerIndex);
|
|
int32_t L_5 = __this->____playerIndex_24;
|
|
int32_t L_6;
|
|
L_6 = WebGLMediaPlayer_AVPPlayerGetTextTrackCount_m614C8347C4AAC161B1ED738A20C164FC82AB769A(L_5, NULL);
|
|
V_0 = L_6;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// return result;
|
|
int32_t L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalIsChangedTracks(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_InternalIsChangedTracks_mD444BE4BEA96BFA3BE60569C5DDF9796E8FE064A (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, int32_t ___trackType0, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
int32_t L_0 = ___trackType0;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// result = _isDirtyVideoTracks;
|
|
bool L_1 = __this->____isDirtyVideoTracks_32;
|
|
V_0 = L_1;
|
|
// break;
|
|
goto IL_002f;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// result = _isDirtyAudioTracks;
|
|
bool L_2 = __this->____isDirtyAudioTracks_33;
|
|
V_0 = L_2;
|
|
// break;
|
|
goto IL_002f;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// result = _isDirtyTextTracks;
|
|
bool L_3 = __this->____isDirtyTextTracks_34;
|
|
V_0 = L_3;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// return result;
|
|
bool L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalSetActiveTrack(RenderHeads.Media.AVProVideo.TrackType,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_InternalSetActiveTrack_mC1A2FC9C2501D3592700DA32E0315DD649953DC7 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, int32_t ___trackType0, int32_t ___trackId1, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool result = false;
|
|
V_0 = (bool)0;
|
|
int32_t L_0 = ___trackType0;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// result = AVPPlayerSetActiveVideoTrack(_playerIndex, trackId);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
int32_t L_2 = ___trackId1;
|
|
bool L_3;
|
|
L_3 = WebGLMediaPlayer_AVPPlayerSetActiveVideoTrack_m51DDB65D432C5CC080C44681E491EC8F50EC740F(L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// break;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// result = AVPPlayerSetActiveAudioTrack(_playerIndex, trackId);
|
|
int32_t L_4 = __this->____playerIndex_24;
|
|
int32_t L_5 = ___trackId1;
|
|
bool L_6;
|
|
L_6 = WebGLMediaPlayer_AVPPlayerSetActiveAudioTrack_mAC1EEE189AD05F70E8C702EC2BEF35F62C0892CD(L_4, L_5, NULL);
|
|
V_0 = L_6;
|
|
// break;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// result = AVPPlayerSetActiveTextTrack(_playerIndex, trackId);
|
|
int32_t L_7 = __this->____playerIndex_24;
|
|
int32_t L_8 = ___trackId1;
|
|
bool L_9;
|
|
L_9 = WebGLMediaPlayer_AVPPlayerSetActiveTextTrack_m534077AB9489FDF8F26CC610A47AB6DF321D4E5E(L_7, L_8, NULL);
|
|
V_0 = L_9;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// return result;
|
|
bool L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
// RenderHeads.Media.AVProVideo.TrackBase RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalGetTrackInfo(RenderHeads.Media.AVProVideo.TrackType,System.Int32,System.Boolean&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* WebGLMediaPlayer_InternalGetTrackInfo_mC6DD58D9924A3F47EC8F83497268C2DEEF677A0C (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, int32_t ___trackType0, int32_t ___trackIndex1, bool* ___isActiveTrack2, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* V_0 = NULL;
|
|
String_t* V_1 = NULL;
|
|
String_t* V_2 = NULL;
|
|
bool V_3 = false;
|
|
String_t* V_4 = NULL;
|
|
String_t* V_5 = NULL;
|
|
bool V_6 = false;
|
|
String_t* V_7 = NULL;
|
|
String_t* V_8 = NULL;
|
|
bool V_9 = false;
|
|
{
|
|
// TrackBase result = null;
|
|
V_0 = (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE*)NULL;
|
|
int32_t L_0 = ___trackType0;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// string trackName = AVPPlayerGetVideoTrackName(_playerIndex, trackIndex);
|
|
int32_t L_1 = __this->____playerIndex_24;
|
|
int32_t L_2 = ___trackIndex1;
|
|
String_t* L_3;
|
|
L_3 = WebGLMediaPlayer_AVPPlayerGetVideoTrackName_mCE4AEB820AD4EC8ED5F0C944A8877ADEFDF1BFF0(L_1, L_2, NULL);
|
|
V_1 = L_3;
|
|
// string trackLanguage = AVPPlayerGetVideoTrackLanguage(_playerIndex, trackIndex);
|
|
int32_t L_4 = __this->____playerIndex_24;
|
|
int32_t L_5 = ___trackIndex1;
|
|
String_t* L_6;
|
|
L_6 = WebGLMediaPlayer_AVPPlayerGetVideoTrackLanguage_m067DD4FB69D271D8C6158E10B48AA0976634555B(L_4, L_5, NULL);
|
|
V_2 = L_6;
|
|
// bool isActive = AVPPlayerIsVideoTrackActive(_playerIndex, trackIndex);
|
|
int32_t L_7 = __this->____playerIndex_24;
|
|
int32_t L_8 = ___trackIndex1;
|
|
bool L_9;
|
|
L_9 = WebGLMediaPlayer_AVPPlayerIsVideoTrackActive_m8A6952AE1FDC31CA258A138FFA81EFAEA2BCC377(L_7, L_8, NULL);
|
|
V_3 = L_9;
|
|
// result = new VideoTrack(trackIndex, trackName, trackLanguage, isActive);
|
|
int32_t L_10 = ___trackIndex1;
|
|
String_t* L_11 = V_1;
|
|
String_t* L_12 = V_2;
|
|
bool L_13 = V_3;
|
|
VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* L_14 = (VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81*)il2cpp_codegen_object_new(VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81_il2cpp_TypeInfo_var);
|
|
VideoTrack__ctor_m33656C7529F78ADEB8E99157660AC1447600E75D(L_14, L_10, L_11, L_12, L_13, NULL);
|
|
V_0 = L_14;
|
|
// break;
|
|
goto IL_00bc;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// string trackName = AVPPlayerGetAudioTrackName(_playerIndex, trackIndex);
|
|
int32_t L_15 = __this->____playerIndex_24;
|
|
int32_t L_16 = ___trackIndex1;
|
|
String_t* L_17;
|
|
L_17 = WebGLMediaPlayer_AVPPlayerGetAudioTrackName_m8D7805DA842811CAF5C95A54EE0AF974B22B511D(L_15, L_16, NULL);
|
|
V_4 = L_17;
|
|
// string trackLanguage = AVPPlayerGetAudioTrackLanguage(_playerIndex, trackIndex);
|
|
int32_t L_18 = __this->____playerIndex_24;
|
|
int32_t L_19 = ___trackIndex1;
|
|
String_t* L_20;
|
|
L_20 = WebGLMediaPlayer_AVPPlayerGetAudioTrackLanguage_mCFF925E6B7E58FAD8AD489E615FAC6CA0E7CB1F7(L_18, L_19, NULL);
|
|
V_5 = L_20;
|
|
// bool isActive = AVPPlayerIsAudioTrackActive(_playerIndex, trackIndex);
|
|
int32_t L_21 = __this->____playerIndex_24;
|
|
int32_t L_22 = ___trackIndex1;
|
|
bool L_23;
|
|
L_23 = WebGLMediaPlayer_AVPPlayerIsAudioTrackActive_mBB1A62162E084CC9DE31C30805D772630963CB00(L_21, L_22, NULL);
|
|
V_6 = L_23;
|
|
// result = new AudioTrack(trackIndex, trackName, trackLanguage, isActive);
|
|
int32_t L_24 = ___trackIndex1;
|
|
String_t* L_25 = V_4;
|
|
String_t* L_26 = V_5;
|
|
bool L_27 = V_6;
|
|
AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* L_28 = (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7*)il2cpp_codegen_object_new(AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7_il2cpp_TypeInfo_var);
|
|
AudioTrack__ctor_mA3681D1A7CC5391D65454915553EDF582C7490EF(L_28, L_24, L_25, L_26, L_27, NULL);
|
|
V_0 = L_28;
|
|
// break;
|
|
goto IL_00bc;
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// string trackName = AVPPlayerGetTextTrackName(_playerIndex, trackIndex);
|
|
int32_t L_29 = __this->____playerIndex_24;
|
|
int32_t L_30 = ___trackIndex1;
|
|
String_t* L_31;
|
|
L_31 = WebGLMediaPlayer_AVPPlayerGetTextTrackName_m628B77C722E7FCF7CC91D4153015B0392DCAF98E(L_29, L_30, NULL);
|
|
V_7 = L_31;
|
|
// string trackLanguage = AVPPlayerGetTextTrackLanguage(_playerIndex, trackIndex);
|
|
int32_t L_32 = __this->____playerIndex_24;
|
|
int32_t L_33 = ___trackIndex1;
|
|
String_t* L_34;
|
|
L_34 = WebGLMediaPlayer_AVPPlayerGetTextTrackLanguage_m74EE6F3A7E9FE3194FCDEABF0D296AFE2797B513(L_32, L_33, NULL);
|
|
V_8 = L_34;
|
|
// bool isActive = AVPPlayerIsTextTrackActive(_playerIndex, trackIndex);
|
|
int32_t L_35 = __this->____playerIndex_24;
|
|
int32_t L_36 = ___trackIndex1;
|
|
bool L_37;
|
|
L_37 = WebGLMediaPlayer_AVPPlayerIsTextTrackActive_m4567DF4FEBE4B04D3ACDC631E84B1350100C2562(L_35, L_36, NULL);
|
|
V_9 = L_37;
|
|
// result = new TextTrack(trackIndex, trackName, trackLanguage, isActive);
|
|
int32_t L_38 = ___trackIndex1;
|
|
String_t* L_39 = V_7;
|
|
String_t* L_40 = V_8;
|
|
bool L_41 = V_9;
|
|
TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31* L_42 = (TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31*)il2cpp_codegen_object_new(TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31_il2cpp_TypeInfo_var);
|
|
TextTrack__ctor_m964B555915FD4640185992BCEED9CBF1047D8101(L_42, L_38, L_39, L_40, L_41, NULL);
|
|
V_0 = L_42;
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
// return result;
|
|
TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* L_43 = V_0;
|
|
return L_43;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalIsChangedTextCue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool WebGLMediaPlayer_InternalIsChangedTextCue_mEF61957689D339182239E6C3F7C59A6AC593AA28 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal override bool InternalIsChangedTextCue() { return false; }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.WebGLMediaPlayer::InternalGetCurrentTextCue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* WebGLMediaPlayer_InternalGetCurrentTextCue_m49FF1F56EE8EF3524F9792A140915680934FB016 (WebGLMediaPlayer_tF182DD8F403DF6C7616407FAFBFA4EB55E126394* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// internal override string InternalGetCurrentTextCue() { return string.Empty; }
|
|
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.TextCue::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextCue__ctor_mBD5074B559BC23C163BA7458DFD031E1754276BB (TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// private TextCue() { }
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// private TextCue() { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TextCue::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextCue__ctor_m9D1A97D8164DDA94FE03312B9757014F41511ADC (TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* __this, String_t* ___text0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal TextCue(string text)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// Text = text;
|
|
String_t* L_0 = ___text0;
|
|
TextCue_set_Text_mD2763F8269C7BB5FD9F0763F69D83F7334EC1052_inline(__this, L_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.TextCue::get_Text()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TextCue_get_Text_m1074B29217FB0E92272E4F1A2A884857A4062557 (TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Text { get; private set; }
|
|
String_t* L_0 = __this->___U3CTextU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TextCue::set_Text(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextCue_set_Text_mD2763F8269C7BB5FD9F0763F69D83F7334EC1052 (TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Text { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CTextU3Ek__BackingField_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CTextU3Ek__BackingField_0), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase__ctor_mA2F8528093A8521BE9024978BFB03CFCFAC0519C (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// protected TrackBase() { }
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// protected TrackBase() { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::.ctor(RenderHeads.Media.AVProVideo.TrackType,System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase__ctor_mD86F79CAA48305C3BDFC3B113973E36D75DA6CAC (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___trackType0, int32_t ___uid1, String_t* ___name2, String_t* ___language3, bool ___isDefault4, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal TrackBase(TrackType trackType, int uid, string name, string language, bool isDefault)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// TrackType = trackType;
|
|
int32_t L_0 = ___trackType0;
|
|
TrackBase_set_TrackType_mDC51E2EBEE0A33EDF85380E88E51817FCF0D7A4F_inline(__this, L_0, NULL);
|
|
// Uid = uid;
|
|
int32_t L_1 = ___uid1;
|
|
TrackBase_set_Uid_mBE149B8253B1CAC549ED47172CDA6222EC987A09_inline(__this, L_1, NULL);
|
|
// Name = name;
|
|
String_t* L_2 = ___name2;
|
|
TrackBase_set_Name_m7BEB71CCA26B2FF14FFF697CC9E2A6042D610711_inline(__this, L_2, NULL);
|
|
// Language = language;
|
|
String_t* L_3 = ___language3;
|
|
TrackBase_set_Language_m8B930B8EA5E9EE7446E0F268FFDC71FC88AD3619_inline(__this, L_3, NULL);
|
|
// IsDefault = isDefault;
|
|
bool L_4 = ___isDefault4;
|
|
TrackBase_set_IsDefault_mBE4CAE02379C29F1294F82AE67A27442BE432636_inline(__this, L_4, NULL);
|
|
// DisplayName = CreateDisplayName();
|
|
String_t* L_5;
|
|
L_5 = TrackBase_CreateDisplayName_mAD525FD9B4768F44A24879B965B8A94AA01355D9(__this, NULL);
|
|
TrackBase_set_DisplayName_mF3AF8B7A9C87FF6FCAFB30667E7F29A3EEF78704_inline(__this, L_5, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.TrackBase::get_Uid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TrackBase_get_Uid_m8173B84FCBEC945BCF7B8409B0ECDFF6C7F67B6B (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal int Uid { get; private set; }
|
|
int32_t L_0 = __this->___U3CUidU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_Uid(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase_set_Uid_mBE149B8253B1CAC549ED47172CDA6222EC987A09 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal int Uid { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CUidU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.TrackBase::get_TrackType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TrackBase_get_TrackType_m8CB07479EBD6E5AB2ACE63326FD079D3B0A00E85 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public TrackType TrackType { get; private set; }
|
|
int32_t L_0 = __this->___U3CTrackTypeU3Ek__BackingField_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_TrackType(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase_set_TrackType_mDC51E2EBEE0A33EDF85380E88E51817FCF0D7A4F (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public TrackType TrackType { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CTrackTypeU3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::get_DisplayName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TrackBase_get_DisplayName_m5F960D0C6A30C9F4F6E97F7FFE2460A4B6242893 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string DisplayName { get; private set; }
|
|
String_t* L_0 = __this->___U3CDisplayNameU3Ek__BackingField_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_DisplayName(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase_set_DisplayName_mF3AF8B7A9C87FF6FCAFB30667E7F29A3EEF78704 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string DisplayName { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CDisplayNameU3Ek__BackingField_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDisplayNameU3Ek__BackingField_2), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::get_Name()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TrackBase_get_Name_m01740047C8D985F2B6861D5668E700BDF9025B67 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Name { get; private set; }
|
|
String_t* L_0 = __this->___U3CNameU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_Name(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase_set_Name_m7BEB71CCA26B2FF14FFF697CC9E2A6042D610711 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Name { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CNameU3Ek__BackingField_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CNameU3Ek__BackingField_3), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::get_Language()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TrackBase_get_Language_m884A41A99D5F115C30D097CFCA3013F06E515E6C (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Language { get; private set; }
|
|
String_t* L_0 = __this->___U3CLanguageU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_Language(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase_set_Language_m8B930B8EA5E9EE7446E0F268FFDC71FC88AD3619 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Language { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CLanguageU3Ek__BackingField_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CLanguageU3Ek__BackingField_4), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.TrackBase::get_IsDefault()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TrackBase_get_IsDefault_mC4C10873BE8B68856B899DA02F2CA5BC48FB62ED (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool IsDefault { get; private set; }
|
|
bool L_0 = __this->___U3CIsDefaultU3Ek__BackingField_5;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackBase::set_IsDefault(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackBase_set_IsDefault_mBE4CAE02379C29F1294F82AE67A27442BE432636 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, bool ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool IsDefault { get; private set; }
|
|
bool L_0 = ___value0;
|
|
__this->___U3CIsDefaultU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.TrackBase::CreateDisplayName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TrackBase_CreateDisplayName_mAD525FD9B4768F44A24879B965B8A94AA01355D9 (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral43B7533C6955A825756D5C55BDA5B3FA2E6A97F9);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA5E215A6DBE803E908043576B18C4FAD26AD44F7);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (!string.IsNullOrEmpty(Name))
|
|
String_t* L_0;
|
|
L_0 = TrackBase_get_Name_m01740047C8D985F2B6861D5668E700BDF9025B67_inline(__this, NULL);
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// result = Name;
|
|
String_t* L_2;
|
|
L_2 = TrackBase_get_Name_m01740047C8D985F2B6861D5668E700BDF9025B67_inline(__this, NULL);
|
|
V_0 = L_2;
|
|
goto IL_002f;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// result = "Track " + Uid.ToString();
|
|
int32_t L_3;
|
|
L_3 = TrackBase_get_Uid_m8173B84FCBEC945BCF7B8409B0ECDFF6C7F67B6B_inline(__this, NULL);
|
|
V_1 = L_3;
|
|
String_t* L_4;
|
|
L_4 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_1), NULL);
|
|
String_t* L_5;
|
|
L_5 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral43B7533C6955A825756D5C55BDA5B3FA2E6A97F9, L_4, NULL);
|
|
V_0 = L_5;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// if (!string.IsNullOrEmpty(Language))
|
|
String_t* L_6;
|
|
L_6 = TrackBase_get_Language_m884A41A99D5F115C30D097CFCA3013F06E515E6C_inline(__this, NULL);
|
|
bool L_7;
|
|
L_7 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// result = string.Format("{0} ({1})", result, Language);
|
|
String_t* L_8 = V_0;
|
|
String_t* L_9;
|
|
L_9 = TrackBase_get_Language_m884A41A99D5F115C30D097CFCA3013F06E515E6C_inline(__this, NULL);
|
|
String_t* L_10;
|
|
L_10 = String_Format_mFB7DA489BD99F4670881FF50EC017BFB0A5C0987(_stringLiteralA5E215A6DBE803E908043576B18C4FAD26AD44F7, L_8, L_9, NULL);
|
|
V_0 = L_10;
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// return result;
|
|
String_t* L_11 = V_0;
|
|
return L_11;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.TrackCollection::get_TrackType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TrackCollection_get_TrackType_mBE53282C806C88BFE2486C37FC37A59CC5A96312 (TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public virtual TrackType TrackType { get; private set; }
|
|
int32_t L_0 = __this->___U3CTrackTypeU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackCollection::set_TrackType(RenderHeads.Media.AVProVideo.TrackType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackCollection_set_TrackType_m3B2DE80F392D8AAD203D73184BC775FBC2B3E692 (TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public virtual TrackType TrackType { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CTrackTypeU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TrackCollection::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TrackCollection__ctor_m7DBCF6A3833705AEC230B5173E4C09FDBA796C1D (TrackCollection_tEA42513AADCF5B7335DE03CBE1DD0B4CB8C3689C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.VideoTracks::get_TrackType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VideoTracks_get_TrackType_mA3319727EEDC19BAC8804B3BD870EAA44845A997 (VideoTracks_tA329271899DFDD262477C3EDEC0BC4619B78B43E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override TrackType TrackType { get { return TrackType.Video; } }
|
|
return (int32_t)(0);
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoTracks::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoTracks__ctor_mDBF963060C03481FFBA6323F3B858CF1D1F91E06 (VideoTracks_tA329271899DFDD262477C3EDEC0BC4619B78B43E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TrackCollection_1__ctor_m2134CB8242E502E3FA35BD5EA8C190DC3C16950C_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
TrackCollection_1__ctor_m2134CB8242E502E3FA35BD5EA8C190DC3C16950C(__this, TrackCollection_1__ctor_m2134CB8242E502E3FA35BD5EA8C190DC3C16950C_RuntimeMethod_var);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.AudioTracks::get_TrackType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AudioTracks_get_TrackType_mDC97858B29E1EA31446C56DB43F01430BF046129 (AudioTracks_t6A73CB5D4C2BC6FDA6F5C276B8DF23583601570F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override TrackType TrackType { get { return TrackType.Audio; } }
|
|
return (int32_t)(1);
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.AudioTracks::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AudioTracks__ctor_m3711F518A7114DBD77A25FF7FFA3B3BC490F3627 (AudioTracks_t6A73CB5D4C2BC6FDA6F5C276B8DF23583601570F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TrackCollection_1__ctor_m75FA599F1112966C820CC02590E97007BFA3D3B9_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
TrackCollection_1__ctor_m75FA599F1112966C820CC02590E97007BFA3D3B9(__this, TrackCollection_1__ctor_m75FA599F1112966C820CC02590E97007BFA3D3B9_RuntimeMethod_var);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// RenderHeads.Media.AVProVideo.TrackType RenderHeads.Media.AVProVideo.TextTracks::get_TrackType()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TextTracks_get_TrackType_m0A3D37C6360A038208A30D4C2CB6909A1DCC1BEA (TextTracks_tF24853BCB513D5A858C8CD3A8ED08961CC1DA68D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override TrackType TrackType { get { return TrackType.Text; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TextTracks::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextTracks__ctor_mDCB9D2218F9F38D62B4689552C9AAF7FDA5B8983 (TextTracks_tF24853BCB513D5A858C8CD3A8ED08961CC1DA68D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TrackCollection_1__ctor_m35A84193F85A94E702CF4F086C2E48FF77A621F1_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
TrackCollection_1__ctor_m35A84193F85A94E702CF4F086C2E48FF77A621F1(__this, TrackCollection_1__ctor_m35A84193F85A94E702CF4F086C2E48FF77A621F1_RuntimeMethod_var);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoTrack::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoTrack__ctor_m96713A87DE96F3477749876C5174920789CDF447 (VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// private VideoTrack() { }
|
|
TrackBase__ctor_mA2F8528093A8521BE9024978BFB03CFCFAC0519C(__this, NULL);
|
|
// private VideoTrack() { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoTrack::.ctor(System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoTrack__ctor_m33656C7529F78ADEB8E99157660AC1447600E75D (VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* __this, int32_t ___uid0, String_t* ___name1, String_t* ___language2, bool ___isDefault3, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// : base(TrackType.Video, uid, name, language, isDefault) { }
|
|
int32_t L_0 = ___uid0;
|
|
String_t* L_1 = ___name1;
|
|
String_t* L_2 = ___language2;
|
|
bool L_3 = ___isDefault3;
|
|
TrackBase__ctor_mD86F79CAA48305C3BDFC3B113973E36D75DA6CAC(__this, 0, L_0, L_1, L_2, L_3, NULL);
|
|
// : base(TrackType.Video, uid, name, language, isDefault) { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.VideoTrack::get_Bitrate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t VideoTrack_get_Bitrate_m1CB7DA1B10B2C0461BA53F850C13A3960A818D6C (VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Bitrate { get; private set; }
|
|
int32_t L_0 = __this->___U3CBitrateU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoTrack::set_Bitrate(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoTrack_set_Bitrate_m9E210D267A3E73F8010E3801BF217A1021FA41B4 (VideoTrack_t0A08A651370D6686BDFC0ED9AA73E9370F522D81* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Bitrate { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CBitrateU3Ek__BackingField_6 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.AudioTrack::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AudioTrack__ctor_m1FFE762AB7185D9AEC0B7EC927477CA2AA410C99 (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// private AudioTrack() { }
|
|
TrackBase__ctor_mA2F8528093A8521BE9024978BFB03CFCFAC0519C(__this, NULL);
|
|
// private AudioTrack() { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.AudioTrack::.ctor(System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AudioTrack__ctor_mA3681D1A7CC5391D65454915553EDF582C7490EF (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, int32_t ___uid0, String_t* ___name1, String_t* ___language2, bool ___isDefault3, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// : base(TrackType.Audio, uid, name, language, isDefault) { }
|
|
int32_t L_0 = ___uid0;
|
|
String_t* L_1 = ___name1;
|
|
String_t* L_2 = ___language2;
|
|
bool L_3 = ___isDefault3;
|
|
TrackBase__ctor_mD86F79CAA48305C3BDFC3B113973E36D75DA6CAC(__this, 1, L_0, L_1, L_2, L_3, NULL);
|
|
// : base(TrackType.Audio, uid, name, language, isDefault) { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.AudioTrack::get_Bitrate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AudioTrack_get_Bitrate_mF9D26F48BA231C4FAF4247C45FC22F8C80F23038 (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Bitrate { get; private set; }
|
|
int32_t L_0 = __this->___U3CBitrateU3Ek__BackingField_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.AudioTrack::set_Bitrate(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AudioTrack_set_Bitrate_m25F12C31B058D751B33C59BF8F92E63E9AEB5A9B (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Bitrate { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CBitrateU3Ek__BackingField_6 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.AudioTrack::get_ChannelCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t AudioTrack_get_ChannelCount_m9166F8AE16F062C0B79C4F44C9C82B9D82332FFE (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int ChannelCount { get; private set; }
|
|
int32_t L_0 = __this->___U3CChannelCountU3Ek__BackingField_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.AudioTrack::set_ChannelCount(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AudioTrack_set_ChannelCount_m1E204EC40EC6E49A03B165D0CD023F29236EA263 (AudioTrack_t7274C80F7C9DA36A9B2FD682DFC19CFD1F3AD5A7* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int ChannelCount { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CChannelCountU3Ek__BackingField_7 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.TextTrack::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextTrack__ctor_mB7132945A23FC81040BE496C723558E39117E536 (TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// private TextTrack() { }
|
|
TrackBase__ctor_mA2F8528093A8521BE9024978BFB03CFCFAC0519C(__this, NULL);
|
|
// private TextTrack() { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.TextTrack::.ctor(System.Int32,System.String,System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextTrack__ctor_m964B555915FD4640185992BCEED9CBF1047D8101 (TextTrack_tF368463B4F33E02E299020EA2A367DE212EC6F31* __this, int32_t ___uid0, String_t* ___name1, String_t* ___language2, bool ___isDefault3, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// : base(TrackType.Text, uid, name, language, isDefault) { }
|
|
int32_t L_0 = ___uid0;
|
|
String_t* L_1 = ___name1;
|
|
String_t* L_2 = ___language2;
|
|
bool L_3 = ___isDefault3;
|
|
TrackBase__ctor_mD86F79CAA48305C3BDFC3B113973E36D75DA6CAC(__this, 2, L_0, L_1, L_2, L_3, NULL);
|
|
// : base(TrackType.Text, uid, name, language, isDefault) { }
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// Conversion methods for marshalling of: RenderHeads.Media.AVProVideo.HttpHeader
|
|
IL2CPP_EXTERN_C void HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshal_pinvoke(const HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45& unmarshaled, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_pinvoke& marshaled)
|
|
{
|
|
marshaled.___name_0 = il2cpp_codegen_marshal_string(unmarshaled.___name_0);
|
|
marshaled.___value_1 = il2cpp_codegen_marshal_string(unmarshaled.___value_1);
|
|
}
|
|
IL2CPP_EXTERN_C void HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshal_pinvoke_back(const HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_pinvoke& marshaled, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45& unmarshaled)
|
|
{
|
|
unmarshaled.___name_0 = il2cpp_codegen_marshal_string_result(marshaled.___name_0);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___name_0), (void*)il2cpp_codegen_marshal_string_result(marshaled.___name_0));
|
|
unmarshaled.___value_1 = il2cpp_codegen_marshal_string_result(marshaled.___value_1);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___value_1), (void*)il2cpp_codegen_marshal_string_result(marshaled.___value_1));
|
|
}
|
|
// Conversion method for clean up from marshalling of: RenderHeads.Media.AVProVideo.HttpHeader
|
|
IL2CPP_EXTERN_C void HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshal_pinvoke_cleanup(HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_pinvoke& marshaled)
|
|
{
|
|
il2cpp_codegen_marshal_free(marshaled.___name_0);
|
|
marshaled.___name_0 = NULL;
|
|
il2cpp_codegen_marshal_free(marshaled.___value_1);
|
|
marshaled.___value_1 = NULL;
|
|
}
|
|
// Conversion methods for marshalling of: RenderHeads.Media.AVProVideo.HttpHeader
|
|
IL2CPP_EXTERN_C void HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshal_com(const HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45& unmarshaled, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_com& marshaled)
|
|
{
|
|
marshaled.___name_0 = il2cpp_codegen_marshal_bstring(unmarshaled.___name_0);
|
|
marshaled.___value_1 = il2cpp_codegen_marshal_bstring(unmarshaled.___value_1);
|
|
}
|
|
IL2CPP_EXTERN_C void HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshal_com_back(const HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_com& marshaled, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45& unmarshaled)
|
|
{
|
|
unmarshaled.___name_0 = il2cpp_codegen_marshal_bstring_result(marshaled.___name_0);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___name_0), (void*)il2cpp_codegen_marshal_bstring_result(marshaled.___name_0));
|
|
unmarshaled.___value_1 = il2cpp_codegen_marshal_bstring_result(marshaled.___value_1);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.___value_1), (void*)il2cpp_codegen_marshal_bstring_result(marshaled.___value_1));
|
|
}
|
|
// Conversion method for clean up from marshalling of: RenderHeads.Media.AVProVideo.HttpHeader
|
|
IL2CPP_EXTERN_C void HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshal_com_cleanup(HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45_marshaled_com& marshaled)
|
|
{
|
|
il2cpp_codegen_marshal_free_bstring(marshaled.___name_0);
|
|
marshaled.___name_0 = NULL;
|
|
il2cpp_codegen_marshal_free_bstring(marshaled.___value_1);
|
|
marshaled.___value_1 = NULL;
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.HttpHeader::.ctor(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HttpHeader__ctor_m877E945429E6BE136A27EE56B092405C26295512 (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, String_t* ___name0, String_t* ___value1, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public HttpHeader(string name, string value) { this.name = name; this.value = value; }
|
|
String_t* L_0 = ___name0;
|
|
__this->___name_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___name_0), (void*)L_0);
|
|
// public HttpHeader(string name, string value) { this.name = name; this.value = value; }
|
|
String_t* L_1 = ___value1;
|
|
__this->___value_1 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___value_1), (void*)L_1);
|
|
// public HttpHeader(string name, string value) { this.name = name; this.value = value; }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void HttpHeader__ctor_m877E945429E6BE136A27EE56B092405C26295512_AdjustorThunk (RuntimeObject* __this, String_t* ___name0, String_t* ___value1, const RuntimeMethod* method)
|
|
{
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45*>(__this + _offset);
|
|
HttpHeader__ctor_m877E945429E6BE136A27EE56B092405C26295512(_thisAdjusted, ___name0, ___value1, method);
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsComplete()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsComplete_m28D537BC30F8394CE76ED2F20AC5C8FD054E5EF5 (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (!string.IsNullOrEmpty(name) && !string.IsNullOrEmpty(value));
|
|
String_t* L_0 = __this->___name_0;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = __this->___value_1;
|
|
bool L_3;
|
|
L_3 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_2, NULL);
|
|
return (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool HttpHeader_IsComplete_m28D537BC30F8394CE76ED2F20AC5C8FD054E5EF5_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = HttpHeader_IsComplete_m28D537BC30F8394CE76ED2F20AC5C8FD054E5EF5(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.HttpHeader::ToValidatedString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* HttpHeader_ToValidatedString_mC032ACB50CC67FB22930F6E5D3C960F7625BD45F (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE591FEBE47581B0598D6E58AEB057F24BBC46342);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* V_0 = NULL;
|
|
{
|
|
// string result = null;
|
|
V_0 = (String_t*)NULL;
|
|
// if (IsComplete())
|
|
bool L_0;
|
|
L_0 = HttpHeader_IsComplete_m28D537BC30F8394CE76ED2F20AC5C8FD054E5EF5(__this, NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// if (IsValid())
|
|
bool L_1;
|
|
L_1 = HttpHeader_IsValid_mB3B819C56846C6B43B952AF7874294AC496CF2D9(__this, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// result = string.Format("{0}:{1}\r\n", name, value);
|
|
String_t* L_2 = __this->___name_0;
|
|
String_t* L_3 = __this->___value_1;
|
|
String_t* L_4;
|
|
L_4 = String_Format_mFB7DA489BD99F4670881FF50EC017BFB0A5C0987(_stringLiteralE591FEBE47581B0598D6E58AEB057F24BBC46342, L_2, L_3, NULL);
|
|
V_0 = L_4;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// return result;
|
|
String_t* L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* HttpHeader_ToValidatedString_mC032ACB50CC67FB22930F6E5D3C960F7625BD45F_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = HttpHeader_ToValidatedString_mC032ACB50CC67FB22930F6E5D3C960F7625BD45F(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsValid(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsValid_mED5B496E6838F089631BF56157D0B808261CCC28 (String_t* ___text0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDB5B55A9B215F744DB82517864984D073F2E8F8C);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!string.IsNullOrEmpty(text))
|
|
String_t* L_0 = ___text0;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsAscii(text)) return false;
|
|
String_t* L_2 = ___text0;
|
|
bool L_3;
|
|
L_3 = HttpHeader_IsAscii_m6525170E78D2A229FAF531A83A6B7ABB26BDE109(L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsAscii(text)) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// if (text.Contains("\r") || text.Contains("\n")) return false;
|
|
String_t* L_4 = ___text0;
|
|
bool L_5;
|
|
L_5 = String_Contains_m6D77B121FADA7CA5F397C0FABB65DA62DF03B6C3(L_4, _stringLiteralDB5B55A9B215F744DB82517864984D073F2E8F8C, NULL);
|
|
if (L_5)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_6 = ___text0;
|
|
bool L_7;
|
|
L_7 = String_Contains_m6D77B121FADA7CA5F397C0FABB65DA62DF03B6C3(L_6, _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// if (text.Contains("\r") || text.Contains("\n")) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsAscii(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsAscii_m6525170E78D2A229FAF531A83A6B7ABB26BDE109 (String_t* ___text0, const RuntimeMethod* method)
|
|
{
|
|
String_t* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// foreach (char c in text)
|
|
String_t* L_0 = ___text0;
|
|
V_0 = L_0;
|
|
V_1 = 0;
|
|
goto IL_001a;
|
|
}
|
|
|
|
IL_0006:
|
|
{
|
|
// foreach (char c in text)
|
|
String_t* L_1 = V_0;
|
|
int32_t L_2 = V_1;
|
|
Il2CppChar L_3;
|
|
L_3 = String_get_Chars_mC49DF0CD2D3BE7BE97B3AD9C995BE3094F8E36D3(L_1, L_2, NULL);
|
|
// if (c >= 128) {
|
|
if ((((int32_t)L_3) < ((int32_t)((int32_t)128))))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
int32_t L_4 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// foreach (char c in text)
|
|
int32_t L_5 = V_1;
|
|
String_t* L_6 = V_0;
|
|
int32_t L_7;
|
|
L_7 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_6, NULL);
|
|
if ((((int32_t)L_5) < ((int32_t)L_7)))
|
|
{
|
|
goto IL_0006;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeader::IsValid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeader_IsValid_mB3B819C56846C6B43B952AF7874294AC496CF2D9 (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (!IsValid(name) || !IsValid(value))
|
|
String_t* L_0 = __this->___name_0;
|
|
bool L_1;
|
|
L_1 = HttpHeader_IsValid_mED5B496E6838F089631BF56157D0B808261CCC28(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_2 = __this->___value_1;
|
|
bool L_3;
|
|
L_3 = HttpHeader_IsValid_mED5B496E6838F089631BF56157D0B808261CCC28(L_2, NULL);
|
|
if (L_3)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool HttpHeader_IsValid_mB3B819C56846C6B43B952AF7874294AC496CF2D9_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = HttpHeader_IsValid_mB3B819C56846C6B43B952AF7874294AC496CF2D9(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Collections.IEnumerator RenderHeads.Media.AVProVideo.HttpHeaderData::GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* HttpHeaderData_GetEnumerator_mAA53D8FD9C807984D7DA2BC0103637EA325A6BAE (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return httpHeaders.GetEnumerator();
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_0 = __this->___httpHeaders_0;
|
|
Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 L_1;
|
|
L_1 = List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD(L_0, List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_RuntimeMethod_var);
|
|
Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 L_2 = L_1;
|
|
RuntimeObject* L_3 = Box(Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208_il2cpp_TypeInfo_var, &L_2);
|
|
return (RuntimeObject*)L_3;
|
|
}
|
|
}
|
|
// RenderHeads.Media.AVProVideo.HttpHeader RenderHeads.Media.AVProVideo.HttpHeaderData::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 HttpHeaderData_get_Item_mDCC167384155B7F0045D85DB61F95F09540F19FD (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, int32_t ___index0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return httpHeaders[index];
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_0 = __this->___httpHeaders_0;
|
|
int32_t L_1 = ___index0;
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 L_2;
|
|
L_2 = List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8(L_0, L_1, List_1_get_Item_m8F81B46ACE8DA34390C4D2EC15F547FEFB5688E8_RuntimeMethod_var);
|
|
return L_2;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.HttpHeaderData::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HttpHeaderData_Clear_m40F109EFC9DACC261EEC08E3F0F750702B278F04 (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// httpHeaders.Clear();
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_0 = __this->___httpHeaders_0;
|
|
List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_inline(L_0, List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.HttpHeaderData::Add(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HttpHeaderData_Add_m6EDA5E8A2965B174C72419C08848C9A06FF5F307 (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, String_t* ___name0, String_t* ___value1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// httpHeaders.Add(new HttpHeader(name, value));
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_0 = __this->___httpHeaders_0;
|
|
String_t* L_1 = ___name0;
|
|
String_t* L_2 = ___value1;
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
HttpHeader__ctor_m877E945429E6BE136A27EE56B092405C26295512((&L_3), L_1, L_2, /*hidden argument*/NULL);
|
|
List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_inline(L_0, L_3, List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.HttpHeaderData::IsModified()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool HttpHeaderData_IsModified_m8EC6843F9CA0CFF1A0C7AB815123D4759BD5BB34 (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return (httpHeaders != null && httpHeaders.Count > 0);
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_0 = __this->___httpHeaders_0;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_1 = __this->___httpHeaders_0;
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_inline(L_1, List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_RuntimeMethod_var);
|
|
return (bool)((((int32_t)L_2) > ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.HttpHeaderData::ToValidatedString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* HttpHeaderData_ToValidatedString_m0E27A2B5131B8C3AEFFF6460A3C57A04DF378A09 (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral97342B84F4B4ACC3FFC99C17093E9D06AA318D61);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* V_0 = NULL;
|
|
Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
String_t* V_3 = NULL;
|
|
{
|
|
// string result = string.Empty;
|
|
String_t* L_0 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_6;
|
|
V_0 = L_0;
|
|
// foreach (HttpHeader header in httpHeaders)
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_1 = __this->___httpHeaders_0;
|
|
Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208 L_2;
|
|
L_2 = List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD(L_1, List_1_GetEnumerator_m59E1FD7F0636C87BE37FBC50C0BD15F6EF4DF3BD_RuntimeMethod_var);
|
|
V_1 = L_2;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_0054:
|
|
{// begin finally (depth: 1)
|
|
Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50((&V_1), Enumerator_Dispose_m5EF4FF66E867DEB9B0B083C18736EB3B9B355E50_RuntimeMethod_var);
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_0049_1;
|
|
}
|
|
|
|
IL_0014_1:
|
|
{
|
|
// foreach (HttpHeader header in httpHeaders)
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 L_3;
|
|
L_3 = Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_inline((&V_1), Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_RuntimeMethod_var);
|
|
V_2 = L_3;
|
|
// if (header.IsComplete())
|
|
bool L_4;
|
|
L_4 = HttpHeader_IsComplete_m28D537BC30F8394CE76ED2F20AC5C8FD054E5EF5((&V_2), NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0049_1;
|
|
}
|
|
}
|
|
{
|
|
// string line = header.ToValidatedString();
|
|
String_t* L_5;
|
|
L_5 = HttpHeader_ToValidatedString_mC032ACB50CC67FB22930F6E5D3C960F7625BD45F((&V_2), NULL);
|
|
V_3 = L_5;
|
|
// if (!string.IsNullOrEmpty(line))
|
|
String_t* L_6 = V_3;
|
|
bool L_7;
|
|
L_7 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_6, NULL);
|
|
if (L_7)
|
|
{
|
|
goto IL_003f_1;
|
|
}
|
|
}
|
|
{
|
|
// result += line;
|
|
String_t* L_8 = V_0;
|
|
String_t* L_9 = V_3;
|
|
String_t* L_10;
|
|
L_10 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_8, L_9, NULL);
|
|
V_0 = L_10;
|
|
goto IL_0049_1;
|
|
}
|
|
|
|
IL_003f_1:
|
|
{
|
|
// Debug.LogWarning("[AVProVideo] Custom HTTP header field ignored due to invalid format");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral97342B84F4B4ACC3FFC99C17093E9D06AA318D61, NULL);
|
|
}
|
|
|
|
IL_0049_1:
|
|
{
|
|
// foreach (HttpHeader header in httpHeaders)
|
|
bool L_11;
|
|
L_11 = Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E((&V_1), Enumerator_MoveNext_mBD08673043A7B2FAD7A910B080CEB421ED2A5A2E_RuntimeMethod_var);
|
|
if (L_11)
|
|
{
|
|
goto IL_0014_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// return result;
|
|
String_t* L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.HttpHeaderData::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HttpHeaderData__ctor_mF34C0952E9B20539D13E85590632C81FA38E41B1 (HttpHeaderData_t01D0969A0D0175C95295EB89DC7CAB8773D05DC5* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t348DB816683936C664231900D6E77653B7AE20F8_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// private List<HttpHeader> httpHeaders = new List<HttpHeader>();
|
|
List_1_t348DB816683936C664231900D6E77653B7AE20F8* L_0 = (List_1_t348DB816683936C664231900D6E77653B7AE20F8*)il2cpp_codegen_object_new(List_1_t348DB816683936C664231900D6E77653B7AE20F8_il2cpp_TypeInfo_var);
|
|
List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5(L_0, List_1__ctor_m5997BDC28451A4FC09DDCF65326F25F4153CE7B5_RuntimeMethod_var);
|
|
__this->___httpHeaders_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___httpHeaders_0), (void*)L_0);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Boolean RenderHeads.Media.AVProVideo.KeyAuthData::IsModified()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool KeyAuthData_IsModified_m6F469666B4B66507538F8DACCFA8791AB5142A0B (KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (overrideDecryptionKey != null && overrideDecryptionKey.Length > 0)
|
|
// || (string.IsNullOrEmpty(overrideDecryptionKeyBase64) == false);
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_0 = __this->___overrideDecryptionKey_2;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_1 = __this->___overrideDecryptionKey_2;
|
|
if ((((RuntimeArray*)L_1)->max_length))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
String_t* L_2 = __this->___overrideDecryptionKeyBase64_1;
|
|
bool L_3;
|
|
L_3 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_2, NULL);
|
|
return (bool)((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.KeyAuthData::OnBeforeSerialize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyAuthData_OnBeforeSerialize_m336B602C07B512837FB4CBC3B4AFB6E72D3BC503 (KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (overrideDecryptionKey != null && !string.IsNullOrEmpty(overrideDecryptionKeyBase64))
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_0 = __this->___overrideDecryptionKey_2;
|
|
if (!L_0)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
String_t* L_1 = __this->___overrideDecryptionKeyBase64_1;
|
|
bool L_2;
|
|
L_2 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_1, NULL);
|
|
if (L_2)
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// overrideDecryptionKey = null;
|
|
__this->___overrideDecryptionKey_2 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___overrideDecryptionKey_2), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)NULL);
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.KeyAuthData::OnAfterDeserialize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyAuthData_OnAfterDeserialize_m41675F6C1B79E67FE523C00ED663DFDEB05297CA (KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* V_0 = NULL;
|
|
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
|
|
FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* G_B6_0 = NULL;
|
|
String_t* G_B6_1 = NULL;
|
|
FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* G_B5_0 = NULL;
|
|
String_t* G_B5_1 = NULL;
|
|
String_t* G_B7_0 = NULL;
|
|
String_t* G_B7_1 = NULL;
|
|
{
|
|
// if (string.IsNullOrEmpty(overrideDecryptionKeyBase64))
|
|
String_t* L_0 = __this->___overrideDecryptionKeyBase64_1;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
}
|
|
try
|
|
{// begin try (depth: 1)
|
|
// overrideDecryptionKey = System.Convert.FromBase64String(overrideDecryptionKeyBase64);
|
|
String_t* L_2 = __this->___overrideDecryptionKeyBase64_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Convert_t7097FF336D592F7C06D88A98349A44646F91EFFC_il2cpp_TypeInfo_var);
|
|
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* L_3;
|
|
L_3 = Convert_FromBase64String_m267327B074B41D93C9622D142B95CFAA4ACCCA9C(L_2, NULL);
|
|
__this->___overrideDecryptionKey_2 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___overrideDecryptionKey_2), (void*)L_3);
|
|
// }
|
|
goto IL_004f;
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
|
|
{
|
|
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
|
|
goto CATCH_0022;
|
|
}
|
|
throw e;
|
|
}
|
|
|
|
CATCH_0022:
|
|
{// begin catch(System.FormatException)
|
|
{
|
|
// catch (System.FormatException e)
|
|
V_0 = ((FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B*)IL2CPP_GET_ACTIVE_EXCEPTION(FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B*));
|
|
// Debug.LogError("Failed to deserialize decryption key, error: " + e);
|
|
FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* L_4 = V_0;
|
|
FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* L_5 = L_4;
|
|
G_B5_0 = L_5;
|
|
G_B5_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDD87718A5672E09DB2DF6854C13362F6E1E57879));
|
|
if (L_5)
|
|
{
|
|
G_B6_0 = L_5;
|
|
G_B6_1 = ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDD87718A5672E09DB2DF6854C13362F6E1E57879));
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
G_B7_0 = ((String_t*)(NULL));
|
|
G_B7_1 = G_B5_1;
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
String_t* L_6;
|
|
L_6 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B6_0);
|
|
G_B7_0 = L_6;
|
|
G_B7_1 = G_B6_1;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
String_t* L_7;
|
|
L_7 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(G_B7_1, G_B7_0, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var)));
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_7, NULL);
|
|
// overrideDecryptionKeyBase64 = null;
|
|
__this->___overrideDecryptionKeyBase64_1 = (String_t*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___overrideDecryptionKeyBase64_1), (void*)(String_t*)NULL);
|
|
// overrideDecryptionKey = null;
|
|
__this->___overrideDecryptionKey_2 = (ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___overrideDecryptionKey_2), (void*)(ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031*)NULL);
|
|
// }
|
|
IL2CPP_POP_ACTIVE_EXCEPTION();
|
|
goto IL_004f;
|
|
}
|
|
}// end catch (depth: 1)
|
|
|
|
IL_004f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.KeyAuthData::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyAuthData__ctor_mA63552B3E6FAFC2803DAB2CFA365950ECF0B35B4 (KeyAuthData_tE5F9489F37FDB5AE9B57344713ED21EECF983092* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::get_DroppedFrames()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Resampler_get_DroppedFrames_m0316FC3ECE9082633EF33AD254EEF4444BB756BD (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return _droppedFrames; }
|
|
int32_t L_0 = __this->____droppedFrames_12;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::get_FrameDisplayedTimer()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Resampler_get_FrameDisplayedTimer_m8CCB9AE06C4CD7E06280F2718CAF3E6E073ECD50 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return _frameDisplayedTimer; }
|
|
int32_t L_0 = __this->____frameDisplayedTimer_14;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::get_BaseTimestamp()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Resampler_get_BaseTimestamp_mA86251D51CF83BCABC10F1DA28D4A39BE59B8DAE (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return _baseTimestamp; }
|
|
int64_t L_0 = __this->____baseTimestamp_6;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::set_BaseTimestamp(System.Int64)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_set_BaseTimestamp_mF189B333E01AC803E0E9A691AB1EB69C6FFB050E (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int64_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// set { _baseTimestamp = value; }
|
|
int64_t L_0 = ___value0;
|
|
__this->____baseTimestamp_6 = L_0;
|
|
// set { _baseTimestamp = value; }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::get_ElapsedTimeSinceBase()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Resampler_get_ElapsedTimeSinceBase_m19822F48CD8E12202F6BF6CA2873F676D9CFB515 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return _elapsedTimeSinceBase; }
|
|
float L_0 = __this->____elapsedTimeSinceBase_7;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::set_ElapsedTimeSinceBase(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_set_ElapsedTimeSinceBase_mA19CEC1ED8187C2AD64B707602E96542E30501C9 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, float ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// set { _elapsedTimeSinceBase = value; }
|
|
float L_0 = ___value0;
|
|
__this->____elapsedTimeSinceBase_7 = L_0;
|
|
// set { _elapsedTimeSinceBase = value; }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::get_LastT()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Resampler_get_LastT_m495C9B2BB9542D3841D936A9199C861B0BF55690 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get; private set;
|
|
float L_0 = __this->___U3CLastTU3Ek__BackingField_16;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::set_LastT(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_set_LastT_mC0A0BE8D8A073BCA6524B182073DCF0D7288382F (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, float ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get; private set;
|
|
float L_0 = ___value0;
|
|
__this->___U3CLastTU3Ek__BackingField_16 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Int64 RenderHeads.Media.AVProVideo.Resampler::get_TextureTimeStamp()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t Resampler_get_TextureTimeStamp_m95A53E074A38DE969C8CEB45D1B428F7A902591E (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get; private set;
|
|
int64_t L_0 = __this->___U3CTextureTimeStampU3Ek__BackingField_17;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::set_TextureTimeStamp(System.Int64)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_set_TextureTimeStamp_mCDD4505315EEA519591775DD9C0384713B3F2B40 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int64_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get; private set;
|
|
int64_t L_0 = ___value0;
|
|
__this->___U3CTextureTimeStampU3Ek__BackingField_17 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::OnVideoEvent(RenderHeads.Media.AVProVideo.MediaPlayer,RenderHeads.Media.AVProVideo.MediaPlayerEvent/EventType,RenderHeads.Media.AVProVideo.ErrorCode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_OnVideoEvent_mADA38D81410BAED2C41DA91FCC876BF32A5DCFDA (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* ___mp0, int32_t ___et1, int32_t ___errorCode2, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___et1;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___et1;
|
|
if ((((int32_t)L_1) == ((int32_t)5)))
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// _videoFrameRate = mp.Info.GetVideoFrameRate();
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_2 = ___mp0;
|
|
RuntimeObject* L_3;
|
|
L_3 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(10 /* RenderHeads.Media.AVProVideo.IMediaInfo RenderHeads.Media.AVProVideo.MediaPlayer::get_Info() */, L_2);
|
|
float L_4;
|
|
L_4 = InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single RenderHeads.Media.AVProVideo.IMediaInfo::GetVideoFrameRate() */, IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0_il2cpp_TypeInfo_var, L_3);
|
|
__this->____videoFrameRate_22 = L_4;
|
|
// _elapsedTimeSinceBase = 0f;
|
|
__this->____elapsedTimeSinceBase_7 = (0.0f);
|
|
// if (_videoFrameRate > 0f)
|
|
float L_5 = __this->____videoFrameRate_22;
|
|
if ((!(((float)L_5) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// _elapsedTimeSinceBase = _bufferSize / _videoFrameRate;
|
|
int32_t L_6 = __this->____bufferSize_5;
|
|
float L_7 = __this->____videoFrameRate_22;
|
|
__this->____elapsedTimeSinceBase_7 = ((float)(((float)L_6)/L_7));
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// Reset();
|
|
Resampler_Reset_mFBF3243A204A98C4F7900BDE8BBFCADA20BA3AD1(__this, NULL);
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::.ctor(RenderHeads.Media.AVProVideo.MediaPlayer,System.String,System.Int32,RenderHeads.Media.AVProVideo.Resampler/ResampleMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler__ctor_m8839095EF00428D4F3BFD9E434603EAA2CE23661 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* ___player0, String_t* ___name1, int32_t ___bufferSize2, int32_t ___resampleMode3, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m2C6CE7DA2F06E97C139A7F4D07A50AC3A0604C5D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resampler_OnVideoEvent_mADA38D81410BAED2C41DA91FCC876BF32A5DCFDA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral10EA4E5EFF41124EDF14E3BECA92F08426A01666);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral77F7BCDE3316D6DE390298CF601CA3B1FD6A2CA2);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8E19801F3EFF616570844AE719CC7E2356DB01A4);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA182B414CE75C071ABFBB3D245D97FCCAE86FB9B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC11E38F553DD44F945849F83A0FD83F8721F8D57);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCCD273725E4FDEB95D34DF1FEB221D2194EBCE3A);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* V_0 = NULL;
|
|
{
|
|
// private List<TimestampedRenderTexture[]> _buffer = new List<TimestampedRenderTexture[]>();
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_0 = (List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23*)il2cpp_codegen_object_new(List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23_il2cpp_TypeInfo_var);
|
|
List_1__ctor_m2C6CE7DA2F06E97C139A7F4D07A50AC3A0604C5D(L_0, List_1__ctor_m2C6CE7DA2F06E97C139A7F4D07A50AC3A0604C5D_RuntimeMethod_var);
|
|
__this->____buffer_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____buffer_0), (void*)L_0);
|
|
// private string _name = "";
|
|
__this->____name_10 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____name_10), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// private long _lastTimeStamp = -1;
|
|
__this->____lastTimeStamp_11 = ((int64_t)(-1));
|
|
// public Resampler(MediaPlayer player, string name, int bufferSize = 2, ResampleMode resampleMode = ResampleMode.LINEAR)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// _bufferSize = Mathf.Max(2, bufferSize);
|
|
int32_t L_1 = ___bufferSize2;
|
|
int32_t L_2;
|
|
L_2 = Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline(2, L_1, NULL);
|
|
__this->____bufferSize_5 = L_2;
|
|
// player.Events.AddListener(OnVideoEvent);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_3 = ___player0;
|
|
MediaPlayerEvent_t121509C282EF0611D2925165D8D101C0CDD759A8* L_4;
|
|
L_4 = MediaPlayer_get_Events_mC03BCDE15F4DD1621730080D407BDFEB4701962A(L_3, NULL);
|
|
UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81* L_5 = (UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81*)il2cpp_codegen_object_new(UnityAction_3_t030DCCB147A37115F1C7596C4AAA9D89F97C7A81_il2cpp_TypeInfo_var);
|
|
UnityAction_3__ctor_m7C91BC66E7FAB384E7989EE1F26095E95EA5B3BC(L_5, __this, (intptr_t)((void*)Resampler_OnVideoEvent_mADA38D81410BAED2C41DA91FCC876BF32A5DCFDA_RuntimeMethod_var), NULL);
|
|
MediaPlayerEvent_AddListener_mA7364D01750EEED48F9C0EA83BBF4A2FF9433358(L_4, L_5, NULL);
|
|
// _mediaPlayer = player;
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_6 = ___player0;
|
|
__this->____mediaPlayer_1 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____mediaPlayer_1), (void*)L_6);
|
|
// Shader blendShader = Shader.Find("AVProVideo/Internal/BlendFrames");
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_7;
|
|
L_7 = Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5(_stringLiteralA182B414CE75C071ABFBB3D245D97FCCAE86FB9B, NULL);
|
|
V_0 = L_7;
|
|
// if (blendShader != null)
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_8 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_8, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0091;
|
|
}
|
|
}
|
|
{
|
|
// _blendMat = new Material(blendShader);
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_10 = V_0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_11 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)il2cpp_codegen_object_new(Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF(L_11, L_10, NULL);
|
|
__this->____blendMat_8 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____blendMat_8), (void*)L_11);
|
|
// _propT = Shader.PropertyToID(ShaderPropT);
|
|
int32_t L_12;
|
|
L_12 = Shader_PropertyToID_mE98523D50F5656CAE89B30695C458253EB8956CA(_stringLiteralC11E38F553DD44F945849F83A0FD83F8721F8D57, NULL);
|
|
__this->____propT_21 = L_12;
|
|
// _propAfterTex = Shader.PropertyToID(ShaderPropAftertex);
|
|
int32_t L_13;
|
|
L_13 = Shader_PropertyToID_mE98523D50F5656CAE89B30695C458253EB8956CA(_stringLiteral10EA4E5EFF41124EDF14E3BECA92F08426A01666, NULL);
|
|
__this->____propAfterTex_20 = L_13;
|
|
goto IL_009b;
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// Debug.LogError("[AVProVideo] Failed to find BlendFrames shader");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(_stringLiteral8E19801F3EFF616570844AE719CC7E2356DB01A4, NULL);
|
|
}
|
|
|
|
IL_009b:
|
|
{
|
|
// _resampleMode = resampleMode;
|
|
int32_t L_14 = ___resampleMode3;
|
|
__this->____resampleMode_9 = L_14;
|
|
// _name = name;
|
|
String_t* L_15 = ___name1;
|
|
__this->____name_10 = L_15;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____name_10), (void*)L_15);
|
|
// Debug.Log("[AVProVideo] Resampler " + _name + " started");
|
|
String_t* L_16 = __this->____name_10;
|
|
String_t* L_17;
|
|
L_17 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(_stringLiteralCCD273725E4FDEB95D34DF1FEB221D2194EBCE3A, L_16, _stringLiteral77F7BCDE3316D6DE390298CF601CA3B1FD6A2CA2, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(L_17, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Texture[] RenderHeads.Media.AVProVideo.Resampler::get_OutputTexture()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* Resampler_get_OutputTexture_m3AB836CDACB1FDE9EB2275F4DCC760F094BF5758 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* V_0 = NULL;
|
|
{
|
|
// get { return _outputTexture; }
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_0 = __this->____outputTexture_2;
|
|
V_0 = (TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46*)L_0;
|
|
TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_Reset_mFBF3243A204A98C4F7900BDE8BBFCADA20BA3AD1 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _lastTimeStamp = -1;
|
|
__this->____lastTimeStamp_11 = ((int64_t)(-1));
|
|
// _baseTimestamp = 0;
|
|
__this->____baseTimestamp_6 = ((int64_t)0);
|
|
// InvalidateBuffer();
|
|
Resampler_InvalidateBuffer_m0B913F9557E523326A11F73F357FFDBC948E3EDD(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::Release()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_Release_m824695772BA20DF9EFE4A8E69CCE9D18720FDC98 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// ReleaseRenderTextures();
|
|
Resampler_ReleaseRenderTextures_mD676A2A1B85F4B6613E26E0EFA89CCDB1E315F3D(__this, NULL);
|
|
// if (_blendMat != null)
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->____blendMat_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
}
|
|
{
|
|
// if (Application.isPlaying)
|
|
bool L_2;
|
|
L_2 = Application_get_isPlaying_m25B0ABDFEF54F5370CD3F263A813540843D00F34(NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// Material.Destroy(_blendMat);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = __this->____blendMat_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Object_Destroy_mE97D0A766419A81296E8D4E5C23D01D3FE91ACBB(L_3, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// Material.DestroyImmediate(_blendMat);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = __this->____blendMat_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Object_DestroyImmediate_m6336EBC83591A5DB64EC70C92132824C6E258705(L_4, NULL);
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::ReleaseRenderTextures()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_ReleaseRenderTextures_mD676A2A1B85F4B6613E26E0EFA89CCDB1E315F3D (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
V_0 = 0;
|
|
goto IL_0090;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
V_1 = 0;
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (_buffer[i][j].texture != null)
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_0 = __this->____buffer_0;
|
|
int32_t L_1 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_2;
|
|
L_2 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_0, L_1, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_3 = V_1;
|
|
int32_t L_4 = L_3;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_5 = (L_2)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_4));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_6 = L_5->___texture_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// RenderTexture.ReleaseTemporary(_buffer[i][j].texture);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_8 = __this->____buffer_0;
|
|
int32_t L_9 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_10;
|
|
L_10 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_8, L_9, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_11 = V_1;
|
|
int32_t L_12 = L_11;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_13 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_12));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_14 = L_13->___texture_0;
|
|
RenderTexture_ReleaseTemporary_mEEF2C1990196FF06FDD0DC190928AD3A023EBDD2(L_14, NULL);
|
|
// _buffer[i][j].texture = null;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_15 = __this->____buffer_0;
|
|
int32_t L_16 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_17;
|
|
L_17 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_15, L_16, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_18 = V_1;
|
|
int32_t L_19 = L_18;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
|
|
L_20->___texture_0 = (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_20->___texture_0), (void*)(RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)NULL);
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
int32_t L_21 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
int32_t L_22 = V_1;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_23 = __this->____buffer_0;
|
|
int32_t L_24 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_25;
|
|
L_25 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_23, L_24, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_22) < ((int32_t)((int32_t)(((RuntimeArray*)L_25)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (_outputTexture != null && _outputTexture[i] != null)
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_26 = __this->____outputTexture_2;
|
|
if (!L_26)
|
|
{
|
|
goto IL_008c;
|
|
}
|
|
}
|
|
{
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_27 = __this->____outputTexture_2;
|
|
int32_t L_28 = V_0;
|
|
int32_t L_29 = L_28;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_30 = (L_27)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_29));
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_31;
|
|
L_31 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_30, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_31)
|
|
{
|
|
goto IL_008c;
|
|
}
|
|
}
|
|
{
|
|
// RenderTexture.ReleaseTemporary(_outputTexture[i]);
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_32 = __this->____outputTexture_2;
|
|
int32_t L_33 = V_0;
|
|
int32_t L_34 = L_33;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_35 = (L_32)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_34));
|
|
RenderTexture_ReleaseTemporary_mEEF2C1990196FF06FDD0DC190928AD3A023EBDD2(L_35, NULL);
|
|
}
|
|
|
|
IL_008c:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_36 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_36, 1));
|
|
}
|
|
|
|
IL_0090:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_37 = V_0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_38 = __this->____buffer_0;
|
|
int32_t L_39;
|
|
L_39 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_38, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_37) < ((int32_t)L_39)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// _outputTexture = null;
|
|
__this->____outputTexture_2 = (RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____outputTexture_2), (void*)(RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6*)NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::ConstructRenderTextures()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_ConstructRenderTextures_m1A190174EB87518714F5A8D32EF7650A6A21B591 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m598BC6DC34899140EE3171EB821C9A1D03EC17E0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mFB2ACE52643AD70A974C2F1B52DE54B8718D2E5A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
{
|
|
// ReleaseRenderTextures();
|
|
Resampler_ReleaseRenderTextures_mD676A2A1B85F4B6613E26E0EFA89CCDB1E315F3D(__this, NULL);
|
|
// _buffer.Clear();
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_0 = __this->____buffer_0;
|
|
List_1_Clear_mFB2ACE52643AD70A974C2F1B52DE54B8718D2E5A_inline(L_0, List_1_Clear_mFB2ACE52643AD70A974C2F1B52DE54B8718D2E5A_RuntimeMethod_var);
|
|
// _outputTexture = new RenderTexture[_mediaPlayer.TextureProducer.GetTextureCount()];
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_1 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_2;
|
|
L_2 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_1);
|
|
int32_t L_3;
|
|
L_3 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureCount() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_2);
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_4 = (RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6*)(RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6*)SZArrayNew(RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6_il2cpp_TypeInfo_var, (uint32_t)L_3);
|
|
__this->____outputTexture_2 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____outputTexture_2), (void*)L_4);
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
V_0 = 0;
|
|
goto IL_013d;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// Texture tex = _mediaPlayer.TextureProducer.GetTexture(i);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_5 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_6;
|
|
L_6 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_5);
|
|
int32_t L_7 = V_0;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_8;
|
|
L_8 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_6, L_7);
|
|
V_1 = L_8;
|
|
// _buffer.Add(new TimestampedRenderTexture[_bufferSize]);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_9 = __this->____buffer_0;
|
|
int32_t L_10 = __this->____bufferSize_5;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_11 = (TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380*)(TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380*)SZArrayNew(TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380_il2cpp_TypeInfo_var, (uint32_t)L_10);
|
|
List_1_Add_m598BC6DC34899140EE3171EB821C9A1D03EC17E0_inline(L_9, L_11, List_1_Add_m598BC6DC34899140EE3171EB821C9A1D03EC17E0_RuntimeMethod_var);
|
|
// for (int j = 0; j < _bufferSize; ++j)
|
|
V_2 = 0;
|
|
goto IL_0076;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// _buffer[i][j] = new TimestampedRenderTexture();
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_12 = __this->____buffer_0;
|
|
int32_t L_13 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_14;
|
|
L_14 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_12, L_13, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_15 = V_2;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_16 = (TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA*)il2cpp_codegen_object_new(TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA_il2cpp_TypeInfo_var);
|
|
TimestampedRenderTexture__ctor_m39077E5F2697F63AC7FD0B7CC41776B33775CAF7(L_16, NULL);
|
|
ArrayElementTypeCheck (L_14, L_16);
|
|
(L_14)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15), (TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA*)L_16);
|
|
// for (int j = 0; j < _bufferSize; ++j)
|
|
int32_t L_17 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_17, 1));
|
|
}
|
|
|
|
IL_0076:
|
|
{
|
|
// for (int j = 0; j < _bufferSize; ++j)
|
|
int32_t L_18 = V_2;
|
|
int32_t L_19 = __this->____bufferSize_5;
|
|
if ((((int32_t)L_18) < ((int32_t)L_19)))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
V_3 = 0;
|
|
goto IL_00d5;
|
|
}
|
|
|
|
IL_0083:
|
|
{
|
|
// _buffer[i][j].texture = RenderTexture.GetTemporary(tex.width, tex.height, 0);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_20 = __this->____buffer_0;
|
|
int32_t L_21 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_22;
|
|
L_22 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_20, L_21, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_23 = V_3;
|
|
int32_t L_24 = L_23;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_25 = (L_22)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_24));
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_26 = V_1;
|
|
int32_t L_27;
|
|
L_27 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_26);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_28 = V_1;
|
|
int32_t L_29;
|
|
L_29 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_28);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_30;
|
|
L_30 = RenderTexture_GetTemporary_m5B16E03FC6142149BDC336285A5C18D5152CA2C3(L_27, L_29, 0, NULL);
|
|
L_25->___texture_0 = L_30;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_25->___texture_0), (void*)L_30);
|
|
// _buffer[i][j].timestamp = 0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_31 = __this->____buffer_0;
|
|
int32_t L_32 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_33;
|
|
L_33 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_31, L_32, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_34 = V_3;
|
|
int32_t L_35 = L_34;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_36 = (L_33)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35));
|
|
L_36->___timestamp_1 = ((int64_t)0);
|
|
// _buffer[i][j].used = false;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_37 = __this->____buffer_0;
|
|
int32_t L_38 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_39;
|
|
L_39 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_37, L_38, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_40 = V_3;
|
|
int32_t L_41 = L_40;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_42 = (L_39)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_41));
|
|
L_42->___used_2 = (bool)0;
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
int32_t L_43 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_43, 1));
|
|
}
|
|
|
|
IL_00d5:
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
int32_t L_44 = V_3;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_45 = __this->____buffer_0;
|
|
int32_t L_46 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_47;
|
|
L_47 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_45, L_46, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_44) < ((int32_t)((int32_t)(((RuntimeArray*)L_47)->max_length)))))
|
|
{
|
|
goto IL_0083;
|
|
}
|
|
}
|
|
{
|
|
// _outputTexture[i] = RenderTexture.GetTemporary(tex.width, tex.height, 0);
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_48 = __this->____outputTexture_2;
|
|
int32_t L_49 = V_0;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_50 = V_1;
|
|
int32_t L_51;
|
|
L_51 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_50);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_52 = V_1;
|
|
int32_t L_53;
|
|
L_53 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_52);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_54;
|
|
L_54 = RenderTexture_GetTemporary_m5B16E03FC6142149BDC336285A5C18D5152CA2C3(L_51, L_53, 0, NULL);
|
|
ArrayElementTypeCheck (L_48, L_54);
|
|
(L_48)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_49), (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)L_54);
|
|
// _outputTexture[i].filterMode = tex.filterMode;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_55 = __this->____outputTexture_2;
|
|
int32_t L_56 = V_0;
|
|
int32_t L_57 = L_56;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_58 = (L_55)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_57));
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_59 = V_1;
|
|
int32_t L_60;
|
|
L_60 = Texture_get_filterMode_mFEF0AEA29E8468450EF85533965DCEBE66D02A45(L_59, NULL);
|
|
Texture_set_filterMode_mE423E58C0C16D059EA62BA87AD70F44AEA50CCC9(L_58, L_60, NULL);
|
|
// _outputTexture[i].wrapMode = tex.wrapMode;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_61 = __this->____outputTexture_2;
|
|
int32_t L_62 = V_0;
|
|
int32_t L_63 = L_62;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_64 = (L_61)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_63));
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_65 = V_1;
|
|
int32_t L_66;
|
|
L_66 = Texture_get_wrapMode_m1DE1C2813B72EDCCCEB396CFC91989358E8C3AD0(L_65, NULL);
|
|
Texture_set_wrapMode_m1F74A690E3883EC9C5C371D502D09642F15D0F7E(L_64, L_66, NULL);
|
|
// _outputTexture[i].anisoLevel = tex.anisoLevel;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_67 = __this->____outputTexture_2;
|
|
int32_t L_68 = V_0;
|
|
int32_t L_69 = L_68;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_70 = (L_67)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_69));
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_71 = V_1;
|
|
int32_t L_72;
|
|
L_72 = Texture_get_anisoLevel_m49CB873A0A3A71281BAE34A9512803D76D2EA27F(L_71, NULL);
|
|
Texture_set_anisoLevel_m768759DE9D6BE15FCE995F5FC468980B904B9D1F(L_70, L_72, NULL);
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
int32_t L_73 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_73, 1));
|
|
}
|
|
|
|
IL_013d:
|
|
{
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
int32_t L_74 = V_0;
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_75 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_76;
|
|
L_76 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_75);
|
|
int32_t L_77;
|
|
L_77 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureCount() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_76);
|
|
if ((((int32_t)L_74) < ((int32_t)L_77)))
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.Resampler::CheckRenderTexturesValid()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Resampler_CheckRenderTexturesValid_m836221D21D6D23F1B4BEC3209852964D83822D15 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
V_0 = 0;
|
|
goto IL_00d4;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// Texture tex = _mediaPlayer.TextureProducer.GetTexture(i);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_0 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_1;
|
|
L_1 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_0);
|
|
int32_t L_2 = V_0;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_3;
|
|
L_3 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_1, L_2);
|
|
V_1 = L_3;
|
|
// for (int j = 0; j < _buffer.Count; ++j)
|
|
V_2 = 0;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// if (_buffer[i][j].texture == null || _buffer[i][j].texture.width != tex.width || _buffer[i][j].texture.height != tex.height)
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_4 = __this->____buffer_0;
|
|
int32_t L_5 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_6;
|
|
L_6 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_4, L_5, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_7 = V_2;
|
|
int32_t L_8 = L_7;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_10 = L_9->___texture_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_11)
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_12 = __this->____buffer_0;
|
|
int32_t L_13 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_14;
|
|
L_14 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_12, L_13, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_15 = V_2;
|
|
int32_t L_16 = L_15;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_17 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_18 = L_17->___texture_0;
|
|
int32_t L_19;
|
|
L_19 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_18);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_20 = V_1;
|
|
int32_t L_21;
|
|
L_21 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_20);
|
|
if ((!(((uint32_t)L_19) == ((uint32_t)L_21))))
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_22 = __this->____buffer_0;
|
|
int32_t L_23 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_24;
|
|
L_24 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_22, L_23, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_25 = V_2;
|
|
int32_t L_26 = L_25;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_27 = (L_24)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_26));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_28 = L_27->___texture_0;
|
|
int32_t L_29;
|
|
L_29 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_28);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_30 = V_1;
|
|
int32_t L_31;
|
|
L_31 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_30);
|
|
if ((((int32_t)L_29) == ((int32_t)L_31)))
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// for (int j = 0; j < _buffer.Count; ++j)
|
|
int32_t L_32 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// for (int j = 0; j < _buffer.Count; ++j)
|
|
int32_t L_33 = V_2;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_34 = __this->____buffer_0;
|
|
int32_t L_35;
|
|
L_35 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_34, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_33) < ((int32_t)L_35)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// if (_outputTexture == null || _outputTexture[i] == null || _outputTexture[i].width != tex.width || _outputTexture[i].height != tex.height)
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_36 = __this->____outputTexture_2;
|
|
if (!L_36)
|
|
{
|
|
goto IL_00ce;
|
|
}
|
|
}
|
|
{
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_37 = __this->____outputTexture_2;
|
|
int32_t L_38 = V_0;
|
|
int32_t L_39 = L_38;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_40 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_41;
|
|
L_41 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_40, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_41)
|
|
{
|
|
goto IL_00ce;
|
|
}
|
|
}
|
|
{
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_42 = __this->____outputTexture_2;
|
|
int32_t L_43 = V_0;
|
|
int32_t L_44 = L_43;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_45 = (L_42)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_44));
|
|
int32_t L_46;
|
|
L_46 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_45);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_47 = V_1;
|
|
int32_t L_48;
|
|
L_48 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_47);
|
|
if ((!(((uint32_t)L_46) == ((uint32_t)L_48))))
|
|
{
|
|
goto IL_00ce;
|
|
}
|
|
}
|
|
{
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_49 = __this->____outputTexture_2;
|
|
int32_t L_50 = V_0;
|
|
int32_t L_51 = L_50;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_52 = (L_49)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_51));
|
|
int32_t L_53;
|
|
L_53 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_52);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_54 = V_1;
|
|
int32_t L_55;
|
|
L_55 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_54);
|
|
if ((((int32_t)L_53) == ((int32_t)L_55)))
|
|
{
|
|
goto IL_00d0;
|
|
}
|
|
}
|
|
|
|
IL_00ce:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00d0:
|
|
{
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
int32_t L_56 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_56, 1));
|
|
}
|
|
|
|
IL_00d4:
|
|
{
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
int32_t L_57 = V_0;
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_58 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_59;
|
|
L_59 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_58);
|
|
int32_t L_60;
|
|
L_60 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureCount() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_59);
|
|
if ((((int32_t)L_57) < ((int32_t)L_60)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::FindBeforeFrameIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Resampler_FindBeforeFrameIndex_m2AE6A85DB94FFEF8B121D15655ADF64DDBE4596E (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___frameIdx0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
float V_3 = 0.0f;
|
|
int32_t V_4 = 0;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
{
|
|
// if (frameIdx >= _buffer.Count)
|
|
int32_t L_0 = ___frameIdx0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_1 = __this->____buffer_0;
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_1, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_0) < ((int32_t)L_2)))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// int foundFrame = -1;
|
|
V_0 = (-1);
|
|
// float smallestDif = float.MaxValue;
|
|
V_1 = ((std::numeric_limits<float>::max)());
|
|
// int closest = -1;
|
|
V_2 = (-1);
|
|
// float smallestElapsed = float.MaxValue;
|
|
V_3 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < _buffer[frameIdx].Length; ++i)
|
|
V_4 = 0;
|
|
goto IL_008f;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// if (_buffer[frameIdx][i].used)
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_3 = __this->____buffer_0;
|
|
int32_t L_4 = ___frameIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_5;
|
|
L_5 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_3, L_4, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_6 = V_4;
|
|
int32_t L_7 = L_6;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
|
|
bool L_9 = L_8->___used_2;
|
|
if (!L_9)
|
|
{
|
|
goto IL_0089;
|
|
}
|
|
}
|
|
{
|
|
// float elapsed = (_buffer[frameIdx][i].timestamp - _baseTimestamp) / 10000000f;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_10 = __this->____buffer_0;
|
|
int32_t L_11 = ___frameIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_12;
|
|
L_12 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_10, L_11, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_13 = V_4;
|
|
int32_t L_14 = L_13;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_15 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14));
|
|
int64_t L_16 = L_15->___timestamp_1;
|
|
int64_t L_17 = __this->____baseTimestamp_6;
|
|
V_5 = ((float)(((float)((int64_t)il2cpp_codegen_subtract(L_16, L_17)))/(10000000.0f)));
|
|
// if (elapsed < smallestElapsed)
|
|
float L_18 = V_5;
|
|
float L_19 = V_3;
|
|
if ((!(((float)L_18) < ((float)L_19))))
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
// closest = i;
|
|
int32_t L_20 = V_4;
|
|
V_2 = L_20;
|
|
// smallestElapsed = elapsed;
|
|
float L_21 = V_5;
|
|
V_3 = L_21;
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// float dif = _elapsedTimeSinceBase - elapsed;
|
|
float L_22 = __this->____elapsedTimeSinceBase_7;
|
|
float L_23 = V_5;
|
|
V_6 = ((float)il2cpp_codegen_subtract(L_22, L_23));
|
|
// if (dif >= 0 && dif < smallestDif)
|
|
float L_24 = V_6;
|
|
if ((!(((float)L_24) >= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0089;
|
|
}
|
|
}
|
|
{
|
|
float L_25 = V_6;
|
|
float L_26 = V_1;
|
|
if ((!(((float)L_25) < ((float)L_26))))
|
|
{
|
|
goto IL_0089;
|
|
}
|
|
}
|
|
{
|
|
// smallestDif = dif;
|
|
float L_27 = V_6;
|
|
V_1 = L_27;
|
|
// foundFrame = i;
|
|
int32_t L_28 = V_4;
|
|
V_0 = L_28;
|
|
}
|
|
|
|
IL_0089:
|
|
{
|
|
// for (int i = 0; i < _buffer[frameIdx].Length; ++i)
|
|
int32_t L_29 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_29, 1));
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
// for (int i = 0; i < _buffer[frameIdx].Length; ++i)
|
|
int32_t L_30 = V_4;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_31 = __this->____buffer_0;
|
|
int32_t L_32 = ___frameIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_33;
|
|
L_33 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_31, L_32, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)))))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// if (foundFrame < 0)
|
|
int32_t L_34 = V_0;
|
|
if ((((int32_t)L_34) >= ((int32_t)0)))
|
|
{
|
|
goto IL_00ad;
|
|
}
|
|
}
|
|
{
|
|
// if (closest < 0)
|
|
int32_t L_35 = V_2;
|
|
if ((((int32_t)L_35) >= ((int32_t)0)))
|
|
{
|
|
goto IL_00ab;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// return closest;
|
|
int32_t L_36 = V_2;
|
|
return L_36;
|
|
}
|
|
|
|
IL_00ad:
|
|
{
|
|
// return foundFrame;
|
|
int32_t L_37 = V_0;
|
|
return L_37;
|
|
}
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.Resampler::FindClosestFrame(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Resampler_FindClosestFrame_mE90CFA152953F0CBC0A6629409C34884BAC2BE63 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___frameIdx0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
{
|
|
// if (frameIdx >= _buffer.Count)
|
|
int32_t L_0 = ___frameIdx0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_1 = __this->____buffer_0;
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_1, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_0) < ((int32_t)L_2)))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// return -1;
|
|
return (-1);
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// int foundPos = -1;
|
|
V_0 = (-1);
|
|
// float smallestDif = float.MaxValue;
|
|
V_1 = ((std::numeric_limits<float>::max)());
|
|
// for (int i = 0; i < _buffer[frameIdx].Length; ++i)
|
|
V_2 = 0;
|
|
goto IL_0070;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// if (_buffer[frameIdx][i].used)
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_3 = __this->____buffer_0;
|
|
int32_t L_4 = ___frameIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_5;
|
|
L_5 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_3, L_4, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_6 = V_2;
|
|
int32_t L_7 = L_6;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
|
|
bool L_9 = L_8->___used_2;
|
|
if (!L_9)
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// float elapsed = (_buffer[frameIdx][i].timestamp - _baseTimestamp) / 10000000f;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_10 = __this->____buffer_0;
|
|
int32_t L_11 = ___frameIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_12;
|
|
L_12 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_10, L_11, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_13 = V_2;
|
|
int32_t L_14 = L_13;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_15 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14));
|
|
int64_t L_16 = L_15->___timestamp_1;
|
|
int64_t L_17 = __this->____baseTimestamp_6;
|
|
V_3 = ((float)(((float)((int64_t)il2cpp_codegen_subtract(L_16, L_17)))/(10000000.0f)));
|
|
// float dif = Mathf.Abs(_elapsedTimeSinceBase - elapsed);
|
|
float L_18 = __this->____elapsedTimeSinceBase_7;
|
|
float L_19 = V_3;
|
|
float L_20;
|
|
L_20 = fabsf(((float)il2cpp_codegen_subtract(L_18, L_19)));
|
|
V_4 = L_20;
|
|
// if (dif < smallestDif)
|
|
float L_21 = V_4;
|
|
float L_22 = V_1;
|
|
if ((!(((float)L_21) < ((float)L_22))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// foundPos = i;
|
|
int32_t L_23 = V_2;
|
|
V_0 = L_23;
|
|
// smallestDif = dif;
|
|
float L_24 = V_4;
|
|
V_1 = L_24;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// for (int i = 0; i < _buffer[frameIdx].Length; ++i)
|
|
int32_t L_25 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// for (int i = 0; i < _buffer[frameIdx].Length; ++i)
|
|
int32_t L_26 = V_2;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_27 = __this->____buffer_0;
|
|
int32_t L_28 = ___frameIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_29;
|
|
L_29 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_27, L_28, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_26) < ((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length)))))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// return foundPos;
|
|
int32_t L_30 = V_0;
|
|
return L_30;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::PointUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_PointUpdate_m6F90E2FA43C9BC205DE2B04629EBA02401C3DC1B (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int64_t V_2 = 0;
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
V_0 = 0;
|
|
goto IL_0063;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// int frameIndex = FindClosestFrame(i);
|
|
int32_t L_0 = V_0;
|
|
int32_t L_1;
|
|
L_1 = Resampler_FindClosestFrame_mE90CFA152953F0CBC0A6629409C34884BAC2BE63(__this, L_0, NULL);
|
|
V_1 = L_1;
|
|
// if (frameIndex < 0)
|
|
int32_t L_2 = V_1;
|
|
if ((((int32_t)L_2) < ((int32_t)0)))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// _outputTexture[i].DiscardContents();
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_3 = __this->____outputTexture_2;
|
|
int32_t L_4 = V_0;
|
|
int32_t L_5 = L_4;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_6 = (L_3)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_5));
|
|
RenderTexture_DiscardContents_m6C446FB1B7B57334FAD8847DB03E983975F38B32(L_6, NULL);
|
|
// Graphics.Blit(_buffer[i][frameIndex].texture, _outputTexture[i]);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_7 = __this->____buffer_0;
|
|
int32_t L_8 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_9;
|
|
L_9 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_7, L_8, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_10 = V_1;
|
|
int32_t L_11 = L_10;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_12 = (L_9)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_13 = L_12->___texture_0;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_14 = __this->____outputTexture_2;
|
|
int32_t L_15 = V_0;
|
|
int32_t L_16 = L_15;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_17 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504(L_13, L_17, NULL);
|
|
// TextureTimeStamp = _currentDisplayedTimestamp = _buffer[i][frameIndex].timestamp;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_18 = __this->____buffer_0;
|
|
int32_t L_19 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_20;
|
|
L_20 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_18, L_19, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_21 = V_1;
|
|
int32_t L_22 = L_21;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_23 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22));
|
|
int64_t L_24 = L_23->___timestamp_1;
|
|
int64_t L_25 = L_24;
|
|
V_2 = L_25;
|
|
__this->____currentDisplayedTimestamp_15 = L_25;
|
|
int64_t L_26 = V_2;
|
|
Resampler_set_TextureTimeStamp_mCDD4505315EEA519591775DD9C0384713B3F2B40_inline(__this, L_26, NULL);
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_27 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_27, 1));
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_28 = V_0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_29 = __this->____buffer_0;
|
|
int32_t L_30;
|
|
L_30 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_29, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_28) < ((int32_t)L_30)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::SampleFrame(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_SampleFrame_m6D60DC53849AE6D5DC8250878B2D8D41AAFC7EF5 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___frameIdx0, int32_t ___bufferIdx1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int64_t V_0 = 0;
|
|
{
|
|
// _outputTexture[bufferIdx].DiscardContents();
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_0 = __this->____outputTexture_2;
|
|
int32_t L_1 = ___bufferIdx1;
|
|
int32_t L_2 = L_1;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_3 = (L_0)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_2));
|
|
RenderTexture_DiscardContents_m6C446FB1B7B57334FAD8847DB03E983975F38B32(L_3, NULL);
|
|
// Graphics.Blit(_buffer[bufferIdx][frameIdx].texture, _outputTexture[bufferIdx]);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_4 = __this->____buffer_0;
|
|
int32_t L_5 = ___bufferIdx1;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_6;
|
|
L_6 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_4, L_5, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_7 = ___frameIdx0;
|
|
int32_t L_8 = L_7;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_9 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_8));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_10 = L_9->___texture_0;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_11 = __this->____outputTexture_2;
|
|
int32_t L_12 = ___bufferIdx1;
|
|
int32_t L_13 = L_12;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_14 = (L_11)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_13));
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504(L_10, L_14, NULL);
|
|
// TextureTimeStamp = _currentDisplayedTimestamp = _buffer[bufferIdx][frameIdx].timestamp;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_15 = __this->____buffer_0;
|
|
int32_t L_16 = ___bufferIdx1;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_17;
|
|
L_17 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_15, L_16, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_18 = ___frameIdx0;
|
|
int32_t L_19 = L_18;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_20 = (L_17)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
|
|
int64_t L_21 = L_20->___timestamp_1;
|
|
int64_t L_22 = L_21;
|
|
V_0 = L_22;
|
|
__this->____currentDisplayedTimestamp_15 = L_22;
|
|
int64_t L_23 = V_0;
|
|
Resampler_set_TextureTimeStamp_mCDD4505315EEA519591775DD9C0384713B3F2B40_inline(__this, L_23, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::SampleFrames(System.Int32,System.Int32,System.Int32,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_SampleFrames_mD66D11E32A50184A7EB473941F91E419177A332F (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int32_t ___bufferIdx0, int32_t ___frameIdx11, int32_t ___frameIdx22, float ___t3, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// _blendMat.SetFloat(_propT, t);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = __this->____blendMat_8;
|
|
int32_t L_1 = __this->____propT_21;
|
|
float L_2 = ___t3;
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_0, L_1, L_2, NULL);
|
|
// _blendMat.SetTexture(_propAfterTex, _buffer[bufferIdx][frameIdx2].texture);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = __this->____blendMat_8;
|
|
int32_t L_4 = __this->____propAfterTex_20;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_5 = __this->____buffer_0;
|
|
int32_t L_6 = ___bufferIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_7;
|
|
L_7 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_5, L_6, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_8 = ___frameIdx22;
|
|
int32_t L_9 = L_8;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_10 = (L_7)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_9));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_11 = L_10->___texture_0;
|
|
Material_SetTexture_mA9F8461850AAB88F992E9C6FA6F24C2E050B83FD(L_3, L_4, L_11, NULL);
|
|
// _outputTexture[bufferIdx].DiscardContents();
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_12 = __this->____outputTexture_2;
|
|
int32_t L_13 = ___bufferIdx0;
|
|
int32_t L_14 = L_13;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_15 = (L_12)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_14));
|
|
RenderTexture_DiscardContents_m6C446FB1B7B57334FAD8847DB03E983975F38B32(L_15, NULL);
|
|
// Graphics.Blit(_buffer[bufferIdx][frameIdx1].texture, _outputTexture[bufferIdx], _blendMat);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_16 = __this->____buffer_0;
|
|
int32_t L_17 = ___bufferIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_18;
|
|
L_18 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_16, L_17, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_19 = ___frameIdx11;
|
|
int32_t L_20 = L_19;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_21 = (L_18)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_20));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_22 = L_21->___texture_0;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_23 = __this->____outputTexture_2;
|
|
int32_t L_24 = ___bufferIdx0;
|
|
int32_t L_25 = L_24;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_26 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_25));
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_27 = __this->____blendMat_8;
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8DFE1C855FA028398E5072592582721D5DA6253F(L_22, L_26, L_27, NULL);
|
|
// TextureTimeStamp = (long)Mathf.Lerp(_buffer[bufferIdx][frameIdx1].timestamp, _buffer[bufferIdx][frameIdx2].timestamp, t);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_28 = __this->____buffer_0;
|
|
int32_t L_29 = ___bufferIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_30;
|
|
L_30 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_28, L_29, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_31 = ___frameIdx11;
|
|
int32_t L_32 = L_31;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_33 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_32));
|
|
int64_t L_34 = L_33->___timestamp_1;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_35 = __this->____buffer_0;
|
|
int32_t L_36 = ___bufferIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_37;
|
|
L_37 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_35, L_36, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_38 = ___frameIdx22;
|
|
int32_t L_39 = L_38;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_40 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
|
|
int64_t L_41 = L_40->___timestamp_1;
|
|
float L_42 = ___t3;
|
|
float L_43;
|
|
L_43 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(((float)L_34), ((float)L_41), L_42, NULL);
|
|
Resampler_set_TextureTimeStamp_mCDD4505315EEA519591775DD9C0384713B3F2B40_inline(__this, il2cpp_codegen_cast_double_to_int<int64_t>(L_43), NULL);
|
|
// _currentDisplayedTimestamp = _buffer[bufferIdx][frameIdx1].timestamp;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_44 = __this->____buffer_0;
|
|
int32_t L_45 = ___bufferIdx0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_46;
|
|
L_46 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_44, L_45, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_47 = ___frameIdx11;
|
|
int32_t L_48 = L_47;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_49 = (L_46)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_48));
|
|
int64_t L_50 = L_49->___timestamp_1;
|
|
__this->____currentDisplayedTimestamp_15 = L_50;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::LinearUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_LinearUpdate_mB3CF3BA173B97983F66E053B73D05F69BDEAC5F9 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
float V_2 = 0.0f;
|
|
int32_t V_3 = 0;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
V_0 = 0;
|
|
goto IL_00d0;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// int frameIndex = FindBeforeFrameIndex(i);
|
|
int32_t L_0 = V_0;
|
|
int32_t L_1;
|
|
L_1 = Resampler_FindBeforeFrameIndex_m2AE6A85DB94FFEF8B121D15655ADF64DDBE4596E(__this, L_0, NULL);
|
|
V_1 = L_1;
|
|
// if (frameIndex < 0)
|
|
int32_t L_2 = V_1;
|
|
if ((((int32_t)L_2) < ((int32_t)0)))
|
|
{
|
|
goto IL_00cc;
|
|
}
|
|
}
|
|
{
|
|
// float frameElapsed = (_buffer[i][frameIndex].timestamp - _baseTimestamp) / 10000000f;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_3 = __this->____buffer_0;
|
|
int32_t L_4 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_5;
|
|
L_5 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_3, L_4, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_6 = V_1;
|
|
int32_t L_7 = L_6;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_8 = (L_5)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
|
|
int64_t L_9 = L_8->___timestamp_1;
|
|
int64_t L_10 = __this->____baseTimestamp_6;
|
|
V_2 = ((float)(((float)((int64_t)il2cpp_codegen_subtract(L_9, L_10)))/(10000000.0f)));
|
|
// if (frameElapsed > _elapsedTimeSinceBase)
|
|
float L_11 = V_2;
|
|
float L_12 = __this->____elapsedTimeSinceBase_7;
|
|
if ((!(((float)L_11) > ((float)L_12))))
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// SampleFrame(frameIndex, i);
|
|
int32_t L_13 = V_1;
|
|
int32_t L_14 = V_0;
|
|
Resampler_SampleFrame_m6D60DC53849AE6D5DC8250878B2D8D41AAFC7EF5(__this, L_13, L_14, NULL);
|
|
// LastT = -1f;
|
|
Resampler_set_LastT_mC0A0BE8D8A073BCA6524B182073DCF0D7288382F_inline(__this, (-1.0f), NULL);
|
|
goto IL_00cc;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// int next = (frameIndex + 1) % _buffer[i].Length;
|
|
int32_t L_15 = V_1;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_16 = __this->____buffer_0;
|
|
int32_t L_17 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_18;
|
|
L_18 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_16, L_17, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
V_3 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_15, 1))%((int32_t)(((RuntimeArray*)L_18)->max_length))));
|
|
// float nextElapsed = (_buffer[i][next].timestamp - _baseTimestamp) / 10000000f;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_19 = __this->____buffer_0;
|
|
int32_t L_20 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_21;
|
|
L_21 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_19, L_20, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_22 = V_3;
|
|
int32_t L_23 = L_22;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_24 = (L_21)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23));
|
|
int64_t L_25 = L_24->___timestamp_1;
|
|
int64_t L_26 = __this->____baseTimestamp_6;
|
|
V_4 = ((float)(((float)((int64_t)il2cpp_codegen_subtract(L_25, L_26)))/(10000000.0f)));
|
|
// if (nextElapsed < frameElapsed)
|
|
float L_27 = V_4;
|
|
float L_28 = V_2;
|
|
if ((!(((float)L_27) < ((float)L_28))))
|
|
{
|
|
goto IL_00a6;
|
|
}
|
|
}
|
|
{
|
|
// SampleFrame(frameIndex, i);
|
|
int32_t L_29 = V_1;
|
|
int32_t L_30 = V_0;
|
|
Resampler_SampleFrame_m6D60DC53849AE6D5DC8250878B2D8D41AAFC7EF5(__this, L_29, L_30, NULL);
|
|
// LastT = 2f;
|
|
Resampler_set_LastT_mC0A0BE8D8A073BCA6524B182073DCF0D7288382F_inline(__this, (2.0f), NULL);
|
|
goto IL_00cc;
|
|
}
|
|
|
|
IL_00a6:
|
|
{
|
|
// float range = nextElapsed - frameElapsed;
|
|
float L_31 = V_4;
|
|
float L_32 = V_2;
|
|
V_5 = ((float)il2cpp_codegen_subtract(L_31, L_32));
|
|
// float t = (_elapsedTimeSinceBase - frameElapsed) / range;
|
|
float L_33 = __this->____elapsedTimeSinceBase_7;
|
|
float L_34 = V_2;
|
|
float L_35 = V_5;
|
|
V_6 = ((float)(((float)il2cpp_codegen_subtract(L_33, L_34))/L_35));
|
|
// SampleFrames(i, frameIndex, next, t);
|
|
int32_t L_36 = V_0;
|
|
int32_t L_37 = V_1;
|
|
int32_t L_38 = V_3;
|
|
float L_39 = V_6;
|
|
Resampler_SampleFrames_mD66D11E32A50184A7EB473941F91E419177A332F(__this, L_36, L_37, L_38, L_39, NULL);
|
|
// LastT = t;
|
|
float L_40 = V_6;
|
|
Resampler_set_LastT_mC0A0BE8D8A073BCA6524B182073DCF0D7288382F_inline(__this, L_40, NULL);
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_41 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_41, 1));
|
|
}
|
|
|
|
IL_00d0:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_42 = V_0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_43 = __this->____buffer_0;
|
|
int32_t L_44;
|
|
L_44 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_43, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_42) < ((int32_t)L_44)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::InvalidateBuffer()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_InvalidateBuffer_m0B913F9557E523326A11F73F357FFDBC948E3EDD (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// _elapsedTimeSinceBase = (_bufferSize / 2) / _videoFrameRate;
|
|
int32_t L_0 = __this->____bufferSize_5;
|
|
float L_1 = __this->____videoFrameRate_22;
|
|
__this->____elapsedTimeSinceBase_7 = ((float)(((float)((int32_t)(L_0/2)))/L_1));
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
V_0 = 0;
|
|
goto IL_004b;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
V_1 = 0;
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// _buffer[i][j].used = false;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_2 = __this->____buffer_0;
|
|
int32_t L_3 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_4;
|
|
L_4 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_2, L_3, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_5 = V_1;
|
|
int32_t L_6 = L_5;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_7 = (L_4)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_6));
|
|
L_7->___used_2 = (bool)0;
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
int32_t L_8 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_8, 1));
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// for (int j = 0; j < _buffer[i].Length; ++j)
|
|
int32_t L_9 = V_1;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_10 = __this->____buffer_0;
|
|
int32_t L_11 = V_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_12;
|
|
L_12 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_10, L_11, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_9) < ((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_13 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_14 = V_0;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_15 = __this->____buffer_0;
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_15, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_14) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// _start = _end = 0;
|
|
int32_t L_17 = 0;
|
|
V_2 = L_17;
|
|
__this->____end_4 = L_17;
|
|
int32_t L_18 = V_2;
|
|
__this->____start_3 = L_18;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single RenderHeads.Media.AVProVideo.Resampler::GuessFrameRate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Resampler_GuessFrameRate_m88C9816585B360FB58452033AB2684B680FEDB5D (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int64_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int64_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int64_t V_5 = 0;
|
|
{
|
|
// int fpsCount = 0;
|
|
V_0 = 0;
|
|
// long fps = 0;
|
|
V_1 = ((int64_t)0);
|
|
// for (int k = 0; k < _buffer[0].Length; k++)
|
|
V_2 = 0;
|
|
goto IL_00b2;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// if (_buffer[0][k].used)
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_0 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_1;
|
|
L_1 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_0, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_2 = V_2;
|
|
int32_t L_3 = L_2;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_4 = (L_1)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_3));
|
|
bool L_5 = L_4->___used_2;
|
|
if (!L_5)
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
// long smallestDiff = long.MaxValue;
|
|
V_3 = ((int64_t)(std::numeric_limits<int64_t>::max)());
|
|
// for (int j = k + 1; j < _buffer[0].Length; j++)
|
|
int32_t L_6 = V_2;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
goto IL_0088;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// if (_buffer[0][j].used)
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_7 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_8;
|
|
L_8 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_7, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_9 = V_4;
|
|
int32_t L_10 = L_9;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_11 = (L_8)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_10));
|
|
bool L_12 = L_11->___used_2;
|
|
if (!L_12)
|
|
{
|
|
goto IL_0082;
|
|
}
|
|
}
|
|
{
|
|
// long diff = System.Math.Abs(_buffer[0][k].timestamp - _buffer[0][j].timestamp);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_13 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_14;
|
|
L_14 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_13, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_15 = V_2;
|
|
int32_t L_16 = L_15;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_17 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
|
|
int64_t L_18 = L_17->___timestamp_1;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_19 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_20;
|
|
L_20 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_19, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_21 = V_4;
|
|
int32_t L_22 = L_21;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_23 = (L_20)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_22));
|
|
int64_t L_24 = L_23->___timestamp_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
int64_t L_25;
|
|
L_25 = il2cpp_codegen_abs(((int64_t)il2cpp_codegen_subtract(L_18, L_24)));
|
|
V_5 = L_25;
|
|
// if (diff < smallestDiff)
|
|
int64_t L_26 = V_5;
|
|
int64_t L_27 = V_3;
|
|
if ((((int64_t)L_26) >= ((int64_t)L_27)))
|
|
{
|
|
goto IL_0082;
|
|
}
|
|
}
|
|
{
|
|
// smallestDiff = diff;
|
|
int64_t L_28 = V_5;
|
|
V_3 = L_28;
|
|
}
|
|
|
|
IL_0082:
|
|
{
|
|
// for (int j = k + 1; j < _buffer[0].Length; j++)
|
|
int32_t L_29 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_29, 1));
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
// for (int j = k + 1; j < _buffer[0].Length; j++)
|
|
int32_t L_30 = V_4;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_31 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_32;
|
|
L_32 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_31, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))))
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// if (smallestDiff != long.MaxValue)
|
|
int64_t L_33 = V_3;
|
|
if ((((int64_t)L_33) == ((int64_t)((int64_t)(std::numeric_limits<int64_t>::max)()))))
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
// fps += smallestDiff;
|
|
int64_t L_34 = V_1;
|
|
int64_t L_35 = V_3;
|
|
V_1 = ((int64_t)il2cpp_codegen_add(L_34, L_35));
|
|
// fpsCount++;
|
|
int32_t L_36 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_36, 1));
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// for (int k = 0; k < _buffer[0].Length; k++)
|
|
int32_t L_37 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// for (int k = 0; k < _buffer[0].Length; k++)
|
|
int32_t L_38 = V_2;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_39 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_40;
|
|
L_40 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_39, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
if ((((int32_t)L_38) < ((int32_t)((int32_t)(((RuntimeArray*)L_40)->max_length)))))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
{
|
|
// if (fpsCount > 1)
|
|
int32_t L_41 = V_0;
|
|
if ((((int32_t)L_41) <= ((int32_t)1)))
|
|
{
|
|
goto IL_00cf;
|
|
}
|
|
}
|
|
{
|
|
// fps /= fpsCount;
|
|
int64_t L_42 = V_1;
|
|
int32_t L_43 = V_0;
|
|
V_1 = ((int64_t)(L_42/((int64_t)L_43)));
|
|
}
|
|
|
|
IL_00cf:
|
|
{
|
|
// return 10000000f / (float)fps;
|
|
int64_t L_44 = V_1;
|
|
return ((float)((10000000.0f)/((float)L_44)));
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::Update()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_Update_mEA3B4680B42719518DD8FE678DCB7D263EF10FCF (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int64_t V_0 = 0;
|
|
int64_t V_1 = 0;
|
|
bool V_2 = false;
|
|
bool V_3 = false;
|
|
bool V_4 = false;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int64_t V_10 = 0;
|
|
double V_11 = 0.0;
|
|
int32_t G_B19_0 = 0;
|
|
int32_t G_B33_0 = 0;
|
|
{
|
|
// if (_mediaPlayer.TextureProducer == null)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_0 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_1;
|
|
L_1 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_0);
|
|
if (L_1)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// if (_mediaPlayer.TextureProducer == null || _mediaPlayer.TextureProducer.GetTexture() == null)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_2 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_3;
|
|
L_3 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_2);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_4 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_5;
|
|
L_5 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_4);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_6;
|
|
L_6 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_5, 0);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// if (!CheckRenderTexturesValid())
|
|
bool L_8;
|
|
L_8 = Resampler_CheckRenderTexturesValid_m836221D21D6D23F1B4BEC3209852964D83822D15(__this, NULL);
|
|
if (L_8)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
// ConstructRenderTextures();
|
|
Resampler_ConstructRenderTextures_m1A190174EB87518714F5A8D32EF7650A6A21B591(__this, NULL);
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// long currentTimestamp = _mediaPlayer.TextureProducer.GetTextureTimeStamp();
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_9 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_10;
|
|
L_10 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_9);
|
|
int64_t L_11;
|
|
L_11 = InterfaceFuncInvoker0< int64_t >::Invoke(4 /* System.Int64 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureTimeStamp() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_10);
|
|
V_0 = L_11;
|
|
// if (currentTimestamp != _lastTimeStamp)
|
|
int64_t L_12 = V_0;
|
|
int64_t L_13 = __this->____lastTimeStamp_11;
|
|
if ((((int64_t)L_12) == ((int64_t)L_13)))
|
|
{
|
|
goto IL_00bb;
|
|
}
|
|
}
|
|
{
|
|
// float dif = Mathf.Abs(currentTimestamp - _lastTimeStamp);
|
|
int64_t L_14 = V_0;
|
|
int64_t L_15 = __this->____lastTimeStamp_11;
|
|
float L_16;
|
|
L_16 = fabsf(((float)((int64_t)il2cpp_codegen_subtract(L_14, L_15))));
|
|
V_5 = L_16;
|
|
// float frameLength = (10000000f / _videoFrameRate);
|
|
float L_17 = __this->____videoFrameRate_22;
|
|
V_6 = ((float)((10000000.0f)/L_17));
|
|
// if (dif > frameLength * 1.1f && dif < frameLength * 3.1f)
|
|
float L_18 = V_5;
|
|
float L_19 = V_6;
|
|
if ((!(((float)L_18) > ((float)((float)il2cpp_codegen_multiply(L_19, (1.10000002f)))))))
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
}
|
|
{
|
|
float L_20 = V_5;
|
|
float L_21 = V_6;
|
|
if ((!(((float)L_20) < ((float)((float)il2cpp_codegen_multiply(L_21, (3.0999999f)))))))
|
|
{
|
|
goto IL_00b4;
|
|
}
|
|
}
|
|
{
|
|
// _droppedFrames += (int)((dif - frameLength) / frameLength + 0.5);
|
|
int32_t L_22 = __this->____droppedFrames_12;
|
|
float L_23 = V_5;
|
|
float L_24 = V_6;
|
|
float L_25 = V_6;
|
|
__this->____droppedFrames_12 = ((int32_t)il2cpp_codegen_add(L_22, il2cpp_codegen_cast_double_to_int<int32_t>(((double)il2cpp_codegen_add(((double)((float)(((float)il2cpp_codegen_subtract(L_23, L_24))/L_25))), (0.5))))));
|
|
}
|
|
|
|
IL_00b4:
|
|
{
|
|
// _lastTimeStamp = currentTimestamp;
|
|
int64_t L_26 = V_0;
|
|
__this->____lastTimeStamp_11 = L_26;
|
|
}
|
|
|
|
IL_00bb:
|
|
{
|
|
// long timestamp = _mediaPlayer.TextureProducer.GetTextureTimeStamp();
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_27 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_28;
|
|
L_28 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_27);
|
|
int64_t L_29;
|
|
L_29 = InterfaceFuncInvoker0< int64_t >::Invoke(4 /* System.Int64 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureTimeStamp() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_28);
|
|
V_1 = L_29;
|
|
// bool insertNewFrame = !_mediaPlayer.Control.IsSeeking();
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_30 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_31;
|
|
L_31 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(11 /* RenderHeads.Media.AVProVideo.IMediaControl RenderHeads.Media.AVProVideo.MediaPlayer::get_Control() */, L_30);
|
|
bool L_32;
|
|
L_32 = InterfaceFuncInvoker0< bool >::Invoke(11 /* System.Boolean RenderHeads.Media.AVProVideo.IMediaControl::IsSeeking() */, IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF_il2cpp_TypeInfo_var, L_31);
|
|
V_2 = (bool)((((int32_t)L_32) == ((int32_t)0))? 1 : 0);
|
|
// if (_start != _end || _buffer[0][_end].used)
|
|
int32_t L_33 = __this->____start_3;
|
|
int32_t L_34 = __this->____end_4;
|
|
if ((!(((uint32_t)L_33) == ((uint32_t)L_34))))
|
|
{
|
|
goto IL_0108;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_35 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_36;
|
|
L_36 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_35, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_37 = __this->____end_4;
|
|
int32_t L_38 = L_37;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_39 = (L_36)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_38));
|
|
bool L_40 = L_39->___used_2;
|
|
if (!L_40)
|
|
{
|
|
goto IL_0149;
|
|
}
|
|
}
|
|
|
|
IL_0108:
|
|
{
|
|
// int lastFrame = (_end + _buffer[0].Length - 1) % _buffer[0].Length;
|
|
int32_t L_41 = __this->____end_4;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_42 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_43;
|
|
L_43 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_42, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_44 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_45;
|
|
L_45 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_44, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
V_7 = ((int32_t)(((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_41, ((int32_t)(((RuntimeArray*)L_43)->max_length)))), 1))%((int32_t)(((RuntimeArray*)L_45)->max_length))));
|
|
// if (timestamp == _buffer[0][lastFrame].timestamp)
|
|
int64_t L_46 = V_1;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_47 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_48;
|
|
L_48 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_47, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_49 = V_7;
|
|
int32_t L_50 = L_49;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_51 = (L_48)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_50));
|
|
int64_t L_52 = L_51->___timestamp_1;
|
|
if ((!(((uint64_t)L_46) == ((uint64_t)L_52))))
|
|
{
|
|
goto IL_0149;
|
|
}
|
|
}
|
|
{
|
|
// insertNewFrame = false;
|
|
V_2 = (bool)0;
|
|
}
|
|
|
|
IL_0149:
|
|
{
|
|
// bool bufferWasNotFull = (_start != _end) || (!_buffer[0][_end].used);
|
|
int32_t L_53 = __this->____start_3;
|
|
int32_t L_54 = __this->____end_4;
|
|
if ((!(((uint32_t)L_53) == ((uint32_t)L_54))))
|
|
{
|
|
goto IL_0174;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_55 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_56;
|
|
L_56 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_55, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_57 = __this->____end_4;
|
|
int32_t L_58 = L_57;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_59 = (L_56)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_58));
|
|
bool L_60 = L_59->___used_2;
|
|
G_B19_0 = ((((int32_t)L_60) == ((int32_t)0))? 1 : 0);
|
|
goto IL_0175;
|
|
}
|
|
|
|
IL_0174:
|
|
{
|
|
G_B19_0 = 1;
|
|
}
|
|
|
|
IL_0175:
|
|
{
|
|
V_3 = (bool)G_B19_0;
|
|
// if (insertNewFrame)
|
|
bool L_61 = V_2;
|
|
if (!L_61)
|
|
{
|
|
goto IL_02b4;
|
|
}
|
|
}
|
|
{
|
|
// if (_start == _end && !_buffer[0][_end].used)
|
|
int32_t L_62 = __this->____start_3;
|
|
int32_t L_63 = __this->____end_4;
|
|
if ((!(((uint32_t)L_62) == ((uint32_t)L_63))))
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_64 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_65;
|
|
L_65 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_64, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_66 = __this->____end_4;
|
|
int32_t L_67 = L_66;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_68 = (L_65)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_67));
|
|
bool L_69 = L_68->___used_2;
|
|
if (L_69)
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
// _baseTimestamp = timestamp;
|
|
int64_t L_70 = V_1;
|
|
__this->____baseTimestamp_6 = L_70;
|
|
}
|
|
|
|
IL_01ab:
|
|
{
|
|
// if (_end == _start && _buffer[0][_end].used)
|
|
int32_t L_71 = __this->____end_4;
|
|
int32_t L_72 = __this->____start_3;
|
|
if ((!(((uint32_t)L_71) == ((uint32_t)L_72))))
|
|
{
|
|
goto IL_01f0;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_73 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_74;
|
|
L_74 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_73, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_75 = __this->____end_4;
|
|
int32_t L_76 = L_75;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_77 = (L_74)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_76));
|
|
bool L_78 = L_77->___used_2;
|
|
if (!L_78)
|
|
{
|
|
goto IL_01f0;
|
|
}
|
|
}
|
|
{
|
|
// _start = (_start + 1) % _buffer[0].Length;
|
|
int32_t L_79 = __this->____start_3;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_80 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_81;
|
|
L_81 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_80, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
__this->____start_3 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_79, 1))%((int32_t)(((RuntimeArray*)L_81)->max_length))));
|
|
}
|
|
|
|
IL_01f0:
|
|
{
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
V_8 = 0;
|
|
goto IL_0280;
|
|
}
|
|
|
|
IL_01f8:
|
|
{
|
|
// Texture currentTexture = _mediaPlayer.TextureProducer.GetTexture(i);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_82 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_83;
|
|
L_83 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_82);
|
|
int32_t L_84 = V_8;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_85;
|
|
L_85 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_83, L_84);
|
|
// _buffer[i][_end].texture.DiscardContents();
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_86 = __this->____buffer_0;
|
|
int32_t L_87 = V_8;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_88;
|
|
L_88 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_86, L_87, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_89 = __this->____end_4;
|
|
int32_t L_90 = L_89;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_91 = (L_88)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_90));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_92 = L_91->___texture_0;
|
|
RenderTexture_DiscardContents_m6C446FB1B7B57334FAD8847DB03E983975F38B32(L_92, NULL);
|
|
// Graphics.Blit(currentTexture, _buffer[i][_end].texture);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_93 = __this->____buffer_0;
|
|
int32_t L_94 = V_8;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_95;
|
|
L_95 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_93, L_94, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_96 = __this->____end_4;
|
|
int32_t L_97 = L_96;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_98 = (L_95)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_97));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_99 = L_98->___texture_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504(L_85, L_99, NULL);
|
|
// _buffer[i][_end].timestamp = timestamp;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_100 = __this->____buffer_0;
|
|
int32_t L_101 = V_8;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_102;
|
|
L_102 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_100, L_101, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_103 = __this->____end_4;
|
|
int32_t L_104 = L_103;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_105 = (L_102)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_104));
|
|
int64_t L_106 = V_1;
|
|
L_105->___timestamp_1 = L_106;
|
|
// _buffer[i][_end].used = true;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_107 = __this->____buffer_0;
|
|
int32_t L_108 = V_8;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_109;
|
|
L_109 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_107, L_108, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_110 = __this->____end_4;
|
|
int32_t L_111 = L_110;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_112 = (L_109)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_111));
|
|
L_112->___used_2 = (bool)1;
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
int32_t L_113 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_113, 1));
|
|
}
|
|
|
|
IL_0280:
|
|
{
|
|
// for (int i = 0; i < _mediaPlayer.TextureProducer.GetTextureCount(); ++i)
|
|
int32_t L_114 = V_8;
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_115 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_116;
|
|
L_116 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_115);
|
|
int32_t L_117;
|
|
L_117 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureCount() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_116);
|
|
if ((((int32_t)L_114) < ((int32_t)L_117)))
|
|
{
|
|
goto IL_01f8;
|
|
}
|
|
}
|
|
{
|
|
// _end = (_end + 1) % _buffer[0].Length;
|
|
int32_t L_118 = __this->____end_4;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_119 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_120;
|
|
L_120 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_119, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
__this->____end_4 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_118, 1))%((int32_t)(((RuntimeArray*)L_120)->max_length))));
|
|
}
|
|
|
|
IL_02b4:
|
|
{
|
|
// bool bufferNotFull = (_start != _end) || (!_buffer[0][_end].used);
|
|
int32_t L_121 = __this->____start_3;
|
|
int32_t L_122 = __this->____end_4;
|
|
if ((!(((uint32_t)L_121) == ((uint32_t)L_122))))
|
|
{
|
|
goto IL_02df;
|
|
}
|
|
}
|
|
{
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_123 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_124;
|
|
L_124 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_123, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_125 = __this->____end_4;
|
|
int32_t L_126 = L_125;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_127 = (L_124)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_126));
|
|
bool L_128 = L_127->___used_2;
|
|
G_B33_0 = ((((int32_t)L_128) == ((int32_t)0))? 1 : 0);
|
|
goto IL_02e0;
|
|
}
|
|
|
|
IL_02df:
|
|
{
|
|
G_B33_0 = 1;
|
|
}
|
|
|
|
IL_02e0:
|
|
{
|
|
V_4 = (bool)G_B33_0;
|
|
// if (bufferNotFull)
|
|
bool L_129 = V_4;
|
|
if (!L_129)
|
|
{
|
|
goto IL_0356;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
V_9 = 0;
|
|
goto IL_0345;
|
|
}
|
|
|
|
IL_02eb:
|
|
{
|
|
// _outputTexture[i].DiscardContents();
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_130 = __this->____outputTexture_2;
|
|
int32_t L_131 = V_9;
|
|
int32_t L_132 = L_131;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_133 = (L_130)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_132));
|
|
RenderTexture_DiscardContents_m6C446FB1B7B57334FAD8847DB03E983975F38B32(L_133, NULL);
|
|
// Graphics.Blit(_buffer[i][_start].texture, _outputTexture[i]);
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_134 = __this->____buffer_0;
|
|
int32_t L_135 = V_9;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_136;
|
|
L_136 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_134, L_135, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_137 = __this->____start_3;
|
|
int32_t L_138 = L_137;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_139 = (L_136)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_138));
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_140 = L_139->___texture_0;
|
|
RenderTextureU5BU5D_t9C963C4B9AAD862BBE402147E82F7BEBF699F6A6* L_141 = __this->____outputTexture_2;
|
|
int32_t L_142 = V_9;
|
|
int32_t L_143 = L_142;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_144 = (L_141)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_143));
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8D99E16B74C7D3C8F79F4F142C59DB6B38114504(L_140, L_144, NULL);
|
|
// _currentDisplayedTimestamp = _buffer[i][_start].timestamp;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_145 = __this->____buffer_0;
|
|
int32_t L_146 = V_9;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_147;
|
|
L_147 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_145, L_146, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_148 = __this->____start_3;
|
|
int32_t L_149 = L_148;
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_150 = (L_147)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_149));
|
|
int64_t L_151 = L_150->___timestamp_1;
|
|
__this->____currentDisplayedTimestamp_15 = L_151;
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_152 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_152, 1));
|
|
}
|
|
|
|
IL_0345:
|
|
{
|
|
// for (int i = 0; i < _buffer.Count; ++i)
|
|
int32_t L_153 = V_9;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_154 = __this->____buffer_0;
|
|
int32_t L_155;
|
|
L_155 = List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_inline(L_154, List_1_get_Count_mCB49E13154A0928972C0AB65A771E7BBB4777220_RuntimeMethod_var);
|
|
if ((((int32_t)L_153) < ((int32_t)L_155)))
|
|
{
|
|
goto IL_02eb;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0388;
|
|
}
|
|
|
|
IL_0356:
|
|
{
|
|
// if (bufferWasNotFull && _videoFrameRate <= 0f)
|
|
bool L_156 = V_3;
|
|
if (!L_156)
|
|
{
|
|
goto IL_0388;
|
|
}
|
|
}
|
|
{
|
|
float L_157 = __this->____videoFrameRate_22;
|
|
if ((!(((float)L_157) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0388;
|
|
}
|
|
}
|
|
{
|
|
// _videoFrameRate = GuessFrameRate();
|
|
float L_158;
|
|
L_158 = Resampler_GuessFrameRate_m88C9816585B360FB58452033AB2684B680FEDB5D(__this, NULL);
|
|
__this->____videoFrameRate_22 = L_158;
|
|
// _elapsedTimeSinceBase = (_bufferSize / 2) / _videoFrameRate;
|
|
int32_t L_159 = __this->____bufferSize_5;
|
|
float L_160 = __this->____videoFrameRate_22;
|
|
__this->____elapsedTimeSinceBase_7 = ((float)(((float)((int32_t)(L_159/2)))/L_160));
|
|
}
|
|
|
|
IL_0388:
|
|
{
|
|
// if (_mediaPlayer.Control.IsPaused())
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_161 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_162;
|
|
L_162 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(11 /* RenderHeads.Media.AVProVideo.IMediaControl RenderHeads.Media.AVProVideo.MediaPlayer::get_Control() */, L_161);
|
|
bool L_163;
|
|
L_163 = InterfaceFuncInvoker0< bool >::Invoke(12 /* System.Boolean RenderHeads.Media.AVProVideo.IMediaControl::IsPaused() */, IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF_il2cpp_TypeInfo_var, L_162);
|
|
if (!L_163)
|
|
{
|
|
goto IL_03a0;
|
|
}
|
|
}
|
|
{
|
|
// InvalidateBuffer();
|
|
Resampler_InvalidateBuffer_m0B913F9557E523326A11F73F357FFDBC948E3EDD(__this, NULL);
|
|
}
|
|
|
|
IL_03a0:
|
|
{
|
|
// if (bufferNotFull)
|
|
bool L_164 = V_4;
|
|
if (!L_164)
|
|
{
|
|
goto IL_03a5;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_03a5:
|
|
{
|
|
// if (_mediaPlayer.Control.IsPlaying() && !_mediaPlayer.Control.IsFinished())
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_165 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_166;
|
|
L_166 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(11 /* RenderHeads.Media.AVProVideo.IMediaControl RenderHeads.Media.AVProVideo.MediaPlayer::get_Control() */, L_165);
|
|
bool L_167;
|
|
L_167 = InterfaceFuncInvoker0< bool >::Invoke(10 /* System.Boolean RenderHeads.Media.AVProVideo.IMediaControl::IsPlaying() */, IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF_il2cpp_TypeInfo_var, L_166);
|
|
if (!L_167)
|
|
{
|
|
goto IL_0481;
|
|
}
|
|
}
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_168 = __this->____mediaPlayer_1;
|
|
RuntimeObject* L_169;
|
|
L_169 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(11 /* RenderHeads.Media.AVProVideo.IMediaControl RenderHeads.Media.AVProVideo.MediaPlayer::get_Control() */, L_168);
|
|
bool L_170;
|
|
L_170 = InterfaceFuncInvoker0< bool >::Invoke(13 /* System.Boolean RenderHeads.Media.AVProVideo.IMediaControl::IsFinished() */, IMediaControl_t96AACB71233FD117D6CB428E3BADE6653D709FBF_il2cpp_TypeInfo_var, L_169);
|
|
if (L_170)
|
|
{
|
|
goto IL_0481;
|
|
}
|
|
}
|
|
{
|
|
// long ts = _buffer[0][(_start + _bufferSize / 2) % _bufferSize].timestamp - _baseTimestamp;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_171 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_172;
|
|
L_172 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_171, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
int32_t L_173 = __this->____start_3;
|
|
int32_t L_174 = __this->____bufferSize_5;
|
|
int32_t L_175 = __this->____bufferSize_5;
|
|
int32_t L_176 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_173, ((int32_t)(L_174/2))))%L_175));
|
|
TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* L_177 = (L_172)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_176));
|
|
int64_t L_178 = L_177->___timestamp_1;
|
|
int64_t L_179 = __this->____baseTimestamp_6;
|
|
V_10 = ((int64_t)il2cpp_codegen_subtract(L_178, L_179));
|
|
// double dif = Mathf.Abs(((float)((double)_elapsedTimeSinceBase * 10000000) - ts));
|
|
float L_180 = __this->____elapsedTimeSinceBase_7;
|
|
int64_t L_181 = V_10;
|
|
float L_182;
|
|
L_182 = fabsf(((float)il2cpp_codegen_subtract(((float)((double)il2cpp_codegen_multiply(((double)L_180), (10000000.0)))), ((float)L_181))));
|
|
// double threshold = (_buffer[0].Length / 2) / _videoFrameRate * 10000000;
|
|
List_1_tA9824588DCB4E62CD1E7648683FCEF6DB06B0C23* L_183 = __this->____buffer_0;
|
|
TimestampedRenderTextureU5BU5D_tCD8BD91B07F140B91F9413D617AC025BF33F9380* L_184;
|
|
L_184 = List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B(L_183, 0, List_1_get_Item_m0A59B5007BA75BCF10DD4016A4249842EE26891B_RuntimeMethod_var);
|
|
float L_185 = __this->____videoFrameRate_22;
|
|
V_11 = ((double)((float)il2cpp_codegen_multiply(((float)(((float)((int32_t)(((int32_t)(((RuntimeArray*)L_184)->max_length))/2)))/L_185)), (10000000.0f))));
|
|
// if (dif > threshold)
|
|
double L_186 = V_11;
|
|
if ((!(((double)((double)L_182)) > ((double)L_186))))
|
|
{
|
|
goto IL_0450;
|
|
}
|
|
}
|
|
{
|
|
// _elapsedTimeSinceBase = ts / 10000000f;
|
|
int64_t L_187 = V_10;
|
|
__this->____elapsedTimeSinceBase_7 = ((float)(((float)L_187)/(10000000.0f)));
|
|
}
|
|
|
|
IL_0450:
|
|
{
|
|
// if (_resampleMode == ResampleMode.POINT)
|
|
int32_t L_188 = __this->____resampleMode_9;
|
|
if (L_188)
|
|
{
|
|
goto IL_0460;
|
|
}
|
|
}
|
|
{
|
|
// PointUpdate();
|
|
Resampler_PointUpdate_m6F90E2FA43C9BC205DE2B04629EBA02401C3DC1B(__this, NULL);
|
|
goto IL_046f;
|
|
}
|
|
|
|
IL_0460:
|
|
{
|
|
// else if (_resampleMode == ResampleMode.LINEAR)
|
|
int32_t L_189 = __this->____resampleMode_9;
|
|
if ((!(((uint32_t)L_189) == ((uint32_t)1))))
|
|
{
|
|
goto IL_046f;
|
|
}
|
|
}
|
|
{
|
|
// LinearUpdate();
|
|
Resampler_LinearUpdate_mB3CF3BA173B97983F66E053B73D05F69BDEAC5F9(__this, NULL);
|
|
}
|
|
|
|
IL_046f:
|
|
{
|
|
// _elapsedTimeSinceBase += Time.unscaledDeltaTime;
|
|
float L_190 = __this->____elapsedTimeSinceBase_7;
|
|
float L_191;
|
|
L_191 = Time_get_unscaledDeltaTime_mF057EECA857E5C0F90A3F910D26D3EE59F27C4B5(NULL);
|
|
__this->____elapsedTimeSinceBase_7 = ((float)il2cpp_codegen_add(L_190, L_191));
|
|
}
|
|
|
|
IL_0481:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler::UpdateTimestamp()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Resampler_UpdateTimestamp_m88665F4467945889982FCF079DBCF1ACBEB7F2C3 (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (_lastDisplayedTimestamp != _currentDisplayedTimestamp)
|
|
int64_t L_0 = __this->____lastDisplayedTimestamp_13;
|
|
int64_t L_1 = __this->____currentDisplayedTimestamp_15;
|
|
if ((((int64_t)L_0) == ((int64_t)L_1)))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// _lastDisplayedTimestamp = _currentDisplayedTimestamp;
|
|
int64_t L_2 = __this->____currentDisplayedTimestamp_15;
|
|
__this->____lastDisplayedTimestamp_13 = L_2;
|
|
// _frameDisplayedTimer = 0;
|
|
__this->____frameDisplayedTimer_14 = 0;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// _frameDisplayedTimer++;
|
|
int32_t L_3 = __this->____frameDisplayedTimer_14;
|
|
__this->____frameDisplayedTimer_14 = ((int32_t)il2cpp_codegen_add(L_3, 1));
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.Resampler/TimestampedRenderTexture::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TimestampedRenderTexture__ctor_m39077E5F2697F63AC7FD0B7CC41776B33775CAF7 (TimestampedRenderTexture_t60E06041123974594D5A65B4723FDB029AE8E7EA* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Boolean RenderHeads.Media.AVProVideo.Subtitle::IsBefore(System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Subtitle_IsBefore_mF6E100E6FE40892BF9F3DF2B920ED49C51D9562A (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* __this, double ___time0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (time > timeStart && time > timeEnd);
|
|
double L_0 = ___time0;
|
|
double L_1 = __this->___timeStart_2;
|
|
if ((!(((double)L_0) > ((double)L_1))))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
double L_2 = ___time0;
|
|
double L_3 = __this->___timeEnd_3;
|
|
return (bool)((((double)L_2) > ((double)L_3))? 1 : 0);
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.Subtitle::IsTime(System.Double)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Subtitle_IsTime_m0E64EC2DB5AE7A6136184573AEAC669F8255CFA0 (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* __this, double ___time0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (time >= timeStart && time < timeEnd);
|
|
double L_0 = ___time0;
|
|
double L_1 = __this->___timeStart_2;
|
|
if ((!(((double)L_0) >= ((double)L_1))))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
double L_2 = ___time0;
|
|
double L_3 = __this->___timeEnd_3;
|
|
return (bool)((((double)L_2) < ((double)L_3))? 1 : 0);
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.Subtitle::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Subtitle__ctor_mB2E36AD8BD2099E5D92CF09F4033C59C598D0AA9 (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Void RenderHeads.Media.AVProVideo.SubtitlePlayer::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SubtitlePlayer__ctor_mD8F1BAE70F22D19D8E34D16FC6E83457C64AD0B4 (SubtitlePlayer_t23DC35AB9EBDB5080FCF3DED4D2D1D64170C0615* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// System.Double RenderHeads.Media.AVProVideo.SubtitleUtils::ParseTimeToSeconds(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR double SubtitleUtils_ParseTimeToSeconds_mAD4BEC1689C86DF8BC2C118799CC02E396A2BB5C (String_t* ___text0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
double V_0 = 0.0;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
{
|
|
// double result = 0.0;
|
|
V_0 = (0.0);
|
|
// string[] digits = text.Split(new char[] { ':', ',' });
|
|
String_t* L_0 = ___text0;
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_1 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)2);
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_2 = L_1;
|
|
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Il2CppChar)((int32_t)58));
|
|
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_3 = L_2;
|
|
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Il2CppChar)((int32_t)44));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4;
|
|
L_4 = String_Split_m101D35FEC86371D2BB4E3480F6F896880093B2E9(L_0, L_3, NULL);
|
|
V_1 = L_4;
|
|
// if (digits.Length == 4)
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = V_1;
|
|
if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_5)->max_length))) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// int hours = int.Parse(digits[0]);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = V_1;
|
|
int32_t L_7 = 0;
|
|
String_t* L_8 = (L_6)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7));
|
|
int32_t L_9;
|
|
L_9 = Int32_Parse_m273CA1A9C7717C99641291A95C543711C0202AF0(L_8, NULL);
|
|
V_2 = L_9;
|
|
// int minutes = int.Parse(digits[1]);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = V_1;
|
|
int32_t L_11 = 1;
|
|
String_t* L_12 = (L_10)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_11));
|
|
int32_t L_13;
|
|
L_13 = Int32_Parse_m273CA1A9C7717C99641291A95C543711C0202AF0(L_12, NULL);
|
|
V_3 = L_13;
|
|
// int seconds = int.Parse(digits[2]);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_14 = V_1;
|
|
int32_t L_15 = 2;
|
|
String_t* L_16 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_15));
|
|
int32_t L_17;
|
|
L_17 = Int32_Parse_m273CA1A9C7717C99641291A95C543711C0202AF0(L_16, NULL);
|
|
V_4 = L_17;
|
|
// int milliseconds = int.Parse(digits[3]);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = V_1;
|
|
int32_t L_19 = 3;
|
|
String_t* L_20 = (L_18)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_19));
|
|
int32_t L_21;
|
|
L_21 = Int32_Parse_m273CA1A9C7717C99641291A95C543711C0202AF0(L_20, NULL);
|
|
// result = (milliseconds / 1000.0) + (seconds + (minutes + (hours * 60)) * 60);
|
|
int32_t L_22 = V_4;
|
|
int32_t L_23 = V_3;
|
|
int32_t L_24 = V_2;
|
|
V_0 = ((double)il2cpp_codegen_add(((double)(((double)L_21)/(1000.0))), ((double)((int32_t)il2cpp_codegen_add(L_22, ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_23, ((int32_t)il2cpp_codegen_multiply(L_24, ((int32_t)60))))), ((int32_t)60))))))));
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// return result;
|
|
double L_25 = V_0;
|
|
return L_25;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<RenderHeads.Media.AVProVideo.Subtitle> RenderHeads.Media.AVProVideo.SubtitleUtils::ParseSubtitlesSRT(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* SubtitleUtils_ParseSubtitlesSRT_m3F91C6952F4038AF2D021475DD7F7012B1170023 (String_t* ___data0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m29C27E5AF5869D2F882020874E9829D3ABD43660_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral43EAAC296F64D7E382A237C2F92A1F0BC6D59ABE);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral818E0F38E0D79E904B0CF3705136246275D511C5);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC25531ECE3BAFE307AF040E6193D3FF264D56BE3);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* V_0 = NULL;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* V_6 = NULL;
|
|
{
|
|
// List<Subtitle> result = null;
|
|
V_0 = (List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B*)NULL;
|
|
// if (!string.IsNullOrEmpty(data))
|
|
String_t* L_0 = ___data0;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
{
|
|
// data = data.Trim();
|
|
String_t* L_2 = ___data0;
|
|
String_t* L_3;
|
|
L_3 = String_Trim_mCD6D8C6D4CFD15225D12DB7D3E0544CA80FB8DA5(L_2, NULL);
|
|
___data0 = L_3;
|
|
// var rx = new System.Text.RegularExpressions.Regex("\n\r|\r\n|\n|\r");
|
|
Regex_tE773142C2BE45C5D362B0F815AFF831707A51772* L_4 = (Regex_tE773142C2BE45C5D362B0F815AFF831707A51772*)il2cpp_codegen_object_new(Regex_tE773142C2BE45C5D362B0F815AFF831707A51772_il2cpp_TypeInfo_var);
|
|
Regex__ctor_m082970AA73B8236360F0CA651FA24A8D1EBF89CD(L_4, _stringLiteral818E0F38E0D79E904B0CF3705136246275D511C5, NULL);
|
|
// string[] lines = rx.Split(data);
|
|
String_t* L_5 = ___data0;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6;
|
|
L_6 = Regex_Split_m88380E0EEF6DD409DEA41D27A0A0634E1928D367(L_4, L_5, NULL);
|
|
V_1 = L_6;
|
|
// if (lines.Length >= 3)
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_7 = V_1;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length))) < ((int32_t)3)))
|
|
{
|
|
goto IL_0130;
|
|
}
|
|
}
|
|
{
|
|
// result = new List<Subtitle>(256);
|
|
List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* L_8 = (List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B*)il2cpp_codegen_object_new(List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B_il2cpp_TypeInfo_var);
|
|
List_1__ctor_m29C27E5AF5869D2F882020874E9829D3ABD43660(L_8, ((int32_t)256), List_1__ctor_m29C27E5AF5869D2F882020874E9829D3ABD43660_RuntimeMethod_var);
|
|
V_0 = L_8;
|
|
// int count = 0;
|
|
V_2 = 0;
|
|
// int index = 0;
|
|
V_3 = 0;
|
|
// Subtitle subtitle = null;
|
|
V_4 = (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638*)NULL;
|
|
// for (int i = 0; i < lines.Length; i++)
|
|
V_5 = 0;
|
|
goto IL_0115;
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// if (index == 0)
|
|
int32_t L_9 = V_3;
|
|
if (L_9)
|
|
{
|
|
goto IL_0060;
|
|
}
|
|
}
|
|
{
|
|
// subtitle = new Subtitle();
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_10 = (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638*)il2cpp_codegen_object_new(Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638_il2cpp_TypeInfo_var);
|
|
Subtitle__ctor_mB2E36AD8BD2099E5D92CF09F4033C59C598D0AA9(L_10, NULL);
|
|
V_4 = L_10;
|
|
// subtitle.index = count;// int.Parse(lines[i]);
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_11 = V_4;
|
|
int32_t L_12 = V_2;
|
|
L_11->___index_0 = L_12;
|
|
goto IL_00e9;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// else if (index == 1)
|
|
int32_t L_13 = V_3;
|
|
if ((!(((uint32_t)L_13) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
// string[] times = lines[i].Split(new string[] { " --> " }, System.StringSplitOptions.RemoveEmptyEntries);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_14 = V_1;
|
|
int32_t L_15 = V_5;
|
|
int32_t L_16 = L_15;
|
|
String_t* L_17 = (L_14)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_16));
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)1);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_19 = L_18;
|
|
ArrayElementTypeCheck (L_19, _stringLiteralC25531ECE3BAFE307AF040E6193D3FF264D56BE3);
|
|
(L_19)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralC25531ECE3BAFE307AF040E6193D3FF264D56BE3);
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_20;
|
|
L_20 = String_Split_m03F46561E2DF46D1E3AE749A77706EFC2F6488F4(L_17, L_19, 1, NULL);
|
|
V_6 = L_20;
|
|
// if (times.Length == 2)
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_21 = V_6;
|
|
if ((!(((uint32_t)((int32_t)(((RuntimeArray*)L_21)->max_length))) == ((uint32_t)2))))
|
|
{
|
|
goto IL_00a7;
|
|
}
|
|
}
|
|
{
|
|
// subtitle.timeStart = ParseTimeToSeconds(times[0]);
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_22 = V_4;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_23 = V_6;
|
|
int32_t L_24 = 0;
|
|
String_t* L_25 = (L_23)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_24));
|
|
double L_26;
|
|
L_26 = SubtitleUtils_ParseTimeToSeconds_mAD4BEC1689C86DF8BC2C118799CC02E396A2BB5C(L_25, NULL);
|
|
L_22->___timeStart_2 = L_26;
|
|
// subtitle.timeEnd = ParseTimeToSeconds(times[1]);
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_27 = V_4;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_28 = V_6;
|
|
int32_t L_29 = 1;
|
|
String_t* L_30 = (L_28)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_29));
|
|
double L_31;
|
|
L_31 = SubtitleUtils_ParseTimeToSeconds_mAD4BEC1689C86DF8BC2C118799CC02E396A2BB5C(L_30, NULL);
|
|
L_27->___timeEnd_3 = L_31;
|
|
goto IL_00e9;
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// throw new System.FormatException("SRT format doesn't appear to be valid");
|
|
FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B* L_32 = (FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&FormatException_tCD210E92627903FFEDAAA706C08FB6222B4D012B_il2cpp_TypeInfo_var)));
|
|
FormatException__ctor_mE04AEA59C0EEFF4BD34B7CE8601F9D331D1D473E(L_32, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral854F5C596AF428EF7DDECE2270682035818A729D)), NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_32, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&SubtitleUtils_ParseSubtitlesSRT_m3F91C6952F4038AF2D021475DD7F7012B1170023_RuntimeMethod_var)));
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// if (!string.IsNullOrEmpty(lines[i]))
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_33 = V_1;
|
|
int32_t L_34 = V_5;
|
|
int32_t L_35 = L_34;
|
|
String_t* L_36 = (L_33)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35));
|
|
bool L_37;
|
|
L_37 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_36, NULL);
|
|
if (L_37)
|
|
{
|
|
goto IL_00e9;
|
|
}
|
|
}
|
|
{
|
|
// if (index == 2)
|
|
int32_t L_38 = V_3;
|
|
if ((!(((uint32_t)L_38) == ((uint32_t)2))))
|
|
{
|
|
goto IL_00ce;
|
|
}
|
|
}
|
|
{
|
|
// subtitle.text = lines[i];
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_39 = V_4;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_40 = V_1;
|
|
int32_t L_41 = V_5;
|
|
int32_t L_42 = L_41;
|
|
String_t* L_43 = (L_40)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_42));
|
|
L_39->___text_1 = L_43;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_39->___text_1), (void*)L_43);
|
|
goto IL_00e9;
|
|
}
|
|
|
|
IL_00ce:
|
|
{
|
|
// subtitle.text += "\n" + lines[i];
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_44 = V_4;
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_45 = L_44;
|
|
String_t* L_46 = L_45->___text_1;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_47 = V_1;
|
|
int32_t L_48 = V_5;
|
|
int32_t L_49 = L_48;
|
|
String_t* L_50 = (L_47)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_49));
|
|
String_t* L_51;
|
|
L_51 = String_Concat_m8855A6DE10F84DA7F4EC113CADDB59873A25573B(L_46, _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD, L_50, NULL);
|
|
L_45->___text_1 = L_51;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_45->___text_1), (void*)L_51);
|
|
}
|
|
|
|
IL_00e9:
|
|
{
|
|
// if (string.IsNullOrEmpty(lines[i]) && index > 1)
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_52 = V_1;
|
|
int32_t L_53 = V_5;
|
|
int32_t L_54 = L_53;
|
|
String_t* L_55 = (L_52)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_54));
|
|
bool L_56;
|
|
L_56 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_55, NULL);
|
|
if (!L_56)
|
|
{
|
|
goto IL_010b;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_57 = V_3;
|
|
if ((((int32_t)L_57) <= ((int32_t)1)))
|
|
{
|
|
goto IL_010b;
|
|
}
|
|
}
|
|
{
|
|
// result.Add(subtitle);
|
|
List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* L_58 = V_0;
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_59 = V_4;
|
|
List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_inline(L_58, L_59, List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_RuntimeMethod_var);
|
|
// index = 0;
|
|
V_3 = 0;
|
|
// count++;
|
|
int32_t L_60 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_60, 1));
|
|
// subtitle = null;
|
|
V_4 = (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638*)NULL;
|
|
goto IL_010f;
|
|
}
|
|
|
|
IL_010b:
|
|
{
|
|
// index++;
|
|
int32_t L_61 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_61, 1));
|
|
}
|
|
|
|
IL_010f:
|
|
{
|
|
// for (int i = 0; i < lines.Length; i++)
|
|
int32_t L_62 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_62, 1));
|
|
}
|
|
|
|
IL_0115:
|
|
{
|
|
// for (int i = 0; i < lines.Length; i++)
|
|
int32_t L_63 = V_5;
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_64 = V_1;
|
|
if ((((int32_t)L_63) < ((int32_t)((int32_t)(((RuntimeArray*)L_64)->max_length)))))
|
|
{
|
|
goto IL_0049;
|
|
}
|
|
}
|
|
{
|
|
// if (subtitle != null)
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_65 = V_4;
|
|
if (!L_65)
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
{
|
|
// result.Add(subtitle);
|
|
List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* L_66 = V_0;
|
|
Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638* L_67 = V_4;
|
|
List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_inline(L_66, L_67, List_1_Add_mE5D79615B4F386BED7FF27701CC9DC5418CF0A19_RuntimeMethod_var);
|
|
// subtitle = null;
|
|
V_4 = (Subtitle_t361915FFE2C0B5F07C925DFA7667C34836F22638*)NULL;
|
|
goto IL_013a;
|
|
}
|
|
|
|
IL_0130:
|
|
{
|
|
// Debug.LogWarning("[AVProVideo] SRT format doesn't appear to be valid");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogWarning_m33EF1B897E0C7C6FF538989610BFAFFEF4628CA9(_stringLiteral43EAAC296F64D7E382A237C2F92A1F0BC6D59ABE, NULL);
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// return result;
|
|
List_1_t5D81B67DE55EA69888ABBF75D263628D55AE799B* L_68 = V_0;
|
|
return L_68;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.SubtitleUtils::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SubtitleUtils__ctor_m9B696CD66174E736B58CB69B2A967E1FF238BE8F (SubtitleUtils_tB6588297E78CC67673FB47CB0DC3D98F4E8FE54E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// Conversion methods for marshalling of: RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
IL2CPP_EXTERN_C void LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshal_pinvoke(const LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C& unmarshaled, LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_pinvoke& marshaled)
|
|
{
|
|
marshaled.____name_0 = il2cpp_codegen_marshal_string(unmarshaled.____name_0);
|
|
marshaled.____id_1 = unmarshaled.____id_1;
|
|
}
|
|
IL2CPP_EXTERN_C void LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshal_pinvoke_back(const LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_pinvoke& marshaled, LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C& unmarshaled)
|
|
{
|
|
unmarshaled.____name_0 = il2cpp_codegen_marshal_string_result(marshaled.____name_0);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.____name_0), (void*)il2cpp_codegen_marshal_string_result(marshaled.____name_0));
|
|
int32_t unmarshaled_id_temp_1 = 0;
|
|
unmarshaled_id_temp_1 = marshaled.____id_1;
|
|
unmarshaled.____id_1 = unmarshaled_id_temp_1;
|
|
}
|
|
// Conversion method for clean up from marshalling of: RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
IL2CPP_EXTERN_C void LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshal_pinvoke_cleanup(LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_pinvoke& marshaled)
|
|
{
|
|
il2cpp_codegen_marshal_free(marshaled.____name_0);
|
|
marshaled.____name_0 = NULL;
|
|
}
|
|
// Conversion methods for marshalling of: RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
IL2CPP_EXTERN_C void LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshal_com(const LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C& unmarshaled, LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_com& marshaled)
|
|
{
|
|
marshaled.____name_0 = il2cpp_codegen_marshal_bstring(unmarshaled.____name_0);
|
|
marshaled.____id_1 = unmarshaled.____id_1;
|
|
}
|
|
IL2CPP_EXTERN_C void LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshal_com_back(const LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_com& marshaled, LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C& unmarshaled)
|
|
{
|
|
unmarshaled.____name_0 = il2cpp_codegen_marshal_bstring_result(marshaled.____name_0);
|
|
Il2CppCodeGenWriteBarrier((void**)(&unmarshaled.____name_0), (void*)il2cpp_codegen_marshal_bstring_result(marshaled.____name_0));
|
|
int32_t unmarshaled_id_temp_1 = 0;
|
|
unmarshaled_id_temp_1 = marshaled.____id_1;
|
|
unmarshaled.____id_1 = unmarshaled_id_temp_1;
|
|
}
|
|
// Conversion method for clean up from marshalling of: RenderHeads.Media.AVProVideo.LazyShaderProperty
|
|
IL2CPP_EXTERN_C void LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshal_com_cleanup(LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C_marshaled_com& marshaled)
|
|
{
|
|
il2cpp_codegen_marshal_free_bstring(marshaled.____name_0);
|
|
marshaled.____name_0 = NULL;
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.LazyShaderProperty::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529 (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, String_t* ___name0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _name = name;
|
|
String_t* L_0 = ___name0;
|
|
__this->____name_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____name_0), (void*)L_0);
|
|
// _id = 0;
|
|
__this->____id_1 = 0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529_AdjustorThunk (RuntimeObject* __this, String_t* ___name0, const RuntimeMethod* method)
|
|
{
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C*>(__this + _offset);
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529(_thisAdjusted, ___name0, method);
|
|
}
|
|
// System.String RenderHeads.Media.AVProVideo.LazyShaderProperty::get_Name()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* LazyShaderProperty_get_Name_m647CC5EE748F44A502314D8D96FF99795FBB63EC (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Name { get { return _name;} }
|
|
String_t* L_0 = __this->____name_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C String_t* LazyShaderProperty_get_Name_m647CC5EE748F44A502314D8D96FF99795FBB63EC_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C*>(__this + _offset);
|
|
String_t* _returnValue;
|
|
_returnValue = LazyShaderProperty_get_Name_m647CC5EE748F44A502314D8D96FF99795FBB63EC_inline(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
// System.Int32 RenderHeads.Media.AVProVideo.LazyShaderProperty::get_Id()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int Id { get { if (_id == 0) { _id = Shader.PropertyToID(_name); } return _id; } }
|
|
int32_t L_0 = __this->____id_1;
|
|
if (L_0)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// public int Id { get { if (_id == 0) { _id = Shader.PropertyToID(_name); } return _id; } }
|
|
String_t* L_1 = __this->____name_0;
|
|
int32_t L_2;
|
|
L_2 = Shader_PropertyToID_mE98523D50F5656CAE89B30695C458253EB8956CA(L_1, NULL);
|
|
__this->____id_1 = L_2;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// public int Id { get { if (_id == 0) { _id = Shader.PropertyToID(_name); } return _id; } }
|
|
int32_t L_3 = __this->____id_1;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C int32_t LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA_AdjustorThunk (RuntimeObject* __this, const RuntimeMethod* method)
|
|
{
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C*>(__this + _offset);
|
|
int32_t _returnValue;
|
|
_returnValue = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA(_thisAdjusted, method);
|
|
return _returnValue;
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// UnityEngine.Material RenderHeads.Media.AVProVideo.VideoRender::CreateResolveMaterial(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* VideoRender_CreateResolveMaterial_m3A96B7ABAA1EEF0AD1D08204FE6D9B1C59C95148 (bool ___usingAndroidOES0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral20FF46EC5E6AE829985A8B644662841F423BF954);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral71D190CFC8DB508894D074E9883462A78E492E7D);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
String_t* G_B3_0 = NULL;
|
|
{
|
|
// return new Material(Shader.Find( usingAndroidOES ? VideoRender.Shader_ResolveOES : VideoRender.Shader_Resolve ));
|
|
bool L_0 = ___usingAndroidOES0;
|
|
if (L_0)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = _stringLiteral71D190CFC8DB508894D074E9883462A78E492E7D;
|
|
goto IL_000f;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
G_B3_0 = _stringLiteral20FF46EC5E6AE829985A8B644662841F423BF954;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_1;
|
|
L_1 = Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5(G_B3_0, NULL);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)il2cpp_codegen_object_new(Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF(L_2, L_1, NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// UnityEngine.Material RenderHeads.Media.AVProVideo.VideoRender::CreateIMGUIMaterial()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* VideoRender_CreateIMGUIMaterial_mA1F61ED278C668AA53D86B08EAD5D5D79629C3BD (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1320877E539EA04F144D5C0EE41A612A530FD4CA);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return new Material(Shader.Find(VideoRender.Shader_Preview));
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_0;
|
|
L_0 = Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5(_stringLiteral1320877E539EA04F144D5C0EE41A612A530FD4CA, NULL);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)il2cpp_codegen_object_new(Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF(L_1, L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupLayoutMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.VideoMapping)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupLayoutMaterial_m5D6B519AA71C58F07653101C049F2166468DDA33 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___mapping1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0BF3C245D30A858E114A60A1CA10B183FC44771C);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral32C206406C9F4ABAF61F1F335D775AB68C56FA99);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___mapping1;
|
|
if ((((int32_t)L_0) == ((int32_t)3)))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// material.DisableKeyword(Keyword_LayoutEquirect180);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_1, _stringLiteral0BF3C245D30A858E114A60A1CA10B183FC44771C, NULL);
|
|
// material.EnableKeyword(Keyword_LayoutNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_2, _stringLiteral32C206406C9F4ABAF61F1F335D775AB68C56FA99, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// material.DisableKeyword(Keyword_LayoutNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_3, _stringLiteral32C206406C9F4ABAF61F1F335D775AB68C56FA99, NULL);
|
|
// material.EnableKeyword(Keyword_LayoutEquirect180);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_4, _stringLiteral0BF3C245D30A858E114A60A1CA10B183FC44771C, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupStereoEyeModeMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.StereoEye)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupStereoEyeModeMaterial_m2FBBA958F217E52B0D90F233CD4C442A8B378AEE (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___mode1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3C36CD238383C63FF066F9E7664CA73025A8D111);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD75887742FFD5FDFE0983398A386031AAC1DD29B);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF23EEF1DF238589AFB61D3085A95FBE90002199B);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___mode1;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// material.DisableKeyword(Keyword_ForceEyeLeft);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_1, _stringLiteralF23EEF1DF238589AFB61D3085A95FBE90002199B, NULL);
|
|
// material.DisableKeyword(Keyword_ForceEyeRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_2, _stringLiteral3C36CD238383C63FF066F9E7664CA73025A8D111, NULL);
|
|
// material.EnableKeyword(Keyword_ForceEyeNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_3, _stringLiteralD75887742FFD5FDFE0983398A386031AAC1DD29B, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// material.DisableKeyword(Keyword_ForceEyeNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_4, _stringLiteralD75887742FFD5FDFE0983398A386031AAC1DD29B, NULL);
|
|
// material.DisableKeyword(Keyword_ForceEyeRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_5, _stringLiteral3C36CD238383C63FF066F9E7664CA73025A8D111, NULL);
|
|
// material.EnableKeyword(Keyword_ForceEyeLeft);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_6, _stringLiteralF23EEF1DF238589AFB61D3085A95FBE90002199B, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// material.DisableKeyword(Keyword_ForceEyeNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_7, _stringLiteralD75887742FFD5FDFE0983398A386031AAC1DD29B, NULL);
|
|
// material.DisableKeyword(Keyword_ForceEyeLeft);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_8 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_8, _stringLiteralF23EEF1DF238589AFB61D3085A95FBE90002199B, NULL);
|
|
// material.EnableKeyword(Keyword_ForceEyeRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_9, _stringLiteral3C36CD238383C63FF066F9E7664CA73025A8D111, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupStereoMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.StereoPacking)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupStereoMaterial_m93FEFE843D718518F2AA7A1A65AE516367FB1058 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___packing1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___packing1;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_008b;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_00c3;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_00fb;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// material.DisableKeyword(Keyword_StereoTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_1, _stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522, NULL);
|
|
// material.DisableKeyword(Keyword_StereoLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_2, _stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F, NULL);
|
|
// material.DisableKeyword(Keyword_StereoCustomUV);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_3, _stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTwoTextures);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_4, _stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964, NULL);
|
|
// material.EnableKeyword(Keyword_StereoNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_5, _stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// material.DisableKeyword(Keyword_StereoNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_6, _stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640, NULL);
|
|
// material.DisableKeyword(Keyword_StereoLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_7, _stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F, NULL);
|
|
// material.DisableKeyword(Keyword_StereoCustomUV);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_8 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_8, _stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTwoTextures);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_9, _stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964, NULL);
|
|
// material.EnableKeyword(Keyword_StereoTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_10 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_10, _stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_008b:
|
|
{
|
|
// material.DisableKeyword(Keyword_StereoNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_11 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_11, _stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_12 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_12, _stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTwoTextures);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_13 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_13, _stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964, NULL);
|
|
// material.DisableKeyword(Keyword_StereoCustomUV);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_14 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_14, _stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3, NULL);
|
|
// material.EnableKeyword(Keyword_StereoLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_15 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_15, _stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// material.DisableKeyword(Keyword_StereoNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_16 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_16, _stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_17 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_17, _stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522, NULL);
|
|
// material.DisableKeyword(Keyword_StereoLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_18 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_18, _stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTwoTextures);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_19 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_19, _stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964, NULL);
|
|
// material.EnableKeyword(Keyword_StereoCustomUV);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_20 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_20, _stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_00fb:
|
|
{
|
|
// material.DisableKeyword(Keyword_StereoNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_21 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_21, _stringLiteral3F0F1E6D09A79C2BE45033DDD83C93AD5BBEF640, NULL);
|
|
// material.DisableKeyword(Keyword_StereoTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_22 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_22, _stringLiteral98E3D2E02B047AB03305A96E8B57B9502E445522, NULL);
|
|
// material.DisableKeyword(Keyword_StereoLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_23 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_23, _stringLiteralE35F9DA7C4E4A84ADBC5C1421F0B82AFD4F4585F, NULL);
|
|
// material.DisableKeyword(Keyword_StereoCustomUV);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_24 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_24, _stringLiteral2CEFD90AF4E04F69CCE29EF9C29BFFCC31AEABD3, NULL);
|
|
// material.EnableKeyword(Keyword_StereoTwoTextures);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_25 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_25, _stringLiteral4B5FCBC268BAA2C231F768BF9729A7CA5D6F1964, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupGlobalDebugStereoTinting(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupGlobalDebugStereoTinting_mB768634F8B094B1AD9F11D487F28A3EF1AAA9F14 (bool ___enabled0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB35E9D3D8BD6E2E5ED49505FDED0CE9CEA7C98EA);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (enabled)
|
|
bool L_0 = ___enabled0;
|
|
if (!L_0)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// Shader.EnableKeyword(Keyword_StereoDebug);
|
|
Shader_EnableKeyword_m2449D6D86962FA7F5D1ED2B165EF63B019CBCCF1(_stringLiteralB35E9D3D8BD6E2E5ED49505FDED0CE9CEA7C98EA, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// Shader.DisableKeyword(Keyword_StereoDebug);
|
|
Shader_DisableKeyword_m20FCB3643CD53D86E46DA431DA971E59D49DAF88(_stringLiteralB35E9D3D8BD6E2E5ED49505FDED0CE9CEA7C98EA, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupAlphaPackedMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.AlphaPacking)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupAlphaPackedMaterial_mBB03F013908CE3FEE0247DEB2DEABAC6E9DD65C0 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, int32_t ___packing1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral12A524A4F9469BCE0EB406BC279885C0DF9528E0);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6467A5F1778FA416FDC0EE4F5BE0A345E51F74EF);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAD657B1B096A5DF9E95A5949BFEDCC3F73EAE130);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___packing1;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// material.DisableKeyword(Keyword_AlphaPackTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_1, _stringLiteralAD657B1B096A5DF9E95A5949BFEDCC3F73EAE130, NULL);
|
|
// material.DisableKeyword(Keyword_AlphaPackLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_2, _stringLiteral6467A5F1778FA416FDC0EE4F5BE0A345E51F74EF, NULL);
|
|
// material.EnableKeyword(Keyword_AlphaPackNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_3, _stringLiteral12A524A4F9469BCE0EB406BC279885C0DF9528E0, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// material.DisableKeyword(Keyword_AlphaPackNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_4, _stringLiteral12A524A4F9469BCE0EB406BC279885C0DF9528E0, NULL);
|
|
// material.DisableKeyword(Keyword_AlphaPackLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_5, _stringLiteral6467A5F1778FA416FDC0EE4F5BE0A345E51F74EF, NULL);
|
|
// material.EnableKeyword(Keyword_AlphaPackTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_6, _stringLiteralAD657B1B096A5DF9E95A5949BFEDCC3F73EAE130, NULL);
|
|
// break;
|
|
return;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// material.DisableKeyword(Keyword_AlphaPackNone);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_7, _stringLiteral12A524A4F9469BCE0EB406BC279885C0DF9528E0, NULL);
|
|
// material.DisableKeyword(Keyword_AlphaPackTopBottom);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_8 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_8, _stringLiteralAD657B1B096A5DF9E95A5949BFEDCC3F73EAE130, NULL);
|
|
// material.EnableKeyword(Keyword_AlphaPackLeftRight);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_9, _stringLiteral6467A5F1778FA416FDC0EE4F5BE0A345E51F74EF, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupGammaMaterial(UnityEngine.Material,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupGammaMaterial_m3393AACF1EAA7B2979AC4CCB26F0059864F1C194 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___playerSupportsLinear1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral45B5280635F9562E92DC9110D20BD17FF160DFB7);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (QualitySettings.activeColorSpace == ColorSpace.Linear && !playerSupportsLinear)
|
|
int32_t L_0;
|
|
L_0 = QualitySettings_get_activeColorSpace_m4F47784E7B0FE0A5497C8BAB9CA86BD576FB92F9(NULL);
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
bool L_1 = ___playerSupportsLinear1;
|
|
if (L_1)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// material.EnableKeyword(Keyword_ApplyGamma);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = ___material0;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_2, _stringLiteral45B5280635F9562E92DC9110D20BD17FF160DFB7, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// material.DisableKeyword(Keyword_ApplyGamma);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___material0;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_3, _stringLiteral45B5280635F9562E92DC9110D20BD17FF160DFB7, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupTextureMatrix(UnityEngine.Material,System.Single[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupTextureMatrix_m9E8E29CC5174AE98DB25FC5D9796D44D345A505B (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___transform1, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupVerticalFlipMaterial(UnityEngine.Material,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupVerticalFlipMaterial_mD536374949F6586A4B112B6EA7B5F556143F60C8 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___flip1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t G_B2_0 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B2_1 = NULL;
|
|
int32_t G_B1_0 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B1_1 = NULL;
|
|
float G_B3_0 = 0.0f;
|
|
int32_t G_B3_1 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B3_2 = NULL;
|
|
{
|
|
// material.SetFloat(VideoRender.PropVertScale.Id, flip?-1f:1f);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = ___material0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_1 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropVertScale_20;
|
|
V_0 = L_1;
|
|
int32_t L_2;
|
|
L_2 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
bool L_3 = ___flip1;
|
|
G_B1_0 = L_2;
|
|
G_B1_1 = L_0;
|
|
if (L_3)
|
|
{
|
|
G_B2_0 = L_2;
|
|
G_B2_1 = L_0;
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
G_B3_0 = (1.0f);
|
|
G_B3_1 = G_B1_0;
|
|
G_B3_2 = G_B1_1;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
G_B3_0 = (-1.0f);
|
|
G_B3_1 = G_B2_0;
|
|
G_B3_2 = G_B2_1;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(G_B3_2, G_B3_1, G_B3_0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Texture RenderHeads.Media.AVProVideo.VideoRender::GetTexture(RenderHeads.Media.AVProVideo.MediaPlayer,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* VideoRender_GetTexture_mF22AEBB1FADE84A0A439988C4EFF09DF5E5E13A1 (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* ___mediaPlayer0, int32_t ___textureIndex1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* V_0 = NULL;
|
|
{
|
|
// Texture result = null;
|
|
V_0 = (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*)NULL;
|
|
// if (mediaPlayer != null)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_0 = ___mediaPlayer0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// if (mediaPlayer.UseResampler && mediaPlayer.FrameResampler != null && mediaPlayer.FrameResampler.OutputTexture != null)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_2 = ___mediaPlayer0;
|
|
bool L_3;
|
|
L_3 = MediaPlayer_get_UseResampler_m889BFBE683DD30406908AC8B7B862A8AD3DB7454_inline(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_4 = ___mediaPlayer0;
|
|
Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* L_5;
|
|
L_5 = MediaPlayer_get_FrameResampler_m80964CB71EDF60E1107493F5478AA203D1779DA0_inline(L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_6 = ___mediaPlayer0;
|
|
Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* L_7;
|
|
L_7 = MediaPlayer_get_FrameResampler_m80964CB71EDF60E1107493F5478AA203D1779DA0_inline(L_6, NULL);
|
|
TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* L_8;
|
|
L_8 = Resampler_get_OutputTexture_m3AB836CDACB1FDE9EB2275F4DCC760F094BF5758(L_7, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// if ( mediaPlayer.FrameResampler.OutputTexture.Length > textureIndex)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_9 = ___mediaPlayer0;
|
|
Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* L_10;
|
|
L_10 = MediaPlayer_get_FrameResampler_m80964CB71EDF60E1107493F5478AA203D1779DA0_inline(L_9, NULL);
|
|
TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* L_11;
|
|
L_11 = Resampler_get_OutputTexture_m3AB836CDACB1FDE9EB2275F4DCC760F094BF5758(L_10, NULL);
|
|
int32_t L_12 = ___textureIndex1;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))) <= ((int32_t)L_12)))
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// result = mediaPlayer.FrameResampler.OutputTexture[textureIndex];
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_13 = ___mediaPlayer0;
|
|
Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* L_14;
|
|
L_14 = MediaPlayer_get_FrameResampler_m80964CB71EDF60E1107493F5478AA203D1779DA0_inline(L_13, NULL);
|
|
TextureU5BU5D_t0C3F884241E8243E791A31B920CAA89212888E46* L_15;
|
|
L_15 = Resampler_get_OutputTexture_m3AB836CDACB1FDE9EB2275F4DCC760F094BF5758(L_14, NULL);
|
|
int32_t L_16 = ___textureIndex1;
|
|
int32_t L_17 = L_16;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_18 = (L_15)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_17));
|
|
V_0 = L_18;
|
|
goto IL_006b;
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// else if (mediaPlayer.TextureProducer != null)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_19 = ___mediaPlayer0;
|
|
RuntimeObject* L_20;
|
|
L_20 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_19);
|
|
if (!L_20)
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// if (mediaPlayer.TextureProducer.GetTextureCount() > textureIndex)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_21 = ___mediaPlayer0;
|
|
RuntimeObject* L_22;
|
|
L_22 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_21);
|
|
int32_t L_23;
|
|
L_23 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureCount() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_22);
|
|
int32_t L_24 = ___textureIndex1;
|
|
if ((((int32_t)L_23) <= ((int32_t)L_24)))
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// result = mediaPlayer.TextureProducer.GetTexture(textureIndex);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_25 = ___mediaPlayer0;
|
|
RuntimeObject* L_26;
|
|
L_26 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_25);
|
|
int32_t L_27 = ___textureIndex1;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_28;
|
|
L_28 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_26, L_27);
|
|
V_0 = L_28;
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
// return result;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_29 = V_0;
|
|
return L_29;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupMaterialForMedia(UnityEngine.Material,RenderHeads.Media.AVProVideo.MediaPlayer,System.Int32,UnityEngine.Texture,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupMaterialForMedia_m55A642A1987BB4E75BA2C464642315C71FE2C7BF (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* ___mediaPlayer1, int32_t ___texturePropId2, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___fallbackTexture3, bool ___forceFallbackTexture4, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* V_0 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* V_1 = NULL;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B7_0 = NULL;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B6_0 = NULL;
|
|
int32_t G_B8_0 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B8_1 = NULL;
|
|
int32_t G_B10_0 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B10_1 = NULL;
|
|
int32_t G_B9_0 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B9_1 = NULL;
|
|
int32_t G_B11_0 = 0;
|
|
int32_t G_B11_1 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B11_2 = NULL;
|
|
int32_t G_B13_0 = 0;
|
|
int32_t G_B13_1 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B13_2 = NULL;
|
|
int32_t G_B12_0 = 0;
|
|
int32_t G_B12_1 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B12_2 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B14_0;
|
|
memset((&G_B14_0), 0, sizeof(G_B14_0));
|
|
int32_t G_B14_1 = 0;
|
|
int32_t G_B14_2 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B14_3 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B16_0 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B16_1;
|
|
memset((&G_B16_1), 0, sizeof(G_B16_1));
|
|
int32_t G_B16_2 = 0;
|
|
int32_t G_B16_3 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B16_4 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B15_0 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B15_1;
|
|
memset((&G_B15_1), 0, sizeof(G_B15_1));
|
|
int32_t G_B15_2 = 0;
|
|
int32_t G_B15_3 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B15_4 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B17_0 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B17_1;
|
|
memset((&G_B17_1), 0, sizeof(G_B17_1));
|
|
int32_t G_B17_2 = 0;
|
|
int32_t G_B17_3 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B17_4 = NULL;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B18_0 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B18_1 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B18_2;
|
|
memset((&G_B18_2), 0, sizeof(G_B18_2));
|
|
int32_t G_B18_3 = 0;
|
|
int32_t G_B18_4 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B18_5 = NULL;
|
|
int32_t G_B20_0 = 0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B20_1 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B20_2 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B20_3;
|
|
memset((&G_B20_3), 0, sizeof(G_B20_3));
|
|
int32_t G_B20_4 = 0;
|
|
int32_t G_B20_5 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B20_6 = NULL;
|
|
int32_t G_B19_0 = 0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B19_1 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B19_2 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B19_3;
|
|
memset((&G_B19_3), 0, sizeof(G_B19_3));
|
|
int32_t G_B19_4 = 0;
|
|
int32_t G_B19_5 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B19_6 = NULL;
|
|
int32_t G_B21_0 = 0;
|
|
int32_t G_B21_1 = 0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B21_2 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B21_3 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B21_4;
|
|
memset((&G_B21_4), 0, sizeof(G_B21_4));
|
|
int32_t G_B21_5 = 0;
|
|
int32_t G_B21_6 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B21_7 = NULL;
|
|
int32_t G_B23_0 = 0;
|
|
int32_t G_B23_1 = 0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B23_2 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B23_3 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B23_4;
|
|
memset((&G_B23_4), 0, sizeof(G_B23_4));
|
|
int32_t G_B23_5 = 0;
|
|
int32_t G_B23_6 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B23_7 = NULL;
|
|
int32_t G_B22_0 = 0;
|
|
int32_t G_B22_1 = 0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B22_2 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B22_3 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B22_4;
|
|
memset((&G_B22_4), 0, sizeof(G_B22_4));
|
|
int32_t G_B22_5 = 0;
|
|
int32_t G_B22_6 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B22_7 = NULL;
|
|
int32_t G_B24_0 = 0;
|
|
int32_t G_B24_1 = 0;
|
|
int32_t G_B24_2 = 0;
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* G_B24_3 = NULL;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* G_B24_4 = NULL;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 G_B24_5;
|
|
memset((&G_B24_5), 0, sizeof(G_B24_5));
|
|
int32_t G_B24_6 = 0;
|
|
int32_t G_B24_7 = 0;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* G_B24_8 = NULL;
|
|
{
|
|
// if (mediaPlayer != null)
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_0 = ___mediaPlayer1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_00d9;
|
|
}
|
|
}
|
|
{
|
|
// Texture mainTexture = GetTexture(mediaPlayer, 0);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_2 = ___mediaPlayer1;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_3;
|
|
L_3 = VideoRender_GetTexture_mF22AEBB1FADE84A0A439988C4EFF09DF5E5E13A1(L_2, 0, NULL);
|
|
V_0 = L_3;
|
|
// Texture yCbCrTexture = GetTexture(mediaPlayer, 1);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_4 = ___mediaPlayer1;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_5;
|
|
L_5 = VideoRender_GetTexture_mF22AEBB1FADE84A0A439988C4EFF09DF5E5E13A1(L_4, 1, NULL);
|
|
V_1 = L_5;
|
|
// if (texturePropId != -1)
|
|
int32_t L_6 = ___texturePropId2;
|
|
if ((((int32_t)L_6) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
// if (mainTexture == null || forceFallbackTexture)
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_7 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
bool L_9 = ___forceFallbackTexture4;
|
|
if (!((int32_t)((int32_t)L_8|(int32_t)L_9)))
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// mainTexture = fallbackTexture;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_10 = ___fallbackTexture3;
|
|
V_0 = L_10;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// material.SetTexture(texturePropId, mainTexture);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_11 = ___material0;
|
|
int32_t L_12 = ___texturePropId2;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_13 = V_0;
|
|
Material_SetTexture_mA9F8461850AAB88F992E9C6FA6F24C2E050B83FD(L_11, L_12, L_13, NULL);
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// SetupMaterial(material,
|
|
// (mediaPlayer.TextureProducer != null)?mediaPlayer.TextureProducer.RequiresVerticalFlip():false,
|
|
// (mediaPlayer.Info != null)?mediaPlayer.Info.PlayerSupportsLinearColorSpace():true,
|
|
// (mediaPlayer.TextureProducer != null)?mediaPlayer.TextureProducer.GetYpCbCrTransform():Matrix4x4.identity,
|
|
// yCbCrTexture,
|
|
// (mediaPlayer.Info != null && mediaPlayer.PlatformOptionsAndroid.useFastOesPath)?mediaPlayer.Info.GetTextureTransform():null,
|
|
// mediaPlayer.VideoLayoutMapping,
|
|
// (mediaPlayer.TextureProducer != null)?mediaPlayer.TextureProducer.GetTextureStereoPacking():StereoPacking.None,
|
|
// (mediaPlayer.TextureProducer != null)?mediaPlayer.TextureProducer.GetTextureAlphaPacking():AlphaPacking.None);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_14 = ___material0;
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_15 = ___mediaPlayer1;
|
|
RuntimeObject* L_16;
|
|
L_16 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_15);
|
|
G_B6_0 = L_14;
|
|
if (L_16)
|
|
{
|
|
G_B7_0 = L_14;
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
G_B8_0 = 0;
|
|
G_B8_1 = G_B6_0;
|
|
goto IL_004d;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_17 = ___mediaPlayer1;
|
|
RuntimeObject* L_18;
|
|
L_18 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_17);
|
|
bool L_19;
|
|
L_19 = InterfaceFuncInvoker0< bool >::Invoke(6 /* System.Boolean RenderHeads.Media.AVProVideo.ITextureProducer::RequiresVerticalFlip() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_18);
|
|
G_B8_0 = ((int32_t)(L_19));
|
|
G_B8_1 = G_B7_0;
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_20 = ___mediaPlayer1;
|
|
RuntimeObject* L_21;
|
|
L_21 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(10 /* RenderHeads.Media.AVProVideo.IMediaInfo RenderHeads.Media.AVProVideo.MediaPlayer::get_Info() */, L_20);
|
|
G_B9_0 = G_B8_0;
|
|
G_B9_1 = G_B8_1;
|
|
if (L_21)
|
|
{
|
|
G_B10_0 = G_B8_0;
|
|
G_B10_1 = G_B8_1;
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
G_B11_0 = 1;
|
|
G_B11_1 = G_B9_0;
|
|
G_B11_2 = G_B9_1;
|
|
goto IL_0063;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_22 = ___mediaPlayer1;
|
|
RuntimeObject* L_23;
|
|
L_23 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(10 /* RenderHeads.Media.AVProVideo.IMediaInfo RenderHeads.Media.AVProVideo.MediaPlayer::get_Info() */, L_22);
|
|
bool L_24;
|
|
L_24 = InterfaceFuncInvoker0< bool >::Invoke(10 /* System.Boolean RenderHeads.Media.AVProVideo.IMediaInfo::PlayerSupportsLinearColorSpace() */, IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0_il2cpp_TypeInfo_var, L_23);
|
|
G_B11_0 = ((int32_t)(L_24));
|
|
G_B11_1 = G_B10_0;
|
|
G_B11_2 = G_B10_1;
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_25 = ___mediaPlayer1;
|
|
RuntimeObject* L_26;
|
|
L_26 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_25);
|
|
G_B12_0 = G_B11_0;
|
|
G_B12_1 = G_B11_1;
|
|
G_B12_2 = G_B11_2;
|
|
if (L_26)
|
|
{
|
|
G_B13_0 = G_B11_0;
|
|
G_B13_1 = G_B11_1;
|
|
G_B13_2 = G_B11_2;
|
|
goto IL_0072;
|
|
}
|
|
}
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_27;
|
|
L_27 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
G_B14_0 = L_27;
|
|
G_B14_1 = G_B12_0;
|
|
G_B14_2 = G_B12_1;
|
|
G_B14_3 = G_B12_2;
|
|
goto IL_007d;
|
|
}
|
|
|
|
IL_0072:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_28 = ___mediaPlayer1;
|
|
RuntimeObject* L_29;
|
|
L_29 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_28);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_30;
|
|
L_30 = InterfaceFuncInvoker0< Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 >::Invoke(10 /* UnityEngine.Matrix4x4 RenderHeads.Media.AVProVideo.ITextureProducer::GetYpCbCrTransform() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_29);
|
|
G_B14_0 = L_30;
|
|
G_B14_1 = G_B13_0;
|
|
G_B14_2 = G_B13_1;
|
|
G_B14_3 = G_B13_2;
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_31 = V_1;
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_32 = ___mediaPlayer1;
|
|
RuntimeObject* L_33;
|
|
L_33 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(10 /* RenderHeads.Media.AVProVideo.IMediaInfo RenderHeads.Media.AVProVideo.MediaPlayer::get_Info() */, L_32);
|
|
G_B15_0 = L_31;
|
|
G_B15_1 = G_B14_0;
|
|
G_B15_2 = G_B14_1;
|
|
G_B15_3 = G_B14_2;
|
|
G_B15_4 = G_B14_3;
|
|
if (!L_33)
|
|
{
|
|
G_B16_0 = L_31;
|
|
G_B16_1 = G_B14_0;
|
|
G_B16_2 = G_B14_1;
|
|
G_B16_3 = G_B14_2;
|
|
G_B16_4 = G_B14_3;
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_34 = ___mediaPlayer1;
|
|
OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605* L_35;
|
|
L_35 = MediaPlayer_get_PlatformOptionsAndroid_m99C4FEF7199FEEEA9948F9D47E70CAB483534AE7_inline(L_34, NULL);
|
|
bool L_36 = L_35->___useFastOesPath_8;
|
|
G_B16_0 = G_B15_0;
|
|
G_B16_1 = G_B15_1;
|
|
G_B16_2 = G_B15_2;
|
|
G_B16_3 = G_B15_3;
|
|
G_B16_4 = G_B15_4;
|
|
if (L_36)
|
|
{
|
|
G_B17_0 = G_B15_0;
|
|
G_B17_1 = G_B15_1;
|
|
G_B17_2 = G_B15_2;
|
|
G_B17_3 = G_B15_3;
|
|
G_B17_4 = G_B15_4;
|
|
goto IL_0096;
|
|
}
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
G_B18_0 = ((SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)(NULL));
|
|
G_B18_1 = G_B16_0;
|
|
G_B18_2 = G_B16_1;
|
|
G_B18_3 = G_B16_2;
|
|
G_B18_4 = G_B16_3;
|
|
G_B18_5 = G_B16_4;
|
|
goto IL_00a1;
|
|
}
|
|
|
|
IL_0096:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_37 = ___mediaPlayer1;
|
|
RuntimeObject* L_38;
|
|
L_38 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(10 /* RenderHeads.Media.AVProVideo.IMediaInfo RenderHeads.Media.AVProVideo.MediaPlayer::get_Info() */, L_37);
|
|
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* L_39;
|
|
L_39 = InterfaceFuncInvoker0< SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* >::Invoke(12 /* System.Single[] RenderHeads.Media.AVProVideo.IMediaInfo::GetTextureTransform() */, IMediaInfo_t16F9FEB4C3B0458D8D90DF7555487872FA4585D0_il2cpp_TypeInfo_var, L_38);
|
|
G_B18_0 = L_39;
|
|
G_B18_1 = G_B17_0;
|
|
G_B18_2 = G_B17_1;
|
|
G_B18_3 = G_B17_2;
|
|
G_B18_4 = G_B17_3;
|
|
G_B18_5 = G_B17_4;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_40 = ___mediaPlayer1;
|
|
int32_t L_41;
|
|
L_41 = MediaPlayer_get_VideoLayoutMapping_m1F4908E9231423D117015771EA125A25015E27DB_inline(L_40, NULL);
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_42 = ___mediaPlayer1;
|
|
RuntimeObject* L_43;
|
|
L_43 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_42);
|
|
G_B19_0 = L_41;
|
|
G_B19_1 = G_B18_0;
|
|
G_B19_2 = G_B18_1;
|
|
G_B19_3 = G_B18_2;
|
|
G_B19_4 = G_B18_3;
|
|
G_B19_5 = G_B18_4;
|
|
G_B19_6 = G_B18_5;
|
|
if (L_43)
|
|
{
|
|
G_B20_0 = L_41;
|
|
G_B20_1 = G_B18_0;
|
|
G_B20_2 = G_B18_1;
|
|
G_B20_3 = G_B18_2;
|
|
G_B20_4 = G_B18_3;
|
|
G_B20_5 = G_B18_4;
|
|
G_B20_6 = G_B18_5;
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
G_B21_0 = 0;
|
|
G_B21_1 = G_B19_0;
|
|
G_B21_2 = G_B19_1;
|
|
G_B21_3 = G_B19_2;
|
|
G_B21_4 = G_B19_3;
|
|
G_B21_5 = G_B19_4;
|
|
G_B21_6 = G_B19_5;
|
|
G_B21_7 = G_B19_6;
|
|
goto IL_00bd;
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_44 = ___mediaPlayer1;
|
|
RuntimeObject* L_45;
|
|
L_45 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_44);
|
|
int32_t L_46;
|
|
L_46 = InterfaceFuncInvoker0< int32_t >::Invoke(7 /* RenderHeads.Media.AVProVideo.StereoPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureStereoPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_45);
|
|
G_B21_0 = ((int32_t)(L_46));
|
|
G_B21_1 = G_B20_0;
|
|
G_B21_2 = G_B20_1;
|
|
G_B21_3 = G_B20_2;
|
|
G_B21_4 = G_B20_3;
|
|
G_B21_5 = G_B20_4;
|
|
G_B21_6 = G_B20_5;
|
|
G_B21_7 = G_B20_6;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_47 = ___mediaPlayer1;
|
|
RuntimeObject* L_48;
|
|
L_48 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_47);
|
|
G_B22_0 = G_B21_0;
|
|
G_B22_1 = G_B21_1;
|
|
G_B22_2 = G_B21_2;
|
|
G_B22_3 = G_B21_3;
|
|
G_B22_4 = G_B21_4;
|
|
G_B22_5 = G_B21_5;
|
|
G_B22_6 = G_B21_6;
|
|
G_B22_7 = G_B21_7;
|
|
if (L_48)
|
|
{
|
|
G_B23_0 = G_B21_0;
|
|
G_B23_1 = G_B21_1;
|
|
G_B23_2 = G_B21_2;
|
|
G_B23_3 = G_B21_3;
|
|
G_B23_4 = G_B21_4;
|
|
G_B23_5 = G_B21_5;
|
|
G_B23_6 = G_B21_6;
|
|
G_B23_7 = G_B21_7;
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
G_B24_0 = 0;
|
|
G_B24_1 = G_B22_0;
|
|
G_B24_2 = G_B22_1;
|
|
G_B24_3 = G_B22_2;
|
|
G_B24_4 = G_B22_3;
|
|
G_B24_5 = G_B22_4;
|
|
G_B24_6 = G_B22_5;
|
|
G_B24_7 = G_B22_6;
|
|
G_B24_8 = G_B22_7;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_00c8:
|
|
{
|
|
MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* L_49 = ___mediaPlayer1;
|
|
RuntimeObject* L_50;
|
|
L_50 = VirtualFuncInvoker0< RuntimeObject* >::Invoke(13 /* RenderHeads.Media.AVProVideo.ITextureProducer RenderHeads.Media.AVProVideo.MediaPlayer::get_TextureProducer() */, L_49);
|
|
int32_t L_51;
|
|
L_51 = InterfaceFuncInvoker0< int32_t >::Invoke(9 /* RenderHeads.Media.AVProVideo.AlphaPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureAlphaPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_50);
|
|
G_B24_0 = ((int32_t)(L_51));
|
|
G_B24_1 = G_B23_0;
|
|
G_B24_2 = G_B23_1;
|
|
G_B24_3 = G_B23_2;
|
|
G_B24_4 = G_B23_3;
|
|
G_B24_5 = G_B23_4;
|
|
G_B24_6 = G_B23_5;
|
|
G_B24_7 = G_B23_6;
|
|
G_B24_8 = G_B23_7;
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupMaterial_m4A79DB24932EE429B56F4BF40EB147C5A0F297AC(G_B24_8, (bool)G_B24_7, (bool)G_B24_6, G_B24_5, G_B24_4, G_B24_3, G_B24_2, G_B24_1, G_B24_0, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// if (texturePropId != -1)
|
|
int32_t L_52 = ___texturePropId2;
|
|
if ((((int32_t)L_52) == ((int32_t)(-1))))
|
|
{
|
|
goto IL_00e5;
|
|
}
|
|
}
|
|
{
|
|
// material.SetTexture(texturePropId, fallbackTexture);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_53 = ___material0;
|
|
int32_t L_54 = ___texturePropId2;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_55 = ___fallbackTexture3;
|
|
Material_SetTexture_mA9F8461850AAB88F992E9C6FA6F24C2E050B83FD(L_53, L_54, L_55, NULL);
|
|
}
|
|
|
|
IL_00e5:
|
|
{
|
|
// SetupMaterial(material, false, true, Matrix4x4.identity, null);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_56 = ___material0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_57;
|
|
L_57 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupMaterial_m4A79DB24932EE429B56F4BF40EB147C5A0F297AC(L_56, (bool)0, (bool)1, L_57, (Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*)NULL, (SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C*)NULL, 1, 0, 0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupMaterial(UnityEngine.Material,System.Boolean,System.Boolean,UnityEngine.Matrix4x4,UnityEngine.Texture,System.Single[],RenderHeads.Media.AVProVideo.VideoMapping,RenderHeads.Media.AVProVideo.StereoPacking,RenderHeads.Media.AVProVideo.AlphaPacking)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupMaterial_m4A79DB24932EE429B56F4BF40EB147C5A0F297AC (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, bool ___flipVertically1, bool ___playerSupportsLinear2, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___ycbcrTransform3, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___ycbcrTexture4, SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___textureTransform5, int32_t ___mapping6, int32_t ___stereoPacking7, int32_t ___alphaPacking8, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// SetupVerticalFlipMaterial(material, flipVertically);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_0 = ___material0;
|
|
bool L_1 = ___flipVertically1;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupVerticalFlipMaterial_mD536374949F6586A4B112B6EA7B5F556143F60C8(L_0, L_1, NULL);
|
|
// if (material.HasProperty(VideoRender.PropLayout.Id))
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = ___material0;
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_3 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropLayout_24;
|
|
V_0 = L_3;
|
|
int32_t L_4;
|
|
L_4 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
bool L_5;
|
|
L_5 = Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222(L_2, L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// VideoRender.SetupLayoutMaterial(material, mapping);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = ___material0;
|
|
int32_t L_7 = ___mapping6;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupLayoutMaterial_m5D6B519AA71C58F07653101C049F2166468DDA33(L_6, L_7, NULL);
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// if (material.HasProperty(VideoRender.PropStereo.Id))
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_8 = ___material0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_9 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropStereo_22;
|
|
V_0 = L_9;
|
|
int32_t L_10;
|
|
L_10 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
bool L_11;
|
|
L_11 = Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222(L_8, L_10, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
// VideoRender.SetupStereoMaterial(material, stereoPacking);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_12 = ___material0;
|
|
int32_t L_13 = ___stereoPacking7;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupStereoMaterial_m93FEFE843D718518F2AA7A1A65AE516367FB1058(L_12, L_13, NULL);
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// if (material.HasProperty(VideoRender.PropAlphaPack.Id))
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_14 = ___material0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_15 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropAlphaPack_23;
|
|
V_0 = L_15;
|
|
int32_t L_16;
|
|
L_16 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
bool L_17;
|
|
L_17 = Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222(L_14, L_16, NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// VideoRender.SetupAlphaPackedMaterial(material, alphaPacking);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_18 = ___material0;
|
|
int32_t L_19 = ___alphaPacking8;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupAlphaPackedMaterial_mBB03F013908CE3FEE0247DEB2DEABAC6E9DD65C0(L_18, L_19, NULL);
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// if (material.HasProperty(VideoRender.PropApplyGamma.Id))
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_20 = ___material0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_21 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropApplyGamma_21;
|
|
V_0 = L_21;
|
|
int32_t L_22;
|
|
L_22 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
bool L_23;
|
|
L_23 = Material_HasProperty_m52E2D3BC3049B8B228149E023CD73C34B05A5222(L_20, L_22, NULL);
|
|
if (!L_23)
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
}
|
|
{
|
|
// VideoRender.SetupGammaMaterial(material, playerSupportsLinear);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_24 = ___material0;
|
|
bool L_25 = ___playerSupportsLinear2;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_SetupGammaMaterial_m3393AACF1EAA7B2979AC4CCB26F0059864F1C194(L_24, L_25, NULL);
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::SetupResolveMaterial(UnityEngine.Material,RenderHeads.Media.AVProVideo.VideoResolveOptions)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_SetupResolveMaterial_m378FD000ACD6E578645EC0BF749ED6C294832E2F (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material0, VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 ___options1, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// if (options.IsColourAdjust())
|
|
bool L_0;
|
|
L_0 = VideoResolveOptions_IsColourAdjust_m043320CA6C3119F8B5E93A4E75E5B79655132EE2((&___options1), NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_009c;
|
|
}
|
|
}
|
|
{
|
|
// material.EnableKeyword(VideoRender.Keyword_UseHSBC);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___material0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
String_t* L_2 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___Keyword_UseHSBC_27;
|
|
Material_EnableKeyword_mE8523EF6CF694284DF976D47ADEDE9363A1174AC(L_1, L_2, NULL);
|
|
// material.SetFloat(VideoRender.PropHue.Id, options.hue);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = ___material0;
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_4 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropHue_28;
|
|
V_0 = L_4;
|
|
int32_t L_5;
|
|
L_5 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 L_6 = ___options1;
|
|
float L_7 = L_6.___hue_1;
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_3, L_5, L_7, NULL);
|
|
// material.SetFloat(VideoRender.PropSaturation.Id, options.saturation);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_8 = ___material0;
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_9 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropSaturation_29;
|
|
V_0 = L_9;
|
|
int32_t L_10;
|
|
L_10 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 L_11 = ___options1;
|
|
float L_12 = L_11.___saturation_2;
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_8, L_10, L_12, NULL);
|
|
// material.SetFloat(VideoRender.PropBrightness.Id, options.brightness);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_13 = ___material0;
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_14 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropBrightness_31;
|
|
V_0 = L_14;
|
|
int32_t L_15;
|
|
L_15 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 L_16 = ___options1;
|
|
float L_17 = L_16.___brightness_3;
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_13, L_15, L_17, NULL);
|
|
// material.SetFloat(VideoRender.PropContrast.Id, options.contrast);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_18 = ___material0;
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_19 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropContrast_30;
|
|
V_0 = L_19;
|
|
int32_t L_20;
|
|
L_20 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 L_21 = ___options1;
|
|
float L_22 = L_21.___contrast_4;
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_18, L_20, L_22, NULL);
|
|
// material.SetFloat(VideoRender.PropInvGamma.Id, 1f / options.gamma);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_23 = ___material0;
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_24 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropInvGamma_32;
|
|
V_0 = L_24;
|
|
int32_t L_25;
|
|
L_25 = LazyShaderProperty_get_Id_mAC1B54EF1DF73DBFC36A239466F13D97C143FDFA((&V_0), NULL);
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 L_26 = ___options1;
|
|
float L_27 = L_26.___gamma_5;
|
|
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_23, L_25, ((float)((1.0f)/L_27)), NULL);
|
|
goto IL_00a7;
|
|
}
|
|
|
|
IL_009c:
|
|
{
|
|
// material.DisableKeyword(VideoRender.Keyword_UseHSBC);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_28 = ___material0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
String_t* L_29 = ((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___Keyword_UseHSBC_27;
|
|
Material_DisableKeyword_mC123927EBF2F2A19220A4456C8EA19F2BA416E8C(L_28, L_29, NULL);
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// material.color = options.tint;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_30 = ___material0;
|
|
VideoResolveOptions_t73104FE43CA18A4DA1D13E543E8FA739A4B6A180 L_31 = ___options1;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_32 = L_31.___tint_6;
|
|
Material_set_color_m5C32DEBB215FF9EE35E7B575297D8C2F29CC2A2D(L_30, L_32, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.RenderTexture RenderHeads.Media.AVProVideo.VideoRender::ResolveVideoToRenderTexture(UnityEngine.Material,UnityEngine.RenderTexture,RenderHeads.Media.AVProVideo.ITextureProducer,RenderHeads.Media.AVProVideo.VideoRender/ResolveFlags,UnityEngine.ScaleMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* VideoRender_ResolveVideoToRenderTexture_mE152E838EA940F098AAD6108CFD02EBC6F2D9BC0 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___resolveMaterial0, RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* ___targetTexture1, RuntimeObject* ___texture2, int32_t ___flags3, int32_t ___scaleMode4, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
bool V_4 = false;
|
|
bool V_5 = false;
|
|
int32_t G_B10_0 = 0;
|
|
int32_t G_B16_0 = 0;
|
|
int32_t G_B20_0 = 0;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B26_0 = NULL;
|
|
bool G_B26_1 = false;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B25_0 = NULL;
|
|
bool G_B25_1 = false;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B29_0 = NULL;
|
|
bool G_B29_1 = false;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B28_0 = NULL;
|
|
bool G_B28_1 = false;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* G_B27_0 = NULL;
|
|
bool G_B27_1 = false;
|
|
{
|
|
// int targetWidth = texture.GetTexture(0).width;
|
|
RuntimeObject* L_0 = ___texture2;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_1;
|
|
L_1 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_0, 0);
|
|
int32_t L_2;
|
|
L_2 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_1);
|
|
V_0 = L_2;
|
|
// int targetHeight = texture.GetTexture(0).height;
|
|
RuntimeObject* L_3 = ___texture2;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_4;
|
|
L_4 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_3, 0);
|
|
int32_t L_5;
|
|
L_5 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_4);
|
|
V_1 = L_5;
|
|
// StereoEye eyeMode = StereoEye.Both;
|
|
V_2 = 0;
|
|
// if (((flags & ResolveFlags.StereoLeft) == ResolveFlags.StereoLeft) &&
|
|
// ((flags & ResolveFlags.StereoRight) != ResolveFlags.StereoRight))
|
|
int32_t L_6 = ___flags3;
|
|
if ((!(((uint32_t)((int32_t)((int32_t)L_6&4))) == ((uint32_t)4))))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_7 = ___flags3;
|
|
if ((((int32_t)((int32_t)((int32_t)L_7&8))) == ((int32_t)8)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// eyeMode = StereoEye.Left;
|
|
V_2 = 1;
|
|
goto IL_003a;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// else if (((flags & ResolveFlags.StereoLeft) != ResolveFlags.StereoLeft) &&
|
|
// ((flags & ResolveFlags.StereoRight) == ResolveFlags.StereoRight))
|
|
int32_t L_8 = ___flags3;
|
|
if ((((int32_t)((int32_t)((int32_t)L_8&4))) == ((int32_t)4)))
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_9 = ___flags3;
|
|
if ((!(((uint32_t)((int32_t)((int32_t)L_9&8))) == ((uint32_t)8))))
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// eyeMode = StereoEye.Right;
|
|
V_2 = 2;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// GetResolveTextureSize(texture.GetTextureAlphaPacking(), texture.GetTextureStereoPacking(), eyeMode, /*texture.GetTexturePixelAspectRatio()*/1.0f, ref targetWidth, ref targetHeight);
|
|
RuntimeObject* L_10 = ___texture2;
|
|
int32_t L_11;
|
|
L_11 = InterfaceFuncInvoker0< int32_t >::Invoke(9 /* RenderHeads.Media.AVProVideo.AlphaPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureAlphaPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_10);
|
|
RuntimeObject* L_12 = ___texture2;
|
|
int32_t L_13;
|
|
L_13 = InterfaceFuncInvoker0< int32_t >::Invoke(7 /* RenderHeads.Media.AVProVideo.StereoPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureStereoPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_12);
|
|
int32_t L_14 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_GetResolveTextureSize_m1093BEC59EE8876534B37AE2E99895D06F3BB882(L_11, L_13, L_14, (1.0f), (&V_0), (&V_1), NULL);
|
|
// if (targetTexture)
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_15 = ___targetTexture1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_16;
|
|
L_16 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_15, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// bool sizeChanged = (targetTexture.width != targetWidth || targetTexture.height != targetHeight);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_17 = ___targetTexture1;
|
|
int32_t L_18;
|
|
L_18 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_17);
|
|
int32_t L_19 = V_0;
|
|
if ((!(((uint32_t)L_18) == ((uint32_t)L_19))))
|
|
{
|
|
goto IL_0074;
|
|
}
|
|
}
|
|
{
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_20 = ___targetTexture1;
|
|
int32_t L_21;
|
|
L_21 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_20);
|
|
int32_t L_22 = V_1;
|
|
G_B10_0 = ((((int32_t)((((int32_t)L_21) == ((int32_t)L_22))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_0074:
|
|
{
|
|
G_B10_0 = 1;
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// if (sizeChanged)
|
|
if (!G_B10_0)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// RenderTexture.ReleaseTemporary(targetTexture); targetTexture = null;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_23 = ___targetTexture1;
|
|
RenderTexture_ReleaseTemporary_mEEF2C1990196FF06FDD0DC190928AD3A023EBDD2(L_23, NULL);
|
|
// RenderTexture.ReleaseTemporary(targetTexture); targetTexture = null;
|
|
___targetTexture1 = (RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27*)NULL;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// if (!targetTexture)
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_24 = ___targetTexture1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_25;
|
|
L_25 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_24, NULL);
|
|
if (L_25)
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// RenderTextureReadWrite readWrite = ((flags & ResolveFlags.ColorspaceSRGB) == ResolveFlags.ColorspaceSRGB) ? RenderTextureReadWrite.sRGB : RenderTextureReadWrite.Linear;
|
|
int32_t L_26 = ___flags3;
|
|
if ((((int32_t)((int32_t)((int32_t)L_26&((int32_t)16)))) == ((int32_t)((int32_t)16))))
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
G_B16_0 = 1;
|
|
goto IL_0094;
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
G_B16_0 = 2;
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
V_3 = G_B16_0;
|
|
// targetTexture = RenderTexture.GetTemporary(targetWidth, targetHeight, 0, RenderTextureFormat.ARGB32, readWrite);
|
|
int32_t L_27 = V_0;
|
|
int32_t L_28 = V_1;
|
|
int32_t L_29 = V_3;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_30;
|
|
L_30 = RenderTexture_GetTemporary_mA6619EA324AAE80B6892107C6968092F6F1B4C45(L_27, L_28, 0, 0, L_29, NULL);
|
|
___targetTexture1 = L_30;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// bool requiresMipmap = (flags & ResolveFlags.Mipmaps) == ResolveFlags.Mipmaps;
|
|
int32_t L_31 = ___flags3;
|
|
V_4 = (bool)((((int32_t)((int32_t)((int32_t)L_31&1))) == ((int32_t)1))? 1 : 0);
|
|
// bool requiresRecreate = (targetTexture.IsCreated() && targetTexture.useMipMap != requiresMipmap);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_32 = ___targetTexture1;
|
|
bool L_33;
|
|
L_33 = RenderTexture_IsCreated_mB69D4DBD99D74AA5D1F3C9E84A08D6744A031006(L_32, NULL);
|
|
if (!L_33)
|
|
{
|
|
goto IL_00c0;
|
|
}
|
|
}
|
|
{
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_34 = ___targetTexture1;
|
|
bool L_35;
|
|
L_35 = RenderTexture_get_useMipMap_m76150AD5CF0192BC8DAC05522302D9C13ECD07D7(L_34, NULL);
|
|
bool L_36 = V_4;
|
|
G_B20_0 = ((((int32_t)((((int32_t)L_35) == ((int32_t)L_36))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
goto IL_00c1;
|
|
}
|
|
|
|
IL_00c0:
|
|
{
|
|
G_B20_0 = 0;
|
|
}
|
|
|
|
IL_00c1:
|
|
{
|
|
// if (requiresRecreate)
|
|
if (!G_B20_0)
|
|
{
|
|
goto IL_00c9;
|
|
}
|
|
}
|
|
{
|
|
// targetTexture.Release();
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_37 = ___targetTexture1;
|
|
RenderTexture_Release_mE7399D6187A0E38945D2913D0FFB41247143AB1E(L_37, NULL);
|
|
}
|
|
|
|
IL_00c9:
|
|
{
|
|
// if (!targetTexture.IsCreated())
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_38 = ___targetTexture1;
|
|
bool L_39;
|
|
L_39 = RenderTexture_IsCreated_mB69D4DBD99D74AA5D1F3C9E84A08D6744A031006(L_38, NULL);
|
|
if (L_39)
|
|
{
|
|
goto IL_00eb;
|
|
}
|
|
}
|
|
{
|
|
// targetTexture.useMipMap = targetTexture.autoGenerateMips = requiresMipmap;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_40 = ___targetTexture1;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_41 = ___targetTexture1;
|
|
bool L_42 = V_4;
|
|
bool L_43 = L_42;
|
|
V_5 = L_43;
|
|
RenderTexture_set_autoGenerateMips_mDEFAC13954D315DE52B35B34577218D3AD4897A9(L_41, L_43, NULL);
|
|
bool L_44 = V_5;
|
|
RenderTexture_set_useMipMap_mB280A39DAB18372D3A0050FF20F730E5B0B44C32(L_40, L_44, NULL);
|
|
// targetTexture.Create();
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_45 = ___targetTexture1;
|
|
bool L_46;
|
|
L_46 = RenderTexture_Create_mA6E4D3CCC84AC3F68E85AA0D6609E1692C672AD2(L_45, NULL);
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// bool prevSRGB = GL.sRGBWrite;
|
|
bool L_47;
|
|
L_47 = GL_get_sRGBWrite_m0E8DDA5982CEB64D98CBF108A81D719637BDA5C1(NULL);
|
|
// GL.sRGBWrite = targetTexture.sRGB;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_48 = ___targetTexture1;
|
|
bool L_49;
|
|
L_49 = RenderTexture_get_sRGB_m84B7CD257050BA42363E9D1562AFEF2854BB4E04(L_48, NULL);
|
|
GL_set_sRGBWrite_m28E2276D0879B7BAD039B14B10E470D312CDE0C8(L_49, NULL);
|
|
// RenderTexture prev = RenderTexture.active;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_50;
|
|
L_50 = RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7(NULL);
|
|
// if (scaleMode == ScaleMode.StretchToFill)
|
|
int32_t L_51 = ___scaleMode4;
|
|
G_B25_0 = L_50;
|
|
G_B25_1 = L_47;
|
|
if (L_51)
|
|
{
|
|
G_B26_0 = L_50;
|
|
G_B26_1 = L_47;
|
|
goto IL_0114;
|
|
}
|
|
}
|
|
{
|
|
// Graphics.Blit(texture.GetTexture(0), targetTexture, resolveMaterial);
|
|
RuntimeObject* L_52 = ___texture2;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_53;
|
|
L_53 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_52, 0);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_54 = ___targetTexture1;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_55 = ___resolveMaterial0;
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_Blit_m8DFE1C855FA028398E5072592582721D5DA6253F(L_53, L_54, L_55, NULL);
|
|
G_B29_0 = G_B25_0;
|
|
G_B29_1 = G_B25_1;
|
|
goto IL_0165;
|
|
}
|
|
|
|
IL_0114:
|
|
{
|
|
// RenderTexture.active = targetTexture;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_56 = ___targetTexture1;
|
|
RenderTexture_set_active_m5EE8E2327EF9B306C1425014CC34C41A8384E7AB(L_56, NULL);
|
|
// bool partialAreaRender = (scaleMode == ScaleMode.ScaleToFit);
|
|
int32_t L_57 = ___scaleMode4;
|
|
// if (partialAreaRender)
|
|
G_B27_0 = G_B26_0;
|
|
G_B27_1 = G_B26_1;
|
|
if (!((((int32_t)L_57) == ((int32_t)2))? 1 : 0))
|
|
{
|
|
G_B28_0 = G_B26_0;
|
|
G_B28_1 = G_B26_1;
|
|
goto IL_012d;
|
|
}
|
|
}
|
|
{
|
|
// GL.Clear(false, true, Color.black);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_58;
|
|
L_58 = Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline(NULL);
|
|
GL_Clear_mA172E771FC32B516DB826F537832307C3A16BE09((bool)0, (bool)1, L_58, NULL);
|
|
G_B28_0 = G_B27_0;
|
|
G_B28_1 = G_B27_1;
|
|
}
|
|
|
|
IL_012d:
|
|
{
|
|
// VideoRender.DrawTexture(new Rect(0f, 0f, targetTexture.width, targetTexture.height), texture.GetTexture(0), scaleMode, texture.GetTextureAlphaPacking(), texture.GetTexturePixelAspectRatio(), resolveMaterial);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_59 = ___targetTexture1;
|
|
int32_t L_60;
|
|
L_60 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_59);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_61 = ___targetTexture1;
|
|
int32_t L_62;
|
|
L_62 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_61);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_63;
|
|
memset((&L_63), 0, sizeof(L_63));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_63), (0.0f), (0.0f), ((float)L_60), ((float)L_62), /*hidden argument*/NULL);
|
|
RuntimeObject* L_64 = ___texture2;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_65;
|
|
L_65 = InterfaceFuncInvoker1< Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700*, int32_t >::Invoke(1 /* UnityEngine.Texture RenderHeads.Media.AVProVideo.ITextureProducer::GetTexture(System.Int32) */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_64, 0);
|
|
int32_t L_66 = ___scaleMode4;
|
|
RuntimeObject* L_67 = ___texture2;
|
|
int32_t L_68;
|
|
L_68 = InterfaceFuncInvoker0< int32_t >::Invoke(9 /* RenderHeads.Media.AVProVideo.AlphaPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureAlphaPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_67);
|
|
RuntimeObject* L_69 = ___texture2;
|
|
float L_70;
|
|
L_70 = InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single RenderHeads.Media.AVProVideo.ITextureProducer::GetTexturePixelAspectRatio() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_69);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_71 = ___resolveMaterial0;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_DrawTexture_m39D02C4B89D024F0E3368F7CAFDF59B6403CD96C(L_63, L_65, L_66, L_68, L_70, L_71, NULL);
|
|
G_B29_0 = G_B28_0;
|
|
G_B29_1 = G_B28_1;
|
|
}
|
|
|
|
IL_0165:
|
|
{
|
|
// RenderTexture.active = prev;
|
|
RenderTexture_set_active_m5EE8E2327EF9B306C1425014CC34C41A8384E7AB(G_B29_0, NULL);
|
|
// GL.sRGBWrite = prevSRGB;
|
|
GL_set_sRGBWrite_m28E2276D0879B7BAD039B14B10E470D312CDE0C8(G_B29_1, NULL);
|
|
// return targetTexture;
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_72 = ___targetTexture1;
|
|
return L_72;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::GetResolveTextureSize(RenderHeads.Media.AVProVideo.AlphaPacking,RenderHeads.Media.AVProVideo.StereoPacking,RenderHeads.Media.AVProVideo.StereoEye,System.Single,System.Int32&,System.Int32&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_GetResolveTextureSize_m1093BEC59EE8876534B37AE2E99895D06F3BB882 (int32_t ___alphaPacking0, int32_t ___stereoPacking1, int32_t ___eyeMode2, float ___pixelAspectRatio3, int32_t* ___width4, int32_t* ___height5, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___alphaPacking0;
|
|
if ((((int32_t)L_0) == ((int32_t)1)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___alphaPacking0;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// width /= 2;
|
|
int32_t* L_2 = ___width4;
|
|
int32_t* L_3 = ___width4;
|
|
int32_t L_4 = *((int32_t*)L_3);
|
|
*((int32_t*)L_2) = (int32_t)((int32_t)(L_4/2));
|
|
// break;
|
|
goto IL_001a;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// height /= 2;
|
|
int32_t* L_5 = ___height5;
|
|
int32_t* L_6 = ___height5;
|
|
int32_t L_7 = *((int32_t*)L_6);
|
|
*((int32_t*)L_5) = (int32_t)((int32_t)(L_7/2));
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (eyeMode != StereoEye.Both)
|
|
int32_t L_8 = ___eyeMode2;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_9 = ___stereoPacking1;
|
|
if ((((int32_t)L_9) == ((int32_t)1)))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_10 = ___stereoPacking1;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
// width /= 2;
|
|
int32_t* L_11 = ___width4;
|
|
int32_t* L_12 = ___width4;
|
|
int32_t L_13 = *((int32_t*)L_12);
|
|
*((int32_t*)L_11) = (int32_t)((int32_t)(L_13/2));
|
|
// break;
|
|
goto IL_0037;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// height /= 2;
|
|
int32_t* L_14 = ___height5;
|
|
int32_t* L_15 = ___height5;
|
|
int32_t L_16 = *((int32_t*)L_15);
|
|
*((int32_t*)L_14) = (int32_t)((int32_t)(L_16/2));
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// if (pixelAspectRatio > 0f)
|
|
float L_17 = ___pixelAspectRatio3;
|
|
if ((!(((float)L_17) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// if (pixelAspectRatio > 1f)
|
|
float L_18 = ___pixelAspectRatio3;
|
|
if ((!(((float)L_18) > ((float)(1.0f)))))
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// width = Mathf.RoundToInt(width * pixelAspectRatio);
|
|
int32_t* L_19 = ___width4;
|
|
int32_t* L_20 = ___width4;
|
|
int32_t L_21 = *((int32_t*)L_20);
|
|
float L_22 = ___pixelAspectRatio3;
|
|
int32_t L_23;
|
|
L_23 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)il2cpp_codegen_multiply(((float)L_21), L_22)), NULL);
|
|
*((int32_t*)L_19) = (int32_t)L_23;
|
|
return;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// else if (pixelAspectRatio < 1f)
|
|
float L_24 = ___pixelAspectRatio3;
|
|
if ((!(((float)L_24) < ((float)(1.0f)))))
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
}
|
|
{
|
|
// height = Mathf.RoundToInt(height / pixelAspectRatio);
|
|
int32_t* L_25 = ___height5;
|
|
int32_t* L_26 = ___height5;
|
|
int32_t L_27 = *((int32_t*)L_26);
|
|
float L_28 = ___pixelAspectRatio3;
|
|
int32_t L_29;
|
|
L_29 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)(((float)L_27)/L_28)), NULL);
|
|
*((int32_t*)L_25) = (int32_t)L_29;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean RenderHeads.Media.AVProVideo.VideoRender::RequiresResolve(RenderHeads.Media.AVProVideo.ITextureProducer)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool VideoRender_RequiresResolve_m0B743BC39ABEBEC751ED664C3181065D3C5E87E4 (RuntimeObject* ___texture0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return (texture.GetTextureAlphaPacking() != AlphaPacking.None ||
|
|
// texture.RequiresVerticalFlip() ||
|
|
// texture.GetTextureStereoPacking() != StereoPacking.None ||
|
|
// texture.GetTextureCount() > 1
|
|
// );
|
|
RuntimeObject* L_0 = ___texture0;
|
|
int32_t L_1;
|
|
L_1 = InterfaceFuncInvoker0< int32_t >::Invoke(9 /* RenderHeads.Media.AVProVideo.AlphaPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureAlphaPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_0);
|
|
if (L_1)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_2 = ___texture0;
|
|
bool L_3;
|
|
L_3 = InterfaceFuncInvoker0< bool >::Invoke(6 /* System.Boolean RenderHeads.Media.AVProVideo.ITextureProducer::RequiresVerticalFlip() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_2);
|
|
if (L_3)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_4 = ___texture0;
|
|
int32_t L_5;
|
|
L_5 = InterfaceFuncInvoker0< int32_t >::Invoke(7 /* RenderHeads.Media.AVProVideo.StereoPacking RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureStereoPacking() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_4);
|
|
if (L_5)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_6 = ___texture0;
|
|
int32_t L_7;
|
|
L_7 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 RenderHeads.Media.AVProVideo.ITextureProducer::GetTextureCount() */, ITextureProducer_t2E2E963D1B1BBB0BE88F60A1922F7349182CF0F4_il2cpp_TypeInfo_var, L_6);
|
|
return (bool)((((int32_t)L_7) > ((int32_t)1))? 1 : 0);
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
return (bool)1;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::DrawTexture(UnityEngine.Rect,UnityEngine.Texture,UnityEngine.ScaleMode,RenderHeads.Media.AVProVideo.AlphaPacking,System.Single,UnityEngine.Material)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender_DrawTexture_m39D02C4B89D024F0E3368F7CAFDF59B6403CD96C (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___destRect0, Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* ___texture1, int32_t ___scaleMode2, int32_t ___alphaPacking3, float ___pixelAspectRatio4, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___material5, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GUI_tA9CDB3D69DB13D51AD83ABDB587EF95947EC2D2A_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
float V_2 = 0.0f;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
{
|
|
// if (Event.current == null || Event.current.type == EventType.Repaint)
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* L_0;
|
|
L_0 = Event_get_current_mBD7135E10C392EAD61AC0A0D2489EF758C8A3FAD(NULL);
|
|
if (!L_0)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB* L_1;
|
|
L_1 = Event_get_current_mBD7135E10C392EAD61AC0A0D2489EF758C8A3FAD(NULL);
|
|
int32_t L_2;
|
|
L_2 = Event_get_type_m8A825D6DA432B967DAA3E22E5C8571620A75F8A8(L_1, NULL);
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)7))))
|
|
{
|
|
goto IL_01e4;
|
|
}
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// int sourceWidth = texture.width;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_3 = ___texture1;
|
|
int32_t L_4;
|
|
L_4 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_3);
|
|
V_0 = L_4;
|
|
// int sourceHeight = texture.height;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_5 = ___texture1;
|
|
int32_t L_6;
|
|
L_6 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_5);
|
|
V_1 = L_6;
|
|
// GetResolveTextureSize(alphaPacking, StereoPacking.Unknown, StereoEye.Both, pixelAspectRatio, ref sourceWidth, ref sourceHeight);
|
|
int32_t L_7 = ___alphaPacking3;
|
|
float L_8 = ___pixelAspectRatio4;
|
|
il2cpp_codegen_runtime_class_init_inline(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
VideoRender_GetResolveTextureSize_m1093BEC59EE8876534B37AE2E99895D06F3BB882(L_7, ((int32_t)10), 0, L_8, (&V_0), (&V_1), NULL);
|
|
// float sourceRatio = (float)sourceWidth / (float)sourceHeight;
|
|
int32_t L_9 = V_0;
|
|
int32_t L_10 = V_1;
|
|
V_2 = ((float)(((float)L_9)/((float)L_10)));
|
|
// Rect sourceRect = new Rect(0f, 0f, 1f, 1f);
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&V_3), (0.0f), (0.0f), (1.0f), (1.0f), NULL);
|
|
int32_t L_11 = ___scaleMode2;
|
|
switch (L_11)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0178;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_006c;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_00da;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0178;
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// float destRatio = destRect.width / destRect.height;
|
|
float L_12;
|
|
L_12 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___destRect0), NULL);
|
|
float L_13;
|
|
L_13 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___destRect0), NULL);
|
|
V_4 = ((float)(L_12/L_13));
|
|
// if (destRatio > sourceRatio)
|
|
float L_14 = V_4;
|
|
float L_15 = V_2;
|
|
if ((!(((float)L_14) > ((float)L_15))))
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
// float adjust = sourceRatio / destRatio;
|
|
float L_16 = V_2;
|
|
float L_17 = V_4;
|
|
V_5 = ((float)(L_16/L_17));
|
|
// sourceRect = new Rect(0f, (1f - adjust) * 0.5f, 1f, adjust);
|
|
float L_18 = V_5;
|
|
float L_19 = V_5;
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&V_3), (0.0f), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_18)), (0.5f))), (1.0f), L_19, NULL);
|
|
goto IL_0178;
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// float adjust = destRatio / sourceRatio;
|
|
float L_20 = V_4;
|
|
float L_21 = V_2;
|
|
V_6 = ((float)(L_20/L_21));
|
|
// sourceRect = new Rect(0.5f - adjust * 0.5f, 0f, adjust, 1f);
|
|
float L_22 = V_6;
|
|
float L_23 = V_6;
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&V_3), ((float)il2cpp_codegen_subtract((0.5f), ((float)il2cpp_codegen_multiply(L_22, (0.5f))))), (0.0f), L_23, (1.0f), NULL);
|
|
// break;
|
|
goto IL_0178;
|
|
}
|
|
|
|
IL_00da:
|
|
{
|
|
// float destRatio = destRect.width / destRect.height;
|
|
float L_24;
|
|
L_24 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___destRect0), NULL);
|
|
float L_25;
|
|
L_25 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___destRect0), NULL);
|
|
V_7 = ((float)(L_24/L_25));
|
|
// if (destRatio > sourceRatio)
|
|
float L_26 = V_7;
|
|
float L_27 = V_2;
|
|
if ((!(((float)L_26) > ((float)L_27))))
|
|
{
|
|
goto IL_0135;
|
|
}
|
|
}
|
|
{
|
|
// float adjust = sourceRatio / destRatio;
|
|
float L_28 = V_2;
|
|
float L_29 = V_7;
|
|
V_8 = ((float)(L_28/L_29));
|
|
// destRect = new Rect(destRect.xMin + destRect.width * (1f - adjust) * 0.5f, destRect.yMin, adjust * destRect.width, destRect.height);
|
|
float L_30;
|
|
L_30 = Rect_get_xMin_mE89C40702926D016A633399E20DB9501E251630D((&___destRect0), NULL);
|
|
float L_31;
|
|
L_31 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___destRect0), NULL);
|
|
float L_32 = V_8;
|
|
float L_33;
|
|
L_33 = Rect_get_yMin_mB19848FB25DE61EDF958F7A22CFDD86DE103062F((&___destRect0), NULL);
|
|
float L_34 = V_8;
|
|
float L_35;
|
|
L_35 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___destRect0), NULL);
|
|
float L_36;
|
|
L_36 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___destRect0), NULL);
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&___destRect0), ((float)il2cpp_codegen_add(L_30, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_31, ((float)il2cpp_codegen_subtract((1.0f), L_32)))), (0.5f))))), L_33, ((float)il2cpp_codegen_multiply(L_34, L_35)), L_36, NULL);
|
|
goto IL_0178;
|
|
}
|
|
|
|
IL_0135:
|
|
{
|
|
// float adjust = destRatio / sourceRatio;
|
|
float L_37 = V_7;
|
|
float L_38 = V_2;
|
|
V_9 = ((float)(L_37/L_38));
|
|
// destRect = new Rect(destRect.xMin, destRect.yMin + destRect.height * (1f - adjust) * 0.5f, destRect.width, adjust * destRect.height);
|
|
float L_39;
|
|
L_39 = Rect_get_xMin_mE89C40702926D016A633399E20DB9501E251630D((&___destRect0), NULL);
|
|
float L_40;
|
|
L_40 = Rect_get_yMin_mB19848FB25DE61EDF958F7A22CFDD86DE103062F((&___destRect0), NULL);
|
|
float L_41;
|
|
L_41 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___destRect0), NULL);
|
|
float L_42 = V_9;
|
|
float L_43;
|
|
L_43 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___destRect0), NULL);
|
|
float L_44 = V_9;
|
|
float L_45;
|
|
L_45 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___destRect0), NULL);
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&___destRect0), L_39, ((float)il2cpp_codegen_add(L_40, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_41, ((float)il2cpp_codegen_subtract((1.0f), L_42)))), (0.5f))))), L_43, ((float)il2cpp_codegen_multiply(L_44, L_45)), NULL);
|
|
}
|
|
|
|
IL_0178:
|
|
{
|
|
// GL.PushMatrix();
|
|
GL_PushMatrix_mB505DD9B224528266FCADC716A16343838105A09(NULL);
|
|
// if (RenderTexture.active == null)
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_46;
|
|
L_46 = RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7(NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_47;
|
|
L_47 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_46, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_47)
|
|
{
|
|
goto IL_01a7;
|
|
}
|
|
}
|
|
{
|
|
// GL.LoadPixelMatrix(0f, Screen.width, Screen.height, 0f);
|
|
int32_t L_48;
|
|
L_48 = Screen_get_width_mF608FF3252213E7EFA1F0D2F744C28110E9E5AC9(NULL);
|
|
int32_t L_49;
|
|
L_49 = Screen_get_height_m01A3102DE71EE1FBEA51D09D6B0261CF864FE8F9(NULL);
|
|
GL_LoadPixelMatrix_mF1C5A4508C5F110512C116A5DDE7AB0483FE961A((0.0f), ((float)L_48), ((float)L_49), (0.0f), NULL);
|
|
goto IL_01cc;
|
|
}
|
|
|
|
IL_01a7:
|
|
{
|
|
// GL.LoadPixelMatrix(0f, RenderTexture.active.width, RenderTexture.active.height, 0f);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_50;
|
|
L_50 = RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7(NULL);
|
|
int32_t L_51;
|
|
L_51 = VirtualFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_width() */, L_50);
|
|
RenderTexture_tBA90C4C3AD9EECCFDDCC632D97C29FAB80D60D27* L_52;
|
|
L_52 = RenderTexture_get_active_mA4434B3E79DEF2C01CAE0A53061598B16443C9E7(NULL);
|
|
int32_t L_53;
|
|
L_53 = VirtualFuncInvoker0< int32_t >::Invoke(7 /* System.Int32 UnityEngine.Texture::get_height() */, L_52);
|
|
GL_LoadPixelMatrix_mF1C5A4508C5F110512C116A5DDE7AB0483FE961A((0.0f), ((float)L_51), ((float)L_53), (0.0f), NULL);
|
|
}
|
|
|
|
IL_01cc:
|
|
{
|
|
// Graphics.DrawTexture(destRect, texture, sourceRect, 0, 0, 0, 0, GUI.color, material);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_54 = ___destRect0;
|
|
Texture_t791CBB51219779964E0E8A2ED7C1AA5F92A4A700* L_55 = ___texture1;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_56 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(GUI_tA9CDB3D69DB13D51AD83ABDB587EF95947EC2D2A_il2cpp_TypeInfo_var);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_57;
|
|
L_57 = GUI_get_color_m15488B4AD785D10DEB5C66398D0FA9A0C0EA7ABB(NULL);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_58 = ___material5;
|
|
il2cpp_codegen_runtime_class_init_inline(Graphics_t99CD970FFEA58171C70F54DF0C06D315BD452F2C_il2cpp_TypeInfo_var);
|
|
Graphics_DrawTexture_m51E330054D8D18EA1C3A455B529B192BBB1AA2D3(L_54, L_55, L_56, 0, 0, 0, 0, L_57, L_58, NULL);
|
|
// GL.PopMatrix();
|
|
GL_PopMatrix_mCE0D33302104D1168B6382136039E979E8C02855(NULL);
|
|
}
|
|
|
|
IL_01e4:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender__ctor_m76F1033DD511845D70DF4611BCBC0839079A8629 (VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void RenderHeads.Media.AVProVideo.VideoRender::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VideoRender__cctor_m67E29A688597192C4934C92CA72DDCE40E1F426B (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0CFF853ED08FCFAB98A89B5B716B7EF1B1D5C2CB);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral15235BC74165BBF5347EE41E8B0CA2D1D04C3586);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2E966C309AC3040D7968E7959BEF68433E5D4571);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3F42B9F0F106EADBC5A6D35B0C706AB9041D29C8);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral67C144DCC155B060105008F360F054296C74C2C2);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8C1F9317F0F6CD38539297951AC9FF62130D82D9);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8D9AA8ED3AAB83BAA504E8F588ECACB284144F75);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9E7B8EB481D432B24624CC9573E7AC2E516E7B43);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA2E807FC179DB9A7A82AAE7B84F522CB007A8FB3);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB5696D802E93F47F31F1E298FB7F74857D3CC019);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD5A59EF736212174C538CE94E1A1BC47039BEBCB);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD98831812CE8E8678A487B2CD329A0E36D2B78CA);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE2DD33BCD541DA280E529743F65CB84C9541BC9);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE9FAF482EBF07DB48E259D5B8D2B04A5EF5EFA9);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public static readonly LazyShaderProperty PropChromaTex = new LazyShaderProperty("_ChromaTex");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_0), _stringLiteral0CFF853ED08FCFAB98A89B5B716B7EF1B1D5C2CB, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropChromaTex_19 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropChromaTex_19))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropVertScale = new LazyShaderProperty("_VertScale");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_1), _stringLiteral15235BC74165BBF5347EE41E8B0CA2D1D04C3586, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropVertScale_20 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropVertScale_20))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropApplyGamma = new LazyShaderProperty("_ApplyGamma");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_2), _stringLiteralD98831812CE8E8678A487B2CD329A0E36D2B78CA, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropApplyGamma_21 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropApplyGamma_21))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropStereo = new LazyShaderProperty("Stereo");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_3), _stringLiteral67C144DCC155B060105008F360F054296C74C2C2, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropStereo_22 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropStereo_22))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropAlphaPack = new LazyShaderProperty("AlphaPack");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_4), _stringLiteral2E966C309AC3040D7968E7959BEF68433E5D4571, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropAlphaPack_23 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropAlphaPack_23))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropLayout = new LazyShaderProperty("Layout");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_5;
|
|
memset((&L_5), 0, sizeof(L_5));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_5), _stringLiteral3F42B9F0F106EADBC5A6D35B0C706AB9041D29C8, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropLayout_24 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropLayout_24))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropViewMatrix = new LazyShaderProperty("_ViewMatrix");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_6), _stringLiteralD5A59EF736212174C538CE94E1A1BC47039BEBCB, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropViewMatrix_25 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropViewMatrix_25))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropTextureMatrix = new LazyShaderProperty("_TextureMatrix");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_7;
|
|
memset((&L_7), 0, sizeof(L_7));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_7), _stringLiteralA2E807FC179DB9A7A82AAE7B84F522CB007A8FB3, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropTextureMatrix_26 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropTextureMatrix_26))->____name_0), (void*)NULL);
|
|
// public static string Keyword_UseHSBC = "USE_HSBC";
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___Keyword_UseHSBC_27 = _stringLiteral8D9AA8ED3AAB83BAA504E8F588ECACB284144F75;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___Keyword_UseHSBC_27), (void*)_stringLiteral8D9AA8ED3AAB83BAA504E8F588ECACB284144F75);
|
|
// public static readonly LazyShaderProperty PropHue = new LazyShaderProperty("_Hue");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_8), _stringLiteral9E7B8EB481D432B24624CC9573E7AC2E516E7B43, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropHue_28 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropHue_28))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropSaturation = new LazyShaderProperty("_Saturation");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_9), _stringLiteralDE9FAF482EBF07DB48E259D5B8D2B04A5EF5EFA9, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropSaturation_29 = L_9;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropSaturation_29))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropContrast = new LazyShaderProperty("_Contrast");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_10;
|
|
memset((&L_10), 0, sizeof(L_10));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_10), _stringLiteralDE2DD33BCD541DA280E529743F65CB84C9541BC9, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropContrast_30 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropContrast_30))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropBrightness = new LazyShaderProperty("_Brightness");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_11;
|
|
memset((&L_11), 0, sizeof(L_11));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_11), _stringLiteralB5696D802E93F47F31F1E298FB7F74857D3CC019, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropBrightness_31 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropBrightness_31))->____name_0), (void*)NULL);
|
|
// public static readonly LazyShaderProperty PropInvGamma = new LazyShaderProperty("_InvGamma");
|
|
LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
LazyShaderProperty__ctor_m8ED101F36917F43BB66BF3D8EC0FB4459C871529((&L_12), _stringLiteral8C1F9317F0F6CD38539297951AC9FF62130D82D9, /*hidden argument*/NULL);
|
|
((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropInvGamma_32 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)&(((&((VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_StaticFields*)il2cpp_codegen_static_fields_for(VideoRender_t9550127CBB9080D343C16F14F77F7C7DD8D26A0F_il2cpp_TypeInfo_var))->___PropInvGamma_32))->____name_0), (void*)NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___value0, float ___min1, float ___max2, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
{
|
|
float L_0 = ___value0;
|
|
float L_1 = ___min1;
|
|
V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = ___min1;
|
|
___value0 = L_3;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
float L_4 = ___value0;
|
|
float L_5 = ___max2;
|
|
V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
|
|
bool L_6 = V_1;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
float L_7 = ___max2;
|
|
___value0 = L_7;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
float L_8 = ___value0;
|
|
V_2 = L_8;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
float L_9 = V_2;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TextCue_set_Text_mD2763F8269C7BB5FD9F0763F69D83F7334EC1052_inline (TextCue_tB65292A88DA25D6C406082C8DD7A107151FB0210* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Text { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CTextU3Ek__BackingField_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CTextU3Ek__BackingField_0), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_TrackType_mDC51E2EBEE0A33EDF85380E88E51817FCF0D7A4F_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public TrackType TrackType { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CTrackTypeU3Ek__BackingField_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_Uid_mBE149B8253B1CAC549ED47172CDA6222EC987A09_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, int32_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal int Uid { get; private set; }
|
|
int32_t L_0 = ___value0;
|
|
__this->___U3CUidU3Ek__BackingField_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_Name_m7BEB71CCA26B2FF14FFF697CC9E2A6042D610711_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Name { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CNameU3Ek__BackingField_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CNameU3Ek__BackingField_3), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_Language_m8B930B8EA5E9EE7446E0F268FFDC71FC88AD3619_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Language { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CLanguageU3Ek__BackingField_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CLanguageU3Ek__BackingField_4), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_IsDefault_mBE4CAE02379C29F1294F82AE67A27442BE432636_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, bool ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool IsDefault { get; private set; }
|
|
bool L_0 = ___value0;
|
|
__this->___U3CIsDefaultU3Ek__BackingField_5 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TrackBase_set_DisplayName_mF3AF8B7A9C87FF6FCAFB30667E7F29A3EEF78704_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, String_t* ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string DisplayName { get; private set; }
|
|
String_t* L_0 = ___value0;
|
|
__this->___U3CDisplayNameU3Ek__BackingField_2 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CDisplayNameU3Ek__BackingField_2), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* TrackBase_get_Name_m01740047C8D985F2B6861D5668E700BDF9025B67_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Name { get; private set; }
|
|
String_t* L_0 = __this->___U3CNameU3Ek__BackingField_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t TrackBase_get_Uid_m8173B84FCBEC945BCF7B8409B0ECDFF6C7F67B6B_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal int Uid { get; private set; }
|
|
int32_t L_0 = __this->___U3CUidU3Ek__BackingField_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* TrackBase_get_Language_m884A41A99D5F115C30D097CFCA3013F06E515E6C_inline (TrackBase_t5ACAB4713ACCBC93F73F7272103A21F79B84BDAE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Language { get; private set; }
|
|
String_t* L_0 = __this->___U3CLanguageU3Ek__BackingField_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = __this->____stringLength_4;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline (int32_t ___a0, int32_t ___b1, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t G_B3_0 = 0;
|
|
{
|
|
int32_t L_0 = ___a0;
|
|
int32_t L_1 = ___b1;
|
|
if ((((int32_t)L_0) > ((int32_t)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = ___b1;
|
|
G_B3_0 = L_2;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_3 = ___a0;
|
|
G_B3_0 = L_3;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Resampler_set_TextureTimeStamp_mCDD4505315EEA519591775DD9C0384713B3F2B40_inline (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, int64_t ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get; private set;
|
|
int64_t L_0 = ___value0;
|
|
__this->___U3CTextureTimeStampU3Ek__BackingField_17 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___a0, float ___b1, float ___t2, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = ___a0;
|
|
float L_1 = ___b1;
|
|
float L_2 = ___a0;
|
|
float L_3 = ___t2;
|
|
float L_4;
|
|
L_4 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_3, NULL);
|
|
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_4))));
|
|
goto IL_0010;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
float L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Resampler_set_LastT_mC0A0BE8D8A073BCA6524B182073DCF0D7288382F_inline (Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* __this, float ___value0, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get; private set;
|
|
float L_0 = ___value0;
|
|
__this->___U3CLastTU3Ek__BackingField_16 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* LazyShaderProperty_get_Name_m647CC5EE748F44A502314D8D96FF99795FBB63EC_inline (LazyShaderProperty_t24463722BC8B8F32C7F8FBAAF5BD64F4B7DA964C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public string Name { get { return _name;} }
|
|
String_t* L_0 = __this->____name_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool MediaPlayer_get_UseResampler_m889BFBE683DD30406908AC8B7B862A8AD3DB7454_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public bool UseResampler { get { return _useResampler; } set { _useResampler = value; } }
|
|
bool L_0 = __this->____useResampler_16;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* MediaPlayer_get_FrameResampler_m80964CB71EDF60E1107493F5478AA203D1779DA0_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Resampler FrameResampler { get { return _resampler; } }
|
|
Resampler_t0EB1CF2AF535A9459DEAD26A39B81914493D99D8* L_0 = __this->____resampler_19;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ((Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields*)il2cpp_codegen_static_fields_for(Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var))->___identityMatrix_17;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605* MediaPlayer_get_PlatformOptionsAndroid_m99C4FEF7199FEEEA9948F9D47E70CAB483534AE7_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public OptionsAndroid PlatformOptionsAndroid { get { return _optionsAndroid; } }
|
|
OptionsAndroid_tAA6AF0A9E05628A98466658F6665525A63EFA605* L_0 = __this->____optionsAndroid_78;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t MediaPlayer_get_VideoLayoutMapping_m1F4908E9231423D117015771EA125A25015E27DB_inline (MediaPlayer_t8060E71DC0573661F0F6AC68DD0DB9243CA924E6* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public VideoMapping VideoLayoutMapping { get { return _videoMapping; } set { _videoMapping = value; } }
|
|
int32_t L_0 = __this->____videoMapping_20;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mB50217951591A045844C61E7FF31EEE3FEF16737_inline (const RuntimeMethod* method)
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
|
|
V_0 = L_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___f0, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
float L_0 = ___f0;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = bankers_round(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m89F3701AB37843CB3EE7AD2B07705777E77BB500_gshared_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!true)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* L_3 = (HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m44D9195D181A128CB1A5198C311C0BEDD2BFB928_gshared_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 ___item0, const RuntimeMethod* method)
|
|
{
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* L_1 = (HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* L_4 = V_0;
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
HttpHeaderU5BU5D_tDD63427A8F0CCA2F6C8CCB9B447095AB7D68B7F9* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 L_8 = ___item0;
|
|
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7), (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 L_9 = ___item0;
|
|
(( void (*) (List_1_t348DB816683936C664231900D6E77653B7AE20F8*, HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mE03A0704B9E0C5CC2DA611D06F015F00115C2CC1_gshared_inline (List_1_t348DB816683936C664231900D6E77653B7AE20F8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 Enumerator_get_Current_mBB72391CC644B2A72856BDA0F76F521A115F718A_gshared_inline (Enumerator_tE962FCCE4EDA16C87CFA132CDAF483D751F99208* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45 L_0 = (HttpHeader_tBB03B8AEA0B7B25D6B59C1AF8E69F4679DD00A45)__this->____current_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!true)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_3 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___item0, const RuntimeMethod* method)
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = V_0;
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
RuntimeObject* L_8 = ___item0;
|
|
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_7), (RuntimeObject*)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
RuntimeObject* L_9 = ___item0;
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, RuntimeObject*, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___value0, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
bool V_2 = false;
|
|
{
|
|
float L_0 = ___value0;
|
|
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
|
|
bool L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (0.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
float L_2 = ___value0;
|
|
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
|
|
bool L_3 = V_2;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (1.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
float L_4 = ___value0;
|
|
V_1 = L_4;
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_5 = V_1;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___r0;
|
|
__this->___r_0 = L_0;
|
|
float L_1 = ___g1;
|
|
__this->___g_1 = L_1;
|
|
float L_2 = ___b2;
|
|
__this->___b_2 = L_2;
|
|
float L_3 = ___a3;
|
|
__this->___a_3 = L_3;
|
|
return;
|
|
}
|
|
}
|