summaryrefslogtreecommitdiff
path: root/src/mov_encoder.h
diff options
context:
space:
mode:
authordeva <deva>2005-06-14 12:29:40 +0000
committerdeva <deva>2005-06-14 12:29:40 +0000
commit430524810e67d3c223a2ab819f45b882b419c45d (patch)
tree0abb4b2dd3dabc414c755c30e52d0b5022ee8670 /src/mov_encoder.h
parent0836a6e06f86e366017da3b2b2c132b3a4f2c877 (diff)
Incorporated the use of the Info object everywhere... also using the log functionality.
Diffstat (limited to 'src/mov_encoder.h')
-rw-r--r--src/mov_encoder.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mov_encoder.h b/src/mov_encoder.h
index d7e0c17..f006daa 100644
--- a/src/mov_encoder.h
+++ b/src/mov_encoder.h
@@ -36,6 +36,9 @@
/*
* $Log$
+ * Revision 1.11 2005/06/14 12:29:40 deva
+ * Incorporated the use of the Info object everywhere... also using the log functionality.
+ *
* Revision 1.10 2005/05/22 15:49:22 deva
* Added multithreaded encoding support.
*
@@ -83,6 +86,8 @@ using namespace std;
#include "thread.h"
#include <pthread.h>
+#include "info.h"
+
// size specifies the length of the buffer.
#define FAME_BUFFER_SIZE (2*720*576*4) // FIXME: One size fits all...
@@ -90,7 +95,8 @@ class MovEncoder : public Thread {
public:
MovEncoder(sem_t *r_sem,
FrameVectorQueue *in, sem_t *in_sem, pthread_mutex_t *in_mutex,
- FramePriorityQueue *out, sem_t *out_sem, pthread_mutex_t *out_mutex);
+ FramePriorityQueue *out, sem_t *out_sem, pthread_mutex_t *out_mutex,
+ Info *info);
~MovEncoder();
Frame* encode(Frame *frame);
@@ -99,6 +105,8 @@ public:
volatile bool running;
private:
+ Info *info;
+
// Input/Output queues
FrameVectorQueue *inputqueue;
FramePriorityQueue *outputqueue;