HW acceleration: buffer stride and transform list

Very interesting. Please take a look at this section of the docs for ideas to debug the issue.

This point is not relevant anymore, I’m removing it right now:

1 Like

The color depth being using is not RGB565 tho. It is RGB565A8 so the stride would be 990 not 660

This is also incorrect.

const lv_image_dsc_t immagine = {
  {
    LV_IMAGE_HEADER_MAGIC,
    LV_COLOR_FORMAT_RGB565A8,
    LV_IMAGE_FLAGS_PREMULTIPLIED,
    
    330,
    240,
    660,
    0
  },
    330 * 240 * LV_COLOR_DEPTH / 8,
    img_cogwheel_argb_map2,
    0
};

It should be

const lv_image_dsc_t immagine = {
  {
    LV_IMAGE_HEADER_MAGIC,
    LV_COLOR_FORMAT_RGB565A8,
    LV_IMAGE_FLAGS_PREMULTIPLIED,
    
    330,
    240,
    330 *  lv_color_format_get_size(LV_COLOR_FORMAT_RGB565A8),
    0
  },
    330 * 240 * lv_color_format_get_size(LV_COLOR_FORMAT_RGB565A8),
    img_cogwheel_argb_map2,
    0
};
1 Like

thank! I will update my code! :slight_smile: