diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-08-24 16:43:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-08-25 15:22:38 +0100 |
| commit | a978f3ac575f1af017002c861480d5203cf0a34e (patch) | |
| tree | 5cd7acdcf7b7f493f3d0047ba96adaccf8509a7e /src/lib/image.h | |
| parent | 17d4990d0fca0f38268441a73c73d9e340b4bc85 (diff) | |
Add video waveform viewer.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index 492f6212e..fabcb5675 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -49,14 +49,15 @@ public: ~Image (); uint8_t * const * data () const; - int * line_size () const; + int const * line_size () const; int const * stride () const; dcp::Size size () const; bool aligned () const; + int planes () const; int components () const; int line_factor (int) const; - int lines (int) const; + dcp::Size sample_size (int) const; boost::shared_ptr<Image> scale (dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned) const; boost::shared_ptr<Image> crop_scale_window (Crop c, dcp::Size, dcp::Size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat, bool aligned) const; |
