/* Calculate EPD input for a difference image with one pixel per byte.  */
static void IRAM_ATTR calc_epd_input_1ppB(const uint32_t *ld, uint8_t *epd_input, const uint8_t *conversion_lut)
/* Calculate EPD input for a difference image with one pixel per byte.  */
static void IRAM_ATTR calc_epd_input_1ppB(const uint32_t *ld, uint8_t *epd_input, const uint8_t *conversion_lut)
{
  for (uint32_t j = 0; j < EPD_WIDTH / 4; j += 4) {
    epd_input[j + 2] = lookup_differential_pixels(*(ld++), conversion_lut);
    epd_input[j + 3] = lookup_differential_pixels(*(ld++), conversion_lut);
    epd_input[j + 0] = lookup_differential_pixels(*(ld++), conversion_lut);
    epd_input[j + 1] = lookup_differential_pixels(*(ld++), conversion_lut);
  }
}