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_asset.h | |
| parent | c2c7b454d8ca179880942e3341dd8b17c084f5a3 (diff) | |
Add picture frame extraction.
Diffstat (limited to 'src/picture_asset.h')
| -rw-r--r-- | src/picture_asset.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/picture_asset.h b/src/picture_asset.h index 41b09b58..4e1801f9 100644 --- a/src/picture_asset.h +++ b/src/picture_asset.h @@ -27,6 +27,8 @@ namespace libdcp { +class PictureFrame; + /** @brief An asset made up of JPEG2000 files */ class PictureAsset : public Asset { @@ -83,6 +85,8 @@ public: void write_to_cpl (std::ostream& s) const; std::list<std::string> equals (boost::shared_ptr<const Asset> other, EqualityOptions opt) const; + + boost::shared_ptr<const PictureFrame> get_frame (int n) const; private: std::string path_from_list (int f, std::vector<std::string> const & files) const; |
