comparison tools/libgfx.h @ 2148:487157934904

Clarifications in comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 02 Jun 2019 23:12:53 +0300
parents 26f21e487fe2
children e6ec7fad9ce2
comparison
equal deleted inserted replaced
2147:735b55414a1e 2148:487157934904
101 101
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; // Integer scale factors (1..)
107
107 int nplanes, bpp, mask; // number of planes, bits per PLANE, masking 108 int nplanes, bpp, mask; // number of planes, bits per PLANE, masking
108 BOOL planar; // use planar format if the format supports it 109 BOOL planar; // use planar format if the format supports it
109 int compression; // Use compression/compression level (0 = none, 9 = max) 110 int compression; // Use compression/compression level (0 = none, 9 = max)
110 } DMImageConvSpec; 111 } DMImageConvSpec;
111 112