-
Notifications
You must be signed in to change notification settings - Fork 2
/
DataModel.ahk
63 lines (55 loc) · 1.41 KB
/
DataModel.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
class Preferences {
; Indicates if the intermediate files in staging should be deleted
; after the job finishes
deleteStagingFiles:=0
fps:=60
renderCodec:="MJPEG"
finalEncodingFormat:="MP4"
finalEncodingQuality:="medium"
finalVideoOutDir:=""
}
class UserPreferences extends Preferences {
MMDExecutable:=""
}
class JobData extends Preferences {
static STATUS_PENDING := 1
static STATUS_PROCESSING := 2
static STATUS_COMPLETED := 9
static STATUS_ERROR := -1
static VR_FORMAT_NONE := -1
static VR_FORMAT_180DEG := 1
static VR_FORMAT_360DEG := 2
jobId:=""
jobShortId:=-1
jobStatus:=1
pmmFile:=""
baseVideoName:=""
; Possible values: -1 (Non-VR video), 0 (unset), 1 (180 deg), 2 (360 deg)
VRFormat:=0
; If this is false the program will render a monoscopic VR video
; -1 (disabled), 0 (unset), 1 (enabled)
parallaxEnabled:=0
sidesPerEye:=0
resolution:=""
recordingFrames:=""
tasks := ""
}
class TaskData {
static T_RENDERING := 1
static T_ENCODING := 2
static T_INJECT_METADATA := 3
static T_UPLOAD := 4
static STATUS_PENDING := 1
static STATUS_PREPARING := 2
static STATUS_PROCESSING := 3
static STATUS_COMPLETED := 9
static STATUS_ERROR := -1
taskId:=""
taskShortId:=-1
taskType:=0
taskStatus:=1
taskResult:=""
jobId:=""
side:=""
dependsOn:=""
}