1234567891011121314151617 |
- #import "GPUImageAverageColor.h"
- @interface GPUImageLuminosity : GPUImageAverageColor
- {
- GLProgram *secondFilterProgram;
- GLint secondFilterPositionAttribute, secondFilterTextureCoordinateAttribute;
- GLint secondFilterInputTextureUniform, secondFilterInputTextureUniform2;
- GLint secondFilterTexelWidthUniform, secondFilterTexelHeightUniform;
- }
- // This block is called on the completion of color averaging for a frame
- @property(nonatomic, copy) void(^luminosityProcessingFinishedBlock)(CGFloat luminosity, CMTime frameTime);
- - (void)extractLuminosityAtFrameTime:(CMTime)frameTime;
- - (void)initializeSecondaryAttributes;
- @end
|