If you need simple filters like sepia or negative, you can simply set the CONTROL_EFFECT_MODE field in the CaptureRequest instance using the CaptureRequest.Builder mBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, /*your value*/); method mBuilder.set(CaptureRequest.CONTROL_EFFECT_MODE, /*your value*/);
see the doc developer for available values.
source share