diff options
Diffstat (limited to 'lib/libdv_wrapper.h')
-rw-r--r-- | lib/libdv_wrapper.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 <libdv/dv.h> #include <libdv/dv_types.h> +#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__*/ |