Searched refs:pix (Results 1 – 2 of 2) sorted by relevance
799 uint8_t *pix; in mcu_output() local816 pix = (uint8_t*)jd->workbuf; in mcu_output()838 *pix++ = /*R*/ BYTECLIP(yy + ((int)(1.402 * CVACC) * cr) / CVACC); in mcu_output()839 *pix++ = /*G*/ BYTECLIP(yy - ((int)(0.344 * CVACC) * cb + (int)(0.714 * CVACC) * cr) / CVACC); in mcu_output()840 *pix++ = /*B*/ BYTECLIP(yy + ((int)(1.772 * CVACC) * cb) / CVACC); in mcu_output()853 *pix++ = (uint8_t)*py++; /* Get and store a Y value as grayscale */ in mcu_output()870 pix = (uint8_t*)jd->workbuf + (iy * mx + ix) * (JD_FORMAT != 2 ? 3 : 1); in mcu_output()874 r += *pix++; /* Accumulate R or Y (monochrome output) */ in mcu_output()876 g += *pix++; /* Accumulate G */ in mcu_output()877 b += *pix++; /* Accumulate B */ in mcu_output()[all …]
185 static void convert_to_rgba5658(uint32_t * pix, const size_t width, const size_t height) in convert_to_rgba5658() argument189 uint8_t * dest = (uint8_t *)pix; in convert_to_rgba5658()190 uint32_t * src = pix; in convert_to_rgba5658()