From 897867cc9d3bc869317666993a9cc6ef38c163e2 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 15 Jun 2006 17:35:33 +0000 Subject: Prepared for the client to use uncompressed frames (YUV422 instead of DV). Still a lot of work to do though! --- lib/libdv_wrapper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libdv_wrapper.h') diff --git a/lib/libdv_wrapper.h b/lib/libdv_wrapper.h index 16a7d94..bde5620 100644 --- a/lib/libdv_wrapper.h +++ b/lib/libdv_wrapper.h @@ -31,6 +31,8 @@ #include #include +#include "frame.h" + namespace DV { /* #define DV_QUALITY_COLOR 1 // Clear this bit to make monochrome @@ -104,9 +106,7 @@ public: void setSystem(DV::System system); void setSampling(DV::Sampling sampling); - void setOutputBuffer(char *output, DV::ColorSpace colorspace = DV::YUV); - - void decode(char *input); + Frame *decode(Frame *input, DV::ColorSpace colorspace = DV::YUV); private: bool first; @@ -116,7 +116,7 @@ private: unsigned char* yuv[3]; dv_decoder_t *decoder; - DV::ColorSpace colorspace; + // DV::ColorSpace colorspace; }; #endif/*__MIAV_LIBDV_WRAPPER_H__*/ -- cgit v1.2.3