2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
689 B

  1. //
  2. // SCStillImageDepthBlurFilter.h
  3. // Snapchat
  4. //
  5. // Created by Brian Ng on 10/11/17.
  6. //
  7. #import "SCProcessingModule.h"
  8. #import <Foundation/Foundation.h>
  9. /*
  10. @class SCStillImageDepthBlurFilter
  11. This module uses the CIDepthBlurEffect CIFilter that uses rgb and depth information to produce an image with
  12. the portrait mode effect (background blurred, foreground sharp).
  13. */
  14. @interface SCStillImageDepthBlurFilter : NSObject
  15. // Applies the CIDepthBlurEffect filter to a still image capture photo. If an error occured, the original
  16. // photoData will be returned
  17. - (NSData *)renderWithPhotoData:(NSData *)photoData renderData:(RenderData)renderData NS_AVAILABLE_IOS(11_0);
  18. @end