Mercurial > hg > js-dsp-test
changeset 30:55f715002fe5
iOS stuff
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test.xcodeproj/project.pbxproj Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,380 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + A8525B8D1BD2A7A6009FCE68 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A8525B8C1BD2A7A6009FCE68 /* main.m */; }; + A8525B901BD2A7A6009FCE68 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A8525B8F1BD2A7A6009FCE68 /* AppDelegate.m */; }; + A8525B961BD2A7A6009FCE68 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A8525B941BD2A7A6009FCE68 /* Main.storyboard */; }; + A8525B981BD2A7A6009FCE68 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A8525B971BD2A7A6009FCE68 /* Images.xcassets */; }; + A8525B9B1BD2A7A6009FCE68 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = A8525B991BD2A7A6009FCE68 /* LaunchScreen.xib */; }; + A8525BA71BD2A7A6009FCE68 /* native_fft_testTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A8525BA61BD2A7A6009FCE68 /* native_fft_testTests.m */; }; + A8525BB11BD2A852009FCE68 /* ViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = A8525BB01BD2A852009FCE68 /* ViewController.mm */; }; + A8525BB31BD2AB50009FCE68 /* FFT.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8525BB21BD2AB50009FCE68 /* FFT.cpp */; }; + A8525BB51BD2AD16009FCE68 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8525BB41BD2AD16009FCE68 /* Accelerate.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + A8525BA11BD2A7A6009FCE68 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = A8525B7F1BD2A7A6009FCE68 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A8525B861BD2A7A6009FCE68; + remoteInfo = "native-fft-test"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + A8525B871BD2A7A6009FCE68 /* native-fft-test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "native-fft-test.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + A8525B8B1BD2A7A6009FCE68 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + A8525B8C1BD2A7A6009FCE68 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; + A8525B8E1BD2A7A6009FCE68 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; + A8525B8F1BD2A7A6009FCE68 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; + A8525B911BD2A7A6009FCE68 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; + A8525B951BD2A7A6009FCE68 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; + A8525B971BD2A7A6009FCE68 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; + A8525B9A1BD2A7A6009FCE68 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; }; + A8525BA01BD2A7A6009FCE68 /* native-fft-testTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "native-fft-testTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + A8525BA51BD2A7A6009FCE68 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; + A8525BA61BD2A7A6009FCE68 /* native_fft_testTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = native_fft_testTests.m; sourceTree = "<group>"; }; + A8525BB01BD2A852009FCE68 /* ViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = ViewController.mm; path = "native-fft-test/ViewController.mm"; sourceTree = "<group>"; }; + A8525BB21BD2AB50009FCE68 /* FFT.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = FFT.cpp; path = ../bqfft/src/FFT.cpp; sourceTree = "<group>"; }; + A8525BB41BD2AD16009FCE68 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + A8525B841BD2A7A6009FCE68 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A8525BB51BD2AD16009FCE68 /* Accelerate.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A8525B9D1BD2A7A6009FCE68 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + A8525B7E1BD2A7A6009FCE68 = { + isa = PBXGroup; + children = ( + A8525BB41BD2AD16009FCE68 /* Accelerate.framework */, + A8525BB21BD2AB50009FCE68 /* FFT.cpp */, + A8525BB01BD2A852009FCE68 /* ViewController.mm */, + A8525B891BD2A7A6009FCE68 /* native-fft-test */, + A8525BA31BD2A7A6009FCE68 /* native-fft-testTests */, + A8525B881BD2A7A6009FCE68 /* Products */, + ); + sourceTree = "<group>"; + }; + A8525B881BD2A7A6009FCE68 /* Products */ = { + isa = PBXGroup; + children = ( + A8525B871BD2A7A6009FCE68 /* native-fft-test.app */, + A8525BA01BD2A7A6009FCE68 /* native-fft-testTests.xctest */, + ); + name = Products; + sourceTree = "<group>"; + }; + A8525B891BD2A7A6009FCE68 /* native-fft-test */ = { + isa = PBXGroup; + children = ( + A8525B8E1BD2A7A6009FCE68 /* AppDelegate.h */, + A8525B8F1BD2A7A6009FCE68 /* AppDelegate.m */, + A8525B911BD2A7A6009FCE68 /* ViewController.h */, + A8525B941BD2A7A6009FCE68 /* Main.storyboard */, + A8525B971BD2A7A6009FCE68 /* Images.xcassets */, + A8525B991BD2A7A6009FCE68 /* LaunchScreen.xib */, + A8525B8A1BD2A7A6009FCE68 /* Supporting Files */, + ); + path = "native-fft-test"; + sourceTree = "<group>"; + }; + A8525B8A1BD2A7A6009FCE68 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + A8525B8B1BD2A7A6009FCE68 /* Info.plist */, + A8525B8C1BD2A7A6009FCE68 /* main.m */, + ); + name = "Supporting Files"; + sourceTree = "<group>"; + }; + A8525BA31BD2A7A6009FCE68 /* native-fft-testTests */ = { + isa = PBXGroup; + children = ( + A8525BA61BD2A7A6009FCE68 /* native_fft_testTests.m */, + A8525BA41BD2A7A6009FCE68 /* Supporting Files */, + ); + path = "native-fft-testTests"; + sourceTree = "<group>"; + }; + A8525BA41BD2A7A6009FCE68 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + A8525BA51BD2A7A6009FCE68 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = "<group>"; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + A8525B861BD2A7A6009FCE68 /* native-fft-test */ = { + isa = PBXNativeTarget; + buildConfigurationList = A8525BAA1BD2A7A6009FCE68 /* Build configuration list for PBXNativeTarget "native-fft-test" */; + buildPhases = ( + A8525B831BD2A7A6009FCE68 /* Sources */, + A8525B841BD2A7A6009FCE68 /* Frameworks */, + A8525B851BD2A7A6009FCE68 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "native-fft-test"; + productName = "native-fft-test"; + productReference = A8525B871BD2A7A6009FCE68 /* native-fft-test.app */; + productType = "com.apple.product-type.application"; + }; + A8525B9F1BD2A7A6009FCE68 /* native-fft-testTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = A8525BAD1BD2A7A6009FCE68 /* Build configuration list for PBXNativeTarget "native-fft-testTests" */; + buildPhases = ( + A8525B9C1BD2A7A6009FCE68 /* Sources */, + A8525B9D1BD2A7A6009FCE68 /* Frameworks */, + A8525B9E1BD2A7A6009FCE68 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A8525BA21BD2A7A6009FCE68 /* PBXTargetDependency */, + ); + name = "native-fft-testTests"; + productName = "native-fft-testTests"; + productReference = A8525BA01BD2A7A6009FCE68 /* native-fft-testTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + A8525B7F1BD2A7A6009FCE68 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0610; + ORGANIZATIONNAME = "Chris Cannam"; + TargetAttributes = { + A8525B861BD2A7A6009FCE68 = { + CreatedOnToolsVersion = 6.1.1; + }; + A8525B9F1BD2A7A6009FCE68 = { + CreatedOnToolsVersion = 6.1.1; + TestTargetID = A8525B861BD2A7A6009FCE68; + }; + }; + }; + buildConfigurationList = A8525B821BD2A7A6009FCE68 /* Build configuration list for PBXProject "native-fft-test" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = A8525B7E1BD2A7A6009FCE68; + productRefGroup = A8525B881BD2A7A6009FCE68 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + A8525B861BD2A7A6009FCE68 /* native-fft-test */, + A8525B9F1BD2A7A6009FCE68 /* native-fft-testTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + A8525B851BD2A7A6009FCE68 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A8525B961BD2A7A6009FCE68 /* Main.storyboard in Resources */, + A8525B9B1BD2A7A6009FCE68 /* LaunchScreen.xib in Resources */, + A8525B981BD2A7A6009FCE68 /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A8525B9E1BD2A7A6009FCE68 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + A8525B831BD2A7A6009FCE68 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A8525BB31BD2AB50009FCE68 /* FFT.cpp in Sources */, + A8525B901BD2A7A6009FCE68 /* AppDelegate.m in Sources */, + A8525B8D1BD2A7A6009FCE68 /* main.m in Sources */, + A8525BB11BD2A852009FCE68 /* ViewController.mm in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + A8525B9C1BD2A7A6009FCE68 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A8525BA71BD2A7A6009FCE68 /* native_fft_testTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + A8525BA21BD2A7A6009FCE68 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A8525B861BD2A7A6009FCE68 /* native-fft-test */; + targetProxy = A8525BA11BD2A7A6009FCE68 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + A8525B941BD2A7A6009FCE68 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + A8525B951BD2A7A6009FCE68 /* Base */, + ); + name = Main.storyboard; + sourceTree = "<group>"; + }; + A8525B991BD2A7A6009FCE68 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + A8525B9A1BD2A7A6009FCE68 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = "<group>"; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + A8525BA91BD2A7A6009FCE68 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + "/Users/cannam/code/qm/js-dsp-test/fft/native/bqfft", + "/Users/cannam/code/qm/js-dsp-test/fft/native/bqvec", + ); + "HEADER_SEARCH_PATHS[arch=*]" = ( + "$(inherited)", + /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, + ); + IPHONEOS_DEPLOYMENT_TARGET = 8.1; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = ( + "-DHAVE_VDSP", + "-DMALLOC_IS_ALIGNED", + ); + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + A8525BAC1BD2A7A6009FCE68 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "native-fft-test/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + A8525BAF1BD2A7A6009FCE68 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = "native-fft-testTests/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/native-fft-test.app/native-fft-test"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + A8525B821BD2A7A6009FCE68 /* Build configuration list for PBXProject "native-fft-test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A8525BA91BD2A7A6009FCE68 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A8525BAA1BD2A7A6009FCE68 /* Build configuration list for PBXNativeTarget "native-fft-test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A8525BAC1BD2A7A6009FCE68 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A8525BAD1BD2A7A6009FCE68 /* Build configuration list for PBXNativeTarget "native-fft-testTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A8525BAF1BD2A7A6009FCE68 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = A8525B7F1BD2A7A6009FCE68 /* Project object */; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test.xcodeproj/project.xcworkspace/contents.xcworkspacedata Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "self:native-fft-test.xcodeproj"> + </FileRef> +</Workspace>
Binary file fft/native/native-fft-test/native-fft-test.xcodeproj/project.xcworkspace/xcuserdata/cannam.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test.xcodeproj/xcuserdata/cannam.xcuserdatad/xcschemes/native-fft-test.xcscheme Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + LastUpgradeVersion = "0610" + version = "1.3"> + <BuildAction + parallelizeBuildables = "YES" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A8525B861BD2A7A6009FCE68" + BuildableName = "native-fft-test.app" + BlueprintName = "native-fft-test" + ReferencedContainer = "container:native-fft-test.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "NO" + buildForArchiving = "NO" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A8525B9F1BD2A7A6009FCE68" + BuildableName = "native-fft-testTests.xctest" + BlueprintName = "native-fft-testTests" + ReferencedContainer = "container:native-fft-test.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + <TestableReference + skipped = "NO"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A8525B9F1BD2A7A6009FCE68" + BuildableName = "native-fft-testTests.xctest" + BlueprintName = "native-fft-testTests" + ReferencedContainer = "container:native-fft-test.xcodeproj"> + </BuildableReference> + </TestableReference> + </Testables> + <MacroExpansion> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A8525B861BD2A7A6009FCE68" + BuildableName = "native-fft-test.app" + BlueprintName = "native-fft-test" + ReferencedContainer = "container:native-fft-test.xcodeproj"> + </BuildableReference> + </MacroExpansion> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug" + ignoresPersistentStateOnLaunch = "NO" + debugDocumentVersioning = "YES" + allowLocationSimulation = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A8525B861BD2A7A6009FCE68" + BuildableName = "native-fft-test.app" + BlueprintName = "native-fft-test" + ReferencedContainer = "container:native-fft-test.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release" + debugDocumentVersioning = "YES"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "A8525B861BD2A7A6009FCE68" + BuildableName = "native-fft-test.app" + BlueprintName = "native-fft-test" + ReferencedContainer = "container:native-fft-test.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test.xcodeproj/xcuserdata/cannam.xcuserdatad/xcschemes/xcschememanagement.plist Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,27 @@ +<?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>SchemeUserState</key> + <dict> + <key>native-fft-test.xcscheme</key> + <dict> + <key>orderHint</key> + <integer>0</integer> + </dict> + </dict> + <key>SuppressBuildableAutocreation</key> + <dict> + <key>A8525B861BD2A7A6009FCE68</key> + <dict> + <key>primary</key> + <true/> + </dict> + <key>A8525B9F1BD2A7A6009FCE68</key> + <dict> + <key>primary</key> + <true/> + </dict> + </dict> +</dict> +</plist>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/AppDelegate.h Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,17 @@ +// +// AppDelegate.h +// native-fft-test +// +// Created by Chris Cannam on 17/10/2015. +// Copyright (c) 2015 Chris Cannam. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface AppDelegate : UIResponder <UIApplicationDelegate> + +@property (strong, nonatomic) UIWindow *window; + + +@end +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/AppDelegate.m Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,45 @@ +// +// AppDelegate.m +// native-fft-test +// +// Created by Chris Cannam on 17/10/2015. +// Copyright (c) 2015 Chris Cannam. All rights reserved. +// + +#import "AppDelegate.h" + +@interface AppDelegate () + +@end + +@implementation AppDelegate + + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + // Override point for customization after application launch. + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. +} + +- (void)applicationDidBecomeActive:(UIApplication *)application { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +@end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/Base.lproj/LaunchScreen.xib Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> + <dependencies> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/> + <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <view contentMode="scaleToFill" id="iN0-l3-epB"> + <rect key="frame" x="0.0" y="0.0" width="480" height="480"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015 Chris Cannam. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye"> + <rect key="frame" x="20" y="439" width="441" height="21"/> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> + <nil key="highlightedColor"/> + </label> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="native-fft-test" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX"> + <rect key="frame" x="20" y="140" width="441" height="43"/> + <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/> + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/> + <nil key="highlightedColor"/> + </label> + </subviews> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> + <constraints> + <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/> + <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/> + <constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/> + <constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/> + <constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/> + <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/> + </constraints> + <nil key="simulatedStatusBarMetrics"/> + <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> + <point key="canvasLocation" x="548" y="455"/> + </view> + </objects> +</document>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/Base.lproj/Main.storyboard Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r"> + <dependencies> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/> + </dependencies> + <scenes> + <!--View Controller--> + <scene sceneID="tne-QT-ifu"> + <objects> + <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/> + <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> + <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> + </view> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> + </objects> + </scene> + </scenes> +</document>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/Images.xcassets/AppIcon.appiconset/Contents.json Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,68 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "3x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "3x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/Info.plist Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,47 @@ +<?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>CFBundleDevelopmentRegion</key> + <string>en</string> + <key>CFBundleExecutable</key> + <string>$(EXECUTABLE_NAME)</string> + <key>CFBundleIdentifier</key> + <string>com.breakfastquay.$(PRODUCT_NAME:rfc1034identifier)</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>$(PRODUCT_NAME)</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1</string> + <key>LSRequiresIPhoneOS</key> + <true/> + <key>UILaunchStoryboardName</key> + <string>LaunchScreen</string> + <key>UIMainStoryboardFile</key> + <string>Main</string> + <key>UIRequiredDeviceCapabilities</key> + <array> + <string>armv7</string> + </array> + <key>UISupportedInterfaceOrientations</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string> + </array> + <key>UISupportedInterfaceOrientations~ipad</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <string>UIInterfaceOrientationPortraitUpsideDown</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string> + </array> +</dict> +</plist>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/ViewController.h Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,15 @@ +// +// ViewController.h +// native-fft-test +// +// Created by Chris Cannam on 17/10/2015. +// Copyright (c) 2015 Chris Cannam. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface ViewController : UIViewController + + +@end +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/ViewController.mm Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,82 @@ +// +// ViewController.m +// native-fft-test +// +// Created by Chris Cannam on 17/10/2015. +// Copyright (c) 2015 Chris Cannam. All rights reserved. +// + +#import "ViewController.h" + +#include <vector> +#include <chrono> +#include <iostream> + +#include "bqfft/FFT.h" + +using namespace std; +using namespace breakfastquay; + +@interface ViewController () + +@end + +@implementation ViewController + +- (void)viewDidLoad { + [super viewDidLoad]; + + vector<int> sizes { 512, 2048 }; + + int iterations = 2000; + int times = 100; + + for (auto size: sizes) { + + FFT fft(size); + double total = 0.0; + + auto start = chrono::high_resolution_clock::now(); + + for (int ti = 0; ti < times; ++ti) { + + total = 0.0; + + for (int i = 0; i < iterations; ++i) { + + vector<double> ri(size), ro(size/2+1), io(size/2+1); + for (int j = 0; j < size; ++j) { + ri[j] = (j % 2) / 4.0; + } + + fft.forward(ri.data(), ro.data(), io.data()); + + for (int j = 0; j <= size/2; ++j) { + total += sqrt(ro[j] * ro[j] + io[j] * io[j]); + } + + // synthesise the conjugate half + for (int j = 1; j < size/2; ++j) { + total += sqrt(ro[j] * ro[j] + io[j] * io[j]); + } + } + } + + auto end = chrono::high_resolution_clock::now(); + + double ms = chrono::duration<double, milli>(end - start).count() / times; + + cerr << "for " << iterations << " * size " << size << ": total = " + << total << ", time = " << ms + << " ms (" << (iterations / (ms / 1000.0)) << " itr/sec)" << endl; + } + + // Do any additional setup after loading the view, typically from a nib. +} + +- (void)didReceiveMemoryWarning { + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +@end
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-test/main.m Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,16 @@ +// +// main.m +// native-fft-test +// +// Created by Chris Cannam on 17/10/2015. +// Copyright (c) 2015 Chris Cannam. All rights reserved. +// + +#import <UIKit/UIKit.h> +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-testTests/Info.plist Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,24 @@ +<?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>CFBundleDevelopmentRegion</key> + <string>en</string> + <key>CFBundleExecutable</key> + <string>$(EXECUTABLE_NAME)</string> + <key>CFBundleIdentifier</key> + <string>com.breakfastquay.$(PRODUCT_NAME:rfc1034identifier)</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>$(PRODUCT_NAME)</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1</string> +</dict> +</plist>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fft/native/native-fft-test/native-fft-testTests/native_fft_testTests.m Sat Oct 17 17:26:22 2015 +0100 @@ -0,0 +1,40 @@ +// +// native_fft_testTests.m +// native-fft-testTests +// +// Created by Chris Cannam on 17/10/2015. +// Copyright (c) 2015 Chris Cannam. All rights reserved. +// + +#import <UIKit/UIKit.h> +#import <XCTest/XCTest.h> + +@interface native_fft_testTests : XCTestCase + +@end + +@implementation native_fft_testTests + +- (void)setUp { + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // This is an example of a functional test case. + XCTAssert(YES, @"Pass"); +} + +- (void)testPerformanceExample { + // This is an example of a performance test case. + [self measureBlock:^{ + // Put the code you want to measure the time of here. + }]; +} + +@end