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/frame.cc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'lib/frame.cc') diff --git a/lib/frame.cc b/lib/frame.cc index caab521..b3ad28f 100644 --- a/lib/frame.cc +++ b/lib/frame.cc @@ -30,6 +30,30 @@ #include #include +Frame::Frame(char *vframe, int vframesize, int vformat, + char *aframe, int aframesize, int aformat) +{ + // Video + this->vframe = vframe; + this->vframesize = vframesize; + this->vformat = vformat; + + // Audio + this->aframe = aframe; + this->aframesize = aframesize; + this->aformat = aformat; +} + + + + + + + + +/** + * Old frame code... to be removed shortly + */ Frame::Frame(unsigned char *d, int sz) { if(sz) data = new unsigned char[sz]; -- cgit v1.2.3