diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-30 22:49:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-30 22:49:58 +0100 |
| commit | 233a81ed87d512c2af9bb8ca3d9e78be86372054 (patch) | |
| tree | e5916be38f70bdf696a8c61769ee23e548c38a06 /src/picture_frame.h | |
| parent | a1824e65aea9bfec655ea19ef9cbc71b9d3ec9d1 (diff) | |
Untested code to optionally reduce resolution on extracting image frames.
Diffstat (limited to 'src/picture_frame.h')
| -rw-r--r-- | src/picture_frame.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/picture_frame.h b/src/picture_frame.h index d207333a..07519455 100644 --- a/src/picture_frame.h +++ b/src/picture_frame.h @@ -40,7 +40,7 @@ public: MonoPictureFrame (std::string mxf_path, int n); ~MonoPictureFrame (); - boost::shared_ptr<ARGBFrame> argb_frame () const; + boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0) const; private: ASDCP::JP2K::FrameBuffer* _buffer; @@ -53,7 +53,7 @@ public: StereoPictureFrame (std::string mxf_path, int n); ~StereoPictureFrame (); - boost::shared_ptr<ARGBFrame> argb_frame (Eye eye) const; + boost::shared_ptr<ARGBFrame> argb_frame (Eye eye, int reduce = 0) const; private: ASDCP::JP2K::SFrameBuffer* _buffer; |
