VLCKit
VLCAdjustFilter.h
1 /*****************************************************************************
2  * VLCFilter.h: VLCKit.framework VLCFilter header
3  *****************************************************************************
4  * Copyright (C) 2022 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Maxime Chapelet <umxprime # videolabs.io>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23 
24 #ifndef VLCAdjustFilter_h
25 #define VLCAdjustFilter_h
26 
27 #import "VLCFilter.h"
28 
29 @class VLCMediaPlayer;
30 
31 NS_ASSUME_NONNULL_BEGIN
32 
33 extern NSString * const kVLCAdjustFilterContrastParameterKey;
34 extern NSString * const kVLCAdjustFilterBrightnessParameterKey;
35 extern NSString * const kVLCAdjustFilterHueParameterKey;
36 extern NSString * const kVLCAdjustFilterSaturationParameterKey;
37 extern NSString * const kVLCAdjustFilterGammaParameterKey;
38 
43 @interface VLCAdjustFilter : NSObject<VLCFilter>
44 
46 @property (nonatomic, readonly) id<VLCFilterParameter> contrast;
47 
49 @property (nonatomic, readonly) id<VLCFilterParameter> brightness;
50 
52 @property (nonatomic, readonly) id<VLCFilterParameter> hue;
53 
55 @property (nonatomic, readonly) id<VLCFilterParameter> saturation;
56 
58 @property (nonatomic, readonly) id<VLCFilterParameter> gamma;
59 
60 + (instancetype)new NS_UNAVAILABLE;
61 + (instancetype)createWithVLCMediaPlayer:(VLCMediaPlayer *)mediaPlayer;
62 - (instancetype)init NS_UNAVAILABLE;
63 - (instancetype)initWithVLCMediaPlayer:(VLCMediaPlayer *)mediaPlayer NS_DESIGNATED_INITIALIZER;
64 @end
65 
66 NS_ASSUME_NONNULL_END
67 
68 #endif /* VLCAdjustFilter_h */
VLCMediaPlayer
Definition: VLCMediaPlayer.h:184
VLCAdjustFilter::saturation
id< VLCFilterParameter > saturation
Convenient accessor to the saturation parameter.
Definition: VLCAdjustFilter.h:55
VLCAdjustFilter
Definition: VLCAdjustFilter.h:43
VLCAdjustFilter::gamma
id< VLCFilterParameter > gamma
Convenient accessor to the gamma parameter.
Definition: VLCAdjustFilter.h:58
VLCFilter-p
Definition: VLCFilter.h:45
VLCAdjustFilter::contrast
id< VLCFilterParameter > contrast
Convenient accessor to the contrast parameter.
Definition: VLCAdjustFilter.h:46
VLCAdjustFilter::hue
id< VLCFilterParameter > hue
Convenient accessor to the hue parameter.
Definition: VLCAdjustFilter.h:52
VLCAdjustFilter::brightness
id< VLCFilterParameter > brightness
Convenient accessor to the brightness parameter.
Definition: VLCAdjustFilter.h:49