summaryrefslogtreecommitdiff
path: root/rotord/ofxMovieExporter.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-04-17 07:30:20 +0100
committerComment <tim@gray.(none)>2013-04-17 07:30:20 +0100
commit4dc41d7c3d1b7dab41b648e9677d2b4e1d3d602c (patch)
tree81fd021b1dd5deebdcf77f02b60cbbb7fa1d2fcd /rotord/ofxMovieExporter.h
parentd8b12287ee9a76bff9035613e03017e44cb31639 (diff)
parentf25319fc877f4f4af398a90af75aae77ce9e552b (diff)
Merge branch 'master' of eclectronics.org@eclectronics.org:rotor
Conflicts: rotord/ofxMovieExporter.cpp
Diffstat (limited to 'rotord/ofxMovieExporter.h')
-rw-r--r--rotord/ofxMovieExporter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/rotord/ofxMovieExporter.h b/rotord/ofxMovieExporter.h
index 82c574c..ebd794c 100644
--- a/rotord/ofxMovieExporter.h
+++ b/rotord/ofxMovieExporter.h
@@ -122,18 +122,18 @@ class ofxMovieExporter
// set an external pixel source, assumes 3 Byte RGB
// also sets the recording size but does not crop to the recording area
void setPixelSource(unsigned char* pixels, int w, int h);
-
+
// get the number files that have been captured so far
int getNumCaptures();
-
+
// reset the filename counter back to 0
void resetNumCaptures();
-
+
// get the recording size
inline int getRecordingWidth() {return outW;}
inline int getRecordingHeight() {return outH;}
- void encodeFrame(char *pixels);
+ void encodeFrame(unsigned char *pixels,int w,int h);
private:
//#ifdef _THREAD_CAPTURE
@@ -148,7 +148,7 @@ class ofxMovieExporter
void clearMemory();
void encodeFrame();
-
+
std::string container;
AVCodecID codecId;
@@ -181,7 +181,7 @@ class ofxMovieExporter
int posX, posY;
int inW, inH;
int outW, outH;
-
+
bool usePixelSource;
unsigned char* pixelSource;
};