diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-24 23:07:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-24 23:07:42 +0100 |
| commit | f1d209319f90adc50e0f3d2a853216052f290bd5 (patch) | |
| tree | 9d6fd3118b76ff265808b14ce42e3f703c3b3ebd /src/lib/image.h | |
| parent | f5291ad8e2e0dd8b342a62b4086577094944d700 (diff) | |
Implement alpha_blend for YUV420P and YUV420P10. Improve unit test.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index cdad28c20..dde42f1bc 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -54,7 +54,8 @@ public: bool aligned () const; int planes () const; - int line_factor (int) const; + int vertical_factor (int) const; + int horizontal_factor (int) const; dcp::Size sample_size (int) const; boost::shared_ptr<Image> scale (dcp::Size out_size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format, bool aligned, bool fast) const; |
