diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-09 00:42:46 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-09 00:42:46 +0200 |
| commit | 2b1c100e8990b266ff8b4d6c257887c94e8a809a (patch) | |
| tree | 0909f53096709d98ab1a1261470633de27f2d971 /src/lib/image.h | |
| parent | 0ca3727ea200a9f5ce07195bcd2732d876785dbf (diff) | |
Cleanup: better document parameter.
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; |
