cats-oss / android-gpuimage

Android filters based on OpenGL (idea from GPUImage for iOS)
9.01k stars 2.27k forks source link

Add GPUImageVibranceFilter #428

Closed itome closed 6 years ago

itome commented 6 years ago

What does this change?

Added GPUImageVibranceFilter

iOS Ver ↓ https://github.com/BradLarson/GPUImage/blob/master/framework/Source/GPUImageVibranceFilter.m

What is the value of this and can you measure success?

Show preview like screenshot.

Screenshots

-1.0f 1.0f
1541335702224 1541335706200
wasabeef commented 6 years ago

@itome Thanks for this PR.

I'd like to a small advice to you. You should refer to GPUImage2/****_GLES.fsh more than GPUImage classes 'Cause It's just simple for us.

https://github.com/BradLarson/GPUImage2/blob/master/framework/Source/Operations/Shaders/Vibrance_GLES.fsh

itome commented 6 years ago

@wasabeef Thanks! I'll see it next time.