Add video animation support, update examples SimpleVideoAnimation SimpleVideoTransitionSwitch
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
6A3E705924BD9099009A0AC9 /* MetalVideoProcessTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A3E705824BD9099009A0AC9 /* MetalVideoProcessTransition.swift */; };
|
||||
6A3E708824C0448B009A0AC9 /* MetalVideoProcessFadeTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A3E708724C0448B009A0AC9 /* MetalVideoProcessFadeTransition.swift */; };
|
||||
6A3E708A24C044A0009A0AC9 /* MetalVideoProcessFadeTransition.metal in Sources */ = {isa = PBXBuildFile; fileRef = 6A3E708924C044A0009A0AC9 /* MetalVideoProcessFadeTransition.metal */; };
|
||||
6A874BC224C594EC00ADFD8A /* MetalVideoProcessMotion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A874BC124C594EC00ADFD8A /* MetalVideoProcessMotion.swift */; };
|
||||
6A874BD024C6E1C200ADFD8A /* MetalVideoProcessFadeInMotion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A874BCF24C6E1C200ADFD8A /* MetalVideoProcessFadeInMotion.swift */; };
|
||||
6A874BD424C6F98100ADFD8A /* MetalVideoProcessFadeMotion.metal in Sources */ = {isa = PBXBuildFile; fileRef = 6A874BD324C6F98100ADFD8A /* MetalVideoProcessFadeMotion.metal */; };
|
||||
6A874BD724C6FD5100ADFD8A /* MetalVideoProcessFadeOutMotion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A874BD624C6FD5100ADFD8A /* MetalVideoProcessFadeOutMotion.swift */; };
|
||||
6AA561D324BC57F3004894F7 /* MetalVideoProcessLuminance.metal in Sources */ = {isa = PBXBuildFile; fileRef = 6AA561D124BC57F3004894F7 /* MetalVideoProcessLuminance.metal */; };
|
||||
6AA561D424BC57F3004894F7 /* MetalVideoProcessLuminance.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AA561D224BC57F3004894F7 /* MetalVideoProcessLuminance.swift */; };
|
||||
6ADB062924AD885F0010A817 /* MetalVideoProcess.h in Headers */ = {isa = PBXBuildFile; fileRef = 6ADB062724AD885F0010A817 /* MetalVideoProcess.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
@@ -83,6 +87,12 @@
|
||||
6ADB072A24ADCC250010A817 /* MetalVideoProcessColorFilter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6ADB072724ADCC250010A817 /* MetalVideoProcessColorFilter.swift */; };
|
||||
6ADB072B24ADCC250010A817 /* MetalVideoProcessColorFilter.metal in Sources */ = {isa = PBXBuildFile; fileRef = 6ADB072824ADCC250010A817 /* MetalVideoProcessColorFilter.metal */; };
|
||||
6ADB07E124AEDC9B0010A817 /* default.metal in Sources */ = {isa = PBXBuildFile; fileRef = 6ADB07E024AEDC9B0010A817 /* default.metal */; };
|
||||
AB17C21024C17D770023C974 /* MetalVideoProcessEraseDownTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB17C20E24C17D770023C974 /* MetalVideoProcessEraseDownTransition.swift */; };
|
||||
AB17C21124C17D770023C974 /* MetalVideoProcessEraseDownTransition.metal in Sources */ = {isa = PBXBuildFile; fileRef = AB17C20F24C17D770023C974 /* MetalVideoProcessEraseDownTransition.metal */; };
|
||||
AB17C21424C182780023C974 /* MetalVideoProcessMirrorRotateTransition.metal in Sources */ = {isa = PBXBuildFile; fileRef = AB17C21224C182780023C974 /* MetalVideoProcessMirrorRotateTransition.metal */; };
|
||||
AB17C21524C182780023C974 /* MetalVideoProcessMirrorRotateTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB17C21324C182780023C974 /* MetalVideoProcessMirrorRotateTransition.swift */; };
|
||||
AB17C21824C5737B0023C974 /* MetalVideoProcessReflectTransition.metal in Sources */ = {isa = PBXBuildFile; fileRef = AB17C21624C5737B0023C974 /* MetalVideoProcessReflectTransition.metal */; };
|
||||
AB17C21924C5737B0023C974 /* MetalVideoProcessReflectTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB17C21724C5737B0023C974 /* MetalVideoProcessReflectTransition.swift */; };
|
||||
AB64836224C03E6200A0266B /* MetalVideoProcessShanBaiTrans.metal in Sources */ = {isa = PBXBuildFile; fileRef = AB64836024C03E6200A0266B /* MetalVideoProcessShanBaiTrans.metal */; };
|
||||
AB64836324C03E6200A0266B /* MetalVideoProcessShanBaiTrans.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB64836124C03E6200A0266B /* MetalVideoProcessShanBaiTrans.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
@@ -91,6 +101,10 @@
|
||||
6A3E705824BD9099009A0AC9 /* MetalVideoProcessTransition.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessTransition.swift; sourceTree = "<group>"; };
|
||||
6A3E708724C0448B009A0AC9 /* MetalVideoProcessFadeTransition.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessFadeTransition.swift; sourceTree = "<group>"; };
|
||||
6A3E708924C044A0009A0AC9 /* MetalVideoProcessFadeTransition.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessFadeTransition.metal; sourceTree = "<group>"; };
|
||||
6A874BC124C594EC00ADFD8A /* MetalVideoProcessMotion.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessMotion.swift; sourceTree = "<group>"; };
|
||||
6A874BCF24C6E1C200ADFD8A /* MetalVideoProcessFadeInMotion.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessFadeInMotion.swift; sourceTree = "<group>"; };
|
||||
6A874BD324C6F98100ADFD8A /* MetalVideoProcessFadeMotion.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessFadeMotion.metal; sourceTree = "<group>"; };
|
||||
6A874BD624C6FD5100ADFD8A /* MetalVideoProcessFadeOutMotion.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessFadeOutMotion.swift; sourceTree = "<group>"; };
|
||||
6AA561D124BC57F3004894F7 /* MetalVideoProcessLuminance.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessLuminance.metal; sourceTree = "<group>"; };
|
||||
6AA561D224BC57F3004894F7 /* MetalVideoProcessLuminance.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessLuminance.swift; sourceTree = "<group>"; };
|
||||
6ADB062424AD885F0010A817 /* MetalVideoProcess.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MetalVideoProcess.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@@ -167,6 +181,12 @@
|
||||
6ADB072824ADCC250010A817 /* MetalVideoProcessColorFilter.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessColorFilter.metal; sourceTree = "<group>"; };
|
||||
6ADB07D524AED1260010A817 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
|
||||
6ADB07E024AEDC9B0010A817 /* default.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = default.metal; sourceTree = "<group>"; };
|
||||
AB17C20E24C17D770023C974 /* MetalVideoProcessEraseDownTransition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessEraseDownTransition.swift; sourceTree = "<group>"; };
|
||||
AB17C20F24C17D770023C974 /* MetalVideoProcessEraseDownTransition.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessEraseDownTransition.metal; sourceTree = "<group>"; };
|
||||
AB17C21224C182780023C974 /* MetalVideoProcessMirrorRotateTransition.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessMirrorRotateTransition.metal; sourceTree = "<group>"; };
|
||||
AB17C21324C182780023C974 /* MetalVideoProcessMirrorRotateTransition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessMirrorRotateTransition.swift; sourceTree = "<group>"; };
|
||||
AB17C21624C5737B0023C974 /* MetalVideoProcessReflectTransition.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessReflectTransition.metal; sourceTree = "<group>"; };
|
||||
AB17C21724C5737B0023C974 /* MetalVideoProcessReflectTransition.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessReflectTransition.swift; sourceTree = "<group>"; };
|
||||
AB64836024C03E6200A0266B /* MetalVideoProcessShanBaiTrans.metal */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.metal; path = MetalVideoProcessShanBaiTrans.metal; sourceTree = "<group>"; };
|
||||
AB64836124C03E6200A0266B /* MetalVideoProcessShanBaiTrans.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetalVideoProcessShanBaiTrans.swift; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
@@ -182,6 +202,16 @@
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
6A874BCE24C6E10500ADFD8A /* Motions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
6A874BCF24C6E1C200ADFD8A /* MetalVideoProcessFadeInMotion.swift */,
|
||||
6A874BD324C6F98100ADFD8A /* MetalVideoProcessFadeMotion.metal */,
|
||||
6A874BD624C6FD5100ADFD8A /* MetalVideoProcessFadeOutMotion.swift */,
|
||||
);
|
||||
path = Motions;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
6ADB061A24AD885F0010A817 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@@ -374,8 +404,9 @@
|
||||
6ADB06E124ADBB1C0010A817 /* VideoProcess */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AB64835724C03CEA00A0266B /* Transition */,
|
||||
6ADB071E24ADC93D0010A817 /* Base */,
|
||||
6A874BCE24C6E10500ADFD8A /* Motions */,
|
||||
AB64835724C03CEA00A0266B /* Transitions */,
|
||||
6ADB071B24ADC4FB0010A817 /* Filters */,
|
||||
6ADB070B24ADC4DC0010A817 /* MetalVideoProcessPlayer.swift */,
|
||||
6ADB070C24ADC4DC0010A817 /* MetalVideoProcessPlayer+CompositorDelegate.swift */,
|
||||
@@ -422,19 +453,26 @@
|
||||
6ADB071C24ADC8750010A817 /* MetalVideoProcessCompositor.swift */,
|
||||
6ADB070E24ADC4DC0010A817 /* MetalVideoProcessCompositionRequestCache.swift */,
|
||||
6A3E705824BD9099009A0AC9 /* MetalVideoProcessTransition.swift */,
|
||||
6A874BC124C594EC00ADFD8A /* MetalVideoProcessMotion.swift */,
|
||||
);
|
||||
path = Base;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
AB64835724C03CEA00A0266B /* Transition */ = {
|
||||
AB64835724C03CEA00A0266B /* Transitions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
AB17C21624C5737B0023C974 /* MetalVideoProcessReflectTransition.metal */,
|
||||
AB17C21724C5737B0023C974 /* MetalVideoProcessReflectTransition.swift */,
|
||||
AB17C21224C182780023C974 /* MetalVideoProcessMirrorRotateTransition.metal */,
|
||||
AB17C21324C182780023C974 /* MetalVideoProcessMirrorRotateTransition.swift */,
|
||||
AB17C20F24C17D770023C974 /* MetalVideoProcessEraseDownTransition.metal */,
|
||||
AB17C20E24C17D770023C974 /* MetalVideoProcessEraseDownTransition.swift */,
|
||||
AB64836024C03E6200A0266B /* MetalVideoProcessShanBaiTrans.metal */,
|
||||
AB64836124C03E6200A0266B /* MetalVideoProcessShanBaiTrans.swift */,
|
||||
6A3E708724C0448B009A0AC9 /* MetalVideoProcessFadeTransition.swift */,
|
||||
6A3E708924C044A0009A0AC9 /* MetalVideoProcessFadeTransition.metal */,
|
||||
);
|
||||
path = Transition;
|
||||
path = Transitions;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
@@ -521,16 +559,21 @@
|
||||
files = (
|
||||
6ADB072A24ADCC250010A817 /* MetalVideoProcessColorFilter.swift in Sources */,
|
||||
6ADB071124ADC4DC0010A817 /* MetalVideoProcessMovieWriter.swift in Sources */,
|
||||
AB17C21824C5737B0023C974 /* MetalVideoProcessReflectTransition.metal in Sources */,
|
||||
6ADB06A224ADB3B70010A817 /* CompositionProvider.swift in Sources */,
|
||||
6ADB06F924ADBE1D0010A817 /* YUVToRGBConversion.metal in Sources */,
|
||||
6A3E708824C0448B009A0AC9 /* MetalVideoProcessFadeTransition.swift in Sources */,
|
||||
AB17C21024C17D770023C974 /* MetalVideoProcessEraseDownTransition.swift in Sources */,
|
||||
6ADB065E24AD8B7E0010A817 /* MetalRendering.swift in Sources */,
|
||||
6ADB06B524ADB3B70010A817 /* CMTimeExtensition.swift in Sources */,
|
||||
6ADB06B024ADB3B70010A817 /* AVAssetReverseImageResource.swift in Sources */,
|
||||
6ADB070524ADC4100010A817 /* PictureOutput.swift in Sources */,
|
||||
6A874BD424C6F98100ADFD8A /* MetalVideoProcessFadeMotion.metal in Sources */,
|
||||
6ADB070F24ADC4DC0010A817 /* MetalVideoProcessPlayer.swift in Sources */,
|
||||
6ADB06AE24ADB3B70010A817 /* Resource.swift in Sources */,
|
||||
6ADB06B624ADB3B70010A817 /* ImageGeneratorExtension.swift in Sources */,
|
||||
6A874BD724C6FD5100ADFD8A /* MetalVideoProcessFadeOutMotion.swift in Sources */,
|
||||
6A874BD024C6E1C200ADFD8A /* MetalVideoProcessFadeInMotion.swift in Sources */,
|
||||
AB64836324C03E6200A0266B /* MetalVideoProcessShanBaiTrans.swift in Sources */,
|
||||
6ADB069B24ADB3B70010A817 /* VideoCompositor.swift in Sources */,
|
||||
6ADB066C24AD8B7E0010A817 /* ImageOrientation.swift in Sources */,
|
||||
@@ -542,10 +585,13 @@
|
||||
6ADB06EF24ADBBDA0010A817 /* SolidColorGenerator.swift in Sources */,
|
||||
6ADB06AD24ADB3B70010A817 /* AVAssetTrackResource.swift in Sources */,
|
||||
6ADB066B24AD8B7E0010A817 /* MetalRenderingDevice.swift in Sources */,
|
||||
AB17C21524C182780023C974 /* MetalVideoProcessMirrorRotateTransition.swift in Sources */,
|
||||
6ADB06A124ADB3B70010A817 /* Timeline.swift in Sources */,
|
||||
6ADB06B324ADB3B70010A817 /* Log.swift in Sources */,
|
||||
AB17C21424C182780023C974 /* MetalVideoProcessMirrorRotateTransition.metal in Sources */,
|
||||
6ADB065D24AD8B7E0010A817 /* Size.swift in Sources */,
|
||||
6ADB070024ADC1930010A817 /* MetalVideoProcessBlendFilter.metal in Sources */,
|
||||
6A874BC224C594EC00ADFD8A /* MetalVideoProcessMotion.swift in Sources */,
|
||||
6ADB06B124ADB3B70010A817 /* CoreImageExtension.swift in Sources */,
|
||||
6ADB06E024ADB8B80010A817 /* MetalVideoProcessOperation.swift in Sources */,
|
||||
6ADB071A24ADC4F80010A817 /* MetalVideoProcessBeautyFilter.metal in Sources */,
|
||||
@@ -570,6 +616,8 @@
|
||||
6ADB065A24AD8B7E0010A817 /* Matrix.swift in Sources */,
|
||||
6ADB069F24ADB3B70010A817 /* AudioProcessingChain.swift in Sources */,
|
||||
6ADB06A424ADB3B70010A817 /* ImageOverlayItem.swift in Sources */,
|
||||
AB17C21924C5737B0023C974 /* MetalVideoProcessReflectTransition.swift in Sources */,
|
||||
AB17C21124C17D770023C974 /* MetalVideoProcessEraseDownTransition.metal in Sources */,
|
||||
6ADB071924ADC4F80010A817 /* MetalVideoProcessTransformFilter.swift in Sources */,
|
||||
6A3E708A24C044A0009A0AC9 /* MetalVideoProcessFadeTransition.metal in Sources */,
|
||||
6ADB06FC24ADBF8F0010A817 /* MetalVideoProcessRenderView.swift in Sources */,
|
||||
|
||||
Reference in New Issue
Block a user