- Added trees outside the stable.
- Added a video player with horse songs preloaded. - Adjusted post-processing to be less harsh outdoors, and more visible indoors.
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bcf659e3a94d748d6a100d5531540d1a
|
||||
folderAsset: yes
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
- first:
|
||||
'': Any
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Editor: 1
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 0
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DefaultValueInitialized: true
|
||||
OS: AnyOS
|
||||
- first:
|
||||
Facebook: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Facebook: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Linux
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: x86
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: x86_64
|
||||
- first:
|
||||
Standalone: LinuxUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
- first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies: Metal;
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83a51562de0d5481bb7365629a25cfa9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,67 @@
|
||||
//
|
||||
// AVProVideo.h
|
||||
// AVProVideo
|
||||
//
|
||||
// Created by Morris Butler on 21/05/2020.
|
||||
// Copyright © 2020 RenderHeads. All rights reserved.
|
||||
//
|
||||
|
||||
#import "AVProVideoTypes.h"
|
||||
|
||||
//! Project version number for AVPro Video.
|
||||
FOUNDATION_EXPORT double AVProVideoVersionNumber;
|
||||
|
||||
//! Project version string for AVPro Video.
|
||||
FOUNDATION_EXPORT const unsigned char AVProVideoVersionString[];
|
||||
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
void * AVPPluginGetVersionStringPointer(void);
|
||||
AVPPlayerRef AVPPluginMakePlayer(AVPPlayerSettings settings);
|
||||
|
||||
void AVPPlayerRelease(AVPPlayerRef player);
|
||||
|
||||
bool AVPPlayerOpenURL(AVPPlayerRef player, const char *url, const char *headers);
|
||||
void AVPPlayerClose(AVPPlayerRef player);
|
||||
|
||||
void AVPPlayerGetState(AVPPlayerRef player, AVPPlayerState *state);
|
||||
void AVPPlayerGetAssetInfo(AVPPlayerRef player, AVPPlayerAssetInfo *info);
|
||||
void AVPPlayerGetBufferedTimeRanges(AVPPlayerRef player, AVPPlayerTimeRange *ranges, int count);
|
||||
void AVPPlayerGetSeekableTimeRanges(AVPPlayerRef player, AVPPlayerTimeRange *ranges, int count);
|
||||
void AVPPlayerGetTexture(AVPPlayerRef player, AVPPlayerTexture *texture);
|
||||
void AVPPlayerGetText(AVPPlayerRef player, AVPPlayerText *text);
|
||||
int AVPPlayerGetAudio(AVPPlayerRef player, float *buffer, int length);
|
||||
|
||||
void AVPPlayerGetVideoTrackInfo(AVPPlayerRef player, int index, AVPPlayerVideoTrackInfo *info);
|
||||
void AVPPlayerGetAudioTrackInfo(AVPPlayerRef player, int index, AVPPlayerAudioTrackInfo *info);
|
||||
void AVPPlayerGetTextTrackInfo(AVPPlayerRef player, int index, AVPPlayerTextTrackInfo *info);
|
||||
|
||||
void AVPPlayerSetFlags(AVPPlayerRef player, int flags);
|
||||
void AVPPlayerSetRate(AVPPlayerRef player, float rate);
|
||||
void AVPPlayerSetVolume(AVPPlayerRef player, float volume);
|
||||
void AVPPlayerSetExternalPlaybackVideoGravity(AVPPlayerRef player, AVPPlayerExternalPlaybackVideoGravity externalPlaybackVideoGravity);
|
||||
bool AVPPlayerSetTrack(AVPPlayerRef player, AVPPlayerTrackType type, int index);
|
||||
void AVPPlayerSetPlayerSettings(AVPPlayerRef player, AVPPlayerSettings settings);
|
||||
|
||||
void AVPPlayerSeek(AVPPlayerRef player, double toTime, double toleranceBefore, double toleranceAfter);
|
||||
|
||||
void AVPPlayerSetKeyServerURL(AVPPlayerRef player, const char *url);
|
||||
void AVPPlayerSetKeyServerAuthToken(AVPPlayerRef player, const char *token);
|
||||
void AVPPlayerSetDecryptionKey(AVPPlayerRef player, const char *key, int length);
|
||||
|
||||
void AVPPluginUnityRegisterRenderingPlugin(void *registerRenderingPluginFunction);
|
||||
|
||||
void AVPPluginCacheMediaForURL(const char *url, const char *headers, AVPMediaCachingOptions options);
|
||||
void AVPPluginCancelDownloadOfMediaForURL(const char *url);
|
||||
void AVPPluginRemoveCachedMediaForURL(const char *url);
|
||||
int AVPPluginGetCachedMediaStatusForURL(const char *url, float *progress);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
+375
@@ -0,0 +1,375 @@
|
||||
//
|
||||
// AVProVideoTypes.h
|
||||
// AVProVideo
|
||||
//
|
||||
// Created by Morris Butler on 02/10/2020.
|
||||
// Copyright © 2020 RenderHeads. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef AVProVideoTypes_h
|
||||
#define AVProVideoTypes_h
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <simd/simd.h>
|
||||
|
||||
typedef void * AVPPlayerRef;
|
||||
|
||||
// Video settings
|
||||
|
||||
/// Supported video pixel format types.
|
||||
/// @const AVPPlayerVideoPixelFormatInvalid
|
||||
/// @const AVPPlayerVideoPixelFormatBgra Generic Planar RGBA pixel format, includes BGRA32, DXTn, etc.
|
||||
/// @const AVPPlayerVideoPixelFormatYCbCr420 Bi-planar Y'CbCr pixel format.
|
||||
typedef NS_ENUM(int, AVPPlayerVideoPixelFormat)
|
||||
{
|
||||
AVPPlayerVideoPixelFormatInvalid,
|
||||
AVPPlayerVideoPixelFormatBgra,
|
||||
AVPPlayerVideoPixelFormatYCbCr420
|
||||
};
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerVideoOutputSettingsFlags)
|
||||
{
|
||||
AVPPlayerVideoOutputSettingsFlagsNone = 0,
|
||||
AVPPlayerVideoOutputSettingsFlagsLinear = 1 << 0,
|
||||
AVPPlayerVideoOutputSettingsFlagsGenerateMipMaps = 1 << 1,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float width;
|
||||
float height;
|
||||
} AVPPlayerDimensions;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
AVPPlayerVideoPixelFormat pixelFormat;
|
||||
AVPPlayerVideoOutputSettingsFlags flags;
|
||||
AVPPlayerDimensions preferredMaximumResolution;
|
||||
float maximumPlaybackRate;
|
||||
} AVPPlayerVideoOutputSettings;
|
||||
|
||||
// Audio settings
|
||||
|
||||
typedef NS_ENUM(int, AVPPlayerAudioOutputMode)
|
||||
{
|
||||
AVPPlayerAudioOutputModeSystemDirect,
|
||||
AVPPlayerAudioOutputModeCapture,
|
||||
AVPPlayerAudioOutputModeSystemDirectWithCapture,
|
||||
};
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerAudioOutputSettingsFlags)
|
||||
{
|
||||
AVPPlayerAudioOutputSettingsFlagsNone = 0,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
AVPPlayerAudioOutputMode mode;
|
||||
int sampleRate;
|
||||
int bufferLength;
|
||||
AVPPlayerAudioOutputSettingsFlags flags;
|
||||
} AVPPlayerAudioOutputSettings;
|
||||
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerNetworkSettingsFlags)
|
||||
{
|
||||
AVPPlayerNetworkSettingsFlagsNone = 0,
|
||||
AVPPlayerNetworkSettingsFlagsPlayWithoutBuffering = 1 << 0,
|
||||
AVPPlayerNetworkSettingsFlagsUseSinglePlayerItem = 1 << 1,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double preferredPeakBitRate;
|
||||
double preferredForwardBufferDuration;
|
||||
AVPPlayerNetworkSettingsFlags flags;
|
||||
} AVPPlayerNetworkSettings;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
AVPPlayerVideoOutputSettings videoOutputSettings;
|
||||
AVPPlayerAudioOutputSettings audioOutputSettings;
|
||||
AVPPlayerNetworkSettings networkSettings;
|
||||
} AVPPlayerSettings;
|
||||
|
||||
// Player state
|
||||
|
||||
///
|
||||
typedef NS_OPTIONS(int, AVPPlayerStatus)
|
||||
{
|
||||
AVPPlayerStatusUnknown = 0,
|
||||
|
||||
AVPPlayerStatusReadyToPlay = 1 << 0,
|
||||
AVPPlayerStatusPlaying = 1 << 1,
|
||||
AVPPlayerStatusPaused = 1 << 2,
|
||||
AVPPlayerStatusFinished = 1 << 3,
|
||||
AVPPlayerStatusSeeking = 1 << 4,
|
||||
AVPPlayerStatusBuffering = 1 << 5,
|
||||
AVPPlayerStatusStalled = 1 << 6,
|
||||
AVPPlayerStatusExternalPlaybackActive = 1 << 7,
|
||||
AVPPlayerStatusCached = 1 << 8,
|
||||
AVPPlayerStatusFinishedSeeking = 1 << 9,
|
||||
|
||||
AVPPlayerStatusUpdatedAssetInfo = 1 << 16,
|
||||
AVPPlayerStatusUpdatedTexture = 1 << 17,
|
||||
AVPPlayerStatusUpdatedBufferedTimeRanges = 1 << 18,
|
||||
AVPPlayerStatusUpdatedSeekableTimeRanges = 1 << 19,
|
||||
AVPPlayerStatusUpdatedText = 1 << 20,
|
||||
|
||||
AVPPlayerStatusHasVideo = 1 << 24,
|
||||
AVPPlayerStatusHasAudio = 1 << 25,
|
||||
AVPPlayerStatusHasText = 1 << 26,
|
||||
AVPPlayerStatusHasMetadata = 1 << 27,
|
||||
|
||||
AVPPlayerStatusFailed = 1 << 31
|
||||
};
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerFlags)
|
||||
{
|
||||
AVPPlayerFlagsNone = 0,
|
||||
AVPPlayerFlagsLooping = 1 << 0,
|
||||
AVPPlayerFlagsMuted = 1 << 1,
|
||||
AVPPlayerFlagsAllowExternalPlayback = 1 << 2,
|
||||
AVPPlayerFlagsResumePlayback = 1 << 16,
|
||||
// AVPPlayerFlagsCacheAsset = 1 << 17,
|
||||
AVPPlayerFlagsDirty = 1 << 31,
|
||||
};
|
||||
|
||||
typedef NS_ENUM(int, AVPPlayerExternalPlaybackVideoGravity)
|
||||
{
|
||||
AVPPlayerExternalPlaybackVideoGravityResize,
|
||||
AVPPlayerExternalPlaybackVideoGravityResizeAspect,
|
||||
AVPPlayerExternalPlaybackVideoGravityResizeAspectFill
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
AVPPlayerStatus status;
|
||||
double currentTime;
|
||||
double currentDate;
|
||||
int selectedVideoTrack;
|
||||
int selectedAudioTrack;
|
||||
int selectedTextTrack;
|
||||
int bufferedTimeRangesCount;
|
||||
int seekableTimeRangesCount;
|
||||
int audioCaptureBufferedSamplesCount;
|
||||
} AVPPlayerState;
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerAssetFlags)
|
||||
{
|
||||
AVPPlayerAssetFlagsNone = 0,
|
||||
AVPPlayerAssetFlagsCompatibleWithAirPlay = 1 << 0,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double duration;
|
||||
AVPPlayerDimensions dimensions;
|
||||
float frameRate;
|
||||
int videoTrackCount;
|
||||
int audioTrackCount;
|
||||
int textTrackCount;
|
||||
AVPPlayerAssetFlags flags;
|
||||
} AVPPlayerAssetInfo;
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerTrackFlags)
|
||||
{
|
||||
AVPPlayerTrackFlagsNone = 0,
|
||||
AVPPlayerTrackFlagsDefault = 1 << 0,
|
||||
};
|
||||
|
||||
typedef NS_ENUM(int, AVPPlayerVideoTrackStereoMode)
|
||||
{
|
||||
AVPPlayerVideoTrackStereoModeUnknown,
|
||||
AVPPlayerVideoTrackStereoModeMonoscopic,
|
||||
AVPPlayerVideoTrackStereoModeStereoscopicTopBottom,
|
||||
AVPPlayerVideoTrackStereoModeStereoscopicLeftRight,
|
||||
AVPPlayerVideoTrackStereoModeStereoscopicCustom,
|
||||
AVPPlayerVideoTrackStereoModeStereoscopicRightLeft,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float a;
|
||||
float b;
|
||||
float c;
|
||||
float d;
|
||||
float tx;
|
||||
float ty;
|
||||
} AVPAffineTransform;
|
||||
|
||||
typedef NS_OPTIONS(int, AVPPlayerVideoTrackFlags)
|
||||
{
|
||||
AVPPlayerVideoTrackFlagsNone = 0,
|
||||
AVPPlayerVideoTrackFlagsHasAlpha = 1 << 0,
|
||||
};
|
||||
|
||||
// Version of simd_float4x4 with relaxed alignment requirements. Allows for passing Matrix4x4 through from
|
||||
// Unity. Probably not remotely useful otherwise.
|
||||
typedef struct { simd_packed_float4 columns[4]; } simd_packed_float4x4;
|
||||
|
||||
#ifdef __x86_64__
|
||||
typedef simd_packed_float4x4 Matrix4x4;
|
||||
#else
|
||||
typedef simd_float4x4 Matrix4x4;
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unichar * _Nullable name;
|
||||
unichar * _Nullable language;
|
||||
int trackID;
|
||||
float estimatedDataRate;
|
||||
uint32_t codecSubtype;
|
||||
AVPPlayerTrackFlags flags;
|
||||
|
||||
AVPPlayerDimensions dimensions;
|
||||
float frameRate;
|
||||
AVPAffineTransform transform;
|
||||
AVPPlayerVideoTrackStereoMode stereoMode;
|
||||
int bitsPerComponent;
|
||||
AVPPlayerVideoTrackFlags videoTrackFlags;
|
||||
|
||||
Matrix4x4 yCbCrTransform;
|
||||
} AVPPlayerVideoTrackInfo;
|
||||
|
||||
/// Audio channel bitmap
|
||||
/// @const AVPPlayerAudioTrackChannelBitmapUnspecified No channels specified.
|
||||
typedef NS_OPTIONS(uint32_t, AVPPlayerAudioTrackChannelBitmap)
|
||||
{
|
||||
AVPPlayerAudioTrackChannelBitmapUnspecified = 0,
|
||||
AVPPlayerAudioTrackChannelBitmapFrontLeft = 1 << 0,
|
||||
AVPPlayerAudioTrackChannelBitmapFrontRight = 1 << 1,
|
||||
AVPPlayerAudioTrackChannelBitmapFrontCenter = 1 << 2,
|
||||
AVPPlayerAudioTrackChannelBitmapLowFrequency = 1 << 3,
|
||||
AVPPlayerAudioTrackChannelBitmapBackLeft = 1 << 4,
|
||||
AVPPlayerAudioTrackChannelBitmapBackRight = 1 << 5,
|
||||
AVPPlayerAudioTrackChannelBitmapFrontLeftOfCenter = 1 << 6,
|
||||
AVPPlayerAudioTrackChannelBitmapFrontRightOfCenter = 1 << 7,
|
||||
AVPPlayerAudioTrackChannelBitmapBackCenter = 1 << 8,
|
||||
AVPPlayerAudioTrackChannelBitmapSideLeft = 1 << 9,
|
||||
AVPPlayerAudioTrackChannelBitmapSideRight = 1 << 10,
|
||||
AVPPlayerAudioTrackChannelBitmapTopCenter = 1 << 11,
|
||||
AVPPlayerAudioTrackChannelBitmapTopFrontLeft = 1 << 12,
|
||||
AVPPlayerAudioTrackChannelBitmapTopFrontCenter = 1 << 13,
|
||||
AVPPlayerAudioTrackChannelBitmapTopFrontRight = 1 << 14,
|
||||
AVPPlayerAudioTrackChannelBitmapTopBackLeft = 1 << 15,
|
||||
AVPPlayerAudioTrackChannelBitmapTopBackCenter = 1 << 16,
|
||||
AVPPlayerAudioTrackChannelBitmapTopBackRight = 1 << 17,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unichar * _Nullable name;
|
||||
unichar * _Nullable language;
|
||||
int trackID;
|
||||
float estimatedDataRate;
|
||||
uint32_t codecSubtype;
|
||||
AVPPlayerTrackFlags flags;
|
||||
|
||||
double sampleRate;
|
||||
uint32_t channelCount;
|
||||
uint32_t channelLayoutTag;
|
||||
AVPPlayerAudioTrackChannelBitmap channelBitmap;
|
||||
|
||||
} AVPPlayerAudioTrackInfo;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unichar * _Nullable name;
|
||||
unichar * _Nullable language;
|
||||
int trackID;
|
||||
float estimatedDataRate;
|
||||
uint32_t codecSubtype;
|
||||
AVPPlayerTrackFlags flags;
|
||||
} AVPPlayerTextTrackInfo;
|
||||
|
||||
typedef NS_ENUM(int, AVPPlayerTrackType)
|
||||
{
|
||||
AVPPlayerTrackTypeVideo,
|
||||
AVPPlayerTrackTypeAudio,
|
||||
AVPPlayerTrackTypeText
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double start;
|
||||
double duration;
|
||||
} AVPPlayerTimeRange;
|
||||
|
||||
/// Texture flags.
|
||||
/// @const AVPPlayerTextureFlagsFlipped The texture is flipped in the y-axis.
|
||||
/// @const AVPlayerTextureFlagsLinear The texture uses the linear color space.
|
||||
/// @const AVPPlayerTextureFlagsMipmapped The texture has mipmaps.
|
||||
typedef NS_OPTIONS(int, AVPPlayerTextureFlags)
|
||||
{
|
||||
AVPPlayerTextureFlagsNone = 0,
|
||||
AVPPlayerTextureFlagsFlipped = 1 << 0,
|
||||
AVPPlayerTextureFlagsLinear = 1 << 1,
|
||||
AVPPlayerTextureFlagsMipmapped = 1 << 2,
|
||||
};
|
||||
|
||||
typedef NS_ENUM(int, AVPPlayerTextureFormat)
|
||||
{
|
||||
AVPPlayerTextureFormatInvalid,
|
||||
AVPPlayerTextureFormatBgra8Unorm,
|
||||
AVPPlayerTextureFormatR8Unorm,
|
||||
AVPPlayerTextureFormatRg8Unorm,
|
||||
AVPPlayerTextureFormatBc1,
|
||||
AVPPlayerTextureFormatBc3,
|
||||
AVPPlayerTextureFormatBc4,
|
||||
AVPPlayerTextureFormatBc5,
|
||||
AVPPlayerTextureFormatBc7,
|
||||
AVPPlayerTextureFormatBgr10a2Unorm,
|
||||
AVPPlayerTextureFormatR16Unorm,
|
||||
AVPPlayerTextureFormatRg16Unorm,
|
||||
AVPPlayerTextureFormatBgr10xr,
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
void * _Nullable plane;
|
||||
int width;
|
||||
int height;
|
||||
AVPPlayerTextureFormat pixelFormat;
|
||||
} AVPPlayerTexturePlane;
|
||||
|
||||
#define AVPPlayerTextureMaxPlanes 2
|
||||
|
||||
typedef struct
|
||||
{
|
||||
AVPPlayerTexturePlane planes[AVPPlayerTextureMaxPlanes];
|
||||
int64_t itemTime;
|
||||
int frameCount;
|
||||
int planeCount;
|
||||
AVPPlayerTextureFlags flags;
|
||||
} AVPPlayerTexture;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
void * _Nullable buffer;
|
||||
int64_t itemTime;
|
||||
int32_t length;
|
||||
int32_t sequence;
|
||||
} AVPPlayerText;
|
||||
|
||||
typedef struct AudioCaptureBuffer *AudioCaptureBufferRef;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
double minimumRequiredBitRate;
|
||||
struct { float width, height; } minimumRequiredResolution;
|
||||
const char * _Nullable title;
|
||||
const void * _Nullable artwork;
|
||||
int artworkLength;
|
||||
} AVPMediaCachingOptions;
|
||||
|
||||
typedef NS_ENUM(int, AVPCachedMediaStatus)
|
||||
{
|
||||
AVPCachedMediaStatusNotCached,
|
||||
AVPCachedMediaStatusCaching,
|
||||
AVPCachedMediaStatusCached,
|
||||
AVPCachedMediaStatusFailed
|
||||
};
|
||||
|
||||
#endif /* AVProVideoTypes_h */
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc078900acc9f4c5082b099d5f7e0a75
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 62a128524a7914edfaa3bb9241de4ee5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c50a461078d949243b5e245280cf3c33
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>files</key>
|
||||
<dict>
|
||||
<key>Headers/AVProVideo.h</key>
|
||||
<data>
|
||||
XFMZivQLF738U7fwQvhooNV50Mw=
|
||||
</data>
|
||||
<key>Headers/AVProVideoTypes.h</key>
|
||||
<data>
|
||||
gCZ67+k0fR7PV3Q1dxY83WZ/sfo=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
WmBHtM5zFMZCdV0+7ZFG/CCe6Go=
|
||||
</data>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64-apple-tvos.swiftdoc</key>
|
||||
<data>
|
||||
+HbC+/v24mnQfO4KCqpA0SOhroo=
|
||||
</data>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64-apple-tvos.swiftmodule</key>
|
||||
<data>
|
||||
KQ7YGUMSalowN0C4gvRlVK9UnKg=
|
||||
</data>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64.swiftdoc</key>
|
||||
<data>
|
||||
+HbC+/v24mnQfO4KCqpA0SOhroo=
|
||||
</data>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64.swiftmodule</key>
|
||||
<data>
|
||||
KQ7YGUMSalowN0C4gvRlVK9UnKg=
|
||||
</data>
|
||||
</dict>
|
||||
<key>files2</key>
|
||||
<dict>
|
||||
<key>Headers/AVProVideo.h</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
Fky+OvSYBKIRTL8mpJ4X/vUnNd3N3oK2118FvSPZh3A=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/AVProVideoTypes.h</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
PYZ1xROCqe1Na2qwrTCmh7IJgTZXsp5bptXJkxlA8TE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64-apple-tvos.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
jDqiSvd9Em7DkzZYKqL+WtTGw2ZUKceLjT6iAVmJv3U=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64-apple-tvos.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
uWaexOvGGZ3WgDw6J6Rpsp5svaJlFHSCsghPmi9j8g0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64.swiftdoc</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
jDqiSvd9Em7DkzZYKqL+WtTGw2ZUKceLjT6iAVmJv3U=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/AVProVideo.swiftmodule/arm64.swiftmodule</key>
|
||||
<dict>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
uWaexOvGGZ3WgDw6J6Rpsp5svaJlFHSCsghPmi9j8g0=
|
||||
</data>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>rules</key>
|
||||
<dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^version.plist$</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>rules2</key>
|
||||
<dict>
|
||||
<key>.*\.dSYM($|/)</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>11</real>
|
||||
</dict>
|
||||
<key>^(.*/)?\.DS_Store$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>2000</real>
|
||||
</dict>
|
||||
<key>^.*</key>
|
||||
<true/>
|
||||
<key>^.*\.lproj/</key>
|
||||
<dict>
|
||||
<key>optional</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1000</real>
|
||||
</dict>
|
||||
<key>^.*\.lproj/locversion.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>1100</real>
|
||||
</dict>
|
||||
<key>^Base\.lproj/</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>1010</real>
|
||||
</dict>
|
||||
<key>^Info\.plist$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^PkgInfo$</key>
|
||||
<dict>
|
||||
<key>omit</key>
|
||||
<true/>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^embedded\.provisionprofile$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
<key>^version\.plist$</key>
|
||||
<dict>
|
||||
<key>weight</key>
|
||||
<real>20</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// AVProVideoBootstrap.m
|
||||
// AVPro Video
|
||||
//
|
||||
// Created by Morris Butler on 22/06/2020.
|
||||
// Copyright © 2021 RenderHeads. All rights reserved.
|
||||
//
|
||||
|
||||
extern void AVPPluginUnityRegisterRenderingPlugin(void *registerRenderingPluginFunction);
|
||||
|
||||
void AVPPluginBootstrap(void)
|
||||
{
|
||||
AVPPluginUnityRegisterRenderingPlugin(UnityRegisterRenderingPluginV5);
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 154f23675acd6c54e8667de25ac31b67
|
||||
timeCreated: 1592852524
|
||||
licenseType: Pro
|
||||
PluginImporter:
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
data:
|
||||
first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
data:
|
||||
first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
data:
|
||||
first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
data:
|
||||
first:
|
||||
tvOS: tvOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user