diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-25 00:03:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-25 00:03:51 +0100 |
| commit | 0f664dab81a835feebd5db92942413f91747481f (patch) | |
| tree | b0761612b7ca45c3ac4d7856dfc8e26e4f599295 /src/lib/image.h | |
| parent | f1d209319f90adc50e0f3d2a853216052f290bd5 (diff) | |
More tests; fix blend for YUV420P10LE.
Diffstat (limited to 'src/lib/image.h')
| -rw-r--r-- | src/lib/image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index dde42f1bc..fd5adb076 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -57,6 +57,7 @@ public: int vertical_factor (int) const; int horizontal_factor (int) const; dcp::Size sample_size (int) const; + float bytes_per_pixel (int) const; boost::shared_ptr<Image> scale (dcp::Size out_size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format, bool aligned, bool fast) const; boost::shared_ptr<Image> crop_scale_window ( @@ -81,7 +82,6 @@ private: void allocate (); void swap (Image &); - float bytes_per_pixel (int) const; void yuv_16_black (uint16_t, bool); static uint16_t swap_16 (uint16_t); |
