mixer.h
1007 Bytes
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
#ifndef MIXER_H
#define MIXER_H
#include <string>
#include <iostream>
#include <sstream>
#include <fstream>
#include "logging.h"
//Secondary Video Position
#define TOP_LEFT 1
#define TOP_RIGHT 2
#define BOTTOM_RIGHT 3
#define BOTTOM_LEFT 4
//Secondary Video Size
#define SMALL 1
#define MEDIUM 2
#define LARGE 3
#define NUMTHREADS "8"
using namespace std;
using namespace util;
class Mixer {
public:
Mixer(string mVideo, string sVideo, int ssVideo, int psVideo, int tsVideo,
string id, string pathTemp, string pathContents);
~Mixer();
void initialize();
private:
string pathMixedVideo;
string pathTempFiles;
string mainVideo;
string secondaryVideo;
string temporaryTextFile;
string transparency;
string userID;
string heigthStr;
string widthStr;
string positionStr;
double widthSVideo;
double heigthSVideo;
int positionSVideo;
int sizeSVideo;
int transpSVideo;
void mixVideos();
void setSVSize();
void setSVPosition();
void setPathOfFiles();
};
#endif /* MIXER_H */