react-native-video-processing 2.0.0 → 3.0.0-beta.1
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 +24 -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 +25 -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
package/ios/GPUImage/framework/GPUImageMac.xcodeproj/xcshareddata/xcschemes/GPUImage.xcscheme
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "0500"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "YES"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "BCA3F31B17239B6500E28AEC"
|
|
18
|
-
BuildableName = "GPUImage.framework"
|
|
19
|
-
BlueprintName = "GPUImage"
|
|
20
|
-
ReferencedContainer = "container:GPUImageMac.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
</BuildActionEntries>
|
|
24
|
-
</BuildAction>
|
|
25
|
-
<TestAction
|
|
26
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
27
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
28
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
29
|
-
buildConfiguration = "Debug">
|
|
30
|
-
<Testables>
|
|
31
|
-
</Testables>
|
|
32
|
-
</TestAction>
|
|
33
|
-
<LaunchAction
|
|
34
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
35
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
36
|
-
launchStyle = "0"
|
|
37
|
-
useCustomWorkingDirectory = "NO"
|
|
38
|
-
buildConfiguration = "Debug"
|
|
39
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
40
|
-
debugDocumentVersioning = "YES"
|
|
41
|
-
allowLocationSimulation = "YES">
|
|
42
|
-
<AdditionalOptions>
|
|
43
|
-
</AdditionalOptions>
|
|
44
|
-
</LaunchAction>
|
|
45
|
-
<ProfileAction
|
|
46
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
47
|
-
savedToolIdentifier = ""
|
|
48
|
-
useCustomWorkingDirectory = "NO"
|
|
49
|
-
buildConfiguration = "Release"
|
|
50
|
-
debugDocumentVersioning = "YES">
|
|
51
|
-
</ProfileAction>
|
|
52
|
-
<AnalyzeAction
|
|
53
|
-
buildConfiguration = "Debug">
|
|
54
|
-
</AnalyzeAction>
|
|
55
|
-
<ArchiveAction
|
|
56
|
-
buildConfiguration = "Release"
|
|
57
|
-
revealArchiveInOrganizer = "YES">
|
|
58
|
-
</ArchiveAction>
|
|
59
|
-
</Scheme>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
// This is Jeff LaMarche's GLProgram OpenGL shader wrapper class from his OpenGL ES 2.0 book.
|
|
2
|
-
// A description of this can be found at his page on the topic:
|
|
3
|
-
// http://iphonedevelopment.blogspot.com/2010/11/opengl-es-20-for-ios-chapter-4.html
|
|
4
|
-
// I've extended this to be able to take programs as NSStrings in addition to files, for baked-in shaders
|
|
5
|
-
|
|
6
|
-
#import <Foundation/Foundation.h>
|
|
7
|
-
|
|
8
|
-
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
|
|
9
|
-
#import <OpenGLES/ES2/gl.h>
|
|
10
|
-
#import <OpenGLES/ES2/glext.h>
|
|
11
|
-
#else
|
|
12
|
-
#import <OpenGL/OpenGL.h>
|
|
13
|
-
#import <OpenGL/gl.h>
|
|
14
|
-
#endif
|
|
15
|
-
|
|
16
|
-
@interface GLProgram : NSObject
|
|
17
|
-
{
|
|
18
|
-
NSMutableArray *attributes;
|
|
19
|
-
NSMutableArray *uniforms;
|
|
20
|
-
GLuint program,
|
|
21
|
-
vertShader,
|
|
22
|
-
fragShader;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@property(readwrite, nonatomic) BOOL initialized;
|
|
26
|
-
@property(readwrite, copy, nonatomic) NSString *vertexShaderLog;
|
|
27
|
-
@property(readwrite, copy, nonatomic) NSString *fragmentShaderLog;
|
|
28
|
-
@property(readwrite, copy, nonatomic) NSString *programLog;
|
|
29
|
-
|
|
30
|
-
- (id)initWithVertexShaderString:(NSString *)vShaderString
|
|
31
|
-
fragmentShaderString:(NSString *)fShaderString;
|
|
32
|
-
- (id)initWithVertexShaderString:(NSString *)vShaderString
|
|
33
|
-
fragmentShaderFilename:(NSString *)fShaderFilename;
|
|
34
|
-
- (id)initWithVertexShaderFilename:(NSString *)vShaderFilename
|
|
35
|
-
fragmentShaderFilename:(NSString *)fShaderFilename;
|
|
36
|
-
- (void)addAttribute:(NSString *)attributeName;
|
|
37
|
-
- (GLuint)attributeIndex:(NSString *)attributeName;
|
|
38
|
-
- (GLuint)uniformIndex:(NSString *)uniformName;
|
|
39
|
-
- (BOOL)link;
|
|
40
|
-
- (void)use;
|
|
41
|
-
- (void)validate;
|
|
42
|
-
@end
|
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
// This is Jeff LaMarche's GLProgram OpenGL shader wrapper class from his OpenGL ES 2.0 book.
|
|
2
|
-
// A description of this can be found at his page on the topic:
|
|
3
|
-
// http://iphonedevelopment.blogspot.com/2010/11/opengl-es-20-for-ios-chapter-4.html
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
#import "GLProgram.h"
|
|
7
|
-
// START:typedefs
|
|
8
|
-
#pragma mark Function Pointer Definitions
|
|
9
|
-
typedef void (*GLInfoFunction)(GLuint program, GLenum pname, GLint* params);
|
|
10
|
-
typedef void (*GLLogFunction) (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
|
|
11
|
-
// END:typedefs
|
|
12
|
-
#pragma mark -
|
|
13
|
-
#pragma mark Private Extension Method Declaration
|
|
14
|
-
// START:extension
|
|
15
|
-
@interface GLProgram()
|
|
16
|
-
|
|
17
|
-
- (BOOL)compileShader:(GLuint *)shader
|
|
18
|
-
type:(GLenum)type
|
|
19
|
-
string:(NSString *)shaderString;
|
|
20
|
-
@end
|
|
21
|
-
// END:extension
|
|
22
|
-
#pragma mark -
|
|
23
|
-
|
|
24
|
-
@implementation GLProgram
|
|
25
|
-
// START:init
|
|
26
|
-
|
|
27
|
-
@synthesize initialized = _initialized;
|
|
28
|
-
|
|
29
|
-
- (id)initWithVertexShaderString:(NSString *)vShaderString
|
|
30
|
-
fragmentShaderString:(NSString *)fShaderString;
|
|
31
|
-
{
|
|
32
|
-
if ((self = [super init]))
|
|
33
|
-
{
|
|
34
|
-
_initialized = NO;
|
|
35
|
-
|
|
36
|
-
attributes = [[NSMutableArray alloc] init];
|
|
37
|
-
uniforms = [[NSMutableArray alloc] init];
|
|
38
|
-
program = glCreateProgram();
|
|
39
|
-
|
|
40
|
-
if (![self compileShader:&vertShader
|
|
41
|
-
type:GL_VERTEX_SHADER
|
|
42
|
-
string:vShaderString])
|
|
43
|
-
{
|
|
44
|
-
NSLog(@"Failed to compile vertex shader");
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Create and compile fragment shader
|
|
48
|
-
if (![self compileShader:&fragShader
|
|
49
|
-
type:GL_FRAGMENT_SHADER
|
|
50
|
-
string:fShaderString])
|
|
51
|
-
{
|
|
52
|
-
NSLog(@"Failed to compile fragment shader");
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
glAttachShader(program, vertShader);
|
|
56
|
-
glAttachShader(program, fragShader);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return self;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
- (id)initWithVertexShaderString:(NSString *)vShaderString
|
|
63
|
-
fragmentShaderFilename:(NSString *)fShaderFilename;
|
|
64
|
-
{
|
|
65
|
-
NSString *fragShaderPathname = [[NSBundle mainBundle] pathForResource:fShaderFilename ofType:@"fsh"];
|
|
66
|
-
NSString *fragmentShaderString = [NSString stringWithContentsOfFile:fragShaderPathname encoding:NSUTF8StringEncoding error:nil];
|
|
67
|
-
|
|
68
|
-
if ((self = [self initWithVertexShaderString:vShaderString fragmentShaderString:fragmentShaderString]))
|
|
69
|
-
{
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
return self;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
- (id)initWithVertexShaderFilename:(NSString *)vShaderFilename
|
|
76
|
-
fragmentShaderFilename:(NSString *)fShaderFilename;
|
|
77
|
-
{
|
|
78
|
-
NSString *vertShaderPathname = [[NSBundle mainBundle] pathForResource:vShaderFilename ofType:@"vsh"];
|
|
79
|
-
NSString *vertexShaderString = [NSString stringWithContentsOfFile:vertShaderPathname encoding:NSUTF8StringEncoding error:nil];
|
|
80
|
-
|
|
81
|
-
NSString *fragShaderPathname = [[NSBundle mainBundle] pathForResource:fShaderFilename ofType:@"fsh"];
|
|
82
|
-
NSString *fragmentShaderString = [NSString stringWithContentsOfFile:fragShaderPathname encoding:NSUTF8StringEncoding error:nil];
|
|
83
|
-
|
|
84
|
-
if ((self = [self initWithVertexShaderString:vertexShaderString fragmentShaderString:fragmentShaderString]))
|
|
85
|
-
{
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return self;
|
|
89
|
-
}
|
|
90
|
-
// END:init
|
|
91
|
-
// START:compile
|
|
92
|
-
- (BOOL)compileShader:(GLuint *)shader
|
|
93
|
-
type:(GLenum)type
|
|
94
|
-
string:(NSString *)shaderString
|
|
95
|
-
{
|
|
96
|
-
// CFAbsoluteTime startTime = CFAbsoluteTimeGetCurrent();
|
|
97
|
-
|
|
98
|
-
GLint status;
|
|
99
|
-
const GLchar *source;
|
|
100
|
-
|
|
101
|
-
source =
|
|
102
|
-
(GLchar *)[shaderString UTF8String];
|
|
103
|
-
if (!source)
|
|
104
|
-
{
|
|
105
|
-
NSLog(@"Failed to load vertex shader");
|
|
106
|
-
return NO;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
*shader = glCreateShader(type);
|
|
110
|
-
glShaderSource(*shader, 1, &source, NULL);
|
|
111
|
-
glCompileShader(*shader);
|
|
112
|
-
|
|
113
|
-
glGetShaderiv(*shader, GL_COMPILE_STATUS, &status);
|
|
114
|
-
|
|
115
|
-
if (status != GL_TRUE)
|
|
116
|
-
{
|
|
117
|
-
GLint logLength;
|
|
118
|
-
glGetShaderiv(*shader, GL_INFO_LOG_LENGTH, &logLength);
|
|
119
|
-
if (logLength > 0)
|
|
120
|
-
{
|
|
121
|
-
GLchar *log = (GLchar *)malloc(logLength);
|
|
122
|
-
glGetShaderInfoLog(*shader, logLength, &logLength, log);
|
|
123
|
-
if (shader == &vertShader)
|
|
124
|
-
{
|
|
125
|
-
self.vertexShaderLog = [NSString stringWithFormat:@"%s", log];
|
|
126
|
-
}
|
|
127
|
-
else
|
|
128
|
-
{
|
|
129
|
-
self.fragmentShaderLog = [NSString stringWithFormat:@"%s", log];
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
free(log);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
// CFAbsoluteTime linkTime = (CFAbsoluteTimeGetCurrent() - startTime);
|
|
137
|
-
// NSLog(@"Compiled in %f ms", linkTime * 1000.0);
|
|
138
|
-
|
|
139
|
-
return status == GL_TRUE;
|
|
140
|
-
}
|
|
141
|
-
// END:compile
|
|
142
|
-
#pragma mark -
|
|
143
|
-
// START:addattribute
|
|
144
|
-
- (void)addAttribute:(NSString *)attributeName
|
|
145
|
-
{
|
|
146
|
-
if (![attributes containsObject:attributeName])
|
|
147
|
-
{
|
|
148
|
-
[attributes addObject:attributeName];
|
|
149
|
-
glBindAttribLocation(program,
|
|
150
|
-
(GLuint)[attributes indexOfObject:attributeName],
|
|
151
|
-
[attributeName UTF8String]);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
// END:addattribute
|
|
155
|
-
// START:indexmethods
|
|
156
|
-
- (GLuint)attributeIndex:(NSString *)attributeName
|
|
157
|
-
{
|
|
158
|
-
return (GLuint)[attributes indexOfObject:attributeName];
|
|
159
|
-
}
|
|
160
|
-
- (GLuint)uniformIndex:(NSString *)uniformName
|
|
161
|
-
{
|
|
162
|
-
return glGetUniformLocation(program, [uniformName UTF8String]);
|
|
163
|
-
}
|
|
164
|
-
// END:indexmethods
|
|
165
|
-
#pragma mark -
|
|
166
|
-
// START:link
|
|
167
|
-
- (BOOL)link
|
|
168
|
-
{
|
|
169
|
-
// CFAbsoluteTime startTime = CFAbsoluteTimeGetCurrent();
|
|
170
|
-
|
|
171
|
-
GLint status;
|
|
172
|
-
|
|
173
|
-
glLinkProgram(program);
|
|
174
|
-
|
|
175
|
-
glGetProgramiv(program, GL_LINK_STATUS, &status);
|
|
176
|
-
if (status == GL_FALSE)
|
|
177
|
-
return NO;
|
|
178
|
-
|
|
179
|
-
if (vertShader)
|
|
180
|
-
{
|
|
181
|
-
glDeleteShader(vertShader);
|
|
182
|
-
vertShader = 0;
|
|
183
|
-
}
|
|
184
|
-
if (fragShader)
|
|
185
|
-
{
|
|
186
|
-
glDeleteShader(fragShader);
|
|
187
|
-
fragShader = 0;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
self.initialized = YES;
|
|
191
|
-
|
|
192
|
-
// CFAbsoluteTime linkTime = (CFAbsoluteTimeGetCurrent() - startTime);
|
|
193
|
-
// NSLog(@"Linked in %f ms", linkTime * 1000.0);
|
|
194
|
-
|
|
195
|
-
return YES;
|
|
196
|
-
}
|
|
197
|
-
// END:link
|
|
198
|
-
// START:use
|
|
199
|
-
- (void)use
|
|
200
|
-
{
|
|
201
|
-
glUseProgram(program);
|
|
202
|
-
}
|
|
203
|
-
// END:use
|
|
204
|
-
#pragma mark -
|
|
205
|
-
|
|
206
|
-
- (void)validate;
|
|
207
|
-
{
|
|
208
|
-
GLint logLength;
|
|
209
|
-
|
|
210
|
-
glValidateProgram(program);
|
|
211
|
-
glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength);
|
|
212
|
-
if (logLength > 0)
|
|
213
|
-
{
|
|
214
|
-
GLchar *log = (GLchar *)malloc(logLength);
|
|
215
|
-
glGetProgramInfoLog(program, logLength, &logLength, log);
|
|
216
|
-
self.programLog = [NSString stringWithFormat:@"%s", log];
|
|
217
|
-
free(log);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
#pragma mark -
|
|
222
|
-
// START:dealloc
|
|
223
|
-
- (void)dealloc
|
|
224
|
-
{
|
|
225
|
-
if (vertShader)
|
|
226
|
-
glDeleteShader(vertShader);
|
|
227
|
-
|
|
228
|
-
if (fragShader)
|
|
229
|
-
glDeleteShader(fragShader);
|
|
230
|
-
|
|
231
|
-
if (program)
|
|
232
|
-
glDeleteProgram(program);
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
// END:dealloc
|
|
236
|
-
@end
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
#import "GLProgram.h"
|
|
2
|
-
|
|
3
|
-
// Base classes
|
|
4
|
-
#import "GPUImageContext.h"
|
|
5
|
-
#import "GPUImageOutput.h"
|
|
6
|
-
#import "GPUImageView.h"
|
|
7
|
-
#import "GPUImageVideoCamera.h"
|
|
8
|
-
#import "GPUImageStillCamera.h"
|
|
9
|
-
#import "GPUImageMovie.h"
|
|
10
|
-
#import "GPUImagePicture.h"
|
|
11
|
-
#import "GPUImageRawDataInput.h"
|
|
12
|
-
#import "GPUImageRawDataOutput.h"
|
|
13
|
-
#import "GPUImageMovieWriter.h"
|
|
14
|
-
#import "GPUImageFilterPipeline.h"
|
|
15
|
-
#import "GPUImageTextureOutput.h"
|
|
16
|
-
#import "GPUImageFilterGroup.h"
|
|
17
|
-
#import "GPUImageTextureInput.h"
|
|
18
|
-
#import "GPUImageUIElement.h"
|
|
19
|
-
#import "GPUImageBuffer.h"
|
|
20
|
-
#import "GPUImageFramebuffer.h"
|
|
21
|
-
#import "GPUImageFramebufferCache.h"
|
|
22
|
-
|
|
23
|
-
// Filters
|
|
24
|
-
#import "GPUImageFilter.h"
|
|
25
|
-
#import "GPUImageTwoInputFilter.h"
|
|
26
|
-
#import "GPUImagePixellateFilter.h"
|
|
27
|
-
#import "GPUImagePixellatePositionFilter.h"
|
|
28
|
-
#import "GPUImageSepiaFilter.h"
|
|
29
|
-
#import "GPUImageColorInvertFilter.h"
|
|
30
|
-
#import "GPUImageSaturationFilter.h"
|
|
31
|
-
#import "GPUImageContrastFilter.h"
|
|
32
|
-
#import "GPUImageExposureFilter.h"
|
|
33
|
-
#import "GPUImageBrightnessFilter.h"
|
|
34
|
-
#import "GPUImageLevelsFilter.h"
|
|
35
|
-
#import "GPUImageSharpenFilter.h"
|
|
36
|
-
#import "GPUImageGammaFilter.h"
|
|
37
|
-
#import "GPUImageSobelEdgeDetectionFilter.h"
|
|
38
|
-
#import "GPUImageSketchFilter.h"
|
|
39
|
-
#import "GPUImageToonFilter.h"
|
|
40
|
-
#import "GPUImageSmoothToonFilter.h"
|
|
41
|
-
#import "GPUImageMultiplyBlendFilter.h"
|
|
42
|
-
#import "GPUImageDissolveBlendFilter.h"
|
|
43
|
-
#import "GPUImageKuwaharaFilter.h"
|
|
44
|
-
#import "GPUImageKuwaharaRadius3Filter.h"
|
|
45
|
-
#import "GPUImageVignetteFilter.h"
|
|
46
|
-
#import "GPUImageGaussianBlurFilter.h"
|
|
47
|
-
#import "GPUImageGaussianBlurPositionFilter.h"
|
|
48
|
-
#import "GPUImageGaussianSelectiveBlurFilter.h"
|
|
49
|
-
#import "GPUImageOverlayBlendFilter.h"
|
|
50
|
-
#import "GPUImageDarkenBlendFilter.h"
|
|
51
|
-
#import "GPUImageLightenBlendFilter.h"
|
|
52
|
-
#import "GPUImageSwirlFilter.h"
|
|
53
|
-
#import "GPUImageSourceOverBlendFilter.h"
|
|
54
|
-
#import "GPUImageColorBurnBlendFilter.h"
|
|
55
|
-
#import "GPUImageColorDodgeBlendFilter.h"
|
|
56
|
-
#import "GPUImageScreenBlendFilter.h"
|
|
57
|
-
#import "GPUImageExclusionBlendFilter.h"
|
|
58
|
-
#import "GPUImageDifferenceBlendFilter.h"
|
|
59
|
-
#import "GPUImageSubtractBlendFilter.h"
|
|
60
|
-
#import "GPUImageHardLightBlendFilter.h"
|
|
61
|
-
#import "GPUImageSoftLightBlendFilter.h"
|
|
62
|
-
#import "GPUImageColorBlendFilter.h"
|
|
63
|
-
#import "GPUImageHueBlendFilter.h"
|
|
64
|
-
#import "GPUImageSaturationBlendFilter.h"
|
|
65
|
-
#import "GPUImageLuminosityBlendFilter.h"
|
|
66
|
-
#import "GPUImageCropFilter.h"
|
|
67
|
-
#import "GPUImageGrayscaleFilter.h"
|
|
68
|
-
#import "GPUImageTransformFilter.h"
|
|
69
|
-
#import "GPUImageChromaKeyBlendFilter.h"
|
|
70
|
-
#import "GPUImageHazeFilter.h"
|
|
71
|
-
#import "GPUImageLuminanceThresholdFilter.h"
|
|
72
|
-
#import "GPUImagePosterizeFilter.h"
|
|
73
|
-
#import "GPUImageBoxBlurFilter.h"
|
|
74
|
-
#import "GPUImageAdaptiveThresholdFilter.h"
|
|
75
|
-
#import "GPUImageSolarizeFilter.h"
|
|
76
|
-
#import "GPUImageUnsharpMaskFilter.h"
|
|
77
|
-
#import "GPUImageBulgeDistortionFilter.h"
|
|
78
|
-
#import "GPUImagePinchDistortionFilter.h"
|
|
79
|
-
#import "GPUImageCrosshatchFilter.h"
|
|
80
|
-
#import "GPUImageCGAColorspaceFilter.h"
|
|
81
|
-
#import "GPUImagePolarPixellateFilter.h"
|
|
82
|
-
#import "GPUImageStretchDistortionFilter.h"
|
|
83
|
-
#import "GPUImagePerlinNoiseFilter.h"
|
|
84
|
-
#import "GPUImageJFAVoronoiFilter.h"
|
|
85
|
-
#import "GPUImageVoronoiConsumerFilter.h"
|
|
86
|
-
#import "GPUImageMosaicFilter.h"
|
|
87
|
-
#import "GPUImageTiltShiftFilter.h"
|
|
88
|
-
#import "GPUImage3x3ConvolutionFilter.h"
|
|
89
|
-
#import "GPUImageEmbossFilter.h"
|
|
90
|
-
#import "GPUImageCannyEdgeDetectionFilter.h"
|
|
91
|
-
#import "GPUImageThresholdEdgeDetectionFilter.h"
|
|
92
|
-
#import "GPUImageMaskFilter.h"
|
|
93
|
-
#import "GPUImageHistogramFilter.h"
|
|
94
|
-
#import "GPUImageHistogramGenerator.h"
|
|
95
|
-
#import "GPUImageHistogramEqualizationFilter.h"
|
|
96
|
-
#import "GPUImagePrewittEdgeDetectionFilter.h"
|
|
97
|
-
#import "GPUImageXYDerivativeFilter.h"
|
|
98
|
-
#import "GPUImageHarrisCornerDetectionFilter.h"
|
|
99
|
-
#import "GPUImageAlphaBlendFilter.h"
|
|
100
|
-
#import "GPUImageNormalBlendFilter.h"
|
|
101
|
-
#import "GPUImageNonMaximumSuppressionFilter.h"
|
|
102
|
-
#import "GPUImageRGBFilter.h"
|
|
103
|
-
#import "GPUImageMedianFilter.h"
|
|
104
|
-
#import "GPUImageBilateralFilter.h"
|
|
105
|
-
#import "GPUImageCrosshairGenerator.h"
|
|
106
|
-
#import "GPUImageToneCurveFilter.h"
|
|
107
|
-
#import "GPUImageNobleCornerDetectionFilter.h"
|
|
108
|
-
#import "GPUImageShiTomasiFeatureDetectionFilter.h"
|
|
109
|
-
#import "GPUImageErosionFilter.h"
|
|
110
|
-
#import "GPUImageRGBErosionFilter.h"
|
|
111
|
-
#import "GPUImageDilationFilter.h"
|
|
112
|
-
#import "GPUImageRGBDilationFilter.h"
|
|
113
|
-
#import "GPUImageOpeningFilter.h"
|
|
114
|
-
#import "GPUImageRGBOpeningFilter.h"
|
|
115
|
-
#import "GPUImageClosingFilter.h"
|
|
116
|
-
#import "GPUImageRGBClosingFilter.h"
|
|
117
|
-
#import "GPUImageColorPackingFilter.h"
|
|
118
|
-
#import "GPUImageSphereRefractionFilter.h"
|
|
119
|
-
#import "GPUImageMonochromeFilter.h"
|
|
120
|
-
#import "GPUImageOpacityFilter.h"
|
|
121
|
-
#import "GPUImageHighlightShadowFilter.h"
|
|
122
|
-
#import "GPUImageFalseColorFilter.h"
|
|
123
|
-
#import "GPUImageHSBFilter.h"
|
|
124
|
-
#import "GPUImageHueFilter.h"
|
|
125
|
-
#import "GPUImageGlassSphereFilter.h"
|
|
126
|
-
#import "GPUImageLookupFilter.h"
|
|
127
|
-
#import "GPUImageAmatorkaFilter.h"
|
|
128
|
-
#import "GPUImageMissEtikateFilter.h"
|
|
129
|
-
#import "GPUImageSoftEleganceFilter.h"
|
|
130
|
-
#import "GPUImageAddBlendFilter.h"
|
|
131
|
-
#import "GPUImageDivideBlendFilter.h"
|
|
132
|
-
#import "GPUImagePolkaDotFilter.h"
|
|
133
|
-
#import "GPUImageLocalBinaryPatternFilter.h"
|
|
134
|
-
#import "GPUImageColorLocalBinaryPatternFilter.h"
|
|
135
|
-
#import "GPUImageLanczosResamplingFilter.h"
|
|
136
|
-
#import "GPUImageAverageColor.h"
|
|
137
|
-
#import "GPUImageSolidColorGenerator.h"
|
|
138
|
-
#import "GPUImageLuminosity.h"
|
|
139
|
-
#import "GPUImageAverageLuminanceThresholdFilter.h"
|
|
140
|
-
#import "GPUImageWhiteBalanceFilter.h"
|
|
141
|
-
#import "GPUImageChromaKeyFilter.h"
|
|
142
|
-
#import "GPUImageLowPassFilter.h"
|
|
143
|
-
#import "GPUImageHighPassFilter.h"
|
|
144
|
-
#import "GPUImageMotionDetector.h"
|
|
145
|
-
#import "GPUImageHalftoneFilter.h"
|
|
146
|
-
#import "GPUImageThresholdedNonMaximumSuppressionFilter.h"
|
|
147
|
-
#import "GPUImageHoughTransformLineDetector.h"
|
|
148
|
-
#import "GPUImageParallelCoordinateLineTransformFilter.h"
|
|
149
|
-
#import "GPUImageThresholdSketchFilter.h"
|
|
150
|
-
#import "GPUImageLineGenerator.h"
|
|
151
|
-
#import "GPUImageLinearBurnBlendFilter.h"
|
|
152
|
-
#import "GPUImageGaussianBlurPositionFilter.h"
|
|
153
|
-
#import "GPUImagePixellatePositionFilter.h"
|
|
154
|
-
#import "GPUImageTwoInputCrossTextureSamplingFilter.h"
|
|
155
|
-
#import "GPUImagePoissonBlendFilter.h"
|
|
156
|
-
#import "GPUImageMotionBlurFilter.h"
|
|
157
|
-
#import "GPUImageZoomBlurFilter.h"
|
|
158
|
-
#import "GPUImageLaplacianFilter.h"
|
|
159
|
-
#import "GPUImageiOSBlurFilter.h"
|
|
160
|
-
#import "GPUImageLuminanceRangeFilter.h"
|
|
161
|
-
#import "GPUImageDirectionalNonMaximumSuppressionFilter.h"
|
|
162
|
-
#import "GPUImageDirectionalSobelEdgeDetectionFilter.h"
|
|
163
|
-
#import "GPUImageSingleComponentGaussianBlurFilter.h"
|
|
164
|
-
#import "GPUImageThreeInputFilter.h"
|
|
165
|
-
#import "GPUImageFourInputFilter.h"
|
|
166
|
-
#import "GPUImageWeakPixelInclusionFilter.h"
|
|
167
|
-
#import "GPUImageColorConversion.h"
|
|
168
|
-
#import "GPUImageColourFASTFeatureDetector.h"
|
|
169
|
-
#import "GPUImageColourFASTSamplingOperation.h"
|
|
170
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#import "GPUImage3x3TextureSamplingFilter.h"
|
|
2
|
-
|
|
3
|
-
/** Runs a 3x3 convolution kernel against the image
|
|
4
|
-
*/
|
|
5
|
-
@interface GPUImage3x3ConvolutionFilter : GPUImage3x3TextureSamplingFilter
|
|
6
|
-
{
|
|
7
|
-
GLint convolutionMatrixUniform;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/** Convolution kernel to run against the image
|
|
11
|
-
|
|
12
|
-
The convolution kernel is a 3x3 matrix of values to apply to the pixel and its 8 surrounding pixels.
|
|
13
|
-
The matrix is specified in row-major order, with the top left pixel being one.one and the bottom right three.three
|
|
14
|
-
If the values in the matrix don't add up to 1.0, the image could be brightened or darkened.
|
|
15
|
-
*/
|
|
16
|
-
@property(readwrite, nonatomic) GPUMatrix3x3 convolutionKernel;
|
|
17
|
-
|
|
18
|
-
@end
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
#import "GPUImage3x3ConvolutionFilter.h"
|
|
2
|
-
|
|
3
|
-
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
|
|
4
|
-
NSString *const kGPUImage3x3ConvolutionFragmentShaderString = SHADER_STRING
|
|
5
|
-
(
|
|
6
|
-
precision highp float;
|
|
7
|
-
|
|
8
|
-
uniform sampler2D inputImageTexture;
|
|
9
|
-
|
|
10
|
-
uniform mediump mat3 convolutionMatrix;
|
|
11
|
-
|
|
12
|
-
varying vec2 textureCoordinate;
|
|
13
|
-
varying vec2 leftTextureCoordinate;
|
|
14
|
-
varying vec2 rightTextureCoordinate;
|
|
15
|
-
|
|
16
|
-
varying vec2 topTextureCoordinate;
|
|
17
|
-
varying vec2 topLeftTextureCoordinate;
|
|
18
|
-
varying vec2 topRightTextureCoordinate;
|
|
19
|
-
|
|
20
|
-
varying vec2 bottomTextureCoordinate;
|
|
21
|
-
varying vec2 bottomLeftTextureCoordinate;
|
|
22
|
-
varying vec2 bottomRightTextureCoordinate;
|
|
23
|
-
|
|
24
|
-
void main()
|
|
25
|
-
{
|
|
26
|
-
mediump vec3 bottomColor = texture2D(inputImageTexture, bottomTextureCoordinate).rgb;
|
|
27
|
-
mediump vec3 bottomLeftColor = texture2D(inputImageTexture, bottomLeftTextureCoordinate).rgb;
|
|
28
|
-
mediump vec3 bottomRightColor = texture2D(inputImageTexture, bottomRightTextureCoordinate).rgb;
|
|
29
|
-
mediump vec4 centerColor = texture2D(inputImageTexture, textureCoordinate);
|
|
30
|
-
mediump vec3 leftColor = texture2D(inputImageTexture, leftTextureCoordinate).rgb;
|
|
31
|
-
mediump vec3 rightColor = texture2D(inputImageTexture, rightTextureCoordinate).rgb;
|
|
32
|
-
mediump vec3 topColor = texture2D(inputImageTexture, topTextureCoordinate).rgb;
|
|
33
|
-
mediump vec3 topRightColor = texture2D(inputImageTexture, topRightTextureCoordinate).rgb;
|
|
34
|
-
mediump vec3 topLeftColor = texture2D(inputImageTexture, topLeftTextureCoordinate).rgb;
|
|
35
|
-
|
|
36
|
-
mediump vec3 resultColor = topLeftColor * convolutionMatrix[0][0] + topColor * convolutionMatrix[0][1] + topRightColor * convolutionMatrix[0][2];
|
|
37
|
-
resultColor += leftColor * convolutionMatrix[1][0] + centerColor.rgb * convolutionMatrix[1][1] + rightColor * convolutionMatrix[1][2];
|
|
38
|
-
resultColor += bottomLeftColor * convolutionMatrix[2][0] + bottomColor * convolutionMatrix[2][1] + bottomRightColor * convolutionMatrix[2][2];
|
|
39
|
-
|
|
40
|
-
gl_FragColor = vec4(resultColor, centerColor.a);
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
#else
|
|
44
|
-
NSString *const kGPUImage3x3ConvolutionFragmentShaderString = SHADER_STRING
|
|
45
|
-
(
|
|
46
|
-
uniform sampler2D inputImageTexture;
|
|
47
|
-
|
|
48
|
-
uniform mat3 convolutionMatrix;
|
|
49
|
-
|
|
50
|
-
varying vec2 textureCoordinate;
|
|
51
|
-
varying vec2 leftTextureCoordinate;
|
|
52
|
-
varying vec2 rightTextureCoordinate;
|
|
53
|
-
|
|
54
|
-
varying vec2 topTextureCoordinate;
|
|
55
|
-
varying vec2 topLeftTextureCoordinate;
|
|
56
|
-
varying vec2 topRightTextureCoordinate;
|
|
57
|
-
|
|
58
|
-
varying vec2 bottomTextureCoordinate;
|
|
59
|
-
varying vec2 bottomLeftTextureCoordinate;
|
|
60
|
-
varying vec2 bottomRightTextureCoordinate;
|
|
61
|
-
|
|
62
|
-
void main()
|
|
63
|
-
{
|
|
64
|
-
vec3 bottomColor = texture2D(inputImageTexture, bottomTextureCoordinate).rgb;
|
|
65
|
-
vec3 bottomLeftColor = texture2D(inputImageTexture, bottomLeftTextureCoordinate).rgb;
|
|
66
|
-
vec3 bottomRightColor = texture2D(inputImageTexture, bottomRightTextureCoordinate).rgb;
|
|
67
|
-
vec4 centerColor = texture2D(inputImageTexture, textureCoordinate);
|
|
68
|
-
vec3 leftColor = texture2D(inputImageTexture, leftTextureCoordinate).rgb;
|
|
69
|
-
vec3 rightColor = texture2D(inputImageTexture, rightTextureCoordinate).rgb;
|
|
70
|
-
vec3 topColor = texture2D(inputImageTexture, topTextureCoordinate).rgb;
|
|
71
|
-
vec3 topRightColor = texture2D(inputImageTexture, topRightTextureCoordinate).rgb;
|
|
72
|
-
vec3 topLeftColor = texture2D(inputImageTexture, topLeftTextureCoordinate).rgb;
|
|
73
|
-
|
|
74
|
-
vec3 resultColor = topLeftColor * convolutionMatrix[0][0] + topColor * convolutionMatrix[0][1] + topRightColor * convolutionMatrix[0][2];
|
|
75
|
-
resultColor += leftColor * convolutionMatrix[1][0] + centerColor.rgb * convolutionMatrix[1][1] + rightColor * convolutionMatrix[1][2];
|
|
76
|
-
resultColor += bottomLeftColor * convolutionMatrix[2][0] + bottomColor * convolutionMatrix[2][1] + bottomRightColor * convolutionMatrix[2][2];
|
|
77
|
-
|
|
78
|
-
gl_FragColor = vec4(resultColor, centerColor.a);
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
#endif
|
|
82
|
-
|
|
83
|
-
@implementation GPUImage3x3ConvolutionFilter
|
|
84
|
-
|
|
85
|
-
@synthesize convolutionKernel = _convolutionKernel;
|
|
86
|
-
|
|
87
|
-
#pragma mark -
|
|
88
|
-
#pragma mark Initialization and teardown
|
|
89
|
-
|
|
90
|
-
- (id)init;
|
|
91
|
-
{
|
|
92
|
-
if (!(self = [self initWithFragmentShaderFromString:kGPUImage3x3ConvolutionFragmentShaderString]))
|
|
93
|
-
{
|
|
94
|
-
return nil;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
self.convolutionKernel = (GPUMatrix3x3){
|
|
98
|
-
{0.f, 0.f, 0.f},
|
|
99
|
-
{0.f, 1.f, 0.f},
|
|
100
|
-
{0.f, 0.f, 0.f}
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
return self;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
- (id)initWithFragmentShaderFromString:(NSString *)fragmentShaderString;
|
|
107
|
-
{
|
|
108
|
-
if (!(self = [super initWithFragmentShaderFromString:fragmentShaderString]))
|
|
109
|
-
{
|
|
110
|
-
return nil;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
convolutionMatrixUniform = [filterProgram uniformIndex:@"convolutionMatrix"];
|
|
114
|
-
|
|
115
|
-
return self;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
#pragma mark -
|
|
119
|
-
#pragma mark Accessors
|
|
120
|
-
|
|
121
|
-
- (void)setConvolutionKernel:(GPUMatrix3x3)newValue;
|
|
122
|
-
{
|
|
123
|
-
_convolutionKernel = newValue;
|
|
124
|
-
|
|
125
|
-
[self setMatrix3f:_convolutionKernel forUniform:convolutionMatrixUniform program:filterProgram];
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#import "GPUImageFilter.h"
|
|
2
|
-
|
|
3
|
-
extern NSString *const kGPUImageNearbyTexelSamplingVertexShaderString;
|
|
4
|
-
|
|
5
|
-
@interface GPUImage3x3TextureSamplingFilter : GPUImageFilter
|
|
6
|
-
{
|
|
7
|
-
GLint texelWidthUniform, texelHeightUniform;
|
|
8
|
-
|
|
9
|
-
CGFloat texelWidth, texelHeight;
|
|
10
|
-
BOOL hasOverriddenImageSizeFactor;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// The texel width and height determines how far out to sample from this texel. By default, this is the normalized width of a pixel, but this can be overridden for different effects.
|
|
14
|
-
@property(readwrite, nonatomic) CGFloat texelWidth;
|
|
15
|
-
@property(readwrite, nonatomic) CGFloat texelHeight;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@end
|