OpenShot Library | libopenshot  0.7.0
Enums.h
Go to the documentation of this file.
1 
9 // Copyright (c) 2008-2019 OpenShot Studios, LLC
10 //
11 // SPDX-License-Identifier: LGPL-3.0-or-later
12 
13 #ifndef OPENSHOT_ENUMS_H
14 #define OPENSHOT_ENUMS_H
15 
16 
17 namespace openshot
18 {
19 
22 {
32 };
33 
36 {
40  SCALE_NONE
41 };
42 
45 {
48 };
49 
52 {
57 };
58 
60 enum class DurationStrategy {
64 };
65 
68 {
72 };
73 
88 
89  // svg 1.2 blend modes
102 
104 };
105 
108 {
114 };
115 
118 {
126 };
127 
130 {
140 };
141 
143 enum HopSize {
147 };
148 
155 };
156 
159 {
173 };
174 
175 } // namespace openshot
176 
177 #endif
This namespace is the default namespace for all code in the openshot library.
Definition: Compressor.h:29
FFTSize
This enumeration determines the FFT size.
Definition: Enums.h:130
@ FFT_SIZE_1024
Definition: Enums.h:136
@ FFT_SIZE_512
Definition: Enums.h:135
@ FFT_SIZE_32
Definition: Enums.h:131
@ FFT_SIZE_4096
Definition: Enums.h:138
@ FFT_SIZE_256
Definition: Enums.h:134
@ FFT_SIZE_2048
Definition: Enums.h:137
@ FFT_SIZE_8192
Definition: Enums.h:139
@ FFT_SIZE_64
Definition: Enums.h:132
@ FFT_SIZE_128
Definition: Enums.h:133
AnchorType
This enumeration determines what parent a clip should be aligned to.
Definition: Enums.h:45
@ ANCHOR_CANVAS
Anchor the clip to the canvas.
Definition: Enums.h:46
@ ANCHOR_VIEWPORT
Anchor the clip to the viewport (which can be moved / animated around the canvas)
Definition: Enums.h:47
DistortionType
This enumeration determines the distortion type of Distortion Effect.
Definition: Enums.h:108
@ HALF_WAVE_RECTIFIER
Definition: Enums.h:113
@ FULL_WAVE_RECTIFIER
Definition: Enums.h:112
@ EXPONENTIAL
Definition: Enums.h:111
@ SOFT_CLIPPING
Definition: Enums.h:110
@ HARD_CLIPPING
Definition: Enums.h:109
HopSize
This enumeration determines the hop size.
Definition: Enums.h:143
@ HOP_SIZE_2
Definition: Enums.h:144
@ HOP_SIZE_4
Definition: Enums.h:145
@ HOP_SIZE_8
Definition: Enums.h:146
ChromaKeyMethod
This enumeration determines the algorithm used by the ChromaKey filter.
Definition: Enums.h:159
@ CHROMAKEY_CIE_LCH_C
Difference between CIE LCH(ab) chromas.
Definition: Enums.h:167
@ CHROMAKEY_HSL_L
Difference between HSL luminances.
Definition: Enums.h:165
@ CHROMAKEY_HSL_S
Difference between HSL saturations.
Definition: Enums.h:163
@ CHROMAKEY_HSV_V
Difference between HSV values.
Definition: Enums.h:164
@ CHROMAKEY_YCBCR
YCbCr vector difference of CbCr.
Definition: Enums.h:170
@ CHROMAKEY_BASIC
Length of difference between RGB vectors.
Definition: Enums.h:160
@ CHROMAKEY_CIE_LCH_L
Difference between CIE LCH(ab) luminousities.
Definition: Enums.h:166
@ CHROMAKEY_CIE_LCH_H
Difference between CIE LCH(ab) hues.
Definition: Enums.h:168
@ CHROMAKEY_HSVL_H
Difference between HSV/HSL hues.
Definition: Enums.h:161
@ CHROMAKEY_BASIC_SOFT
BASIC metric + optional halo feathering.
Definition: Enums.h:171
@ CHROMAKEY_CIE_DISTANCE
CIEDE2000 perceptual difference.
Definition: Enums.h:169
@ CHROMAKEY_HSV_S
Difference between HSV saturations.
Definition: Enums.h:162
@ CHROMAKEY_LAST_METHOD
Definition: Enums.h:172
GravityType
This enumeration determines how clips are aligned to their parent container.
Definition: Enums.h:22
@ GRAVITY_TOP_LEFT
Align clip to the top left of its parent.
Definition: Enums.h:23
@ GRAVITY_LEFT
Align clip to the left of its parent (middle aligned)
Definition: Enums.h:26
@ GRAVITY_TOP_RIGHT
Align clip to the top right of its parent.
Definition: Enums.h:25
@ GRAVITY_RIGHT
Align clip to the right of its parent (middle aligned)
Definition: Enums.h:28
@ GRAVITY_BOTTOM_LEFT
Align clip to the bottom left of its parent.
Definition: Enums.h:29
@ GRAVITY_BOTTOM
Align clip to the bottom center of its parent.
Definition: Enums.h:30
@ GRAVITY_TOP
Align clip to the top center of its parent.
Definition: Enums.h:24
@ GRAVITY_BOTTOM_RIGHT
Align clip to the bottom right of its parent.
Definition: Enums.h:31
@ GRAVITY_CENTER
Align clip to the center of its parent (middle aligned)
Definition: Enums.h:27
ScaleType
This enumeration determines how clips are scaled to fit their parent container.
Definition: Enums.h:36
@ SCALE_FIT
Scale the clip until either height or width fills the canvas (with no cropping)
Definition: Enums.h:38
@ SCALE_STRETCH
Scale the clip until both height and width fill the canvas (distort to fit)
Definition: Enums.h:39
@ SCALE_CROP
Scale the clip until both height and width fill the canvas (cropping the overlap)
Definition: Enums.h:37
@ SCALE_NONE
Do not scale the clip.
Definition: Enums.h:40
WindowType
This enumeration determines the window type.
Definition: Enums.h:150
@ RECTANGULAR
Definition: Enums.h:151
@ HANN
Definition: Enums.h:153
@ BART_LETT
Definition: Enums.h:152
@ HAMMING
Definition: Enums.h:154
DurationStrategy
This enumeration determines which duration source to favor.
Definition: Enums.h:60
@ VideoPreferred
Prefer the video stream's duration, fallback to audio then container.
@ LongestStream
Use the longest value from video, audio, or container.
@ AudioPreferred
Prefer the audio stream's duration, fallback to video then container.
FilterType
This enumeration determines the filter type of ParametricEQ Effect.
Definition: Enums.h:118
@ LOW_SHELF
Definition: Enums.h:121
@ HIGH_SHELF
Definition: Enums.h:122
@ BAND_PASS
Definition: Enums.h:123
@ BAND_STOP
Definition: Enums.h:124
@ LOW_PASS
Definition: Enums.h:119
@ HIGH_PASS
Definition: Enums.h:120
@ PEAKING_NOTCH
Definition: Enums.h:125
VolumeMixType
This enumeration determines the strategy when mixing audio with other clips.
Definition: Enums.h:68
@ VOLUME_MIX_AVERAGE
Evenly divide the overlapping clips volume keyframes, so that the sum does not exceed 100%.
Definition: Enums.h:70
@ VOLUME_MIX_NONE
Do not apply any volume mixing adjustments. Just add the samples together.
Definition: Enums.h:69
@ VOLUME_MIX_REDUCE
Reduce volume by about %25, and then mix (louder, but could cause pops if the sum exceeds 100%)
Definition: Enums.h:71
FrameDisplayType
This enumeration determines the display format of the clip's frame number (if any)....
Definition: Enums.h:52
@ FRAME_DISPLAY_CLIP
Display the clip's internal frame number.
Definition: Enums.h:54
@ FRAME_DISPLAY_TIMELINE
Display the timeline's frame number.
Definition: Enums.h:55
@ FRAME_DISPLAY_BOTH
Display both the clip's and timeline's frame number.
Definition: Enums.h:56
@ FRAME_DISPLAY_NONE
Do not display the frame number.
Definition: Enums.h:53
CompositeType
This enumeration determines how clips are composited onto lower layers.
Definition: Enums.h:75
@ COMPOSITE_LIGHTEN
Definition: Enums.h:95
@ COMPOSITE_CLEAR
Definition: Enums.h:78
@ COMPOSITE_MULTIPLY
Definition: Enums.h:91
@ COMPOSITE_EXCLUSION
Definition: Enums.h:101
@ COMPOSITE_PLUS
Definition: Enums.h:90
@ COMPOSITE_SOURCE_OVER
Definition: Enums.h:76
@ COMPOSITE_DESTINATION_IN
Definition: Enums.h:82
@ COMPOSITE_SOURCE_ATOP
Definition: Enums.h:85
@ COMPOSITE_LAST
Definition: Enums.h:103
@ COMPOSITE_DESTINATION
Definition: Enums.h:80
@ COMPOSITE_DARKEN
Definition: Enums.h:94
@ COMPOSITE_SOURCE
Definition: Enums.h:79
@ COMPOSITE_COLOR_DODGE
Definition: Enums.h:96
@ COMPOSITE_SOFT_LIGHT
Definition: Enums.h:99
@ COMPOSITE_DIFFERENCE
Definition: Enums.h:100
@ COMPOSITE_HARD_LIGHT
Definition: Enums.h:98
@ COMPOSITE_DESTINATION_OUT
Definition: Enums.h:84
@ COMPOSITE_OVERLAY
Definition: Enums.h:93
@ COMPOSITE_DESTINATION_ATOP
Definition: Enums.h:86
@ COMPOSITE_COLOR_BURN
Definition: Enums.h:97
@ COMPOSITE_SOURCE_IN
Definition: Enums.h:81
@ COMPOSITE_SCREEN
Definition: Enums.h:92
@ COMPOSITE_SOURCE_OUT
Definition: Enums.h:83
@ COMPOSITE_XOR
Definition: Enums.h:87
@ COMPOSITE_DESTINATION_OVER
Definition: Enums.h:77