s6145: Forgot to convert from RGB->CMY

This commit is contained in:
Solomon Peachy 2015-11-14 15:40:34 -05:00
parent faf37a8be7
commit b1f635eb7c
1 changed files with 1 additions and 1 deletions

View File

@ -1616,7 +1616,7 @@ static void lib6145_process_image(uint8_t *src, uint16_t *dest,
/* Convert each plane to 16-bit */
for (offset = 0 ; offset < planelen * 3 ; offset++) {
dest[offset] = src[offset] << 4; /* 8->12-bit */
dest[offset] = (255 - src[offset]) << 4; /* RGB->CMY, and 8->12-bit */
}
/* Generate lamination plane. */