r1009: Move the dependencies to newer package names
[cinelerra_cv/mob.git] / cinelerra / plugincommands.h
blob0ab84273c2d55b3dd125d7bcc43c657a7eaeda85
1 #ifndef PLUGINCOMMANDS_H
2 #define PLUGINCOMMANDS_H
4 #define OK 0
5 #define CANCEL 1
6 #define CHECK_HEADER 43
7 #define GET_AUDIO 2
8 #define GET_MULTICHANNEL 3
9 #define GET_REALTIME 4
10 // Get the title given by the plugin
11 #define GET_TITLE 5
12 // Get the title given by the module
13 #define GET_STRING 84
14 #define GET_VIDEO 6
15 #define GET_FILEIO 40
16 #define LOAD_DEFAULTS 8
17 #define SAVE_DEFAULTS 9
19 // Non-realtime plugins
20 #define GET_PARAMETERS 11
21 #define GET_AUDIO_PARAMETERS 41
22 #define GET_VIDEO_PARAMETERS 42
23 #define GET_SAMPLERATE 12
24 #define GET_FRAMERATE 34
25 #define GET_FRAMESIZE 35
26 #define GET_SMP 53
27 #define SET_INTERACTIVE 13
28 #define SET_RANGE 14
29 #define GET_BUFFERS 15
30 #define GET_REALTIME_BUFFERS 36
31 #define START_PLUGIN 16
32 #define COMPLETED 17
33 #define EXIT_PLUGIN 18
34 #define READ_SAMPLES 19
35 #define WRITE_SAMPLES 20
36 #define READ_FRAMES 37
37 #define WRITE_FRAMES 38
39 // Realtime plugins
40 #define SHOW_GUI 22
41 #define HIDE_GUI 23
42 #define START_GUI 24
43 #define STOP_GUI 25
44 #define SET_STRING 26
45 #define SAVE_DATA 27
46 #define LOAD_DATA 28
47 #define START_REALTIME 7
48 #define STOP_REALTIME 31
49 #define PROCESS_REALTIME 32
50 #define CONFIGURE_CHANGE 33
51 #define GET_USE_FLOAT 39
52 #define GET_USE_ALPHA 46
53 #define GET_USE_INTERPOLATION 47
54 #define GET_ASPECT_RATIO 51
55 #define GUI_ON 48
56 #define GUI_OFF 49
57 #define GET_GUI_STATUS 50
58 #define RESTART_REALTIME 52
60 // Commands for I/O plugins
61 #define INTERRUPT_PARAMETERS 86
62 #define SET_CPUS 83
63 #define OPEN_FILE 44
64 #define CLOSE_FILE 45
65 #define FILE_GET_HAS_AUDIO 54
66 #define FILE_GET_CHANNELS 56
67 #define FILE_GET_RATE 57
68 #define FILE_GET_BITS 58
69 #define FILE_GET_BYTE_ORDER 59
70 #define FILE_GET_SIGNED 60
71 #define FILE_GET_HEADER 61
72 #define FILE_GET_HAS_VIDEO 55
73 #define FILE_GET_LAYERS 62
74 #define FILE_GET_FRAME_RATE 63
75 #define FILE_GET_WIDTH 64
76 #define FILE_GET_HEIGHT 65
77 #define FILE_GET_QUALITY 66
78 #define FILE_GET_COMPRESSION 67
79 #define FILE_GET_ALENGTH 68
80 #define FILE_GET_VLENGTH 69
81 #define FILE_SEEK_END 70
82 #define FILE_SEEK_START 71
83 #define FILE_GET_VIDEO_POSITION 72
84 #define FILE_GET_AUDIO_POSITION 73
85 #define FILE_SET_VIDEO_POSITION 74
86 #define FILE_SET_AUDIO_POSITION 75
87 #define FILE_SET_CHANNEL 76
88 #define FILE_SET_LAYER 77
89 #define FILE_READ_SAMPLES 78
90 #define FILE_READ_FRAME 79
91 #define FILE_READ_FRAME_PTR 80
92 #define FILE_RAW_FRAME_POSSIBLE 81
93 #define FILE_STRATEGY_POSSIBLE 85
94 #define FILE_READ_RAW_FRAME 82
95 #define FILE_WRITE_SAMPLES 88
96 #define FILE_WRITE_FRAME 89
98 #endif