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 "GPUImageLightenBlendFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageLightenBlendFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
varying highp vec2 textureCoordinate2;
uniform sampler2D inputImageTexture;
uniform sampler2D inpu... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLightenBlendFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 297 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageColorPackingFilter : GPUImageFilter
{
GLint texelWidthUniform, texelHeightUniform;
CGFloat texelWidth, texelHeight;
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorPackingFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 47 |
```objective-c
#import "GPUImageSobelEdgeDetectionFilter.h"
@interface GPUImagePrewittEdgeDetectionFilter : GPUImageSobelEdgeDetectionFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePrewittEdgeDetectionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 32 |
```objective-c
#import "GPUImageTwoPassTextureSamplingFilter.h"
// For each pixel, this sets it to the maximum value of the red channel in a rectangular neighborhood extending out dilationRadius pixels from the center.
// This extends out bright features, and is most commonly used with black-and-white thresholded imag... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDilationFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 184 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageHueBlendFilter : GPUImageTwoInputFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHueBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 26 |
```objective-c
#import "GPUImageiOSBlurFilter.h"
#import "GPUImageSaturationFilter.h"
#import "GPUImageGaussianBlurFilter.h"
#import "GPUImageLuminanceRangeFilter.h"
@implementation GPUImageiOSBlurFilter
@synthesize blurRadiusInPixels;
@synthesize saturation;
@synthesize downsampling = _downsampling;
#pragma mark -
... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageiOSBlurFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 736 |
```objective-c
#import "GPUImageSphereRefractionFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageSphereRefractionFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp vec2 center;
uniform highp float rad... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSphereRefractionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,243 |
```objective-c
#import "GPUImageGrayscaleFilter.h"
@implementation GPUImageGrayscaleFilter
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageLuminanceFragmentShaderString = SHADER_STRING
(
precision highp float;
varying vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
cons... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGrayscaleFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 870 |
```objective-c
#import "GPUImageThresholdEdgeDetectionFilter.h"
@implementation GPUImageThresholdEdgeDetectionFilter
// Invert the colorspace for a sketch
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageThresholdEdgeDetectionFragmentShaderString = SHADER_STRING
(
precision highp float;
va... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThresholdEdgeDetectionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,264 |
```objective-c
#import "GPUImageSobelEdgeDetectionFilter.h"
/** Converts video to look like a sketch.
This is just the Sobel edge detection filter with the colors inverted.
*/
@interface GPUImageSketchFilter : GPUImageSobelEdgeDetectionFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSketchFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 55 |
```objective-c
#import "GPUImagePerlinNoiseFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImagePerlinNoiseFragmentShaderString = SHADER_STRING
(
precision highp float;
varying highp vec2 textureCoordinate;
uniform float scale;
uniform vec4 colorStart;
uniform vec4 colorFinish;
... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePerlinNoiseFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,947 |
```objective-c
//
// GPUImageMovieComposition.h
// Givit
//
// Created by Sean Meiners on 2013/01/25.
//
//
#import "GPUImageMovie.h"
@interface GPUImageMovieComposition : GPUImageMovie
@property (readwrite, retain) AVComposition *compositon;
@property (readwrite, retain) AVVideoComposition *videoComposition;
@pr... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMovieComposition.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 133 |
```objective-c
#import "GPUImageHighPassFilter.h"
@implementation GPUImageHighPassFilter
@synthesize filterStrength;
- (id)init;
{
if (!(self = [super init]))
{
return nil;
}
// Start with a low pass filter to define the component to be removed
lowPassFilter = [[GPUImageLowPassFilter alloc... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHighPassFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 264 |
```objective-c
#import "GPUImageFilterGroup.h"
@class GPUImagePicture;
/** A photo filter based on Soft Elegance Photoshop action
path_to_url
*/
// Note: If you want to use this effect you have to add
// lookup_soft_elegance_1.png and lookup_soft_elegance_2.png
// from Resources folder to your appl... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSoftEleganceFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 116 |
```objective-c
#import "GPUImageOutput.h"
#import "GPUImageMovieWriter.h"
#import "GPUImagePicture.h"
#import <mach/mach.h>
void runOnMainQueueWithoutDeadlocking(void (^block)(void))
{
if ([NSThread isMainThread])
{
block();
}
else
{
dispatch_sync(dispatch_get_main_queue(), block);
}
}
void runSynchronously... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageOutput.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,690 |
```objective-c
//
// GPUImageHistogramEqualizationFilter.h
// FilterShowcase
//
// Created by Adam Marcus on 19/08/2014.
//
#import "GPUImageFilterGroup.h"
#import "GPUImageHistogramFilter.h"
#import "GPUImageRawDataOutput.h"
#import "GPUImageRawDataInput.h"
#import "GPUImageTwoInputFilter.h"
@interface GPUImageHi... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHistogramEqualizationFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 155 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageTwoPassFilter : GPUImageFilter
{
GPUImageFramebuffer *secondOutputFramebuffer;
GLProgram *secondFilterProgram;
GLint secondFilterPositionAttribute, secondFilterTextureCoordinateAttribute;
GLint secondFilterInputTextureUniform, secondFilterIn... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTwoPassFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 181 |
```objective-c
#import "GPUImageRGBClosingFilter.h"
#import "GPUImageRGBErosionFilter.h"
#import "GPUImageRGBDilationFilter.h"
@implementation GPUImageRGBClosingFilter
- (id)init;
{
if (!(self = [self initWithRadius:1]))
{
return nil;
}
return self;
}
- (id)initWithRadius:(NSUInteger)radius;
{... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBClosingFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 217 |
```objective-c
#import "GPUImageHoughTransformLineDetector.h"
@interface GPUImageHoughTransformLineDetector()
- (void)extractLineParametersFromImageAtFrameTime:(CMTime)frameTime;
@end
@implementation GPUImageHoughTransformLineDetector
@synthesize linesDetectedBlock;
@synthesize edgeThreshold;
@synthesize lineDetec... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHoughTransformLineDetector.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,142 |
```objective-c
#import "GPUImageTwoInputFilter.h"
/** Applies a color dodge blend of two images
*/
@interface GPUImageColorDodgeBlendFilter : GPUImageTwoInputFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorDodgeBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 40 |
```objective-c
#import "GPUImageThresholdedNonMaximumSuppressionFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageThresholdedNonMaximumSuppressionFragmentShaderString = SHADER_STRING
(
uniform sampler2D inputImageTexture;
varying highp vec2 textureCoordinate;
varying highp vec2 le... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThresholdedNonMaximumSuppressionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 3,306 |
```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
#import "GLProgram.h"
// START:typedefs
#pragma mark Function Pointer Definitions
typedef void (*GLInfoFunction)(GLuint program... | /content/code_sandbox/Pods/GPUImage/framework/Source/GLProgram.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,446 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImagePixellateFilter : GPUImageFilter
{
GLint fractionalWidthOfAPixelUniform, aspectRatioUniform;
}
// The fractional width of the image to use as a size for the pixels in the resulting image. Values below one pixel width in the source image are ignored.
@pr... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePixellateFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 82 |
```objective-c
#import "GPUImageFalseColorFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUFalseColorFragmentShaderString = SHADER_STRING
(
precision lowp float;
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform float intensity;
uniform vec3 firstC... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFalseColorFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 700 |
```objective-c
#import "GLProgram.h"
// Base classes
#import "GPUImageContext.h"
#import "GPUImageOutput.h"
#import "GPUImageView.h"
#import "GPUImageVideoCamera.h"
#import "GPUImageStillCamera.h"
#import "GPUImageMovie.h"
#import "GPUImagePicture.h"
#import "GPUImageRawDataInput.h"
#import "GPUImageRawDataOutput.h"
#... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImage.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,533 |
```objective-c
#import "GPUImageColorDodgeBlendFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageColorDodgeBlendFragmentShaderString = SHADER_STRING
(
precision mediump float;
varying highp vec2 textureCoordinate;
varying highp vec2 textureCoordinate2;
uniform sampler2D inpu... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorDodgeBlendFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 656 |
```objective-c
#import "GPUImageWeakPixelInclusionFilter.h"
@implementation GPUImageWeakPixelInclusionFilter
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageWeakPixelInclusionFragmentShaderString = SHADER_STRING
(
precision lowp float;
varying vec2 textureCoordinate;
varying vec2 leftTex... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageWeakPixelInclusionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 810 |
```objective-c
#import "GPUImageTwoPassFilter.h"
@implementation GPUImageTwoPassFilter
#pragma mark -
#pragma mark Initialization and teardown
- (id)initWithFirstStageVertexShaderFromString:(NSString *)firstStageVertexShaderString firstStageFragmentShaderFromString:(NSString *)firstStageFragmentShaderString secondSt... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTwoPassFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,629 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageDirectionalNonMaximumSuppressionFilter : GPUImageFilter
{
GLint texelWidthUniform, texelHeightUniform;
GLint upperThresholdUniform, lowerThresholdUniform;
BOOL hasOverriddenImageSizeFactor;
}
// The texel width and height determines how far... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDirectionalNonMaximumSuppressionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 170 |
```objective-c
#import "GPUImageFilterGroup.h"
@class GPUImageGaussianBlurFilter;
/** A Gaussian blur that preserves focus within a circular region
*/
@interface GPUImageGaussianSelectiveBlurFilter : GPUImageFilterGroup
{
GPUImageGaussianBlurFilter *blurFilter;
GPUImageFilter *selectiveFocusFilter;
BOOL... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGaussianSelectiveBlurFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 250 |
```objective-c
#import "GPUImageFilterGroup.h"
@class GPUImageGaussianBlurFilter;
/// A simulated tilt shift lens effect
@interface GPUImageTiltShiftFilter : GPUImageFilterGroup
{
GPUImageGaussianBlurFilter *blurFilter;
GPUImageFilter *tiltShiftFilter;
}
/// The radius of the underlying blur, in pixels. This... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTiltShiftFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 217 |
```objective-c
#import "GPUImageColorMatrixFilter.h"
/// Simple sepia tone filter
@interface GPUImageSepiaFilter : GPUImageColorMatrixFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSepiaFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 32 |
```objective-c
#import "GPUImageRGBDilationFilter.h"
#import "GPUImageDilationFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageRGBDilationRadiusOneFragmentShaderString = SHADER_STRING
(
precision highp float;
varying vec2 centerTextureCoordinate;
varying vec2 oneStepPositiveTextu... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBDilationFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,765 |
```objective-c
#import "GPUImageFilter.h"
/*
* The haze filter can be used to add or remove haze (similar to a UV filter)
*
* @author Alaric Cole
* @creationDate 03/10/12
*
*/
/** The haze filter can be used to add or remove haze
This is similar to a UV filter
*/
@interface GPUImageHazeFilter : GPUImageFil... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHazeFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 160 |
```objective-c
#import "GPUImagePosterizeFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImagePosterizeFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp float colorLevels;
void main()
{
highp vec4... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePosterizeFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 342 |
```objective-c
#import "GPUImageHistogramGenerator.h"
NSString *const kGPUImageHistogramGeneratorVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
varying vec2 textureCoordinate;
varying float height;
void main()
{
gl_Position = position;
textureCo... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHistogramGenerator.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 569 |
```objective-c
#import "GPUImage3x3TextureSamplingFilter.h"
@interface GPUImageThresholdedNonMaximumSuppressionFilter : GPUImage3x3TextureSamplingFilter
{
GLint thresholdUniform;
}
/** Any local maximum above this threshold will be white, and anything below black. Ranges from 0.0 to 1.0, with 0.8 as the default
... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThresholdedNonMaximumSuppressionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 108 |
```objective-c
#import <Foundation/Foundation.h>
#import "GPUImageOutput.h"
@interface GPUImageFilterPipeline : NSObject
{
NSString *stringValue;
}
@property (strong) NSMutableArray *filters;
@property (strong) GPUImageOutput *input;
@property (strong) id <GPUImageInput> output;
- (id) initWithOrderedFilters:(N... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFilterPipeline.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 297 |
```objective-c
#import "GPUImageHistogramFilter.h"
// Unlike other filters, this one uses a grid of GL_POINTs to sample the incoming image in a grid. A custom vertex shader reads the color in the texture at its position
// and outputs a bin position in the final histogram as the vertex position. That point is then wr... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHistogramFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,528 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageBuffer : GPUImageFilter
{
NSMutableArray *bufferedFramebuffers;
}
@property(readwrite, nonatomic) NSUInteger bufferSize;
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageBuffer.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 38 |
```objective-c
#import "GPUImageUIElement.h"
@interface GPUImageUIElement ()
{
UIView *view;
CALayer *layer;
CGSize previousLayerSizeInPixels;
CMTime time;
NSTimeInterval actualTimeOfLastUpdate;
}
@end
@implementation GPUImageUIElement
#pragma mark -
#pragma mark Initialization and teardown... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageUIElement.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 880 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageJFAVoronoiFilter : GPUImageFilter
{
GLuint secondFilterOutputTexture;
GLuint secondFilterFramebuffer;
GLint sampleStepUniform;
GLint sizeUniform;
NSUInteger numPasses;
}
@property (nonatomic, readwrite) CGSize sizeInPixels... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageJFAVoronoiFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 69 |
```objective-c
#import "GPUImageFilter.h"
/** Creates a stretch distortion of the image
*/
@interface GPUImageStretchDistortionFilter : GPUImageFilter {
GLint centerUniform;
}
/** The center about which to apply the distortion, with a default of (0.5, 0.5)
*/
@property(readwrite, nonatomic) CGPoint center;
@en... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageStretchDistortionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 72 |
```objective-c
#import "GPUImageOutput.h"
// The bytes passed into this input are not copied or retained, but you are free to deallocate them after they are used by this filter.
// The bytes are uploaded and stored within a texture, so nothing is kept locally.
// The default format for input bytes is GPUPixelFormatBGR... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRawDataInput.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 394 |
```objective-c
#import "GPUImageDifferenceBlendFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageDifferenceBlendFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
varying highp vec2 textureCoordinate2;
uniform sampler2D inputImageTexture;
uniform sampler2... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDifferenceBlendFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 306 |
```objective-c
#import "GPUImageColorMatrixFilter.h"
@interface GPUImageHSBFilter : GPUImageColorMatrixFilter
/** Reset the filter to have no transformations.
*/
- (void)reset;
/** Add a hue rotation to the filter.
The hue rotation is in the range [-360, 360] with 0 being no-change.
Note that this adjustment is a... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHSBFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 227 |
```objective-c
#import "GPUImageRGBErosionFilter.h"
#import "GPUImageDilationFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageRGBErosionRadiusOneFragmentShaderString = SHADER_STRING
(
precision highp float;
varying vec2 centerTextureCoordinate;
varying vec2 oneStepPositiveTexture... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBErosionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,757 |
```objective-c
#import "GPUImageSketchFilter.h"
@implementation GPUImageSketchFilter
// Invert the colorspace for a sketch
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageSketchFragmentShaderString = SHADER_STRING
(
precision mediump float;
varying vec2 textureCoordinate;
varying vec2 le... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSketchFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 833 |
```objective-c
// Created by Jorge Garcia on 9/5/12.
//
#import "GPUImageTwoInputFilter.h"
@interface GPUImageNormalBlendFilter : GPUImageTwoInputFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageNormalBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 40 |
```objective-c
#import "GPUImageFilter.h"
/** Performs a vignetting effect, fading out the image at the edges
*/
@interface GPUImageVignetteFilter : GPUImageFilter
{
GLint vignetteCenterUniform, vignetteColorUniform, vignetteStartUniform, vignetteEndUniform;
}
// the center for the vignette in tex coords (defau... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageVignetteFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 192 |
```objective-c
#import "GPUImageFilter.h"
/** Kuwahara image abstraction, drawn from the work of Kyprianidis, et. al. in their publication "Anisotropic Kuwahara Filtering on the GPU" within the GPU Pro collection. This produces an oil-painting-like image, but it is extremely computationally expensive, so it can take s... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageKuwaharaFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 156 |
```objective-c
#import "GPUImageTwoInputFilter.h"
/// Blends two images by taking the maximum value of each color component between the images
@interface GPUImageLightenBlendFilter : GPUImageTwoInputFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLightenBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 46 |
```objective-c
#import "GPUImageSharpenFilter.h"
NSString *const kGPUImageSharpenVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
uniform float imageWidthFactor;
uniform float imageHeightFactor;
uniform float sharpness;
varying vec2 textureCoordinate;
va... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSharpenFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,081 |
```objective-c
#import "GPUImageSobelEdgeDetectionFilter.h"
#import "GPUImageGrayscaleFilter.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 kGPUImageSobelEdgeDetectionFrag... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSobelEdgeDetectionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,495 |
```objective-c
#import "GPUImageGlassSphereFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageGlassSphereFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp vec2 center;
uniform highp float radius;
unif... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGlassSphereFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,062 |
```objective-c
#import "GPUImageHazeFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageHazeFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform lowp float hazeDistance;
uniform highp float slope;
void main()... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHazeFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 538 |
```objective-c
#import "GPUImageAverageColor.h"
NSString *const kGPUImageColorAveragingVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
uniform float texelWidth;
uniform float texelHeight;
varying vec2 upperLeftInputTextureCoordinate;
varying vec2 upperRigh... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageAverageColor.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,864 |
```objective-c
#import "GPUImageThreeInputFilter.h"
NSString *const kGPUImageThreeInputTextureVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
attribute vec4 inputTextureCoordinate2;
attribute vec4 inputTextureCoordinate3;
varying vec2 textureCoordinate;
var... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageThreeInputFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,036 |
```objective-c
#import "GPUImageOutput.h"
@interface GPUImageUIElement : GPUImageOutput
// Initialization and teardown
- (id)initWithView:(UIView *)inputView;
- (id)initWithLayer:(CALayer *)inputLayer;
// Layer management
- (CGSize)layerSizeInPixels;
- (void)update;
- (void)updateUsingCurrentTime;
- (void)updateWith... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageUIElement.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 89 |
```objective-c
#import "GPUImageEmbossFilter.h"
@implementation GPUImageEmbossFilter
@synthesize intensity = _intensity;
- (id)init;
{
if (!(self = [super init]))
{
return nil;
}
self.intensity = 1.0;
return self;
}
#pragma mark -
#pragma mark Accessors
- (void)setIntensity:(CGFloa... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageEmbossFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 345 |
```objective-c
//
// GPUImageKuwaharaRadius3Filter.h
#import "GPUImageFilter.h"
@interface GPUImageKuwaharaRadius3Filter : GPUImageFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageKuwaharaRadius3Filter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 39 |
```objective-c
#import "GPUImageTwoPassTextureSamplingFilter.h"
@interface GPUImageLanczosResamplingFilter : GPUImageTwoPassTextureSamplingFilter
@property(readwrite, nonatomic) CGSize originalImageSize;
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLanczosResamplingFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 43 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageFalseColorFilter : GPUImageFilter
{
GLint firstColorUniform, secondColorUniform;
}
// The first and second colors specify what colors replace the dark and light areas of the image, respectively. The defaults are (0.0, 0.0, 0.5) amd (1.0, 0.0, 0.0).
@pro... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFalseColorFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 162 |
```objective-c
#import "GPUImageFilter.h"
/** Transforms the colors of an image by applying a matrix to them
*/
@interface GPUImageColorMatrixFilter : GPUImageFilter
{
GLint colorMatrixUniform;
GLint intensityUniform;
}
/** A 4x4 matrix used to transform each color in an image
*/
@property(readwrite, nonato... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorMatrixFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 109 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImageMotionBlurFilter : GPUImageFilter
/** A multiplier for the blur size, ranging from 0.0 on up, with a default of 1.0
*/
@property (readwrite, nonatomic) CGFloat blurSize;
/** The angular direction of the blur, in degrees. 0 degrees by default
*/
@property... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMotionBlurFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 88 |
```objective-c
#import "GPUImageAverageColor.h"
@interface GPUImageLuminosity : GPUImageAverageColor
{
GLProgram *secondFilterProgram;
GLint secondFilterPositionAttribute, secondFilterTextureCoordinateAttribute;
GLint secondFilterInputTextureUniform, secondFilterInputTextureUniform2;
GLint secondFilter... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLuminosity.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 140 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageDivideBlendFilter : GPUImageTwoInputFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDivideBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 26 |
```objective-c
#import "GPUImageGammaFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageGammaFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform lowp float gamma;
void main()
{
lowp vec4 textureColor = t... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGammaFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 321 |
```objective-c
#import "GPUImageFilter.h"
/** This reduces the color dynamic range into the number of steps specified, leading to a cartoon-like simple shading of the image.
*/
@interface GPUImagePosterizeFilter : GPUImageFilter
{
GLint colorLevelsUniform;
}
/** The number of color levels to reduce the image spa... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePosterizeFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 96 |
```objective-c
#import "GPUImagePinchDistortionFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImagePinchDistortionFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp float aspectRatio;
uniform highp vec2 ... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePinchDistortionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,090 |
```objective-c
#import "GPUImageMissEtikateFilter.h"
#import "GPUImagePicture.h"
#import "GPUImageLookupFilter.h"
@implementation GPUImageMissEtikateFilter
- (id)init;
{
if (!(self = [super init]))
{
return nil;
}
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
UIImage *image = [UIImage imageNamed:... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMissEtikateFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 248 |
```objective-c
#import "GPUImageFilterGroup.h"
#import "GPUImagePicture.h"
@implementation GPUImageFilterGroup
@synthesize terminalFilter = _terminalFilter;
@synthesize initialFilters = _initialFilters;
@synthesize inputFilterToIgnoreForUpdates = _inputFilterToIgnoreForUpdates;
- (id)init;
{
if (!(self = [super ... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageFilterGroup.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,187 |
```objective-c
#import "GPUImageRGBOpeningFilter.h"
#import "GPUImageRGBErosionFilter.h"
#import "GPUImageRGBDilationFilter.h"
@implementation GPUImageRGBOpeningFilter
- (id)init;
{
if (!(self = [self initWithRadius:1]))
{
return nil;
}
return self;
}
- (id)initWithRadius:(NSUInteger)radius;
{... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBOpeningFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 217 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageHardLightBlendFilter : GPUImageTwoInputFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHardLightBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 28 |
```objective-c
#import "GPUImageTwoInputFilter.h"
/** Selectively replaces a color in the first image with the second image
*/
@interface GPUImageChromaKeyBlendFilter : GPUImageTwoInputFilter
{
GLint colorToReplaceUniform, thresholdSensitivityUniform, smoothingUniform;
}
/** The threshold sensitivity controls ho... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageChromaKeyBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 242 |
```objective-c
#import "GPUImageColorPackingFilter.h"
NSString *const kGPUImageColorPackingVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
uniform float texelWidth;
uniform float texelHeight;
varying vec2 upperLeftInputTextureCoordinate;
varying vec2 upper... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageColorPackingFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 993 |
```objective-c
#import "GPUImageRGBFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageRGBFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp float redAdjustment;
uniform highp float greenAdjustment;
unifo... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 508 |
```objective-c
#import "GPUImageFilter.h"
extern NSString *const kGPUImageLuminanceFragmentShaderString;
/** Converts an image to grayscale (a slightly faster implementation of the saturation filter, without the ability to vary the color contribution)
*/
@interface GPUImageGrayscaleFilter : GPUImageFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageGrayscaleFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 61 |
```objective-c
#import "GPUImageZoomBlurFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageZoomBlurFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp vec2 blurCenter;
uniform highp float blurSize;
vo... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageZoomBlurFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,020 |
```objective-c
#import "GPUImageSwirlFilter.h"
// Adapted from the shader example here: path_to_url
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageSwirlFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp vec2 c... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSwirlFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 770 |
```objective-c
#import "GPUImageFilterGroup.h"
@class GPUImageGaussianBlurFilter;
@class GPUImageXYDerivativeFilter;
@class GPUImageGrayscaleFilter;
@class GPUImageGaussianBlurFilter;
@class GPUImageThresholdedNonMaximumSuppressionFilter;
@class GPUImageColorPackingFilter;
//#define DEBUGFEATUREDETECTION
/** Harris ... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHarrisCornerDetectionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 512 |
```objective-c
#import "GPUImageOverlayBlendFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageOverlayBlendFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
varying highp vec2 textureCoordinate2;
uniform sampler2D inputImageTexture;
uniform sampler2D inpu... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageOverlayBlendFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 992 |
```objective-c
#import "GPUImageDirectionalSobelEdgeDetectionFilter.h"
@implementation GPUImageDirectionalSobelEdgeDetectionFilter
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageDirectionalSobelEdgeDetectionFragmentShaderString = SHADER_STRING
(
precision mediump float;
varying vec2 text... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageDirectionalSobelEdgeDetectionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,041 |
```objective-c
#import "GPUImageFilter.h"
/** Creates a pinch distortion of the image
*/
@interface GPUImagePinchDistortionFilter : GPUImageFilter
{
GLint aspectRatioUniform, radiusUniform, centerUniform, scaleUniform;
}
/** The center about which to apply the distortion, with a default of (0.5, 0.5)
*/
@proper... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePinchDistortionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 160 |
```objective-c
#import "GPUImageBuffer.h"
@interface GPUImageBuffer()
@end
@implementation GPUImageBuffer
@synthesize bufferSize = _bufferSize;
#pragma mark -
#pragma mark Initialization and teardown
- (id)init;
{
if (!(self = [self initWithFragmentShaderFromString:kGPUImagePassthroughFragmentShaderString]))
... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageBuffer.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 701 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageLuminosityBlendFilter : GPUImageTwoInputFilter
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageLuminosityBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 27 |
```objective-c
#import "GPUImageFilterGroup.h"
@class GPUImageRGBErosionFilter;
@class GPUImageRGBDilationFilter;
// A filter that first performs an erosion on each color channel of an image, followed by a dilation of the same radius.
// This helps to filter out smaller bright elements.
@interface GPUImageRGBOpenin... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageRGBOpeningFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 114 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageScreenBlendFilter : GPUImageTwoInputFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageScreenBlendFilter.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 GPUImageCropFilter : GPUImageFilter
{
GLfloat cropTextureCoordinates[8];
}
// The crop region is the rectangle within the image to crop. It is normalized to a coordinate space from 0.0 to 1.0, with 0.0, 0.0 being the upper left corner of the image
@property(rea... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageCropFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 107 |
```objective-c
#import "GPUImageVoronoiConsumerFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageVoronoiConsumerFragmentShaderString = SHADER_STRING
(
precision highp float;
uniform sampler2D inputImageTexture;
uniform sampler2D inputImageTexture2;
uniform vec2 size;
varying v... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageVoronoiConsumerFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 665 |
```objective-c
#import "GPUImageTransformFilter.h"
NSString *const kGPUImageTransformVertexShaderString = SHADER_STRING
(
attribute vec4 position;
attribute vec4 inputTextureCoordinate;
uniform mat4 transformMatrix;
uniform mat4 orthographicMatrix;
varying vec2 textureCoordinate;
void main()
{
gl_Pos... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageTransformFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 2,340 |
```objective-c
#import "GPUImageTwoInputFilter.h"
@interface GPUImageMultiplyBlendFilter : GPUImageTwoInputFilter
{
}
@end
``` | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMultiplyBlendFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 27 |
```objective-c
#import "GPUImageHueFilter.h"
// Adapted from path_to_url - see for code and discussion
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageHueFragmentShaderString = SHADER_STRING
(
precision highp float;
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTextur... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageHueFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,242 |
```objective-c
#import "GPUImageNonMaximumSuppressionFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageNonMaximumSuppressionFragmentShaderString = SHADER_STRING
(
uniform sampler2D inputImageTexture;
varying highp vec2 textureCoordinate;
varying highp vec2 leftTextureCoordinate;
... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageNonMaximumSuppressionFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 996 |
```objective-c
#import "GPUImageContext.h"
#import "GPUImageFramebuffer.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#else
// For now, just redefine this on the Mac
typedef NS_ENUM(NSInteger, UIImageOrientation) {
UIImageOrientationUp, // default orientation
UIImageOrie... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageOutput.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 1,095 |
```objective-c
#import "GPUImageToneCurveFilter.h"
#pragma mark -
#pragma mark GPUImageACVFile Helper
// GPUImageACVFile
//
// ACV File format Parser
// Please refer to path_to_url#50577411_pgfId-1056330
//
@interface GPUImageACVFile : NSObject{
short version;
short totalCurves;
NSArray *rgbCompo... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageToneCurveFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 5,181 |
```objective-c
#import "GPUImageVideoCamera.h"
void stillImageDataReleaseCallback(void *releaseRefCon, const void *baseAddress);
void GPUImageCreateResizedSampleBuffer(CVPixelBufferRef cameraFrame, CGSize finalSize, CMSampleBufferRef *sampleBuffer);
@interface GPUImageStillCamera : GPUImageVideoCamera
/** The JPEG c... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageStillCamera.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 429 |
```objective-c
#import "GPUImageSoftLightBlendFilter.h"
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
NSString *const kGPUImageSoftLightBlendFragmentShaderString = SHADER_STRING
(
varying highp vec2 textureCoordinate;
varying highp vec2 textureCoordinate2;
uniform sampler2D inputImageTexture;
uniform sampler2D ... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageSoftLightBlendFilter.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 453 |
```objective-c
//
// GPUImageMovieComposition.m
// Givit
//
// Created by Sean Meiners on 2013/01/25.
//
//
#import "GPUImageMovieComposition.h"
#import "GPUImageMovieWriter.h"
@implementation GPUImageMovieComposition
@synthesize compositon = _compositon;
@synthesize videoComposition = _videoComposition;
@synthes... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImageMovieComposition.m | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 597 |
```objective-c
#import "GPUImageFilter.h"
@interface GPUImagePixellatePositionFilter : GPUImageFilter
{
GLint fractionalWidthOfAPixelUniform, aspectRatioUniform, centerUniform, radiusUniform;
}
// The fractional width of the image to use as a size for the pixels in the resulting image. Values below one pixel widt... | /content/code_sandbox/Pods/GPUImage/framework/Source/GPUImagePixellatePositionFilter.h | objective-c | 2016-02-02T02:51:55 | 2024-08-09T08:55:27 | WMPlayer | zhengwenming/WMPlayer | 3,272 | 155 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.