mitsu: Update documentation on a couple of structures
This commit is contained in:
parent
80b5126a89
commit
559ab272f3
|
@ -36,14 +36,15 @@
|
|||
#define LUT_LEN 14739
|
||||
|
||||
struct BandImage {
|
||||
void *imgbuf; // @0
|
||||
int32_t bytes_per_row;// @4 bytes per row (respect 8bpp and 16bpp!)
|
||||
uint16_t origin_cols; // @8 origin_cols
|
||||
uint16_t origin_rows; // @12 origin_rows
|
||||
uint16_t cols; // @16 cols
|
||||
uint16_t rows; // @20 rows
|
||||
void *imgbuf; // @ 0
|
||||
int32_t bytes_per_row;// @ 4 (respect 8bpp and 16bpp!)
|
||||
uint16_t origin_cols; // @ 8 (left)
|
||||
uint16_t origin_rows; // @12 (top)
|
||||
uint16_t cols; // @16 (right)
|
||||
uint16_t rows; // @20 (bottom)
|
||||
// @24
|
||||
};
|
||||
|
||||
struct mitsu98xx_data; /* Forward declaration */
|
||||
struct M1CPCData;
|
||||
#endif
|
||||
|
|
|
@ -182,9 +182,9 @@ struct mitsud90_job_hdr {
|
|||
/*@0x10*/
|
||||
struct {
|
||||
uint16_t position; // @ center?
|
||||
uint8_t margincut; // 0 for double cut, 1 for single
|
||||
uint8_t margincut; /* 0 for double cut, 1 for single */
|
||||
uint8_t zeropad;
|
||||
} cutlist[8] __attribute__((packed));
|
||||
} cutlist[8] __attribute__((packed)); /* 3 is current legal max */
|
||||
/*@x30*/uint8_t overcoat; /* 0 glossy, matte is 2 (D90) or 3 (M1) */
|
||||
uint8_t quality; /* 0 is automatic, 5 is "fast" on M1 */
|
||||
uint8_t colorcorr; /* Always 1 on M1 */
|
||||
|
|
|
@ -68,12 +68,12 @@
|
|||
|
||||
/* Defines an image. Note that origin_cols/origin_rows should always = 0 */
|
||||
struct BandImage {
|
||||
void *imgbuf; // @0
|
||||
int32_t bytes_per_row;// @4 bytes per row (respect 8bpp and 16bpp!)
|
||||
uint16_t origin_cols; // @8 origin_cols
|
||||
uint16_t origin_rows; // @12 origin_rows
|
||||
uint16_t cols; // @16 cols
|
||||
uint16_t rows; // @20 rows
|
||||
void *imgbuf; // @ 0
|
||||
int32_t bytes_per_row;// @ 4 (respect 8bpp and 16bpp!)
|
||||
uint16_t origin_cols; // @ 8 (left)
|
||||
uint16_t origin_rows; // @12 (top)
|
||||
uint16_t cols; // @16 (right)
|
||||
uint16_t rows; // @20 (bottom)
|
||||
// @24
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue