react-native-video-processing 2.0.0 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +129 -196
- package/VideoProcessing.podspec +29 -0
- package/android/build.gradle +40 -29
- package/android/src/main/AndroidManifest.xml +1 -3
- package/android/src/main/java/com/shahenlibrary/videoprocessing/MediaProbe.kt +105 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/PlanMath.kt +69 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/ProcessPlan.kt +100 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/SampleReverser.kt +79 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/SourceResolver.kt +81 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/ThumbnailGenerator.kt +61 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/TransformerRunner.kt +86 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/VideoProcessingError.kt +16 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/VideoProcessingModule.kt +133 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/VideoProcessingPackage.kt +25 -0
- package/android/src/main/java/com/shahenlibrary/videoprocessing/VideoProcessor.kt +146 -0
- package/ios/AudioSampleSource.swift +231 -0
- package/ios/FrameRenderer.swift +67 -0
- package/ios/MediaProbe.swift +93 -0
- package/ios/PlanMath.swift +67 -0
- package/ios/ProcessPlan.swift +112 -0
- package/ios/SourceResolver.swift +72 -0
- package/ios/ThumbnailGenerator.swift +65 -0
- package/ios/VideoExporter.swift +191 -0
- package/ios/VideoFrameSource.swift +169 -0
- package/ios/VideoProcessing.h +5 -0
- package/ios/VideoProcessing.mm +71 -0
- package/ios/VideoProcessingError.swift +26 -0
- package/ios/VideoProcessingImpl.swift +120 -0
- package/lib/module/NativeVideoProcessing.js +9 -0
- package/lib/module/NativeVideoProcessing.js.map +1 -0
- package/lib/module/Trimmer/Trimmer.js +246 -0
- package/lib/module/Trimmer/Trimmer.js.map +1 -0
- package/lib/module/Trimmer/trimmerMath.js +83 -0
- package/lib/module/Trimmer/trimmerMath.js.map +1 -0
- package/lib/module/VideoProcessing.js +127 -0
- package/lib/module/VideoProcessing.js.map +1 -0
- package/lib/module/errors.js +13 -0
- package/lib/module/errors.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/source.js +21 -0
- package/lib/module/source.js.map +1 -0
- package/lib/module/types.js +2 -0
- package/lib/module/types.js.map +1 -0
- package/lib/module/validation.js +121 -0
- package/lib/module/validation.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/NativeVideoProcessing.d.ts +36 -0
- package/lib/typescript/src/NativeVideoProcessing.d.ts.map +1 -0
- package/lib/typescript/src/Trimmer/Trimmer.d.ts +26 -0
- package/lib/typescript/src/Trimmer/Trimmer.d.ts.map +1 -0
- package/lib/typescript/src/Trimmer/trimmerMath.d.ts +17 -0
- package/lib/typescript/src/Trimmer/trimmerMath.d.ts.map +1 -0
- package/lib/typescript/src/VideoProcessing.d.ts +14 -0
- package/lib/typescript/src/VideoProcessing.d.ts.map +1 -0
- package/lib/typescript/src/errors.d.ts +7 -0
- package/lib/typescript/src/errors.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +6 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/source.d.ts +3 -0
- package/lib/typescript/src/source.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts +95 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/lib/typescript/src/validation.d.ts +21 -0
- package/lib/typescript/src/validation.d.ts.map +1 -0
- package/package.json +134 -57
- package/src/NativeVideoProcessing.ts +57 -0
- package/src/Trimmer/Trimmer.tsx +323 -0
- package/src/Trimmer/trimmerMath.ts +99 -0
- package/src/VideoProcessing.ts +152 -0
- package/src/errors.ts +15 -0
- package/src/index.tsx +16 -0
- package/src/source.ts +21 -0
- package/src/types.ts +101 -0
- package/src/validation.ts +168 -0
- package/.babelrc +0 -3
- package/.eslintrc +0 -28
- package/.flowconfig +0 -7
- package/.travis.yml +0 -16
- package/CODE_OF_CONDUCT.md +0 -46
- package/ISSUE_TEMPLATE.md +0 -21
- package/_config.yml +0 -1
- package/android/react-native-video-processing.iml +0 -126
- package/android/src/main/java/com/shahenlibrary/Events/Events.java +0 -17
- package/android/src/main/java/com/shahenlibrary/Events/EventsEnum.java +0 -19
- package/android/src/main/java/com/shahenlibrary/RNVideoProcessingPackage.java +0 -56
- package/android/src/main/java/com/shahenlibrary/Trimmer/Trimmer.java +0 -805
- package/android/src/main/java/com/shahenlibrary/Trimmer/TrimmerManager.java +0 -122
- package/android/src/main/java/com/shahenlibrary/VideoPlayer/VideoPlayerView.java +0 -524
- package/android/src/main/java/com/shahenlibrary/VideoPlayer/VideoPlayerViewManager.java +0 -202
- package/android/src/main/java/com/shahenlibrary/interfaces/OnCompressVideoListener.java +0 -8
- package/android/src/main/java/com/shahenlibrary/interfaces/OnTrimVideoListener.java +0 -36
- package/android/src/main/java/com/shahenlibrary/utils/VideoEdit.java +0 -239
- package/android/src/main/jniLibs/arm64-v8a/libffmpeg.so +0 -0
- package/android/src/main/jniLibs/armeabi-v7a/libffmpeg.so +0 -0
- package/android/src/main/jniLibs/x86/libffmpeg.so +0 -0
- package/android/src/main/jniLibs/x86_64/libffmpeg.so +0 -0
- package/index.js +0 -1
- package/init/index.js +0 -7
- package/ios/GPUImage/.travis.yml +0 -26
- package/ios/GPUImage/GPUImage.podspec +0 -27
- package/ios/GPUImage/License.txt +0 -9
- package/ios/GPUImage/README.md +0 -756
- package/ios/GPUImage/build.sh +0 -31
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/FilterShowcase-Info.plist +0 -34
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/FilterShowcase-Prefix.pch +0 -7
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/SLSAppDelegate.h +0 -9
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/SLSAppDelegate.m +0 -13
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/en.lproj/Credits.rtf +0 -29
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/en.lproj/MainMenu.xib +0 -3139
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase/main.m +0 -6
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase.xcodeproj/project.pbxproj +0 -429
- package/ios/GPUImage/examples/Mac/FilterShowcase/FilterShowcase.xcodeproj/xcshareddata/xcschemes/FilterShowcase.xcscheme +0 -86
- package/ios/GPUImage/examples/Mac/FilterShowcase/SLSFilterShowcaseWindowController.h +0 -134
- package/ios/GPUImage/examples/Mac/FilterShowcase/SLSFilterShowcaseWindowController.m +0 -1408
- package/ios/GPUImage/examples/Mac/FilterShowcase/SLSFilterShowcaseWindowController.xib +0 -581
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/AppDelegate.swift +0 -14
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/Base.lproj/MainMenu.xib +0 -666
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/FilterShowcaseWindowController.swift +0 -97
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/FilterShowcaseWindowController.xib +0 -95
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/Images.xcassets/AppIcon.appiconset/Contents.json +0 -58
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/Info.plist +0 -34
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift/main.swift +0 -3
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwift.xcodeproj/project.pbxproj +0 -538
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwiftTests/FilterShowcaseSwiftTests.swift +0 -36
- package/ios/GPUImage/examples/Mac/FilterShowcaseSwift/FilterShowcaseSwiftTests/Info.plist +0 -24
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/MultiViewFilterExample-Info.plist +0 -34
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/MultiViewFilterExample-Prefix.pch +0 -7
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/SLSAppDelegate.h +0 -11
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/SLSAppDelegate.m +0 -11
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/SLSMultiViewWindowController.h +0 -12
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/SLSMultiViewWindowController.m +0 -45
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/SLSMultiViewWindowController.xib +0 -309
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/Shader1.fsh +0 -19
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/Shader2.fsh +0 -11
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/en.lproj/Credits.rtf +0 -29
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/en.lproj/MainMenu.xib +0 -3128
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample/main.m +0 -6
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample.xcodeproj/project.pbxproj +0 -401
- package/ios/GPUImage/examples/Mac/MultiViewFilterExample/MultiViewFilterExample.xcodeproj/xcshareddata/xcschemes/MultiViewFilterExample.xcscheme +0 -86
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample/GPUImagePlayground.playground/Resources/ChairTest.png +0 -0
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample/GPUImagePlayground.playground/Resources/CustomFilter.fsh +0 -19
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample/GPUImagePlayground.playground/contents.xcplayground +0 -7
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample/GPUImagePlayground.playground/section-1.swift +0 -10
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample/GPUImagePlayground.playground/timeline.xctimeline +0 -15
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample/main.swift +0 -4
- package/ios/GPUImage/examples/Mac/PlaygroundExample/PlaygroundExample.xcodeproj/project.pbxproj +0 -307
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/AppDelegate.h +0 -10
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/AppDelegate.m +0 -16
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/Base.lproj/MainMenu.xib +0 -417
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/Images.xcassets/AppIcon.appiconset/Contents.json +0 -58
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/Info.plist +0 -34
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/ShaderDesignerWindowController.h +0 -31
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/ShaderDesignerWindowController.m +0 -165
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/ShaderDesignerWindowController.xib +0 -216
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner/main.m +0 -5
- package/ios/GPUImage/examples/Mac/ShaderDesigner/ShaderDesigner.xcodeproj/project.pbxproj +0 -361
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/SLSDocument.h +0 -13
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/SLSDocument.m +0 -83
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Info.plist +0 -67
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Prefix.pch +0 -7
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/en.lproj/Credits.rtf +0 -29
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/en.lproj/MainMenu.xib +0 -4562
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/en.lproj/SLSDocument.xib +0 -537
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter/main.m +0 -14
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/project.pbxproj +0 -389
- package/ios/GPUImage/examples/Mac/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/xcshareddata/xcschemes/SimplePhotoFilter.xcscheme +0 -86
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFileFilter.xcodeproj/project.pbxproj +0 -500
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/AppDelegate.h +0 -10
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/AppDelegate.m +0 -21
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/Base.lproj/MainMenu.xib +0 -676
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/Images.xcassets/AppIcon.appiconset/Contents.json +0 -58
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/Info.plist +0 -34
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/SLSSimpleVideoFileFilterWindowController.h +0 -5
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/SLSSimpleVideoFileFilterWindowController.m +0 -116
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/SLSSimpleVideoFileFilterWindowController.xib +0 -95
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/main.m +0 -13
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilter/sample_iPod.m4v +0 -0
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilterTests/Info.plist +0 -24
- package/ios/GPUImage/examples/Mac/SimpleVideoFileFilter/SimpleVideoFilterTests/SimpleVideoFilterTests.m +0 -40
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/AppDelegate.h +0 -10
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/AppDelegate.m +0 -21
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/Base.lproj/MainMenu.xib +0 -676
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/Images.xcassets/AppIcon.appiconset/Contents.json +0 -58
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/Info.plist +0 -34
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/SLSSimpleVideoFilterWindowController.h +0 -13
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/SLSSimpleVideoFilterWindowController.m +0 -65
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/SLSSimpleVideoFilterWindowController.xib +0 -34
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter/main.m +0 -13
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilter.xcodeproj/project.pbxproj +0 -495
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilterTests/Info.plist +0 -24
- package/ios/GPUImage/examples/Mac/SimpleVideoFilter/SimpleVideoFilterTests/SimpleVideoFilterTests.m +0 -40
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/41-picture-frame.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/41-picture-frame@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/46-movie-2.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/46-movie-2@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/86-camera.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/86-camera@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkAppDelegate.h +0 -13
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkAppDelegate.m +0 -81
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkSuite-Info.plist +0 -51
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkSuite-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkTableViewController.h +0 -11
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkTableViewController.m +0 -152
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/BenchmarkTableViewController.xib +0 -186
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/ImageFilteringBenchmarkController.h +0 -14
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/ImageFilteringBenchmarkController.m +0 -166
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/VideoFilteringBenchmarkController.h +0 -9
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/VideoFilteringBenchmarkController.m +0 -28
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/VideoFilteringDisplayController.h +0 -46
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/VideoFilteringDisplayController.m +0 -305
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/VideoFilteringDisplayController.xib +0 -119
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite/main.m +0 -10
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite.xcodeproj/project.pbxproj +0 -473
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/BenchmarkSuite.xcodeproj/xcshareddata/xcschemes/BenchmarkSuite.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/BenchmarkSuite/GlyphishIconLicense.txt +0 -14
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/ColorObjectTracking-Info.plist +0 -51
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/ColorObjectTracking-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/ColorTrackingAppDelegate.h +0 -12
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/ColorTrackingAppDelegate.m +0 -33
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/ColorTrackingViewController.h +0 -31
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/ColorTrackingViewController.m +0 -292
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/PositionColor.fsh +0 -45
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/Threshold.fsh +0 -39
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking/main.m +0 -10
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking.xcodeproj/project.pbxproj +0 -425
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/ColorObjectTracking.xcodeproj/xcshareddata/xcschemes/ColorObjectTracking.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/ColorObjectTracking/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/CubeExampleAppDelegate.h +0 -15
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/CubeExampleAppDelegate.m +0 -42
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/DisplayViewController.h +0 -21
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/DisplayViewController.m +0 -98
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/ES2Renderer.h +0 -44
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/ES2Renderer.m +0 -491
- package/ios/GPUImage/examples/iOS/CubeExample/Classes/ESRenderer.h +0 -10
- package/ios/GPUImage/examples/iOS/CubeExample/CubeExample-Info.plist +0 -49
- package/ios/GPUImage/examples/iOS/CubeExample/CubeExample.xcodeproj/project.pbxproj +0 -402
- package/ios/GPUImage/examples/iOS/CubeExample/CubeExample.xcodeproj/xcshareddata/xcschemes/CubeExample.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/CubeExample/CubeExample_Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/CubeExample/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/CubeExample/Shaders/Shader.fsh +0 -9
- package/ios/GPUImage/examples/iOS/CubeExample/Shaders/Shader.vsh +0 -12
- package/ios/GPUImage/examples/iOS/CubeExample/main.m +0 -17
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/71yih.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/8pixeltest.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/ChairTest.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/FeatureExtractionAppDelegate.h +0 -15
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/FeatureExtractionAppDelegate.m +0 -298
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/FeatureExtractionTest-Info.plist +0 -49
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/FeatureExtractionTest-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/GaussianTest.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/LBPTest.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/LineTest.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/LineTest2.png +0 -0
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest/main.m +0 -10
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest.xcodeproj/project.pbxproj +0 -432
- package/ios/GPUImage/examples/iOS/FeatureExtractionTest/FeatureExtractionTest.xcodeproj/xcshareddata/xcschemes/FeatureExtractionTest.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/FilterShowcase/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/CustomFilter.fsh +0 -19
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/FilterShowcase-Info.plist +0 -47
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/FilterShowcase-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/SampleConfiguration.plist +0 -24
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseAppDelegate.h +0 -14
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseAppDelegate.m +0 -24
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseFilterListController.h +0 -5
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseFilterListController.m +0 -242
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseFilterViewController.h +0 -157
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseFilterViewController.m +0 -1842
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/ShowcaseFilterViewController.xib +0 -242
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/curvies.png +0 -0
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/dotletterstiles.png +0 -0
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/main.m +0 -10
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/mask.png +0 -0
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/squares.png +0 -0
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase/voroni_points2.png +0 -0
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase.xcodeproj/project.pbxproj +0 -493
- package/ios/GPUImage/examples/iOS/FilterShowcase/FilterShowcase.xcodeproj/xcshareddata/xcschemes/FilterShowcase.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/AppDelegate.swift +0 -12
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/Base.lproj/Main.storyboard +0 -104
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/FilterDisplayViewController.swift +0 -91
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/FilterListViewController.swift +0 -37
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/FilterOperationTypes.swift +0 -69
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/FilterOperations.swift +0 -1211
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/Images.xcassets/AppIcon.appiconset/Contents.json +0 -68
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/Images.xcassets/LaunchImage.launchimage/Contents.json +0 -51
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift/Info.plist +0 -50
- package/ios/GPUImage/examples/iOS/FilterShowcaseSwift/FilterShowcaseSwift.xcodeproj/project.pbxproj +0 -430
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/MultiViewAppDelegate.h +0 -11
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/MultiViewAppDelegate.m +0 -66
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/MultiViewFilterExample-Info.plist +0 -49
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/MultiViewFilterExample-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/MultiViewViewController.h +0 -10
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/MultiViewViewController.m +0 -98
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/Shader1.fsh +0 -19
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/Shader2.fsh +0 -11
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample/main.m +0 -10
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample.xcodeproj/project.pbxproj +0 -423
- package/ios/GPUImage/examples/iOS/MultiViewFilterExample/MultiViewFilterExample.xcodeproj/xcshareddata/xcschemes/MultiViewFilterExample.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/RawDataTest/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/CalculationShader.fsh +0 -11
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/RawDataTest-Info.plist +0 -47
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/RawDataTest-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/RawDataTestAppDelegate.h +0 -8
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/RawDataTestAppDelegate.m +0 -56
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest/main.m +0 -10
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest.xcodeproj/project.pbxproj +0 -404
- package/ios/GPUImage/examples/iOS/RawDataTest/RawDataTest.xcodeproj/xcshareddata/xcschemes/RawDataTest.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon-72.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon-72@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon-Small-50.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon-Small-50@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon-Small.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon-Small@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/Icon@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SharedIcons/iTunesArtwork.png +0 -0
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/Lambeau.jpg +0 -0
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.h +0 -12
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageAppDelegate.m +0 -20
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageFilter-Info.plist +0 -46
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageFilter-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageViewController.h +0 -19
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/SimpleImageViewController.m +0 -189
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/WID-small.jpg +0 -0
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter/main.m +0 -10
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter.xcodeproj/project.pbxproj +0 -421
- package/ios/GPUImage/examples/iOS/SimpleImageFilter/SimpleImageFilter.xcodeproj/xcshareddata/xcschemes/SimpleImageFilter.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoAppDelegate.h +0 -12
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoAppDelegate.m +0 -49
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoViewController.h +0 -17
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/PhotoViewController.m +0 -132
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Info.plist +0 -49
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/SimplePhotoFilter-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter/main.m +0 -10
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/project.pbxproj +0 -414
- package/ios/GPUImage/examples/iOS/SimplePhotoFilter/SimplePhotoFilter.xcodeproj/xcshareddata/xcschemes/SimplePhotoFilter.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample/AppDelegate.swift +0 -11
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample/Base.lproj/Main.storyboard +0 -26
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample/Images.xcassets/LaunchImage.launchimage/Contents.json +0 -51
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample/Info.plist +0 -36
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample/ViewController.swift +0 -19
- package/ios/GPUImage/examples/iOS/SimpleSwiftVideoFilterExample/SimpleSwiftVideoFilterExample.xcodeproj/project.pbxproj +0 -375
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilter-Info.plist +0 -51
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilter-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilterAppDelegate.h +0 -11
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilterAppDelegate.m +0 -71
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilterViewController.h +0 -15
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilterViewController.m +0 -97
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/SimpleVideoFileFilterViewController.xib +0 -47
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/WID-small.jpg +0 -0
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/main.m +0 -10
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter/sample_iPod.m4v +0 -0
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter.xcodeproj/project.pbxproj +0 -431
- package/ios/GPUImage/examples/iOS/SimpleVideoFileFilter/SimpleVideoFileFilter.xcodeproj/xcshareddata/xcschemes/SimpleVideoFileFilter.xcscheme +0 -86
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/Default-568h@2x.png +0 -0
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilter-Info.plist +0 -51
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilter-Prefix.pch +0 -14
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilterAppDelegate.h +0 -11
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilterAppDelegate.m +0 -70
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilterViewController.h +0 -13
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilterViewController.m +0 -167
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/SimpleVideoFilterViewController.xib +0 -30
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter/main.m +0 -10
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter.xcodeproj/project.pbxproj +0 -430
- package/ios/GPUImage/examples/iOS/SimpleVideoFilter/SimpleVideoFilter.xcodeproj/xcshareddata/xcschemes/SimpleVideoFilter.xcscheme +0 -86
- package/ios/GPUImage/framework/GPUImage.xcodeproj/project.pbxproj +0 -2609
- package/ios/GPUImage/framework/GPUImage.xcodeproj/xcshareddata/xcschemes/Documentation.xcscheme +0 -71
- package/ios/GPUImage/framework/GPUImage.xcodeproj/xcshareddata/xcschemes/GPUImage.xcscheme +0 -81
- package/ios/GPUImage/framework/GPUImage.xcodeproj/xcshareddata/xcschemes/GPUImageFramework.xcscheme +0 -73
- package/ios/GPUImage/framework/GPUImageMac.xcodeproj/project.pbxproj +0 -1647
- package/ios/GPUImage/framework/GPUImageMac.xcodeproj/xcshareddata/xcschemes/GPUImage.xcscheme +0 -59
- package/ios/GPUImage/framework/Resources/lookup.png +0 -0
- package/ios/GPUImage/framework/Resources/lookup_amatorka.png +0 -0
- package/ios/GPUImage/framework/Resources/lookup_miss_etikate.png +0 -0
- package/ios/GPUImage/framework/Resources/lookup_soft_elegance_1.png +0 -0
- package/ios/GPUImage/framework/Resources/lookup_soft_elegance_2.png +0 -0
- package/ios/GPUImage/framework/Source/GLProgram.h +0 -42
- package/ios/GPUImage/framework/Source/GLProgram.m +0 -236
- package/ios/GPUImage/framework/Source/GPUImage.h +0 -170
- package/ios/GPUImage/framework/Source/GPUImage3x3ConvolutionFilter.h +0 -18
- package/ios/GPUImage/framework/Source/GPUImage3x3ConvolutionFilter.m +0 -128
- package/ios/GPUImage/framework/Source/GPUImage3x3TextureSamplingFilter.h +0 -18
- package/ios/GPUImage/framework/Source/GPUImage3x3TextureSamplingFilter.m +0 -121
- package/ios/GPUImage/framework/Source/GPUImageAdaptiveThresholdFilter.h +0 -9
- package/ios/GPUImage/framework/Source/GPUImageAdaptiveThresholdFilter.m +0 -100
- package/ios/GPUImage/framework/Source/GPUImageAddBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageAddBlendFilter.m +0 -100
- package/ios/GPUImage/framework/Source/GPUImageAlphaBlendFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageAlphaBlendFilter.m +0 -72
- package/ios/GPUImage/framework/Source/GPUImageAmatorkaFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageAmatorkaFilter.m +0 -38
- package/ios/GPUImage/framework/Source/GPUImageAverageColor.h +0 -20
- package/ios/GPUImage/framework/Source/GPUImageAverageColor.m +0 -204
- package/ios/GPUImage/framework/Source/GPUImageAverageLuminanceThresholdFilter.h +0 -8
- package/ios/GPUImage/framework/Source/GPUImageAverageLuminanceThresholdFilter.m +0 -47
- package/ios/GPUImage/framework/Source/GPUImageBilateralFilter.h +0 -10
- package/ios/GPUImage/framework/Source/GPUImageBilateralFilter.m +0 -231
- package/ios/GPUImage/framework/Source/GPUImageBoxBlurFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageBoxBlurFilter.m +0 -178
- package/ios/GPUImage/framework/Source/GPUImageBrightnessFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageBrightnessFilter.m +0 -66
- package/ios/GPUImage/framework/Source/GPUImageBuffer.h +0 -10
- package/ios/GPUImage/framework/Source/GPUImageBuffer.m +0 -112
- package/ios/GPUImage/framework/Source/GPUImageBulgeDistortionFilter.h +0 -16
- package/ios/GPUImage/framework/Source/GPUImageBulgeDistortionFilter.m +0 -174
- package/ios/GPUImage/framework/Source/GPUImageCGAColorspaceFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageCGAColorspaceFilter.m +0 -113
- package/ios/GPUImage/framework/Source/GPUImageCannyEdgeDetectionFilter.h +0 -62
- package/ios/GPUImage/framework/Source/GPUImageCannyEdgeDetectionFilter.m +0 -125
- package/ios/GPUImage/framework/Source/GPUImageChromaKeyBlendFilter.h +0 -32
- package/ios/GPUImage/framework/Source/GPUImageChromaKeyBlendFilter.m +0 -117
- package/ios/GPUImage/framework/Source/GPUImageChromaKeyFilter.h +0 -30
- package/ios/GPUImage/framework/Source/GPUImageChromaKeyFilter.m +0 -113
- package/ios/GPUImage/framework/Source/GPUImageClosingFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageClosingFilter.m +0 -57
- package/ios/GPUImage/framework/Source/GPUImageColorBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageColorBlendFilter.m +0 -113
- package/ios/GPUImage/framework/Source/GPUImageColorBurnBlendFilter.h +0 -9
- package/ios/GPUImage/framework/Source/GPUImageColorBurnBlendFilter.m +0 -52
- package/ios/GPUImage/framework/Source/GPUImageColorConversion.h +0 -12
- package/ios/GPUImage/framework/Source/GPUImageColorConversion.m +0 -159
- package/ios/GPUImage/framework/Source/GPUImageColorDodgeBlendFilter.h +0 -9
- package/ios/GPUImage/framework/Source/GPUImageColorDodgeBlendFilter.m +0 -75
- package/ios/GPUImage/framework/Source/GPUImageColorInvertFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageColorInvertFilter.m +0 -46
- package/ios/GPUImage/framework/Source/GPUImageColorLocalBinaryPatternFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageColorLocalBinaryPatternFilter.m +0 -159
- package/ios/GPUImage/framework/Source/GPUImageColorMatrixFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageColorMatrixFilter.m +0 -87
- package/ios/GPUImage/framework/Source/GPUImageColorPackingFilter.h +0 -10
- package/ios/GPUImage/framework/Source/GPUImageColorPackingFilter.m +0 -139
- package/ios/GPUImage/framework/Source/GPUImageColourFASTFeatureDetector.h +0 -21
- package/ios/GPUImage/framework/Source/GPUImageColourFASTFeatureDetector.m +0 -48
- package/ios/GPUImage/framework/Source/GPUImageColourFASTSamplingOperation.h +0 -22
- package/ios/GPUImage/framework/Source/GPUImageColourFASTSamplingOperation.m +0 -204
- package/ios/GPUImage/framework/Source/GPUImageContrastFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageContrastFilter.m +0 -66
- package/ios/GPUImage/framework/Source/GPUImageCropFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageCropFilter.m +0 -274
- package/ios/GPUImage/framework/Source/GPUImageCrosshairGenerator.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageCrosshairGenerator.m +0 -139
- package/ios/GPUImage/framework/Source/GPUImageCrosshatchFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageCrosshatchFilter.m +0 -163
- package/ios/GPUImage/framework/Source/GPUImageDarkenBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageDarkenBlendFilter.m +0 -52
- package/ios/GPUImage/framework/Source/GPUImageDifferenceBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageDifferenceBlendFilter.m +0 -50
- package/ios/GPUImage/framework/Source/GPUImageDilationFilter.h +0 -16
- package/ios/GPUImage/framework/Source/GPUImageDilationFilter.m +0 -431
- package/ios/GPUImage/framework/Source/GPUImageDirectionalNonMaximumSuppressionFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageDirectionalNonMaximumSuppressionFilter.m +0 -141
- package/ios/GPUImage/framework/Source/GPUImageDirectionalSobelEdgeDetectionFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageDirectionalSobelEdgeDetectionFilter.m +0 -103
- package/ios/GPUImage/framework/Source/GPUImageDissolveBlendFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageDissolveBlendFilter.m +0 -72
- package/ios/GPUImage/framework/Source/GPUImageDivideBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageDivideBlendFilter.m +0 -96
- package/ios/GPUImage/framework/Source/GPUImageEmbossFilter.h +0 -8
- package/ios/GPUImage/framework/Source/GPUImageEmbossFilter.m +0 -49
- package/ios/GPUImage/framework/Source/GPUImageErosionFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageErosionFilter.m +0 -312
- package/ios/GPUImage/framework/Source/GPUImageExclusionBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageExclusionBlendFilter.m +0 -56
- package/ios/GPUImage/framework/Source/GPUImageExposureFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageExposureFilter.m +0 -66
- package/ios/GPUImage/framework/Source/GPUImageFASTCornerDetectionFilter.h +0 -33
- package/ios/GPUImage/framework/Source/GPUImageFASTCornerDetectionFilter.m +0 -89
- package/ios/GPUImage/framework/Source/GPUImageFalseColorFilter.h +0 -15
- package/ios/GPUImage/framework/Source/GPUImageFalseColorFilter.m +0 -101
- package/ios/GPUImage/framework/Source/GPUImageFilter.h +0 -134
- package/ios/GPUImage/framework/Source/GPUImageFilter.m +0 -753
- package/ios/GPUImage/framework/Source/GPUImageFilterGroup.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageFilterGroup.m +0 -208
- package/ios/GPUImage/framework/Source/GPUImageFilterPipeline.h +0 -30
- package/ios/GPUImage/framework/Source/GPUImageFilterPipeline.m +0 -218
- package/ios/GPUImage/framework/Source/GPUImageFourInputFilter.h +0 -21
- package/ios/GPUImage/framework/Source/GPUImageFourInputFilter.m +0 -401
- package/ios/GPUImage/framework/Source/GPUImageFramebuffer.h +0 -59
- package/ios/GPUImage/framework/Source/GPUImageFramebuffer.m +0 -457
- package/ios/GPUImage/framework/Source/GPUImageFramebufferCache.h +0 -15
- package/ios/GPUImage/framework/Source/GPUImageFramebufferCache.m +0 -190
- package/ios/GPUImage/framework/Source/GPUImageGammaFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageGammaFilter.m +0 -66
- package/ios/GPUImage/framework/Source/GPUImageGaussianBlurFilter.h +0 -36
- package/ios/GPUImage/framework/Source/GPUImageGaussianBlurFilter.m +0 -513
- package/ios/GPUImage/framework/Source/GPUImageGaussianBlurPositionFilter.h +0 -22
- package/ios/GPUImage/framework/Source/GPUImageGaussianBlurPositionFilter.m +0 -232
- package/ios/GPUImage/framework/Source/GPUImageGaussianSelectiveBlurFilter.h +0 -30
- package/ios/GPUImage/framework/Source/GPUImageGaussianSelectiveBlurFilter.m +0 -147
- package/ios/GPUImage/framework/Source/GPUImageGlassSphereFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageGlassSphereFilter.m +0 -106
- package/ios/GPUImage/framework/Source/GPUImageGrayscaleFilter.h +0 -9
- package/ios/GPUImage/framework/Source/GPUImageGrayscaleFilter.m +0 -141
- package/ios/GPUImage/framework/Source/GPUImageHSBFilter.h +0 -27
- package/ios/GPUImage/framework/Source/GPUImageHSBFilter.m +0 -414
- package/ios/GPUImage/framework/Source/GPUImageHalftoneFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageHalftoneFilter.m +0 -79
- package/ios/GPUImage/framework/Source/GPUImageHardLightBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageHardLightBlendFilter.m +0 -99
- package/ios/GPUImage/framework/Source/GPUImageHarrisCornerDetectionFilter.h +0 -53
- package/ios/GPUImage/framework/Source/GPUImageHarrisCornerDetectionFilter.m +0 -292
- package/ios/GPUImage/framework/Source/GPUImageHazeFilter.h +0 -29
- package/ios/GPUImage/framework/Source/GPUImageHazeFilter.m +0 -96
- package/ios/GPUImage/framework/Source/GPUImageHighPassFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageHighPassFilter.m +0 -46
- package/ios/GPUImage/framework/Source/GPUImageHighlightShadowFilter.h +0 -20
- package/ios/GPUImage/framework/Source/GPUImageHighlightShadowFilter.m +0 -93
- package/ios/GPUImage/framework/Source/GPUImageHighlightShadowTintFilter.h +0 -25
- package/ios/GPUImage/framework/Source/GPUImageHighlightShadowTintFilter.m +0 -136
- package/ios/GPUImage/framework/Source/GPUImageHistogramEqualizationFilter.h +0 -26
- package/ios/GPUImage/framework/Source/GPUImageHistogramEqualizationFilter.m +0 -307
- package/ios/GPUImage/framework/Source/GPUImageHistogramFilter.h +0 -22
- package/ios/GPUImage/framework/Source/GPUImageHistogramFilter.m +0 -341
- package/ios/GPUImage/framework/Source/GPUImageHistogramGenerator.h +0 -8
- package/ios/GPUImage/framework/Source/GPUImageHistogramGenerator.m +0 -87
- package/ios/GPUImage/framework/Source/GPUImageHoughTransformLineDetector.h +0 -49
- package/ios/GPUImage/framework/Source/GPUImageHoughTransformLineDetector.m +0 -241
- package/ios/GPUImage/framework/Source/GPUImageHueBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageHueBlendFilter.m +0 -212
- package/ios/GPUImage/framework/Source/GPUImageHueFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageHueFilter.m +0 -123
- package/ios/GPUImage/framework/Source/GPUImageJFAVoronoiFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageJFAVoronoiFilter.m +0 -446
- package/ios/GPUImage/framework/Source/GPUImageKuwaharaFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageKuwaharaFilter.m +0 -223
- package/ios/GPUImage/framework/Source/GPUImageKuwaharaRadius3Filter.h +0 -8
- package/ios/GPUImage/framework/Source/GPUImageKuwaharaRadius3Filter.m +0 -547
- package/ios/GPUImage/framework/Source/GPUImageLanczosResamplingFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageLanczosResamplingFilter.m +0 -239
- package/ios/GPUImage/framework/Source/GPUImageLaplacianFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageLaplacianFilter.m +0 -115
- package/ios/GPUImage/framework/Source/GPUImageLevelsFilter.h +0 -45
- package/ios/GPUImage/framework/Source/GPUImageLevelsFilter.m +0 -152
- package/ios/GPUImage/framework/Source/GPUImageLightenBlendFilter.h +0 -8
- package/ios/GPUImage/framework/Source/GPUImageLightenBlendFilter.m +0 -52
- package/ios/GPUImage/framework/Source/GPUImageLineGenerator.h +0 -18
- package/ios/GPUImage/framework/Source/GPUImageLineGenerator.m +0 -164
- package/ios/GPUImage/framework/Source/GPUImageLinearBurnBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageLinearBurnBlendFilter.m +0 -51
- package/ios/GPUImage/framework/Source/GPUImageLocalBinaryPatternFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageLocalBinaryPatternFilter.m +0 -123
- package/ios/GPUImage/framework/Source/GPUImageLookupFilter.h +0 -34
- package/ios/GPUImage/framework/Source/GPUImageLookupFilter.m +0 -115
- package/ios/GPUImage/framework/Source/GPUImageLowPassFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageLowPassFilter.m +0 -61
- package/ios/GPUImage/framework/Source/GPUImageLuminanceRangeFilter.h +0 -12
- package/ios/GPUImage/framework/Source/GPUImageLuminanceRangeFilter.m +0 -76
- package/ios/GPUImage/framework/Source/GPUImageLuminanceThresholdFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageLuminanceThresholdFilter.m +0 -74
- package/ios/GPUImage/framework/Source/GPUImageLuminosity.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageLuminosity.m +0 -329
- package/ios/GPUImage/framework/Source/GPUImageLuminosityBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageLuminosityBlendFilter.m +0 -113
- package/ios/GPUImage/framework/Source/GPUImageMaskFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageMaskFilter.m +0 -76
- package/ios/GPUImage/framework/Source/GPUImageMedianFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageMedianFilter.m +0 -178
- package/ios/GPUImage/framework/Source/GPUImageMissEtikateFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageMissEtikateFilter.m +0 -38
- package/ios/GPUImage/framework/Source/GPUImageMonochromeFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageMonochromeFilter.m +0 -115
- package/ios/GPUImage/framework/Source/GPUImageMosaicFilter.h +0 -22
- package/ios/GPUImage/framework/Source/GPUImageMosaicFilter.m +0 -188
- package/ios/GPUImage/framework/Source/GPUImageMotionBlurFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageMotionBlurFilter.m +0 -209
- package/ios/GPUImage/framework/Source/GPUImageMotionDetector.h +0 -18
- package/ios/GPUImage/framework/Source/GPUImageMotionDetector.m +0 -112
- package/ios/GPUImage/framework/Source/GPUImageMovie.h +0 -61
- package/ios/GPUImage/framework/Source/GPUImageMovie.m +0 -876
- package/ios/GPUImage/framework/Source/GPUImageMovieComposition.h +0 -21
- package/ios/GPUImage/framework/Source/GPUImageMovieComposition.m +0 -70
- package/ios/GPUImage/framework/Source/GPUImageMultiplyBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageMultiplyBlendFilter.m +0 -52
- package/ios/GPUImage/framework/Source/GPUImageNobleCornerDetectionFilter.h +0 -12
- package/ios/GPUImage/framework/Source/GPUImageNobleCornerDetectionFilter.m +0 -74
- package/ios/GPUImage/framework/Source/GPUImageNonMaximumSuppressionFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageNonMaximumSuppressionFilter.m +0 -107
- package/ios/GPUImage/framework/Source/GPUImageNormalBlendFilter.h +0 -8
- package/ios/GPUImage/framework/Source/GPUImageNormalBlendFilter.m +0 -96
- package/ios/GPUImage/framework/Source/GPUImageOpacityFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageOpacityFilter.m +0 -65
- package/ios/GPUImage/framework/Source/GPUImageOpeningFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageOpeningFilter.m +0 -57
- package/ios/GPUImage/framework/Source/GPUImageOutput.h +0 -128
- package/ios/GPUImage/framework/Source/GPUImageOutput.m +0 -439
- package/ios/GPUImage/framework/Source/GPUImageOverlayBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageOverlayBlendFilter.m +0 -94
- package/ios/GPUImage/framework/Source/GPUImageParallelCoordinateLineTransformFilter.h +0 -16
- package/ios/GPUImage/framework/Source/GPUImageParallelCoordinateLineTransformFilter.m +0 -266
- package/ios/GPUImage/framework/Source/GPUImagePerlinNoiseFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImagePerlinNoiseFilter.m +0 -239
- package/ios/GPUImage/framework/Source/GPUImagePinchDistortionFilter.h +0 -20
- package/ios/GPUImage/framework/Source/GPUImagePinchDistortionFilter.m +0 -176
- package/ios/GPUImage/framework/Source/GPUImagePixellateFilter.h +0 -12
- package/ios/GPUImage/framework/Source/GPUImagePixellateFilter.m +0 -151
- package/ios/GPUImage/framework/Source/GPUImagePixellatePositionFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImagePixellatePositionFilter.m +0 -194
- package/ios/GPUImage/framework/Source/GPUImagePoissonBlendFilter.h +0 -18
- package/ios/GPUImage/framework/Source/GPUImagePoissonBlendFilter.m +0 -175
- package/ios/GPUImage/framework/Source/GPUImagePolarPixellateFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImagePolarPixellateFilter.m +0 -128
- package/ios/GPUImage/framework/Source/GPUImagePolkaDotFilter.h +0 -10
- package/ios/GPUImage/framework/Source/GPUImagePolkaDotFilter.m +0 -85
- package/ios/GPUImage/framework/Source/GPUImagePosterizeFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImagePosterizeFilter.m +0 -66
- package/ios/GPUImage/framework/Source/GPUImagePrewittEdgeDetectionFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImagePrewittEdgeDetectionFilter.m +0 -97
- package/ios/GPUImage/framework/Source/GPUImageRGBClosingFilter.h +0 -18
- package/ios/GPUImage/framework/Source/GPUImageRGBClosingFilter.m +0 -41
- package/ios/GPUImage/framework/Source/GPUImageRGBDilationFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageRGBDilationFilter.m +0 -306
- package/ios/GPUImage/framework/Source/GPUImageRGBErosionFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageRGBErosionFilter.m +0 -304
- package/ios/GPUImage/framework/Source/GPUImageRGBFilter.h +0 -15
- package/ios/GPUImage/framework/Source/GPUImageRGBFilter.m +0 -89
- package/ios/GPUImage/framework/Source/GPUImageRGBOpeningFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageRGBOpeningFilter.m +0 -41
- package/ios/GPUImage/framework/Source/GPUImageRawDataInput.h +0 -43
- package/ios/GPUImage/framework/Source/GPUImageRawDataInput.m +0 -139
- package/ios/GPUImage/framework/Source/GPUImageRawDataOutput.h +0 -44
- package/ios/GPUImage/framework/Source/GPUImageRawDataOutput.m +0 -307
- package/ios/GPUImage/framework/Source/GPUImageSaturationBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageSaturationBlendFilter.m +0 -213
- package/ios/GPUImage/framework/Source/GPUImageSaturationFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageSaturationFilter.m +0 -78
- package/ios/GPUImage/framework/Source/GPUImageScreenBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageScreenBlendFilter.m +0 -52
- package/ios/GPUImage/framework/Source/GPUImageSepiaFilter.h +0 -6
- package/ios/GPUImage/framework/Source/GPUImageSepiaFilter.m +0 -24
- package/ios/GPUImage/framework/Source/GPUImageSharpenFilter.h +0 -12
- package/ios/GPUImage/framework/Source/GPUImageSharpenFilter.m +0 -147
- package/ios/GPUImage/framework/Source/GPUImageShiTomasiFeatureDetectionFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageShiTomasiFeatureDetectionFilter.m +0 -65
- package/ios/GPUImage/framework/Source/GPUImageSingleComponentGaussianBlurFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageSingleComponentGaussianBlurFilter.m +0 -189
- package/ios/GPUImage/framework/Source/GPUImageSketchFilter.h +0 -11
- package/ios/GPUImage/framework/Source/GPUImageSketchFilter.m +0 -98
- package/ios/GPUImage/framework/Source/GPUImageSkinToneFilter.h +0 -47
- package/ios/GPUImage/framework/Source/GPUImageSkinToneFilter.m +0 -246
- package/ios/GPUImage/framework/Source/GPUImageSmoothToonFilter.h +0 -28
- package/ios/GPUImage/framework/Source/GPUImageSmoothToonFilter.m +0 -94
- package/ios/GPUImage/framework/Source/GPUImageSobelEdgeDetectionFilter.h +0 -16
- package/ios/GPUImage/framework/Source/GPUImageSobelEdgeDetectionFilter.m +0 -188
- package/ios/GPUImage/framework/Source/GPUImageSoftEleganceFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageSoftEleganceFilter.m +0 -62
- package/ios/GPUImage/framework/Source/GPUImageSoftLightBlendFilter.h +0 -7
- package/ios/GPUImage/framework/Source/GPUImageSoftLightBlendFilter.m +0 -54
- package/ios/GPUImage/framework/Source/GPUImageSolarizeFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageSolarizeFilter.m +0 -76
- package/ios/GPUImage/framework/Source/GPUImageSolidColorGenerator.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageSolidColorGenerator.m +0 -123
- package/ios/GPUImage/framework/Source/GPUImageSourceOverBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageSourceOverBlendFilter.m +0 -51
- package/ios/GPUImage/framework/Source/GPUImageSphereRefractionFilter.h +0 -15
- package/ios/GPUImage/framework/Source/GPUImageSphereRefractionFilter.m +0 -179
- package/ios/GPUImage/framework/Source/GPUImageStillCamera.h +0 -24
- package/ios/GPUImage/framework/Source/GPUImageStillCamera.m +0 -338
- package/ios/GPUImage/framework/Source/GPUImageStretchDistortionFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageStretchDistortionFilter.m +0 -99
- package/ios/GPUImage/framework/Source/GPUImageSubtractBlendFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageSubtractBlendFilter.m +0 -52
- package/ios/GPUImage/framework/Source/GPUImageSwirlFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageSwirlFilter.m +0 -123
- package/ios/GPUImage/framework/Source/GPUImageTextureInput.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageTextureInput.m +0 -46
- package/ios/GPUImage/framework/Source/GPUImageTextureOutput.h +0 -21
- package/ios/GPUImage/framework/Source/GPUImageTextureOutput.m +0 -83
- package/ios/GPUImage/framework/Source/GPUImageThreeInputFilter.h +0 -21
- package/ios/GPUImage/framework/Source/GPUImageThreeInputFilter.m +0 -328
- package/ios/GPUImage/framework/Source/GPUImageThresholdEdgeDetectionFilter.h +0 -12
- package/ios/GPUImage/framework/Source/GPUImageThresholdEdgeDetectionFilter.m +0 -145
- package/ios/GPUImage/framework/Source/GPUImageThresholdSketchFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageThresholdSketchFilter.m +0 -103
- package/ios/GPUImage/framework/Source/GPUImageThresholdedNonMaximumSuppressionFilter.h +0 -14
- package/ios/GPUImage/framework/Source/GPUImageThresholdedNonMaximumSuppressionFilter.m +0 -297
- package/ios/GPUImage/framework/Source/GPUImageTiltShiftFilter.h +0 -24
- package/ios/GPUImage/framework/Source/GPUImageTiltShiftFilter.m +0 -126
- package/ios/GPUImage/framework/Source/GPUImageToneCurveFilter.h +0 -30
- package/ios/GPUImage/framework/Source/GPUImageToneCurveFilter.m +0 -621
- package/ios/GPUImage/framework/Source/GPUImageToonFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageToonFilter.m +0 -149
- package/ios/GPUImage/framework/Source/GPUImageTransformFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageTransformFilter.m +0 -260
- package/ios/GPUImage/framework/Source/GPUImageTwoInputCrossTextureSamplingFilter.h +0 -15
- package/ios/GPUImage/framework/Source/GPUImageTwoInputCrossTextureSamplingFilter.m +0 -108
- package/ios/GPUImage/framework/Source/GPUImageTwoInputFilter.h +0 -21
- package/ios/GPUImage/framework/Source/GPUImageTwoInputFilter.m +0 -264
- package/ios/GPUImage/framework/Source/GPUImageTwoPassFilter.h +0 -19
- package/ios/GPUImage/framework/Source/GPUImageTwoPassFilter.m +0 -201
- package/ios/GPUImage/framework/Source/GPUImageTwoPassTextureSamplingFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageTwoPassTextureSamplingFilter.m +0 -85
- package/ios/GPUImage/framework/Source/GPUImageUIElement.h +0 -15
- package/ios/GPUImage/framework/Source/GPUImageUIElement.m +0 -123
- package/ios/GPUImage/framework/Source/GPUImageUnsharpMaskFilter.h +0 -16
- package/ios/GPUImage/framework/Source/GPUImageUnsharpMaskFilter.m +0 -101
- package/ios/GPUImage/framework/Source/GPUImageVibranceFilter.h +0 -20
- package/ios/GPUImage/framework/Source/GPUImageVibranceFilter.m +0 -78
- package/ios/GPUImage/framework/Source/GPUImageVideoCamera.h +0 -156
- package/ios/GPUImage/framework/Source/GPUImageVideoCamera.m +0 -1062
- package/ios/GPUImage/framework/Source/GPUImageVignetteFilter.h +0 -22
- package/ios/GPUImage/framework/Source/GPUImageVignetteFilter.m +0 -104
- package/ios/GPUImage/framework/Source/GPUImageVoronoiConsumerFilter.h +0 -10
- package/ios/GPUImage/framework/Source/GPUImageVoronoiConsumerFilter.m +0 -94
- package/ios/GPUImage/framework/Source/GPUImageWeakPixelInclusionFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageWeakPixelInclusionFilter.m +0 -94
- package/ios/GPUImage/framework/Source/GPUImageWhiteBalanceFilter.h +0 -17
- package/ios/GPUImage/framework/Source/GPUImageWhiteBalanceFilter.m +0 -107
- package/ios/GPUImage/framework/Source/GPUImageXYDerivativeFilter.h +0 -5
- package/ios/GPUImage/framework/Source/GPUImageXYDerivativeFilter.m +0 -106
- package/ios/GPUImage/framework/Source/GPUImageZoomBlurFilter.h +0 -13
- package/ios/GPUImage/framework/Source/GPUImageZoomBlurFilter.m +0 -115
- package/ios/GPUImage/framework/Source/GPUImageiOSBlurFilter.h +0 -31
- package/ios/GPUImage/framework/Source/GPUImageiOSBlurFilter.m +0 -114
- package/ios/GPUImage/framework/Source/Mac/GPUImage.h +0 -167
- package/ios/GPUImage/framework/Source/Mac/GPUImageAVCamera.h +0 -132
- package/ios/GPUImage/framework/Source/Mac/GPUImageAVCamera.m +0 -771
- package/ios/GPUImage/framework/Source/Mac/GPUImageContext.h +0 -55
- package/ios/GPUImage/framework/Source/Mac/GPUImageContext.m +0 -268
- package/ios/GPUImage/framework/Source/Mac/GPUImageMac-Info.plist +0 -30
- package/ios/GPUImage/framework/Source/Mac/GPUImageMac-Prefix.pch +0 -7
- package/ios/GPUImage/framework/Source/Mac/GPUImageMovieWriter.h +0 -57
- package/ios/GPUImage/framework/Source/Mac/GPUImageMovieWriter.m +0 -644
- package/ios/GPUImage/framework/Source/Mac/GPUImagePicture.h +0 -25
- package/ios/GPUImage/framework/Source/Mac/GPUImagePicture.m +0 -299
- package/ios/GPUImage/framework/Source/Mac/GPUImageView.h +0 -39
- package/ios/GPUImage/framework/Source/Mac/GPUImageView.m +0 -458
- package/ios/GPUImage/framework/Source/Mac/en.lproj/InfoPlist.strings +0 -2
- package/ios/GPUImage/framework/Source/iOS/Framework/GPUImageFramework.h +0 -177
- package/ios/GPUImage/framework/Source/iOS/Framework/Info.plist +0 -26
- package/ios/GPUImage/framework/Source/iOS/Framework/module.modulemap +0 -6
- package/ios/GPUImage/framework/Source/iOS/GPUImage-Prefix.pch +0 -7
- package/ios/GPUImage/framework/Source/iOS/GPUImageContext.h +0 -64
- package/ios/GPUImage/framework/Source/iOS/GPUImageContext.m +0 -320
- package/ios/GPUImage/framework/Source/iOS/GPUImageMovieWriter.h +0 -67
- package/ios/GPUImage/framework/Source/iOS/GPUImageMovieWriter.m +0 -1016
- package/ios/GPUImage/framework/Source/iOS/GPUImagePicture+TextureSubimage.h +0 -19
- package/ios/GPUImage/framework/Source/iOS/GPUImagePicture+TextureSubimage.m +0 -103
- package/ios/GPUImage/framework/Source/iOS/GPUImagePicture.h +0 -38
- package/ios/GPUImage/framework/Source/iOS/GPUImagePicture.m +0 -371
- package/ios/GPUImage/framework/Source/iOS/GPUImageView.h +0 -41
- package/ios/GPUImage/framework/Source/iOS/GPUImageView.m +0 -484
- package/ios/RNVideoProcessing/RCTSwiftBridgeModule.h +0 -29
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGRulerView.h +0 -26
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGRulerView.m +0 -102
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGThumbView.h +0 -27
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGThumbView.m +0 -98
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGVideoTrimmer.h +0 -16
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGVideoTrimmerView.h +0 -80
- package/ios/RNVideoProcessing/RNTrimmerView/ICGVideoTrimmer/ICGVideoTrimmerView.m +0 -464
- package/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerView-Bridging-Header.h +0 -11
- package/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerView.h +0 -15
- package/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerView.swift +0 -273
- package/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerViewBridge.m +0 -28
- package/ios/RNVideoProcessing/RNTrimmerView/RNTrimmerViewManager.swift +0 -17
- package/ios/RNVideoProcessing/RNVideoPlayer.swift +0 -450
- package/ios/RNVideoProcessing/RNVideoProcessing-Bridging-Header.h +0 -6
- package/ios/RNVideoProcessing/RNVideoProcessing.h +0 -13
- package/ios/RNVideoProcessing/RNVideoProcessingBridge.m +0 -28
- package/ios/RNVideoProcessing/RNVideoProcessingManager.swift +0 -31
- package/ios/RNVideoProcessing/RNVideoTrimmer/AVUtilities.swift +0 -81
- package/ios/RNVideoProcessing/RNVideoTrimmer/RNVideoTrimmer-Bridging-Header.h +0 -11
- package/ios/RNVideoProcessing/RNVideoTrimmer/RNVideoTrimmer.swift +0 -745
- package/ios/RNVideoProcessing/RNVideoTrimmer/RNVideoTrimmerBridge.m +0 -22
- package/ios/RNVideoProcessing/RNVideoTrimmer/SDAVAssetExportSession.h +0 -194
- package/ios/RNVideoProcessing/RNVideoTrimmer/SDAVAssetExportSession.m +0 -465
- package/ios/RNVideoProcessing/VideoProcessingGPUFilters.swift +0 -30
- package/ios/RNVideoProcessing.xcodeproj/project.pbxproj +0 -405
- package/lib/ProcessingManager/ProcessingManager.android.js +0 -104
- package/lib/ProcessingManager/ProcessingManager.ios.js +0 -129
- package/lib/ProcessingManager/index.js +0 -1
- package/lib/ProcessingManager/test/ProcessingManager.test.js +0 -24
- package/lib/ProcessingManager/types.android.js +0 -43
- package/lib/ProcessingManager/types.ios.js +0 -60
- package/lib/Trimmer/Trimmer.android.js +0 -263
- package/lib/Trimmer/Trimmer.ios.js +0 -92
- package/lib/Trimmer/index.js +0 -1
- package/lib/Trimmer/test/Trimmer.test.js +0 -39
- package/lib/Trimmer/test/__snapshots__/Trimmer.test.js.snap +0 -11
- package/lib/VideoPlayer/VideoPlayer.android.js +0 -225
- package/lib/VideoPlayer/VideoPlayer.ios.js +0 -212
- package/lib/VideoPlayer/index.js +0 -3
- package/lib/VideoPlayer/test/VideoPlayer.test.js +0 -21
- package/lib/VideoPlayer/test/__snapshots__/VideoPlayer.test.js.snap +0 -7
- package/lib/index.js +0 -3
- package/lib/utils/index.js +0 -2
- package/lib/utils/test/trimmer.test.js +0 -55
- package/lib/utils/test/utils.test.js +0 -20
- package/lib/utils/trimmer.js +0 -26
- package/lib/utils/utils.js +0 -8
- package/readme_assets/project-structure.png +0 -0
- package/test.jpeg +0 -0
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
#import "GPUImageGaussianBlurPositionFilter.h"
|
|
2
|
-
|
|
3
|
-
NSString *const kGPUImageGaussianBlurPositionVertexShaderString = SHADER_STRING
|
|
4
|
-
(
|
|
5
|
-
attribute vec4 position;
|
|
6
|
-
attribute vec4 inputTextureCoordinate;
|
|
7
|
-
|
|
8
|
-
const int GAUSSIAN_SAMPLES = 9;
|
|
9
|
-
|
|
10
|
-
uniform float texelWidthOffset;
|
|
11
|
-
uniform float texelHeightOffset;
|
|
12
|
-
varying vec2 textureCoordinate;
|
|
13
|
-
varying vec2 blurCoordinates[GAUSSIAN_SAMPLES];
|
|
14
|
-
|
|
15
|
-
void main()
|
|
16
|
-
{
|
|
17
|
-
gl_Position = position;
|
|
18
|
-
textureCoordinate = inputTextureCoordinate.xy;
|
|
19
|
-
|
|
20
|
-
// Calculate the positions for the blur
|
|
21
|
-
int multiplier = 0;
|
|
22
|
-
vec2 blurStep;
|
|
23
|
-
vec2 singleStepOffset = vec2(texelWidthOffset, texelHeightOffset);
|
|
24
|
-
|
|
25
|
-
for (int i = 0; i < GAUSSIAN_SAMPLES; i++) {
|
|
26
|
-
multiplier = (i - ((GAUSSIAN_SAMPLES - 1) / 2));
|
|
27
|
-
// Blur in x (horizontal)
|
|
28
|
-
blurStep = float(multiplier) * singleStepOffset;
|
|
29
|
-
blurCoordinates[i] = inputTextureCoordinate.xy + blurStep;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
|
|
34
|
-
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
|
|
35
|
-
NSString *const kGPUImageGaussianBlurPositionFragmentShaderString = SHADER_STRING
|
|
36
|
-
(
|
|
37
|
-
uniform sampler2D inputImageTexture;
|
|
38
|
-
|
|
39
|
-
const lowp int GAUSSIAN_SAMPLES = 9;
|
|
40
|
-
|
|
41
|
-
varying highp vec2 textureCoordinate;
|
|
42
|
-
varying highp vec2 blurCoordinates[GAUSSIAN_SAMPLES];
|
|
43
|
-
|
|
44
|
-
uniform highp float aspectRatio;
|
|
45
|
-
uniform lowp vec2 blurCenter;
|
|
46
|
-
uniform highp float blurRadius;
|
|
47
|
-
|
|
48
|
-
void main() {
|
|
49
|
-
highp vec2 textureCoordinateToUse = vec2(textureCoordinate.x, (textureCoordinate.y * aspectRatio + 0.5 - 0.5 * aspectRatio));
|
|
50
|
-
highp float dist = distance(blurCenter, textureCoordinateToUse);
|
|
51
|
-
|
|
52
|
-
if (dist < blurRadius)
|
|
53
|
-
{
|
|
54
|
-
lowp vec4 sum = vec4(0.0);
|
|
55
|
-
|
|
56
|
-
sum += texture2D(inputImageTexture, blurCoordinates[0]) * 0.05;
|
|
57
|
-
sum += texture2D(inputImageTexture, blurCoordinates[1]) * 0.09;
|
|
58
|
-
sum += texture2D(inputImageTexture, blurCoordinates[2]) * 0.12;
|
|
59
|
-
sum += texture2D(inputImageTexture, blurCoordinates[3]) * 0.15;
|
|
60
|
-
sum += texture2D(inputImageTexture, blurCoordinates[4]) * 0.18;
|
|
61
|
-
sum += texture2D(inputImageTexture, blurCoordinates[5]) * 0.15;
|
|
62
|
-
sum += texture2D(inputImageTexture, blurCoordinates[6]) * 0.12;
|
|
63
|
-
sum += texture2D(inputImageTexture, blurCoordinates[7]) * 0.09;
|
|
64
|
-
sum += texture2D(inputImageTexture, blurCoordinates[8]) * 0.05;
|
|
65
|
-
|
|
66
|
-
gl_FragColor = sum;
|
|
67
|
-
}
|
|
68
|
-
else
|
|
69
|
-
{
|
|
70
|
-
gl_FragColor = texture2D(inputImageTexture, textureCoordinate);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
);
|
|
74
|
-
#else
|
|
75
|
-
NSString *const kGPUImageGaussianBlurPositionFragmentShaderString = SHADER_STRING
|
|
76
|
-
(
|
|
77
|
-
uniform sampler2D inputImageTexture;
|
|
78
|
-
|
|
79
|
-
const int GAUSSIAN_SAMPLES = 9;
|
|
80
|
-
|
|
81
|
-
varying vec2 textureCoordinate;
|
|
82
|
-
varying vec2 blurCoordinates[GAUSSIAN_SAMPLES];
|
|
83
|
-
|
|
84
|
-
uniform float aspectRatio;
|
|
85
|
-
uniform vec2 blurCenter;
|
|
86
|
-
uniform float blurRadius;
|
|
87
|
-
|
|
88
|
-
void main()
|
|
89
|
-
{
|
|
90
|
-
vec2 textureCoordinateToUse = vec2(textureCoordinate.x, (textureCoordinate.y * aspectRatio + 0.5 - 0.5 * aspectRatio));
|
|
91
|
-
float dist = distance(blurCenter, textureCoordinateToUse);
|
|
92
|
-
|
|
93
|
-
if (dist < blurRadius)
|
|
94
|
-
{
|
|
95
|
-
vec4 sum = vec4(0.0);
|
|
96
|
-
|
|
97
|
-
sum += texture2D(inputImageTexture, blurCoordinates[0]) * 0.05;
|
|
98
|
-
sum += texture2D(inputImageTexture, blurCoordinates[1]) * 0.09;
|
|
99
|
-
sum += texture2D(inputImageTexture, blurCoordinates[2]) * 0.12;
|
|
100
|
-
sum += texture2D(inputImageTexture, blurCoordinates[3]) * 0.15;
|
|
101
|
-
sum += texture2D(inputImageTexture, blurCoordinates[4]) * 0.18;
|
|
102
|
-
sum += texture2D(inputImageTexture, blurCoordinates[5]) * 0.15;
|
|
103
|
-
sum += texture2D(inputImageTexture, blurCoordinates[6]) * 0.12;
|
|
104
|
-
sum += texture2D(inputImageTexture, blurCoordinates[7]) * 0.09;
|
|
105
|
-
sum += texture2D(inputImageTexture, blurCoordinates[8]) * 0.05;
|
|
106
|
-
|
|
107
|
-
gl_FragColor = sum;
|
|
108
|
-
}
|
|
109
|
-
else
|
|
110
|
-
{
|
|
111
|
-
gl_FragColor = texture2D(inputImageTexture, textureCoordinate);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
);
|
|
115
|
-
#endif
|
|
116
|
-
|
|
117
|
-
@interface GPUImageGaussianBlurPositionFilter ()
|
|
118
|
-
|
|
119
|
-
- (void)adjustAspectRatio;
|
|
120
|
-
|
|
121
|
-
@property (readwrite, nonatomic) CGFloat aspectRatio;
|
|
122
|
-
|
|
123
|
-
@end
|
|
124
|
-
|
|
125
|
-
@implementation GPUImageGaussianBlurPositionFilter
|
|
126
|
-
|
|
127
|
-
@synthesize blurSize = _blurSize;
|
|
128
|
-
@synthesize blurCenter = _blurCenter;
|
|
129
|
-
@synthesize aspectRatio = _aspectRatio;
|
|
130
|
-
|
|
131
|
-
- (id) initWithFirstStageVertexShaderFromString:(NSString *)firstStageVertexShaderString
|
|
132
|
-
firstStageFragmentShaderFromString:(NSString *)firstStageFragmentShaderString
|
|
133
|
-
secondStageVertexShaderFromString:(NSString *)secondStageVertexShaderString
|
|
134
|
-
secondStageFragmentShaderFromString:(NSString *)secondStageFragmentShaderString {
|
|
135
|
-
|
|
136
|
-
if (!(self = [super initWithFirstStageVertexShaderFromString:firstStageVertexShaderString ? firstStageVertexShaderString : kGPUImageGaussianBlurPositionVertexShaderString
|
|
137
|
-
firstStageFragmentShaderFromString:firstStageFragmentShaderString ? firstStageFragmentShaderString : kGPUImageGaussianBlurPositionFragmentShaderString
|
|
138
|
-
secondStageVertexShaderFromString:secondStageVertexShaderString ? secondStageVertexShaderString : kGPUImageGaussianBlurPositionVertexShaderString
|
|
139
|
-
secondStageFragmentShaderFromString:secondStageFragmentShaderString ? secondStageFragmentShaderString : kGPUImageGaussianBlurPositionFragmentShaderString])) {
|
|
140
|
-
return nil;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
aspectRatioUniform = [secondFilterProgram uniformIndex:@"aspectRatio"];
|
|
144
|
-
blurCenterUniform = [secondFilterProgram uniformIndex:@"blurCenter"];
|
|
145
|
-
blurRadiusUniform = [secondFilterProgram uniformIndex:@"blurRadius"];
|
|
146
|
-
|
|
147
|
-
self.blurSize = 1.0;
|
|
148
|
-
self.blurRadius = 1.0;
|
|
149
|
-
self.blurCenter = CGPointMake(0.5, 0.5);
|
|
150
|
-
|
|
151
|
-
return self;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
- (id)init;
|
|
155
|
-
{
|
|
156
|
-
return [self initWithFirstStageVertexShaderFromString:nil
|
|
157
|
-
firstStageFragmentShaderFromString:nil
|
|
158
|
-
secondStageVertexShaderFromString:nil
|
|
159
|
-
secondStageFragmentShaderFromString:nil];
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
- (void)adjustAspectRatio;
|
|
163
|
-
{
|
|
164
|
-
if (GPUImageRotationSwapsWidthAndHeight(inputRotation))
|
|
165
|
-
{
|
|
166
|
-
[self setAspectRatio:(inputTextureSize.width / inputTextureSize.height)];
|
|
167
|
-
}
|
|
168
|
-
else
|
|
169
|
-
{
|
|
170
|
-
[self setAspectRatio:(inputTextureSize.height / inputTextureSize.width)];
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
- (void)forceProcessingAtSize:(CGSize)frameSize;
|
|
175
|
-
{
|
|
176
|
-
[super forceProcessingAtSize:frameSize];
|
|
177
|
-
[self adjustAspectRatio];
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
- (void)setInputSize:(CGSize)newSize atIndex:(NSInteger)textureIndex;
|
|
181
|
-
{
|
|
182
|
-
CGSize oldInputSize = inputTextureSize;
|
|
183
|
-
[super setInputSize:newSize atIndex:textureIndex];
|
|
184
|
-
|
|
185
|
-
if ( (!CGSizeEqualToSize(oldInputSize, inputTextureSize)) && (!CGSizeEqualToSize(newSize, CGSizeZero)) )
|
|
186
|
-
{
|
|
187
|
-
[self adjustAspectRatio];
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
- (void)setInputRotation:(GPUImageRotationMode)newInputRotation atIndex:(NSInteger)textureIndex;
|
|
192
|
-
{
|
|
193
|
-
[super setInputRotation:newInputRotation atIndex:textureIndex];
|
|
194
|
-
[self setBlurCenter:self.blurCenter];
|
|
195
|
-
[self adjustAspectRatio];
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
#pragma mark -
|
|
199
|
-
#pragma mark Accessors
|
|
200
|
-
|
|
201
|
-
- (void)setBlurSize:(CGFloat)newValue;
|
|
202
|
-
{
|
|
203
|
-
_blurSize = newValue;
|
|
204
|
-
|
|
205
|
-
_verticalTexelSpacing = _blurSize;
|
|
206
|
-
_horizontalTexelSpacing = _blurSize;
|
|
207
|
-
|
|
208
|
-
[self setupFilterForSize:[self sizeOfFBO]];
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
- (void) setBlurCenter:(CGPoint)blurCenter;
|
|
212
|
-
{
|
|
213
|
-
_blurCenter = blurCenter;
|
|
214
|
-
CGPoint rotatedPoint = [self rotatedPoint:blurCenter forRotation:inputRotation];
|
|
215
|
-
[self setPoint:rotatedPoint forUniform:blurCenterUniform program:secondFilterProgram];
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
- (void) setBlurRadius:(CGFloat)blurRadius;
|
|
219
|
-
{
|
|
220
|
-
_blurRadius = blurRadius;
|
|
221
|
-
|
|
222
|
-
[self setFloat:_blurRadius forUniform:blurRadiusUniform program:secondFilterProgram];
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
- (void) setAspectRatio:(CGFloat)newValue;
|
|
226
|
-
{
|
|
227
|
-
_aspectRatio = newValue;
|
|
228
|
-
|
|
229
|
-
[self setFloat:_aspectRatio forUniform:aspectRatioUniform program:secondFilterProgram];
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
@end
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#import "GPUImageFilterGroup.h"
|
|
2
|
-
|
|
3
|
-
@class GPUImageGaussianBlurFilter;
|
|
4
|
-
|
|
5
|
-
/** A Gaussian blur that preserves focus within a circular region
|
|
6
|
-
*/
|
|
7
|
-
@interface GPUImageGaussianSelectiveBlurFilter : GPUImageFilterGroup
|
|
8
|
-
{
|
|
9
|
-
GPUImageGaussianBlurFilter *blurFilter;
|
|
10
|
-
GPUImageFilter *selectiveFocusFilter;
|
|
11
|
-
BOOL hasOverriddenAspectRatio;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/** The radius of the circular area being excluded from the blur
|
|
15
|
-
*/
|
|
16
|
-
@property (readwrite, nonatomic) CGFloat excludeCircleRadius;
|
|
17
|
-
/** The center of the circular area being excluded from the blur
|
|
18
|
-
*/
|
|
19
|
-
@property (readwrite, nonatomic) CGPoint excludeCirclePoint;
|
|
20
|
-
/** The size of the area between the blurred portion and the clear circle
|
|
21
|
-
*/
|
|
22
|
-
@property (readwrite, nonatomic) CGFloat excludeBlurSize;
|
|
23
|
-
/** A radius in pixels to use for the blur, with a default of 5.0. This adjusts the sigma variable in the Gaussian distribution function.
|
|
24
|
-
*/
|
|
25
|
-
@property (readwrite, nonatomic) CGFloat blurRadiusInPixels;
|
|
26
|
-
/** The aspect ratio of the image, used to adjust the circularity of the in-focus region. By default, this matches the image aspect ratio, but you can override this value.
|
|
27
|
-
*/
|
|
28
|
-
@property (readwrite, nonatomic) CGFloat aspectRatio;
|
|
29
|
-
|
|
30
|
-
@end
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
#import "GPUImageGaussianSelectiveBlurFilter.h"
|
|
2
|
-
#import "GPUImageGaussianBlurFilter.h"
|
|
3
|
-
#import "GPUImageTwoInputFilter.h"
|
|
4
|
-
|
|
5
|
-
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
|
|
6
|
-
NSString *const kGPUImageGaussianSelectiveBlurFragmentShaderString = SHADER_STRING
|
|
7
|
-
(
|
|
8
|
-
varying highp vec2 textureCoordinate;
|
|
9
|
-
varying highp vec2 textureCoordinate2;
|
|
10
|
-
|
|
11
|
-
uniform sampler2D inputImageTexture;
|
|
12
|
-
uniform sampler2D inputImageTexture2;
|
|
13
|
-
|
|
14
|
-
uniform lowp float excludeCircleRadius;
|
|
15
|
-
uniform lowp vec2 excludeCirclePoint;
|
|
16
|
-
uniform lowp float excludeBlurSize;
|
|
17
|
-
uniform highp float aspectRatio;
|
|
18
|
-
|
|
19
|
-
void main()
|
|
20
|
-
{
|
|
21
|
-
lowp vec4 sharpImageColor = texture2D(inputImageTexture, textureCoordinate);
|
|
22
|
-
lowp vec4 blurredImageColor = texture2D(inputImageTexture2, textureCoordinate2);
|
|
23
|
-
|
|
24
|
-
highp vec2 textureCoordinateToUse = vec2(textureCoordinate2.x, (textureCoordinate2.y * aspectRatio + 0.5 - 0.5 * aspectRatio));
|
|
25
|
-
highp float distanceFromCenter = distance(excludeCirclePoint, textureCoordinateToUse);
|
|
26
|
-
|
|
27
|
-
gl_FragColor = mix(sharpImageColor, blurredImageColor, smoothstep(excludeCircleRadius - excludeBlurSize, excludeCircleRadius, distanceFromCenter));
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
#else
|
|
31
|
-
NSString *const kGPUImageGaussianSelectiveBlurFragmentShaderString = SHADER_STRING
|
|
32
|
-
(
|
|
33
|
-
varying vec2 textureCoordinate;
|
|
34
|
-
varying vec2 textureCoordinate2;
|
|
35
|
-
|
|
36
|
-
uniform sampler2D inputImageTexture;
|
|
37
|
-
uniform sampler2D inputImageTexture2;
|
|
38
|
-
|
|
39
|
-
uniform float excludeCircleRadius;
|
|
40
|
-
uniform vec2 excludeCirclePoint;
|
|
41
|
-
uniform float excludeBlurSize;
|
|
42
|
-
uniform float aspectRatio;
|
|
43
|
-
|
|
44
|
-
void main()
|
|
45
|
-
{
|
|
46
|
-
vec4 sharpImageColor = texture2D(inputImageTexture, textureCoordinate);
|
|
47
|
-
vec4 blurredImageColor = texture2D(inputImageTexture2, textureCoordinate2);
|
|
48
|
-
|
|
49
|
-
vec2 textureCoordinateToUse = vec2(textureCoordinate2.x, (textureCoordinate2.y * aspectRatio + 0.5 - 0.5 * aspectRatio));
|
|
50
|
-
float distanceFromCenter = distance(excludeCirclePoint, textureCoordinateToUse);
|
|
51
|
-
|
|
52
|
-
gl_FragColor = mix(sharpImageColor, blurredImageColor, smoothstep(excludeCircleRadius - excludeBlurSize, excludeCircleRadius, distanceFromCenter));
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
#endif
|
|
56
|
-
|
|
57
|
-
@implementation GPUImageGaussianSelectiveBlurFilter
|
|
58
|
-
|
|
59
|
-
@synthesize excludeCirclePoint = _excludeCirclePoint, excludeCircleRadius = _excludeCircleRadius, excludeBlurSize = _excludeBlurSize;
|
|
60
|
-
@synthesize blurRadiusInPixels = _blurRadiusInPixels;
|
|
61
|
-
@synthesize aspectRatio = _aspectRatio;
|
|
62
|
-
|
|
63
|
-
- (id)init;
|
|
64
|
-
{
|
|
65
|
-
if (!(self = [super init]))
|
|
66
|
-
{
|
|
67
|
-
return nil;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
hasOverriddenAspectRatio = NO;
|
|
71
|
-
|
|
72
|
-
// First pass: apply a variable Gaussian blur
|
|
73
|
-
blurFilter = [[GPUImageGaussianBlurFilter alloc] init];
|
|
74
|
-
[self addFilter:blurFilter];
|
|
75
|
-
|
|
76
|
-
// Second pass: combine the blurred image with the original sharp one
|
|
77
|
-
selectiveFocusFilter = [[GPUImageTwoInputFilter alloc] initWithFragmentShaderFromString:kGPUImageGaussianSelectiveBlurFragmentShaderString];
|
|
78
|
-
[self addFilter:selectiveFocusFilter];
|
|
79
|
-
|
|
80
|
-
// Texture location 0 needs to be the sharp image for both the blur and the second stage processing
|
|
81
|
-
[blurFilter addTarget:selectiveFocusFilter atTextureLocation:1];
|
|
82
|
-
|
|
83
|
-
// To prevent double updating of this filter, disable updates from the sharp image side
|
|
84
|
-
self.initialFilters = [NSArray arrayWithObjects:blurFilter, selectiveFocusFilter, nil];
|
|
85
|
-
self.terminalFilter = selectiveFocusFilter;
|
|
86
|
-
|
|
87
|
-
self.blurRadiusInPixels = 5.0;
|
|
88
|
-
|
|
89
|
-
self.excludeCircleRadius = 60.0/320.0;
|
|
90
|
-
self.excludeCirclePoint = CGPointMake(0.5f, 0.5f);
|
|
91
|
-
self.excludeBlurSize = 30.0/320.0;
|
|
92
|
-
|
|
93
|
-
return self;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
- (void)setInputSize:(CGSize)newSize atIndex:(NSInteger)textureIndex;
|
|
97
|
-
{
|
|
98
|
-
CGSize oldInputSize = inputTextureSize;
|
|
99
|
-
[super setInputSize:newSize atIndex:textureIndex];
|
|
100
|
-
inputTextureSize = newSize;
|
|
101
|
-
|
|
102
|
-
if ( (!CGSizeEqualToSize(oldInputSize, inputTextureSize)) && (!hasOverriddenAspectRatio) && (!CGSizeEqualToSize(newSize, CGSizeZero)) )
|
|
103
|
-
{
|
|
104
|
-
_aspectRatio = (inputTextureSize.width / inputTextureSize.height);
|
|
105
|
-
[selectiveFocusFilter setFloat:_aspectRatio forUniformName:@"aspectRatio"];
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
#pragma mark -
|
|
110
|
-
#pragma mark Accessors
|
|
111
|
-
|
|
112
|
-
- (void)setBlurRadiusInPixels:(CGFloat)newValue;
|
|
113
|
-
{
|
|
114
|
-
blurFilter.blurRadiusInPixels = newValue;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
- (CGFloat)blurRadiusInPixels;
|
|
118
|
-
{
|
|
119
|
-
return blurFilter.blurRadiusInPixels;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
- (void)setExcludeCirclePoint:(CGPoint)newValue;
|
|
123
|
-
{
|
|
124
|
-
_excludeCirclePoint = newValue;
|
|
125
|
-
[selectiveFocusFilter setPoint:newValue forUniformName:@"excludeCirclePoint"];
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
- (void)setExcludeCircleRadius:(CGFloat)newValue;
|
|
129
|
-
{
|
|
130
|
-
_excludeCircleRadius = newValue;
|
|
131
|
-
[selectiveFocusFilter setFloat:newValue forUniformName:@"excludeCircleRadius"];
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
- (void)setExcludeBlurSize:(CGFloat)newValue;
|
|
135
|
-
{
|
|
136
|
-
_excludeBlurSize = newValue;
|
|
137
|
-
[selectiveFocusFilter setFloat:newValue forUniformName:@"excludeBlurSize"];
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
- (void)setAspectRatio:(CGFloat)newValue;
|
|
141
|
-
{
|
|
142
|
-
hasOverriddenAspectRatio = YES;
|
|
143
|
-
_aspectRatio = newValue;
|
|
144
|
-
[selectiveFocusFilter setFloat:_aspectRatio forUniformName:@"aspectRatio"];
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@end
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
#import "GPUImageGlassSphereFilter.h"
|
|
2
|
-
|
|
3
|
-
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
|
|
4
|
-
NSString *const kGPUImageGlassSphereFragmentShaderString = SHADER_STRING
|
|
5
|
-
(
|
|
6
|
-
varying highp vec2 textureCoordinate;
|
|
7
|
-
|
|
8
|
-
uniform sampler2D inputImageTexture;
|
|
9
|
-
|
|
10
|
-
uniform highp vec2 center;
|
|
11
|
-
uniform highp float radius;
|
|
12
|
-
uniform highp float aspectRatio;
|
|
13
|
-
uniform highp float refractiveIndex;
|
|
14
|
-
// uniform vec3 lightPosition;
|
|
15
|
-
const highp vec3 lightPosition = vec3(-0.5, 0.5, 1.0);
|
|
16
|
-
const highp vec3 ambientLightPosition = vec3(0.0, 0.0, 1.0);
|
|
17
|
-
|
|
18
|
-
void main()
|
|
19
|
-
{
|
|
20
|
-
highp vec2 textureCoordinateToUse = vec2(textureCoordinate.x, (textureCoordinate.y * aspectRatio + 0.5 - 0.5 * aspectRatio));
|
|
21
|
-
highp float distanceFromCenter = distance(center, textureCoordinateToUse);
|
|
22
|
-
lowp float checkForPresenceWithinSphere = step(distanceFromCenter, radius);
|
|
23
|
-
|
|
24
|
-
distanceFromCenter = distanceFromCenter / radius;
|
|
25
|
-
|
|
26
|
-
highp float normalizedDepth = radius * sqrt(1.0 - distanceFromCenter * distanceFromCenter);
|
|
27
|
-
highp vec3 sphereNormal = normalize(vec3(textureCoordinateToUse - center, normalizedDepth));
|
|
28
|
-
|
|
29
|
-
highp vec3 refractedVector = 2.0 * refract(vec3(0.0, 0.0, -1.0), sphereNormal, refractiveIndex);
|
|
30
|
-
refractedVector.xy = -refractedVector.xy;
|
|
31
|
-
|
|
32
|
-
highp vec3 finalSphereColor = texture2D(inputImageTexture, (refractedVector.xy + 1.0) * 0.5).rgb;
|
|
33
|
-
|
|
34
|
-
// Grazing angle lighting
|
|
35
|
-
highp float lightingIntensity = 2.5 * (1.0 - pow(clamp(dot(ambientLightPosition, sphereNormal), 0.0, 1.0), 0.25));
|
|
36
|
-
finalSphereColor += lightingIntensity;
|
|
37
|
-
|
|
38
|
-
// Specular lighting
|
|
39
|
-
lightingIntensity = clamp(dot(normalize(lightPosition), sphereNormal), 0.0, 1.0);
|
|
40
|
-
lightingIntensity = pow(lightingIntensity, 15.0);
|
|
41
|
-
finalSphereColor += vec3(0.8, 0.8, 0.8) * lightingIntensity;
|
|
42
|
-
|
|
43
|
-
gl_FragColor = vec4(finalSphereColor, 1.0) * checkForPresenceWithinSphere;
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
#else
|
|
47
|
-
NSString *const kGPUImageGlassSphereFragmentShaderString = SHADER_STRING
|
|
48
|
-
(
|
|
49
|
-
varying vec2 textureCoordinate;
|
|
50
|
-
|
|
51
|
-
uniform sampler2D inputImageTexture;
|
|
52
|
-
|
|
53
|
-
uniform vec2 center;
|
|
54
|
-
uniform float radius;
|
|
55
|
-
uniform float aspectRatio;
|
|
56
|
-
uniform float refractiveIndex;
|
|
57
|
-
// uniform vec3 lightPosition;
|
|
58
|
-
const vec3 lightPosition = vec3(-0.5, 0.5, 1.0);
|
|
59
|
-
const vec3 ambientLightPosition = vec3(0.0, 0.0, 1.0);
|
|
60
|
-
|
|
61
|
-
void main()
|
|
62
|
-
{
|
|
63
|
-
vec2 textureCoordinateToUse = vec2(textureCoordinate.x, (textureCoordinate.y * aspectRatio + 0.5 - 0.5 * aspectRatio));
|
|
64
|
-
float distanceFromCenter = distance(center, textureCoordinateToUse);
|
|
65
|
-
float checkForPresenceWithinSphere = step(distanceFromCenter, radius);
|
|
66
|
-
|
|
67
|
-
distanceFromCenter = distanceFromCenter / radius;
|
|
68
|
-
|
|
69
|
-
float normalizedDepth = radius * sqrt(1.0 - distanceFromCenter * distanceFromCenter);
|
|
70
|
-
vec3 sphereNormal = normalize(vec3(textureCoordinateToUse - center, normalizedDepth));
|
|
71
|
-
|
|
72
|
-
vec3 refractedVector = 2.0 * refract(vec3(0.0, 0.0, -1.0), sphereNormal, refractiveIndex);
|
|
73
|
-
refractedVector.xy = -refractedVector.xy;
|
|
74
|
-
|
|
75
|
-
vec3 finalSphereColor = texture2D(inputImageTexture, (refractedVector.xy + 1.0) * 0.5).rgb;
|
|
76
|
-
|
|
77
|
-
// Grazing angle lighting
|
|
78
|
-
float lightingIntensity = 2.5 * (1.0 - pow(clamp(dot(ambientLightPosition, sphereNormal), 0.0, 1.0), 0.25));
|
|
79
|
-
finalSphereColor += lightingIntensity;
|
|
80
|
-
|
|
81
|
-
// Specular lighting
|
|
82
|
-
lightingIntensity = clamp(dot(normalize(lightPosition), sphereNormal), 0.0, 1.0);
|
|
83
|
-
lightingIntensity = pow(lightingIntensity, 15.0);
|
|
84
|
-
finalSphereColor += vec3(0.8, 0.8, 0.8) * lightingIntensity;
|
|
85
|
-
|
|
86
|
-
gl_FragColor = vec4(finalSphereColor, 1.0) * checkForPresenceWithinSphere;
|
|
87
|
-
}
|
|
88
|
-
);
|
|
89
|
-
#endif
|
|
90
|
-
|
|
91
|
-
@implementation GPUImageGlassSphereFilter
|
|
92
|
-
|
|
93
|
-
#pragma mark -
|
|
94
|
-
#pragma mark Initialization and teardown
|
|
95
|
-
|
|
96
|
-
- (id)init;
|
|
97
|
-
{
|
|
98
|
-
if (!(self = [super initWithFragmentShaderFromString:kGPUImageGlassSphereFragmentShaderString]))
|
|
99
|
-
{
|
|
100
|
-
return nil;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
return self;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@end
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#import "GPUImageFilter.h"
|
|
2
|
-
|
|
3
|
-
extern NSString *const kGPUImageLuminanceFragmentShaderString;
|
|
4
|
-
|
|
5
|
-
/** Converts an image to grayscale (a slightly faster implementation of the saturation filter, without the ability to vary the color contribution)
|
|
6
|
-
*/
|
|
7
|
-
@interface GPUImageGrayscaleFilter : GPUImageFilter
|
|
8
|
-
|
|
9
|
-
@end
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
#import "GPUImageGrayscaleFilter.h"
|
|
2
|
-
|
|
3
|
-
@implementation GPUImageGrayscaleFilter
|
|
4
|
-
|
|
5
|
-
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
|
|
6
|
-
NSString *const kGPUImageLuminanceFragmentShaderString = SHADER_STRING
|
|
7
|
-
(
|
|
8
|
-
precision highp float;
|
|
9
|
-
|
|
10
|
-
varying vec2 textureCoordinate;
|
|
11
|
-
|
|
12
|
-
uniform sampler2D inputImageTexture;
|
|
13
|
-
|
|
14
|
-
const highp vec3 W = vec3(0.2125, 0.7154, 0.0721);
|
|
15
|
-
|
|
16
|
-
void main()
|
|
17
|
-
{
|
|
18
|
-
lowp vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);
|
|
19
|
-
float luminance = dot(textureColor.rgb, W);
|
|
20
|
-
|
|
21
|
-
gl_FragColor = vec4(vec3(luminance), textureColor.a);
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
#else
|
|
25
|
-
NSString *const kGPUImageLuminanceFragmentShaderString = SHADER_STRING
|
|
26
|
-
(
|
|
27
|
-
varying vec2 textureCoordinate;
|
|
28
|
-
|
|
29
|
-
uniform sampler2D inputImageTexture;
|
|
30
|
-
|
|
31
|
-
const vec3 W = vec3(0.2125, 0.7154, 0.0721);
|
|
32
|
-
|
|
33
|
-
void main()
|
|
34
|
-
{
|
|
35
|
-
vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);
|
|
36
|
-
float luminance = dot(textureColor.rgb, W);
|
|
37
|
-
|
|
38
|
-
gl_FragColor = vec4(vec3(luminance), textureColor.a);
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
#endif
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
- (void)renderToTextureWithVertices:(const GLfloat *)vertices textureCoordinates:(const GLfloat *)textureCoordinates;
|
|
45
|
-
{
|
|
46
|
-
if (!currentlyReceivingMonochromeInput)
|
|
47
|
-
{
|
|
48
|
-
[super renderToTextureWithVertices:vertices textureCoordinates:textureCoordinates];
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
//- (void)setInputTexture:(GLuint)newInputTexture atIndex:(NSInteger)textureIndex;
|
|
53
|
-
//{
|
|
54
|
-
// [super setInputTexture:newInputTexture atIndex:textureIndex];
|
|
55
|
-
// if (currentlyReceivingMonochromeInput)
|
|
56
|
-
// {
|
|
57
|
-
// [self notifyTargetsAboutNewOutputTexture];
|
|
58
|
-
// }
|
|
59
|
-
//}
|
|
60
|
-
|
|
61
|
-
//- (GLuint)textureForOutput;
|
|
62
|
-
//{
|
|
63
|
-
// if (currentlyReceivingMonochromeInput)
|
|
64
|
-
// {
|
|
65
|
-
// return filterSourceTexture;
|
|
66
|
-
// }
|
|
67
|
-
// else
|
|
68
|
-
// {
|
|
69
|
-
// return outputTexture;
|
|
70
|
-
// }
|
|
71
|
-
//}
|
|
72
|
-
|
|
73
|
-
- (BOOL)wantsMonochromeInput;
|
|
74
|
-
{
|
|
75
|
-
// return YES;
|
|
76
|
-
return NO;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
- (BOOL)providesMonochromeOutput;
|
|
80
|
-
{
|
|
81
|
-
// return YES;
|
|
82
|
-
return NO;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// TODO: Rewrite this based on the new GPUImageFilter implementation
|
|
86
|
-
//- (void)informTargetsAboutNewFrameAtTime:(CMTime)frameTime;
|
|
87
|
-
//{
|
|
88
|
-
// if (self.frameProcessingCompletionBlock != NULL)
|
|
89
|
-
// {
|
|
90
|
-
// self.frameProcessingCompletionBlock(self, frameTime);
|
|
91
|
-
// }
|
|
92
|
-
//
|
|
93
|
-
// for (id<GPUImageInput> currentTarget in targets)
|
|
94
|
-
// {
|
|
95
|
-
// if (currentTarget != self.targetToIgnoreForUpdates)
|
|
96
|
-
// {
|
|
97
|
-
// NSInteger indexOfObject = [targets indexOfObject:currentTarget];
|
|
98
|
-
// NSInteger textureIndex = [[targetTextureIndices objectAtIndex:indexOfObject] integerValue];
|
|
99
|
-
//
|
|
100
|
-
// if ([GPUImageContext supportsFastTextureUpload] && preparedToCaptureImage)
|
|
101
|
-
// {
|
|
102
|
-
// [self setInputTextureForTarget:currentTarget atIndex:textureIndex];
|
|
103
|
-
// }
|
|
104
|
-
//
|
|
105
|
-
// if (currentlyReceivingMonochromeInput)
|
|
106
|
-
// {
|
|
107
|
-
// [currentTarget setInputRotation:inputRotation atIndex:textureIndex];
|
|
108
|
-
//
|
|
109
|
-
// CGSize sizeToRotate = [self outputFrameSize];
|
|
110
|
-
// CGSize rotatedSize = sizeToRotate;
|
|
111
|
-
// if (GPUImageRotationSwapsWidthAndHeight(inputRotation))
|
|
112
|
-
// {
|
|
113
|
-
// rotatedSize.width = sizeToRotate.height;
|
|
114
|
-
// rotatedSize.height = sizeToRotate.width;
|
|
115
|
-
// }
|
|
116
|
-
// [currentTarget setInputSize:rotatedSize atIndex:textureIndex];
|
|
117
|
-
// }
|
|
118
|
-
// else
|
|
119
|
-
// {
|
|
120
|
-
// [currentTarget setInputSize:[self outputFrameSize] atIndex:textureIndex];
|
|
121
|
-
// }
|
|
122
|
-
// [currentTarget newFrameReadyAtTime:frameTime atIndex:textureIndex];
|
|
123
|
-
// }
|
|
124
|
-
// }
|
|
125
|
-
//}
|
|
126
|
-
|
|
127
|
-
#pragma mark -
|
|
128
|
-
#pragma mark Initialization and teardown
|
|
129
|
-
|
|
130
|
-
- (id)init;
|
|
131
|
-
{
|
|
132
|
-
if (!(self = [super initWithFragmentShaderFromString:kGPUImageLuminanceFragmentShaderString]))
|
|
133
|
-
{
|
|
134
|
-
return nil;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
return self;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
@end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
#import "GPUImageColorMatrixFilter.h"
|
|
2
|
-
|
|
3
|
-
@interface GPUImageHSBFilter : GPUImageColorMatrixFilter
|
|
4
|
-
|
|
5
|
-
/** Reset the filter to have no transformations.
|
|
6
|
-
*/
|
|
7
|
-
- (void)reset;
|
|
8
|
-
|
|
9
|
-
/** Add a hue rotation to the filter.
|
|
10
|
-
The hue rotation is in the range [-360, 360] with 0 being no-change.
|
|
11
|
-
Note that this adjustment is additive, so use the reset method if you need to.
|
|
12
|
-
*/
|
|
13
|
-
- (void)rotateHue:(float)h;
|
|
14
|
-
|
|
15
|
-
/** Add a saturation adjustment to the filter.
|
|
16
|
-
The saturation adjustment is in the range [0.0, 2.0] with 1.0 being no-change.
|
|
17
|
-
Note that this adjustment is additive, so use the reset method if you need to.
|
|
18
|
-
*/
|
|
19
|
-
- (void)adjustSaturation:(float)s;
|
|
20
|
-
|
|
21
|
-
/** Add a brightness adjustment to the filter.
|
|
22
|
-
The brightness adjustment is in the range [0.0, 2.0] with 1.0 being no-change.
|
|
23
|
-
Note that this adjustment is additive, so use the reset method if you need to.
|
|
24
|
-
*/
|
|
25
|
-
- (void)adjustBrightness:(float)b;
|
|
26
|
-
|
|
27
|
-
@end
|