Skip to content

Commit

Permalink
10Bit hdr
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesit committed Mar 11, 2022
1 parent 71336e2 commit 98776d4
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 18 deletions.
34 changes: 25 additions & 9 deletions SwiftBubble.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
objects = {

/* Begin PBXBuildFile section */
4204425A257683C400832774 /* swift_bubble_10bit_hdr.m4v in Resources */ = {isa = PBXBuildFile; fileRef = 42044259257683C400832774 /* swift_bubble_10bit_hdr.m4v */; };
42044260257686A900832774 /* swiftbubble_deblocked.m4v in Resources */ = {isa = PBXBuildFile; fileRef = 4204425F257686A900832774 /* swiftbubble_deblocked.m4v */; };
4236EA741B19EBAB000DA31F /* SwiftBubbleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4236EA731B19EBAB000DA31F /* SwiftBubbleView.swift */; };
4236EA7A1B19EBEC000DA31F /* thumbnail.png in Resources */ = {isa = PBXBuildFile; fileRef = 4236EA761B19EBEC000DA31F /* thumbnail.png */; };
4236EA7B1B19EBEC000DA31F /* thumbnail@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4236EA771B19EBEC000DA31F /* thumbnail@2x.png */; };
Expand All @@ -32,6 +34,8 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
42044259257683C400832774 /* swift_bubble_10bit_hdr.m4v */ = {isa = PBXFileReference; lastKnownFileType = file; path = swift_bubble_10bit_hdr.m4v; sourceTree = "<group>"; };
4204425F257686A900832774 /* swiftbubble_deblocked.m4v */ = {isa = PBXFileReference; lastKnownFileType = file; path = swiftbubble_deblocked.m4v; sourceTree = "<group>"; };
4236EA651B19EB81000DA31F /* SwiftBubble.saver */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftBubble.saver; sourceTree = BUILT_PRODUCTS_DIR; };
4236EA691B19EB81000DA31F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4236EA731B19EBAB000DA31F /* SwiftBubbleView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SwiftBubbleView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -122,6 +126,8 @@
isa = PBXGroup;
children = (
4236EA751B19EBEC000DA31F /* SoapBubble.qtz */,
42044259257683C400832774 /* swift_bubble_10bit_hdr.m4v */,
4204425F257686A900832774 /* swiftbubble_deblocked.m4v */,
4236EA771B19EBEC000DA31F /* thumbnail@2x.png */,
4236EA761B19EBEC000DA31F /* thumbnail.png */,
4236EA781B19EBEC000DA31F /* SwiftBubble.mov */,
Expand Down Expand Up @@ -278,14 +284,14 @@
attributes = {
LastSwiftMigration = 0700;
LastSwiftUpdateCheck = 0700;
LastUpgradeCheck = 1220;
LastUpgradeCheck = 1320;
ORGANIZATIONNAME = "Felix Grabowski";
TargetAttributes = {
4236EA641B19EB81000DA31F = {
CreatedOnToolsVersion = 6.3.2;
DevelopmentTeam = RH89HEC84R;
DevelopmentTeam = UQ4B4U96F6;
LastSwiftMigration = 1220;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
4236EAA31B19ECAD000DA31F = {
CreatedOnToolsVersion = 6.3.2;
Expand Down Expand Up @@ -326,8 +332,10 @@
buildActionMask = 2147483647;
files = (
4236EA7A1B19EBEC000DA31F /* thumbnail.png in Resources */,
42044260257686A900832774 /* swiftbubble_deblocked.m4v in Resources */,
4236EA7B1B19EBEC000DA31F /* thumbnail@2x.png in Resources */,
4236EA7C1B19EBEC000DA31F /* SwiftBubble.mov in Resources */,
4204425A257683C400832774 /* swift_bubble_10bit_hdr.m4v in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -544,15 +552,19 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = RH89HEC84R;
CURRENT_PROJECT_VERSION = 5;
DEVELOPMENT_TEAM = UQ4B4U96F6;
INFOPLIST_FILE = SwiftBubble/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 11.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.felixgrabowski.$(PRODUCT_NAME:rfc1034identifier)";
MARKETING_VERSION = 3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.felixgebhard.SwiftBubble;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_INSTALL_OBJC_HEADER = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
Expand All @@ -567,15 +579,19 @@
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = RH89HEC84R;
CURRENT_PROJECT_VERSION = 5;
DEVELOPMENT_TEAM = UQ4B4U96F6;
INFOPLIST_FILE = SwiftBubble/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Screen Savers";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 11.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.felixgrabowski.$(PRODUCT_NAME:rfc1034identifier)";
MARKETING_VERSION = 3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.felixgebhard.SwiftBubble;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_INSTALL_OBJC_HEADER = YES;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 5.0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1220"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1220"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1220"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1220"
LastUpgradeVersion = "1320"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
6 changes: 3 additions & 3 deletions SwiftBubble/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.2</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 Felix Grabowski. All rights reserved.</string>
<string>Copyright © 2015 Felix Gebhard. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string>SwiftBubbleView</string>
</dict>
Expand Down
6 changes: 4 additions & 2 deletions SwiftBubble/SwiftBubbleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ struct SwiftBubbleVideoView: View {
var playerItem: AVPlayerItem
var player: AVQueuePlayer
var looper: AVPlayerLooper

init() {
playerItem = AVPlayerItem(asset: AVAsset(url: Bundle(for: SwiftBubbleView.self).url(forResource: "SwiftBubble", withExtension: "mov")!))
// playerItem = AVPlayerItem(asset: AVAsset(url: Bundle(for: SwiftBubbleView.self).url(forResource: "SwiftBubble", withExtension: "mov")!))
playerItem = AVPlayerItem(asset: AVAsset(url: Bundle(for: SwiftBubbleView.self).url(forResource: "swiftbubble_deblocked", withExtension: "m4v")!))

player = AVQueuePlayer(playerItem: playerItem)
looper = AVPlayerLooper(player: player, templateItem: playerItem)
}
Expand Down
Binary file added SwiftBubble/swift_bubble_10bit_hdr.m4v
Binary file not shown.
Binary file added SwiftBubble/swiftbubble_deblocked.m4v
Binary file not shown.

0 comments on commit 98776d4

Please sign in to comment.