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/frame.cc | |
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/frame.cc')
-rw-r--r-- | lib/frame.cc | 24 |
1 files changed, 24 insertions, 0 deletions
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 <memory.h> #include <stdlib.h> +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]; |