This obviously isn't going to work (and shouldn't even compile) because GPUImageBrightnessFilter has no -setTopFocusLevel:
or -setBottomFocusLevel:
method. You copied this from my sample application without changing these methods to the one appropriate to a brightness filter (which is the brightness
property).
It's also rather confusing (and potentially problematic) to have both a brightnessFilter
instance variable and -brightnessFilter
method. You probably want to rename the former to make it clear that's where you're performing your initial setup of the filter and source image. You'll also need to call that in your view controller's setup (after your Nib is loaded).