diff options
| author | deva <deva> | 2006-06-15 17:35:33 +0000 | 
|---|---|---|
| committer | deva <deva> | 2006-06-15 17:35:33 +0000 | 
| commit | 897867cc9d3bc869317666993a9cc6ef38c163e2 (patch) | |
| tree | 49127ab698c52d0a7a2c7749081f15784cddf4bc /lib/libdv_wrapper.h | |
| parent | d8404ce282917ef81418387f20fc5ee3607be391 (diff) | |
Prepared for the client to use uncompressed frames (YUV422 instead of DV).
Still a lot of work to do though!
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__*/ | 
