1  /**
2     \file   A_function.h
3     \brief  Declaration A_function
4 */
5 #ifndef A_FUNCTION_H
6 #define A_FUNCTION_H
7 
8 #include "IScriptEngine.h"
9 
10 int     A_delete(uint32_t start, uint32_t end);
11 void    A_externalAudioTrack(const char *trackIndex, const char *filename );
12 uint8_t A_rebuildKeyFrame (void);
13 void    A_openBrokenAvi (const char *name);
14 int     A_openVideo2 (const char *name, uint8_t mode);
15 int     A_appendVideo (const char *name);
16 void    A_videoCheck( void);
17 void	A_setPostproc( void );
18 void    A_Resync(void);
19 void    A_addJob(void);
20 void    A_audioTrack(void);
21 void    A_setAudioLang(const char *trackIndex, const char *langueName);
22 
23 bool    A_parseScript(IScriptEngine *engine, const char *name);
24 bool    A_runPythonScript(const std::string &name);
25 void    A_saveScript(IScriptEngine* engine, const char* name);
26 void    A_saveDefaultSettings(); // Save default settings
27 bool    A_loadDefaultSettings(void);
28 bool    A_saveSession(void);
29 bool    A_checkSavedSession(bool load);
30 //uint8_t A_autoDrive(Action action);
31 bool    A_TimeShift(void);
32 void    A_ResetMarkers(void);
33 void    A_Rewind(void);
34 void    A_jog(void);
35 bool    A_jumpToTime(uint32_t hh,uint32_t mm,uint32_t ss,uint32_t ms);
36 int 	A_openVideo		(const char *name);
37 int     A_saveAudio	(const char *name);
38 void 	A_saveAudioDecoded	(const char *name);
39 void 	A_saveAVI		(const char *name);
40 void 	A_playAvi		(void);
41 void    A_queueJob      (void);
42 int  A_saveAudioCopy (const char *name);
43 bool A_saveJpg (const char *name);
44 int  A_saveBunchJpg(const char *name);
45 bool A_saveImg (const char *name);
46 bool A_savePng(const char *name);
47 int  ADM_saveRaw (const char *name);
48 int  A_audioSave(const char *name);
49 int  A_SaveWrapper(const char *name);
50 int  A_saveAudioProcessed (const char *name);
51 int  A_Save(const char *name);
52 
53 void A_queueJob(const char *jobName,const char *outputFile);
54 
55 void A_set_avisynth_port(char *port_number_as_text);
56 bool A_getCommandLinePort(uint32_t &port);
57 
58 #endif
59