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
30 lines
650 B
//
|
|
// SCDigitalExposureHandler.m
|
|
// Snapchat
|
|
//
|
|
// Created by Yu-Kuan (Anthony) Lai on 6/15/17.
|
|
// Copyright © 2017 Snapchat, Inc. All rights reserved.
|
|
//
|
|
|
|
#import "SCDigitalExposureHandler.h"
|
|
|
|
#import "SCExposureAdjustProcessingModule.h"
|
|
|
|
@implementation SCDigitalExposureHandler {
|
|
__weak SCExposureAdjustProcessingModule *_processingModule;
|
|
}
|
|
|
|
- (instancetype)initWithProcessingModule:(SCExposureAdjustProcessingModule *)processingModule
|
|
{
|
|
if (self = [super init]) {
|
|
_processingModule = processingModule;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)setExposureParameter:(CGFloat)value
|
|
{
|
|
[_processingModule setEVValue:value];
|
|
}
|
|
|
|
@end
|