diff options
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 0237b3d1b..dd9f8b840 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -68,7 +68,7 @@ public: int vertical_factor (int) const; int horizontal_factor (int) const; dcp::Size sample_size (int) const; - float bytes_per_pixel (int) const; + float bytes_per_pixel(int component) const; std::shared_ptr<Image> convert_pixel_format (dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format, Alignment alignment, bool fast) const; std::shared_ptr<Image> scale (dcp::Size out_size, dcp::YUVToRGB yuv_to_rgb, AVPixelFormat out_format, Alignment alignment, bool fast) const; |
