diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-09 23:27:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-09 23:27:15 +0100 |
| commit | f6ee90107839e0d750d8678b67c9d6d1d596d739 (patch) | |
| tree | 27c500a6e1c0c56e3fa54dff2c2a401c6f06e114 /src/picture_frame.h | |
| parent | c2c7b454d8ca179880942e3341dd8b17c084f5a3 (diff) | |
Add picture frame extraction.
Diffstat (limited to 'src/picture_frame.h')
| -rw-r--r-- | src/picture_frame.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/picture_frame.h b/src/picture_frame.h new file mode 100644 index 00000000..4d359335 --- /dev/null +++ b/src/picture_frame.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2012 Carl Hetherington <cth@carlh.net> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include <string> +#include <stdint.h> + +namespace libdcp { + +class PictureFrame +{ +public: + PictureFrame (std::string mxf_path, int n); + ~PictureFrame (); + + uint8_t const * data () const; + int size () const; + +private: + ASDCP::JP2K::FrameBuffer* _buffer; +}; + +} |
