Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 1846:88cef7758303
Implement data block offset in certain DMC64EncDecOps. This allows us to
combine and separate data from multiple sources/destinations into one data block.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 22 Jun 2018 22:31:52 +0300 |
parents | 79667dc1240e |
children | 219417325036 |
line wrap: on
line diff
--- a/tools/lib64gfx.h Fri Jun 22 21:47:31 2018 +0300 +++ b/tools/lib64gfx.h Fri Jun 22 22:31:52 2018 +0300 @@ -175,9 +175,10 @@ int type; // Operation type (DO_*) int subject; // Operation "subject" (DS_*) - size_t offs; - int bank; - size_t size; + size_t offs; // Offset in "memory" + int bank; // Bank number or extradata index + size_t size; // Size of data (0 for "default") + size_t offs2; // Offset in data-block BOOL (*decFunction)(DMC64Image *img, const struct _DMC64EncDecOp *op, const DMGrowBuf *buf, const DMC64ImageFormat *fmt); BOOL (*encFunction)(const struct _DMC64EncDecOp *op, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt);