Line | |
---|
1 | #ifndef COMMON_H_ |
---|
2 | #define COMMON_H_ |
---|
3 | |
---|
4 | #include<stdint.h> |
---|
5 | |
---|
6 | #include "container.h" |
---|
7 | #include "output.h" |
---|
8 | #include "manager.h" |
---|
9 | #include "playback.h" |
---|
10 | #include <pthread.h> |
---|
11 | |
---|
12 | typedef struct PlayFiles_t |
---|
13 | { |
---|
14 | char *szFirstFile; |
---|
15 | char *szSecondFile; |
---|
16 | char *szFirstMoovAtomFile; |
---|
17 | char *szSecondMoovAtomFile; |
---|
18 | uint64_t iFirstFileSize; |
---|
19 | uint64_t iSecondFileSize; |
---|
20 | uint64_t iFirstMoovAtomOffset; |
---|
21 | uint64_t iSecondMoovAtomOffset; |
---|
22 | } PlayFiles_t; |
---|
23 | |
---|
24 | typedef struct Context_s |
---|
25 | { |
---|
26 | PlaybackHandler_t *playback; |
---|
27 | ContainerHandler_t *container; |
---|
28 | OutputHandler_t *output; |
---|
29 | ManagerHandler_t *manager; |
---|
30 | } Context_t; |
---|
31 | // obi |
---|
32 | char* subtext; |
---|
33 | // obi |
---|
34 | int container_ffmpeg_update_tracks(Context_t *context, char *filename, int initial); |
---|
35 | |
---|
36 | const char* GetGraphicSubPath(); |
---|
37 | int32_t GetGraphicWindowWidth(); |
---|
38 | int32_t GetGraphicWindowHeight(); |
---|
39 | |
---|
40 | void E2iSendMsg(const char * format, ...); |
---|
41 | void E2iStartMsg(void); |
---|
42 | void E2iEndMsg(void); |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.