projects
/
folded-ctf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
automatic commit
[folded-ctf.git]
/
rgb_image_subpixel.h
diff --git
a/rgb_image_subpixel.h
b/rgb_image_subpixel.h
index
55618c6
..
57d41e2
100644
(file)
--- a/
rgb_image_subpixel.h
+++ b/
rgb_image_subpixel.h
@@
-32,15
+32,15
@@
#include "rgb_image.h"
class RGBImageSubpixel : public RGBImage {
#include "rgb_image.h"
class RGBImageSubpixel : public RGBImage {
- static const int
_
scale = 8;
+ static const int scale = 8;
public:
RGBImageSubpixel(int width, int height);
RGBImageSubpixel(RGBImage *image);
virtual ~RGBImageSubpixel();
public:
RGBImageSubpixel(int width, int height);
RGBImageSubpixel(RGBImage *image);
virtual ~RGBImageSubpixel();
- inline int width() const { return _width /
_
scale; }
- inline int height() const { return _height /
_
scale; }
+ inline int width() const { return _width / scale; }
+ inline int height() const { return _height / scale; }
virtual void read_png(const char *filename);
virtual void write_png(const char *filename);
virtual void read_png(const char *filename);
virtual void write_png(const char *filename);