Mercurial > hg > dmlib
comparison tools/libgfx.h @ 2146:26f21e487fe2
Add some comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 02 Jun 2019 21:26:48 +0300 |
parents | 81fb21dd3265 |
children | 487157934904 |
comparison
equal
deleted
inserted
replaced
2145:0905b2a87cbd | 2146:26f21e487fe2 |
---|---|
102 typedef struct | 102 typedef struct |
103 { | 103 { |
104 int fmtid; // DM_IMGFMT_* of target format (a bit of a kludge here) | 104 int fmtid; // DM_IMGFMT_* of target format (a bit of a kludge here) |
105 int format; // Target color format DM_COLFMT_* | 105 int format; // Target color format DM_COLFMT_* |
106 int scaleX, scaleY; // Scale factors (1..) | 106 int scaleX, scaleY; // Scale factors (1..) |
107 int nplanes, bpp, mask; | 107 int nplanes, bpp, mask; // number of planes, bits per PLANE, masking |
108 BOOL planar; | 108 BOOL planar; // use planar format if the format supports it |
109 int compression; // Use compression/compression level (0 = none, 9 = max) | 109 int compression; // Use compression/compression level (0 = none, 9 = max) |
110 } DMImageConvSpec; | 110 } DMImageConvSpec; |
111 | 111 |
112 | 112 |
113 typedef struct | 113 typedef struct |