diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-01 14:16:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-01 14:16:38 +0100 |
| commit | 85f70dbf690a9f77189067e655b02283f910a36f (patch) | |
| tree | b9c957d726166e3b4afa8e9ec7857ecd8289398c /src | |
| parent | 502672fd38b12b41746949dd6d66cfe203b657df (diff) | |
Add pixel formats tests.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h index 00768ee02..39d84fcd4 100644 --- a/src/lib/image.h +++ b/src/lib/image.h @@ -91,6 +91,8 @@ protected: virtual void swap (Image &); float bytes_per_pixel (int) const; + friend class pixel_formats_test; + private: void yuv_16_black (uint16_t); static uint16_t swap_16 (uint16_t); |
