text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```objective-c #import "GPUImage3x3TextureSamplingFilter.h" // Override vertex shader to remove dependent texture reads NSString *const kGPUImageNearbyTexelSamplingVertexShaderString = SHADER_STRING ( attribute vec4 position; attribute vec4 inputTextureCoordinate; uniform float texelWidth; uniform float texelHe...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImage3x3TextureSamplingFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
824
```objective-c #import "GPUImageLanczosResamplingFilter.h" NSString *const kGPUImageLanczosVertexShaderString = SHADER_STRING ( attribute vec4 position; attribute vec2 inputTextureCoordinate; uniform float texelWidthOffset; uniform float texelHeightOffset; varying vec2 centerTextureCoordinate; varying vec2 o...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLanczosResamplingFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
2,176
```objective-c #import "GPUImageTwoPassTextureSamplingFilter.h" @implementation GPUImageTwoPassTextureSamplingFilter @synthesize verticalTexelSpacing = _verticalTexelSpacing; @synthesize horizontalTexelSpacing = _horizontalTexelSpacing; #pragma mark - #pragma mark Initialization and teardown - (id)initWithFirstStag...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTwoPassTextureSamplingFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
701
```objective-c #import "GPUImageFilter.h" @interface GPUImageCrosshairGenerator : GPUImageFilter { GLint crosshairWidthUniform, crosshairColorUniform; } // The width of the displayed crosshairs, in pixels. Currently this only works well for odd widths. The default is 5. @property(readwrite, nonatomic) CGFloat cro...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageCrosshairGenerator.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
181
```objective-c #import "GPUImagePixellateFilter.h" @interface GPUImagePolkaDotFilter : GPUImagePixellateFilter { GLint dotScalingUniform; } @property(readwrite, nonatomic) CGFloat dotScaling; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePolkaDotFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
46
```objective-c #import "GPUImageFilter.h" /** * Levels like Photoshop. * * The min, max, minOut and maxOut parameters are floats in the range [0, 1]. * If you have parameters from Photoshop in the range [0, 255] you must first * convert them to be [0, 1]. * The gamma/mid parameter is a float >= 0. This matches t...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLevelsFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
444
```objective-c #import "GPUImageSobelEdgeDetectionFilter.h" @interface GPUImageThresholdEdgeDetectionFilter : GPUImageSobelEdgeDetectionFilter { GLint thresholdUniform; } /** Any edge above this threshold will be black, and anything below white. Ranges from 0.0 to 1.0, with 0.8 as the default */ @property(readwr...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThresholdEdgeDetectionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
85
```objective-c #import "GPUImageChromaKeyBlendFilter.h" // Shader code based on Apple's CIChromaKeyFilter example: path_to_url#samplecode/CIChromaKeyFilter/Introduction/Intro.html #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageChromaKeyBlendFragmentShaderString = SHADER_STRING ( precision h...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageChromaKeyBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,104
```objective-c #import "GPUImageVideoCamera.h" #import "GPUImageMovieWriter.h" #import "GPUImageFilter.h" // Color Conversion Constants (YUV to RGB) including adjustment from 16-235/16-240 (video range) // BT.601, which is the standard for SDTV. const GLfloat kColorConversion601[] = { 1.164, 1.164, 1.164, 0....
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageVideoCamera.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
8,924
```objective-c #import "GPUImageSolidColorGenerator.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUSolidColorFragmentShaderString = SHADER_STRING ( precision lowp float; varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform vec4 color; uniform float useExistin...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSolidColorGenerator.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
847
```objective-c #import "GPUImageTwoInputFilter.h" extern NSString *const kGPUImageThreeInputTextureVertexShaderString; @interface GPUImageThreeInputFilter : GPUImageTwoInputFilter { GPUImageFramebuffer *thirdInputFramebuffer; GLint filterThirdTextureCoordinateAttribute; GLint filterInputTextureUniform3; ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThreeInputFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
123
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageSubtractBlendFilter : GPUImageTwoInputFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSubtractBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
26
```objective-c #import "GPUImageFilterGroup.h" @class GPUImageSaturationFilter; @class GPUImageGaussianBlurFilter; @class GPUImageLuminanceRangeFilter; @interface GPUImageiOSBlurFilter : GPUImageFilterGroup { GPUImageSaturationFilter *saturationFilter; GPUImageGaussianBlurFilter *blurFilter; GPUImageLumin...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageiOSBlurFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
259
```objective-c #import "GPUImageSmoothToonFilter.h" #import "GPUImageGaussianBlurFilter.h" #import "GPUImageToonFilter.h" @implementation GPUImageSmoothToonFilter @synthesize threshold; @synthesize blurRadiusInPixels; @synthesize quantizationLevels; @synthesize texelWidth; @synthesize texelHeight; - (id)init; { ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSmoothToonFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
485
```objective-c #import "GPUImageAverageLuminanceThresholdFilter.h" #import "GPUImageLuminosity.h" #import "GPUImageLuminanceThresholdFilter.h" @interface GPUImageAverageLuminanceThresholdFilter() { GPUImageLuminosity *luminosityFilter; GPUImageLuminanceThresholdFilter *luminanceThresholdFilter; } @end @implem...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageAverageLuminanceThresholdFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
313
```objective-c #import "GPUImageFilter.h" #import "GPUImagePicture.h" #import <AVFoundation/AVFoundation.h> // Hardcode the vertex shader for standard filters, but this can be overridden NSString *const kGPUImageVertexShaderString = SHADER_STRING ( attribute vec4 position; attribute vec4 inputTextureCoordinate; v...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
5,257
```objective-c #import "GPUImageExclusionBlendFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageExclusionBlendFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageExclusionBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
463
```objective-c #import "GPUImageErosionFilter.h" #import "GPUImageDilationFilter.h" @implementation GPUImageErosionFilter #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageErosionRadiusOneFragmentShaderString = SHADER_STRING ( precision lowp float; varying vec2 centerTextureCoordinate; var...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageErosionFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
2,853
```objective-c #import "GPUImageFilterGroup.h" @class GPUImageGrayscaleFilter; @class GPUImageSingleComponentGaussianBlurFilter; @class GPUImageDirectionalSobelEdgeDetectionFilter; @class GPUImageDirectionalNonMaximumSuppressionFilter; @class GPUImageWeakPixelInclusionFilter; /** This applies the edge detection proce...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageCannyEdgeDetectionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
567
```objective-c #import "GPUImageTwoPassTextureSamplingFilter.h" /** A more generalized 9x9 Gaussian blur filter */ @interface GPUImageGaussianBlurPositionFilter : GPUImageTwoPassTextureSamplingFilter { GLint blurCenterUniform, blurRadiusUniform, aspectRatioUniform; } /** A multiplier for the blur size, ranging ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGaussianBlurPositionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
153
```objective-c // Created by Jorge Garcia on 9/5/12. #import "GPUImageNormalBlendFilter.h" /* This equation is a simplification of the general blending equation. It assumes the destination color is opaque, and therefore drops the destination color's alpha term. D = C1 * C1a + C2 * C2a * (1 - C1a) where D is the ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageNormalBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,046
```objective-c #import "GPUImageTwoInputFilter.h" /** Applies a color burn blend of two images */ @interface GPUImageColorBurnBlendFilter : GPUImageTwoInputFilter { } @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorBurnBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
39
```objective-c #import "GPUImage3x3TextureSamplingFilter.h" @interface GPUImageNonMaximumSuppressionFilter : GPUImage3x3TextureSamplingFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageNonMaximumSuppressionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
33
```objective-c // // GPUImageHistogramEqualizationFilter.m // FilterShowcase // // Created by Adam Marcus on 19/08/2014. // #import "GPUImageHistogramEqualizationFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageRedHistogramEqualizationFragmentShaderString = SHADER_STRING ( varyin...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHistogramEqualizationFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
2,722
```objective-c #import "GPUImageContrastFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageContrastFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform lowp float contrast; void main() { lowp vec4 textur...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageContrastFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
352
```objective-c #import "GPUImageFilter.h" /** Adjusts the contrast of the image */ @interface GPUImageContrastFilter : GPUImageFilter { GLint contrastUniform; } /** Contrast ranges from 0.0 to 4.0 (max contrast), with 1.0 as the normal level */ @property(readwrite, nonatomic) CGFloat contrast; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageContrastFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
76
```objective-c #import <Foundation/Foundation.h> #import <QuartzCore/QuartzCore.h> #import "GPUImageFramebuffer.h" @interface GPUImageFramebufferCache : NSObject // Framebuffer management - (GPUImageFramebuffer *)fetchFramebufferForSize:(CGSize)framebufferSize textureOptions:(GPUTextureOptions)textureOptions onlyText...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFramebufferCache.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
160
```objective-c #import "GPUImageToonFilter.h" #import "GPUImageSobelEdgeDetectionFilter.h" #import "GPUImage3x3ConvolutionFilter.h" // Code from "Graphics Shaders: Theory and Practice" by M. Bailey and S. Cunningham #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageToonFragmentShaderString = SH...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageToonFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,232
```objective-c #import "GPUImageFilter.h" // This outputs an image with a constant color. You need to use -forceProcessingAtSize: in order to set the output image // dimensions, or this won't work correctly @interface GPUImageSolidColorGenerator : GPUImageFilter { GLint colorUniform; GLint useExistingAlphaUn...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSolidColorGenerator.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
157
```objective-c #import "GPUImageHarrisCornerDetectionFilter.h" /** Shi-Tomasi feature detector This is the Shi-Tomasi feature detector, as described in J. Shi and C. Tomasi. Good features to track. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 593-600, June 1994. */ @inte...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageShiTomasiFeatureDetectionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
116
```objective-c #import "GPUImage3x3TextureSamplingFilter.h" @interface GPUImageLocalBinaryPatternFilter : GPUImage3x3TextureSamplingFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLocalBinaryPatternFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
32
```objective-c #import "GPUImageGaussianSelectiveBlurFilter.h" #import "GPUImageGaussianBlurFilter.h" #import "GPUImageTwoInputFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageGaussianSelectiveBlurFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGaussianSelectiveBlurFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,163
```objective-c #import "GPUImageMaskFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageMaskShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D inputImageTexture2; void...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMaskFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
585
```objective-c #import "GPUImageFilter.h" /** Creates a swirl distortion on the image */ @interface GPUImageSwirlFilter : GPUImageFilter { GLint radiusUniform, centerUniform, angleUniform; } /// The center about which to apply the distortion, with a default of (0.5, 0.5) @property(readwrite, nonatomic) CGPoint c...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSwirlFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
148
```objective-c #import "GPUImageChromaKeyFilter.h" // Shader code based on Apple's CIChromaKeyFilter example: path_to_url#samplecode/CIChromaKeyFilter/Introduction/Intro.html #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageChromaKeyFragmentShaderString = SHADER_STRING ( precision highp float...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageChromaKeyFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,042
```objective-c #import "GPUImageOutput.h" @interface GPUImageTextureInput : GPUImageOutput { CGSize textureSize; } // Initialization and teardown - (id)initWithTexture:(GLuint)newInputTexture size:(CGSize)newTextureSize; // Image rendering - (void)processTextureWithFrameTime:(CMTime)frameTime; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTextureInput.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
68
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageDarkenBlendFilter : GPUImageTwoInputFilter { } @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDarkenBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
28
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageOverlayBlendFilter : GPUImageTwoInputFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageOverlayBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
25
```objective-c #import "GPUImageCropFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageCropFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; void main() { gl_FragColor = texture2D(inputImageTexture, textureCoo...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageCropFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,960
```objective-c #import "GPUImageThresholdSketchFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageThresholdSketchFragmentShaderString = SHADER_STRING ( precision highp float; varying vec2 textureCoordinate; varying vec2 leftTextureCoordinate; varying vec2 rightTextureCoordinate; ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThresholdSketchFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
912
```objective-c #import "GPUImageFilter.h" @interface GPUImageColorInvertFilter : GPUImageFilter { } @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorInvertFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
24
```objective-c #import "GPUImageMultiplyBlendFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageMultiplyBlendFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D in...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMultiplyBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
328
```objective-c // This is Jeff LaMarche's GLProgram OpenGL shader wrapper class from his OpenGL ES 2.0 book. // A description of this can be found at his page on the topic: // path_to_url // I've extended this to be able to take programs as NSStrings in addition to files, for baked-in shaders #import <Foundation/F...
/content/code_sandbox/Pods/GPUImage/framework/Source/GLProgram.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
349
```objective-c #import "GPUImageHueBlendFilter.h" /** * Hue blend mode based upon pseudo code from the PDF specification. */ #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageHueBlendFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordi...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHueBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,917
```objective-c #import "GPUImageSobelEdgeDetectionFilter.h" @interface GPUImageXYDerivativeFilter : GPUImageSobelEdgeDetectionFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageXYDerivativeFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
30
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageDissolveBlendFilter : GPUImageTwoInputFilter { GLint mixUniform; } // Mix ranges from 0.0 (only image 1) to 1.0 (only image 2), with 0.5 (half of either) as the normal level @property(readwrite, nonatomic) CGFloat mix; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDissolveBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
84
```objective-c #import "GPUImageHighlightShadowFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageHighlightShadowFragmentShaderString = SHADER_STRING ( uniform sampler2D inputImageTexture; varying highp vec2 textureCoordinate; uniform lowp float shadows; uniform lowp float highlights;...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHighlightShadowFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
873
```objective-c // This needs a little more work, it's rotating the input tileset and there are some artifacts (I think from GL_LINEAR interpolation), but it's working #import "GPUImageTwoInputFilter.h" #import "GPUImagePicture.h" @interface GPUImageMosaicFilter : GPUImageTwoInputFilter { GLint inputTileSizeUnifo...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMosaicFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
222
```objective-c #import "GPUImageFilter.h" /** * Created by Alaric Cole * Allows adjustment of color temperature in terms of what an image was effectively shot in. This means higher Kelvin values will warm the image, while lower values will cool it. */ @interface GPUImageWhiteBalanceFilter : GPUImageFilter { G...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageWhiteBalanceFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
109
```objective-c #import "GPUImage3x3TextureSamplingFilter.h" @interface GPUImageWeakPixelInclusionFilter : GPUImage3x3TextureSamplingFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageWeakPixelInclusionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
33
```objective-c #import "GPUImageTwoPassTextureSamplingFilter.h" // For each pixel, this sets it to the minimum value of each color channel in a rectangular neighborhood extending out dilationRadius pixels from the center. // This extends out dark features, and can be used for abstraction of color images. @interface G...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBErosionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
124
```objective-c #import "GPUImageFilter.h" @interface GPUImageToneCurveFilter : GPUImageFilter @property(readwrite, nonatomic, copy) NSArray *redControlPoints; @property(readwrite, nonatomic, copy) NSArray *greenControlPoints; @property(readwrite, nonatomic, copy) NSArray *blueControlPoints; @property(readwrite, nonat...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageToneCurveFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
273
```objective-c #import "GPUImageVignetteFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageVignetteFragmentShaderString = SHADER_STRING ( uniform sampler2D inputImageTexture; varying highp vec2 textureCoordinate; uniform lowp vec2 vignetteCenter; uniform lowp vec3 vignetteColor; ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageVignetteFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
779
```objective-c #import "GPUImageGaussianBlurPositionFilter.h" NSString *const kGPUImageGaussianBlurPositionVertexShaderString = SHADER_STRING ( attribute vec4 position; attribute vec4 inputTextureCoordinate; const int GAUSSIAN_SAMPLES = 9; uniform float texelWidthOffset; uniform float texelHeightOffset; vary...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGaussianBlurPositionFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,855
```objective-c #import "GPUImageFilterGroup.h" @class GPUImagePicture; /** A photo filter based on Photoshop action by Amatorka path_to_url */ // Note: If you want to use this effect you have to add lookup_amatorka.png // from Resources folder to your application bundle. @interface GPUImageAmatorkaFilter...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageAmatorkaFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
92
```objective-c #import "GPUImageOpeningFilter.h" #import "GPUImageErosionFilter.h" #import "GPUImageDilationFilter.h" @implementation GPUImageOpeningFilter @synthesize verticalTexelSpacing = _verticalTexelSpacing; @synthesize horizontalTexelSpacing = _horizontalTexelSpacing; - (id)init; { if (!(self = [self init...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageOpeningFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
320
```objective-c #import "GPUImageGaussianBlurFilter.h" /** A hardware-accelerated box blur of an image */ @interface GPUImageBoxBlurFilter : GPUImageGaussianBlurFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageBoxBlurFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
41
```objective-c #import "GPUImageFilter.h" @interface GPUImageMonochromeFilter : GPUImageFilter { GLint intensityUniform, filterColorUniform; } @property(readwrite, nonatomic) CGFloat intensity; @property(readwrite, nonatomic) GPUVector4 color; - (void)setColorRed:(GLfloat)redComponent green:(GLfloat)greenCompone...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMonochromeFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
76
```objective-c // // GPUImageMosaicFilter.m #import "GPUImageMosaicFilter.h" #import "GPUImagePicture.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageMosaicFragmentShaderString = SHADER_STRING ( precision highp float; varying vec2 textureCoordinate; uniform sampler2D inputImageTex...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMosaicFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,404
```objective-c #import "GPUImageSphereRefractionFilter.h" @interface GPUImageGlassSphereFilter : GPUImageSphereRefractionFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGlassSphereFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
27
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageDifferenceBlendFilter : GPUImageTwoInputFilter { } @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDifferenceBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
27
```objective-c #import "GPUImageFilter.h" @interface GPUImageHistogramGenerator : GPUImageFilter { GLint backgroundColorUniform; } @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHistogramGenerator.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
27
```objective-c #import "GPUImageFilter.h" @interface GPUImageLuminanceRangeFilter : GPUImageFilter { GLint rangeReductionUniform; } /** The degree to reduce the luminance range, from 0.0 to 1.0. Default is 0.6. */ @property(readwrite, nonatomic) CGFloat rangeReductionFactor; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLuminanceRangeFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
73
```objective-c #import "GPUImageMotionBlurFilter.h" // Override vertex shader to remove dependent texture reads NSString *const kGPUImageTiltedTexelSamplingVertexShaderString = SHADER_STRING ( attribute vec4 position; attribute vec4 inputTextureCoordinate; uniform vec2 directionalTexelStep; varying vec2 textur...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMotionBlurFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
2,080
```objective-c #import "GPUImageOutput.h" #import "GPUImageFilter.h" @interface GPUImageFilterGroup : GPUImageOutput <GPUImageInput> { NSMutableArray *filters; BOOL isEndProcessing; } @property(readwrite, nonatomic, strong) GPUImageOutput<GPUImageInput> *terminalFilter; @property(readwrite, nonatomic, strong)...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFilterGroup.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
151
```objective-c #import "GPUImageStretchDistortionFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageStretchDistortionFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform highp vec2 center; void main() { ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageStretchDistortionFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
646
```objective-c #import "GPUImageFilter.h" typedef enum { kGPUImageHistogramRed, kGPUImageHistogramGreen, kGPUImageHistogramBlue, kGPUImageHistogramRGB, kGPUImageHistogramLuminance} GPUImageHistogramType; @interface GPUImageHistogramFilter : GPUImageFilter { GPUImageHistogramType histogramType; GLubyte *v...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHistogramFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
175
```objective-c #import "GPUImageFilter.h" @interface GPUImageSphereRefractionFilter : GPUImageFilter { GLint radiusUniform, centerUniform, aspectRatioUniform, refractiveIndexUniform; } /// The center about which to apply the distortion, with a default of (0.5, 0.5) @property(readwrite, nonatomic) CGPoint center; ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSphereRefractionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
141
```objective-c #import "GPUImageShiTomasiFeatureDetectionFilter.h" @implementation GPUImageShiTomasiFeatureDetectionFilter #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageShiTomasiCornerDetectionFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageShiTomasiFeatureDetectionFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
508
```objective-c #import "GPUImageDissolveBlendFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageDissolveBlendFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D in...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDissolveBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
403
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageLinearBurnBlendFilter : GPUImageTwoInputFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLinearBurnBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
26
```objective-c #import "GPUImageFilterGroup.h" #import "GPUImageThresholdEdgeDetectionFilter.h" #import "GPUImageParallelCoordinateLineTransformFilter.h" #import "GPUImageThresholdedNonMaximumSuppressionFilter.h" #import "GPUImageCannyEdgeDetectionFilter.h" // This applies a Hough transform to detect lines in a scene....
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHoughTransformLineDetector.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
634
```objective-c #import "GPUImageMotionDetector.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageMotionComparisonFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D inp...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMotionDetector.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
828
```objective-c #import "GPUImageScreenBlendFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageScreenBlendFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D inputI...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageScreenBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
336
```objective-c #import "GPUImageFilter.h" /** Adjusts the saturation of an image */ @interface GPUImageSaturationFilter : GPUImageFilter { GLint saturationUniform; } /** Saturation ranges from 0.0 (fully desaturated) to 2.0 (max saturation), with 1.0 as the normal level */ @property(readwrite, nonatomic) CGFloa...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSaturationFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
82
```objective-c #import "GPUImageFilterPipeline.h" @interface GPUImageFilterPipeline () - (BOOL)_parseConfiguration:(NSDictionary *)configuration; - (void)_refreshFilters; @end @implementation GPUImageFilterPipeline @synthesize filters = _filters, input = _input, output = _output; #pragma mark Config file init -...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFilterPipeline.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,687
```objective-c #import "GPUImageXYDerivativeFilter.h" // I'm using the Prewitt operator to obtain the derivative, then squaring the X and Y components and placing the product of the two in Z. // In tests, Prewitt seemed to be tied with Sobel for the best, and it's just a little cheaper to compute. // This is primarily...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageXYDerivativeFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,016
```objective-c #import "GPUImageLuminanceRangeFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageLuminanceRangeFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform lowp float rangeReduction; // Values from "Gra...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLuminanceRangeFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
534
```objective-c #import "GPUImageTwoPassFilter.h" @interface GPUImageTwoPassTextureSamplingFilter : GPUImageTwoPassFilter { GLint verticalPassTexelWidthOffsetUniform, verticalPassTexelHeightOffsetUniform, horizontalPassTexelWidthOffsetUniform, horizontalPassTexelHeightOffsetUniform; GLfloat verticalPassTexelWid...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTwoPassTextureSamplingFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
152
```objective-c #import "GPUImageTextureOutput.h" @implementation GPUImageTextureOutput @synthesize delegate = _delegate; @synthesize texture = _texture; @synthesize enabled; #pragma mark - #pragma mark Initialization and teardown - (id)init; { if (!(self = [super init])) { return nil; } self....
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTextureOutput.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
339
```objective-c #import "GPUImageSoftEleganceFilter.h" #import "GPUImagePicture.h" #import "GPUImageLookupFilter.h" #import "GPUImageGaussianBlurFilter.h" #import "GPUImageAlphaBlendFilter.h" @implementation GPUImageSoftEleganceFilter - (id)init; { if (!(self = [super init])) { return nil; } #if TARGET_...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSoftEleganceFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
536
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageTwoInputCrossTextureSamplingFilter : GPUImageTwoInputFilter { GLint texelWidthUniform, texelHeightUniform; CGFloat texelWidth, texelHeight; BOOL hasOverriddenImageSizeFactor; } // The texel width and height determines how far out to...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTwoInputCrossTextureSamplingFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
123
```objective-c #import "GPUImageFilterGroup.h" #import "GPUImageLowPassFilter.h" #import "GPUImageAverageColor.h" @interface GPUImageMotionDetector : GPUImageFilterGroup { GPUImageLowPassFilter *lowPassFilter; GPUImageTwoInputFilter *frameComparisonFilter; GPUImageAverageColor *averageColor; } // This con...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMotionDetector.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
175
```objective-c #import "GPUImageTextureInput.h" @implementation GPUImageTextureInput #pragma mark - #pragma mark Initialization and teardown - (id)initWithTexture:(GLuint)newInputTexture size:(CGSize)newTextureSize; { if (!(self = [super init])) { return nil; } runSynchronouslyOnVideoProcess...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTextureInput.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
263
```objective-c #import "GPUImageParallelCoordinateLineTransformFilter.h" NSString *const kGPUImageHoughAccumulationVertexShaderString = SHADER_STRING ( attribute vec4 position; void main() { gl_Position = position; } ); #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageHoughAccumulat...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageParallelCoordinateLineTransformFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
2,092
```objective-c #import "GPUImageLineGenerator.h" NSString *const kGPUImageLineGeneratorVertexShaderString = SHADER_STRING ( attribute vec4 position; void main() { gl_Position = position; } ); #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageLineGeneratorFragmentShaderString = SHADER...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLineGenerator.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
983
```objective-c #import "GPUImageFilter.h" /// Creates a bulge distortion on the image @interface GPUImageBulgeDistortionFilter : GPUImageFilter { GLint aspectRatioUniform, radiusUniform, centerUniform, scaleUniform; } /// The center about which to apply the distortion, with a default of (0.5, 0.5) @property(readw...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageBulgeDistortionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
158
```objective-c #import <Foundation/Foundation.h> #import "GPUImageContext.h" struct GPUByteColorVector { GLubyte red; GLubyte green; GLubyte blue; GLubyte alpha; }; typedef struct GPUByteColorVector GPUByteColorVector; @protocol GPUImageRawDataProcessor; #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHON...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRawDataOutput.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
265
```objective-c #import "GPUImageExposureFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageExposureFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; uniform highp float exposure; void main() { highp vec4 textu...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageExposureFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
337
```objective-c #import "GPUImageHardLightBlendFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageHardLightBlendFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; varying highp vec2 textureCoordinate2; uniform sampler2D inputImageTexture; uniform sampler2D ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHardLightBlendFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,048
```objective-c #import "GPUImageAmatorkaFilter.h" #import "GPUImagePicture.h" #import "GPUImageLookupFilter.h" @implementation GPUImageAmatorkaFilter - (id)init; { if (!(self = [super init])) { return nil; } #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE UIImage *image = [UIImage imageNamed:@"look...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageAmatorkaFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
251
```objective-c #import "GPUImageThresholdEdgeDetectionFilter.h" @interface GPUImageThresholdSketchFilter : GPUImageThresholdEdgeDetectionFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThresholdSketchFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
27
```objective-c #import "GPUImage3x3TextureSamplingFilter.h" @interface GPUImageDirectionalSobelEdgeDetectionFilter : GPUImage3x3TextureSamplingFilter @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDirectionalSobelEdgeDetectionFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
35
```objective-c #import "GPUImageFilter.h" @interface GPUImageChromaKeyFilter : GPUImageFilter { GLint colorToReplaceUniform, thresholdSensitivityUniform, smoothingUniform; } /** The threshold sensitivity controls how similar pixels need to be colored to be replaced The default value is 0.3 */ @property(readwr...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageChromaKeyFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
221
```objective-c #import "GPUImageTwoInputFilter.h" @interface GPUImageAlphaBlendFilter : GPUImageTwoInputFilter { GLint mixUniform; } // Mix ranges from 0.0 (only image 1) to 1.0 (only image 2), with 1.0 as the normal level @property(readwrite, nonatomic) CGFloat mix; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageAlphaBlendFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
77
```objective-c // // GPUImageCGAColorspaceFilter.m // #import "GPUImageCGAColorspaceFilter.h" #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageCGAColorspaceFragmentShaderString = SHADER_STRING ( varying highp vec2 textureCoordinate; uniform sampler2D inputImageTexture; void main() { ...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageCGAColorspaceFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
1,001
```objective-c #import "GPUImageFilter.h" @interface GPUImageOpacityFilter : GPUImageFilter { GLint opacityUniform; } // Opacity ranges from 0.0 to 1.0, with 1.0 as the normal setting @property(readwrite, nonatomic) CGFloat opacity; @end ```
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageOpacityFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
61
```objective-c #import "GPUImageSepiaFilter.h" @implementation GPUImageSepiaFilter - (id)init; { if (!(self = [super init])) { return nil; } self.intensity = 1.0; self.colorMatrix = (GPUMatrix4x4){ {0.3588, 0.7044, 0.1368, 0.0}, {0.2990, 0.5870, 0.1140, 0.0}, {0.2392...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSepiaFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
156
```objective-c #import "GPUImageLowPassFilter.h" @implementation GPUImageLowPassFilter @synthesize filterStrength; - (id)init; { if (!(self = [super init])) { return nil; } // Take in the frame and blend it with the previous one dissolveBlendFilter = [[GPUImageDissolveBlendFilter alloc] in...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLowPassFilter.m
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
418
```objective-c #import "GPUImageFilter.h" extern NSString *const kGPUImageNearbyTexelSamplingVertexShaderString; @interface GPUImage3x3TextureSamplingFilter : GPUImageFilter { GLint texelWidthUniform, texelHeightUniform; CGFloat texelWidth, texelHeight; BOOL hasOverriddenImageSizeFactor; } // The te...
/content/code_sandbox/Pods/GPUImage/framework/Source/GPUImage3x3TextureSamplingFilter.h
objective-c
2016-02-02T02:51:55
2024-08-09T08:55:27
WMPlayer
zhengwenming/WMPlayer
3,272
137