fix(assets): add missing strides (#6790)

This commit is contained in:
Liam 2024-09-04 06:59:36 -04:00 committed by GitHub
parent f4d52cd9ae
commit 7c020e06fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 0 deletions

View File

@ -187,6 +187,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_1_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_1 = { const lv_image_dsc_t img_lv_demo_music_cover_1 = {
.header.w = 176, .header.w = 176,
.header.h = 175, .header.h = 175,
.header.stride = 704,
.header.cf = LV_COLOR_FORMAT_ARGB8888, .header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_1_map, .data = img_lv_demo_music_cover_1_map,
.data_size = sizeof(img_lv_demo_music_cover_1_map), .data_size = sizeof(img_lv_demo_music_cover_1_map),

View File

@ -448,6 +448,7 @@ img_lv_demo_music_cover_1_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_1 = { const lv_image_dsc_t img_lv_demo_music_cover_1 = {
.header.w = 428, .header.w = 428,
.header.h = 428, .header.h = 428,
.header.stride = 1712,
.header.cf = LV_COLOR_FORMAT_ARGB8888, .header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_1_map, .data = img_lv_demo_music_cover_1_map,
.data_size = sizeof(img_lv_demo_music_cover_1_map), .data_size = sizeof(img_lv_demo_music_cover_1_map),

View File

@ -188,6 +188,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_2_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_2 = { const lv_image_dsc_t img_lv_demo_music_cover_2 = {
.header.w = 176, .header.w = 176,
.header.h = 175, .header.h = 175,
.header.stride = 704,
.header.cf = LV_COLOR_FORMAT_ARGB8888, .header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_2_map, .data = img_lv_demo_music_cover_2_map,
.data_size = sizeof(img_lv_demo_music_cover_2_map), .data_size = sizeof(img_lv_demo_music_cover_2_map),

View File

@ -448,6 +448,7 @@ img_lv_demo_music_cover_2_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_2 = { const lv_image_dsc_t img_lv_demo_music_cover_2 = {
.header.w = 428, .header.w = 428,
.header.h = 428, .header.h = 428,
.header.stride = 1712,
.header.cf = LV_COLOR_FORMAT_ARGB8888, .header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_2_map, .data = img_lv_demo_music_cover_2_map,
.data_size = sizeof(img_lv_demo_music_cover_2_map), .data_size = sizeof(img_lv_demo_music_cover_2_map),

View File

@ -188,6 +188,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_cover_3_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_3 = { const lv_image_dsc_t img_lv_demo_music_cover_3 = {
.header.w = 176, .header.w = 176,
.header.h = 175, .header.h = 175,
.header.stride = 704,
.header.cf = LV_COLOR_FORMAT_ARGB8888, .header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_3_map, .data = img_lv_demo_music_cover_3_map,
.data_size = sizeof(img_lv_demo_music_cover_3_map), .data_size = sizeof(img_lv_demo_music_cover_3_map),

View File

@ -447,6 +447,7 @@ img_lv_demo_music_cover_3_map[] = {
const lv_image_dsc_t img_lv_demo_music_cover_3 = { const lv_image_dsc_t img_lv_demo_music_cover_3 = {
.header.w = 428, .header.w = 428,
.header.h = 428, .header.h = 428,
.header.stride = 1712,
.header.cf = LV_COLOR_FORMAT_ARGB8888, .header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lv_demo_music_cover_3_map, .data = img_lv_demo_music_cover_3_map,
.data_size = sizeof(img_lv_demo_music_cover_3_map), .data_size = sizeof(img_lv_demo_music_cover_3_map),

View File

@ -58,6 +58,7 @@ const lv_image_dsc_t img_star = {
.header.magic = LV_IMAGE_HEADER_MAGIC, .header.magic = LV_IMAGE_HEADER_MAGIC,
.header.w = 30, .header.w = 30,
.header.h = 29, .header.h = 29,
.header.stride = 120,
.data_size = 870 * 4, .data_size = 870 * 4,
.data = img_star_map, .data = img_star_map,
}; };