comparison tools/lib64gfx.h @ 2056:c27ed6465022

Add pixel aspect ratio information for C64 formats. Not used yet.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Dec 2018 15:31:13 +0200
parents e7f2ddaf94a6
children 4276b8c0fef0
comparison
equal deleted inserted replaced
2055:6c6a4ea67540 2056:c27ed6465022
200 200
201 typedef struct _DMC64ImageCommonFormat 201 typedef struct _DMC64ImageCommonFormat
202 { 202 {
203 int type, // Type flags, see D64_FMT_* 203 int type, // Type flags, see D64_FMT_*
204 width, height, // Width and height in pixels 204 width, height, // Width and height in pixels
205 chWidth, chHeight; // Width and height in charblocks 205 chWidth, chHeight, // Width and height in charblocks
206 aspectX, aspectY; // Pixel aspectX/Y
206 207
207 int (*convertFrom)(DMImage *, const DMC64Image *, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec); 208 int (*convertFrom)(DMImage *, const DMC64Image *, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec);
208 int (*convertTo)(DMC64Image *, const DMImage *, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec); 209 int (*convertTo)(DMC64Image *, const DMImage *, const DMC64ImageFormat *fmt, const DMC64ImageConvSpec *spec);
209 210
210 DMC64GetPixelFunc getPixel; 211 DMC64GetPixelFunc getPixel;