Mercurial > hg > dmlib
comparison tools/lib64gfx.h @ 2332:46b929f822f8
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 16 Sep 2019 11:42:32 +0300 |
parents | 0085ce04788b |
children | 552146218ace |
comparison
equal
deleted
inserted
replaced
2331:6dc64deb6718 | 2332:46b929f822f8 |
---|---|
248 // See D64_EI_* constants. | 248 // See D64_EI_* constants. |
249 int extraInfo[D64_MAX_EXTRA_INFO]; | 249 int extraInfo[D64_MAX_EXTRA_INFO]; |
250 } DMC64Image; | 250 } DMC64Image; |
251 | 251 |
252 | 252 |
253 typedef int (*DMC64GetPixelFunc)(Uint8 *col, const DMC64Image *img, | |
254 const int rasterX, const int rasterY); | |
255 | |
256 | |
253 typedef struct _DMC64EncDecOp | 257 typedef struct _DMC64EncDecOp |
254 { | 258 { |
255 int type; // Operation type (DO_*) | 259 int type; // Operation type (DO_*) |
256 int subject; // Operation "subject" (DS_*) | 260 int subject; // Operation "subject" (DS_*) |
257 | 261 |
267 } DMC64EncDecOp; | 271 } DMC64EncDecOp; |
268 | 272 |
269 | 273 |
270 #define D64_MAX_ENCDEC_OPS 32 | 274 #define D64_MAX_ENCDEC_OPS 32 |
271 typedef DMC64EncDecOp DMC64EncDecOpList[D64_MAX_ENCDEC_OPS]; | 275 typedef DMC64EncDecOp DMC64EncDecOpList[D64_MAX_ENCDEC_OPS]; |
272 | |
273 | |
274 typedef int (*DMC64GetPixelFunc)(Uint8 *col, const DMC64Image *img, const int rasterX, const int rasterY); | |
275 | 276 |
276 | 277 |
277 typedef struct _DMC64ImageCommonFormat | 278 typedef struct _DMC64ImageCommonFormat |
278 { | 279 { |
279 int mode, // Format mode/type flags, see D64_FMT_* | 280 int mode, // Format mode/type flags, see D64_FMT_* |