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.

30 lines
650 B

  1. //
  2. // SCDigitalExposureHandler.m
  3. // Snapchat
  4. //
  5. // Created by Yu-Kuan (Anthony) Lai on 6/15/17.
  6. // Copyright © 2017 Snapchat, Inc. All rights reserved.
  7. //
  8. #import "SCDigitalExposureHandler.h"
  9. #import "SCExposureAdjustProcessingModule.h"
  10. @implementation SCDigitalExposureHandler {
  11. __weak SCExposureAdjustProcessingModule *_processingModule;
  12. }
  13. - (instancetype)initWithProcessingModule:(SCExposureAdjustProcessingModule *)processingModule
  14. {
  15. if (self = [super init]) {
  16. _processingModule = processingModule;
  17. }
  18. return self;
  19. }
  20. - (void)setExposureParameter:(CGFloat)value
  21. {
  22. [_processingModule setEVValue:value];
  23. }
  24. @end