comparison tools/lib64gfx.h @ 1984:e7f2ddaf94a6

Change encode and decode function format parameter type from DMC64ImageFormat to DMC64ImageCommonFormat.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 Jul 2018 07:00:38 +0300
parents 8896d5676f1b
children c27ed6465022
comparison
equal deleted inserted replaced
1983:214c7bd8692f 1984:e7f2ddaf94a6
182 size_t offs; // Offset in "memory" 182 size_t offs; // Offset in "memory"
183 int bank; // Bank number or extradata index 183 int bank; // Bank number or extradata index
184 size_t size; // Size of data (0 for "default") 184 size_t size; // Size of data (0 for "default")
185 size_t offs2; // Offset in data-block 185 size_t offs2; // Offset in data-block
186 186
187 BOOL (*decFunction)(DMC64Image *img, const struct _DMC64EncDecOp *op, const DMGrowBuf *buf, const DMC64ImageFormat *fmt); 187 BOOL (*decFunction)(DMC64Image *img, const struct _DMC64EncDecOp *op, const DMGrowBuf *buf, const DMC64ImageCommonFormat *fmt);
188 BOOL (*encFunction)(const struct _DMC64EncDecOp *op, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt); 188 BOOL (*encFunction)(const struct _DMC64EncDecOp *op, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageCommonFormat *fmt);
189 } DMC64EncDecOp; 189 } DMC64EncDecOp;
190 190
191 191
192 #define D64_MAX_ENCDEC_OPS 64 192 #define D64_MAX_ENCDEC_OPS 64
193 typedef DMC64EncDecOp DMC64EncDecOpList[D64_MAX_ENCDEC_OPS]; 193 typedef DMC64EncDecOp DMC64EncDecOpList[D64_MAX_ENCDEC_OPS];