diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-09-17 11:52:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-09-17 11:52:33 +0100 |
| commit | 4bcd365d3dba8d640d79685209b7a306b508c3e3 (patch) | |
| tree | aed1586c2b891f5adcc4e9ed133d7eeebdef99d6 /src/picture_asset.h | |
| parent | 5af212137eab93ed4503eeb8e712f01838e50c92 (diff) | |
Tidy up diffing of frames a bit.
Diffstat (limited to 'src/picture_asset.h')
| -rw-r--r-- | src/picture_asset.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/picture_asset.h b/src/picture_asset.h index 1e99fa92..baea22c3 100644 --- a/src/picture_asset.h +++ b/src/picture_asset.h @@ -52,6 +52,11 @@ public: } protected: + + std::list<std::string> frame_buffer_equals ( + int frame, EqualityOptions opt, uint8_t const * data_A, unsigned int size_A, uint8_t const * data_B, unsigned int size_B + ) const; + /** picture width in pixels */ int _width; /** picture height in pixels */ @@ -109,6 +114,7 @@ public: MonoPictureAsset (std::string directory, std::string mxf_name, int fps, int entry_point, int length); boost::shared_ptr<const MonoPictureFrame> get_frame (int n) const; + std::list<std::string> equals (boost::shared_ptr<const Asset> other, EqualityOptions opt) const; private: std::string path_from_list (int f, std::vector<std::string> const & files) const; @@ -122,6 +128,7 @@ public: StereoPictureAsset (std::string directory, std::string mxf_name, int fps, int entry_point, int length); boost::shared_ptr<const StereoPictureFrame> get_frame (int n) const; + std::list<std::string> equals (boost::shared_ptr<const Asset> other, EqualityOptions opt) const; }; |
