mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 09:37:42 +08:00
chore(image): remove explicit initialization to always_zero (#4796)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
@@ -131,7 +131,6 @@ img_benchmark_cogwheel_alpha256_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_benchmark_cogwheel_alpha256 = {
|
||||
.header.cf = LV_COLOR_FORMAT_A8,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 100,
|
||||
.header.h = 100,
|
||||
.data_size = 10000,
|
||||
|
||||
@@ -422,7 +422,6 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMAGE_IMG_COGWHEEL_ARGB uint8_t img_be
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_benchmark_cogwheel_argb = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 100,
|
||||
.header.h = 100,
|
||||
// .data_size = 10000 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -132,7 +132,6 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMAGE_IMG_COGWHEEL_INDEXED16 uint8_t i
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_benchmark_cogwheel_indexed16 = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 100,
|
||||
.header.h = 100,
|
||||
.data_size = 5064,
|
||||
|
||||
@@ -323,7 +323,6 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMAGE_IMG_COGWHEEL_RGB uint8_t img_ben
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_benchmark_cogwheel_rgb = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 100,
|
||||
.header.h = 100,
|
||||
.data_size = 10000 * LV_COLOR_DEPTH / 8,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_1_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_1 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_1_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_10_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_10 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_10_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_11_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_11 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_11_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_12_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_12 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_12_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_13_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_13 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_13_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_14_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_14 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_14_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_15_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_15 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_15_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_16_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_16 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_16_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_17_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_17 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_17_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_18_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_18 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_18_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_19_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_19 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_19_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_2_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_2 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_2_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_22_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_22 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_22_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_25_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_25 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_25_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_3_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_3 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_3_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_4_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_4 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_4_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_5_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_5 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_5_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_6_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_6 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_6_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_7_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_7 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_7_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_8_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_8 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_8_map,
|
||||
|
||||
@@ -156,7 +156,6 @@ img_multilang_avatar_9_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_avatar_9 = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 128,
|
||||
.header.h = 128,
|
||||
.data = img_multilang_avatar_9_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_artist_palette_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_artist_palette = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_artist_palette_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMAGE_IMG_EMO
|
||||
|
||||
const lv_image_dsc_t img_emoji_books = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_books_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_camera_with_flash_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_camera_with_flash = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_camera_with_flash_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_cat_face_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_cat_face = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_cat_face_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_deciduous_tree_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_deciduous_tree = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 16,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_deciduous_tree_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_dog_face_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_dog_face = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_dog_face_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_earth_globe_europe_africa_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_earth_globe_europe_africa = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 19,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_earth_globe_europe_africa_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_flexed_biceps_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_flexed_biceps = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_flexed_biceps_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_movie_camera_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_movie_camera = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_movie_camera_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_red_heart_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_red_heart = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_red_heart_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMAGE_IMG_EMO
|
||||
|
||||
const lv_image_dsc_t img_emoji_rocket = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 16,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_rocket_map,
|
||||
|
||||
@@ -47,7 +47,6 @@ img_emoji_soccer_ball_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_emoji_soccer_ball = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 18,
|
||||
.header.h = 19,
|
||||
.data = img_emoji_soccer_ball_map,
|
||||
|
||||
@@ -45,7 +45,6 @@ img_multilang_like_map[] = {
|
||||
|
||||
const lv_image_dsc_t img_multilang_like = {
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 20,
|
||||
.header.h = 17,
|
||||
.data = img_multilang_like_map,
|
||||
|
||||
@@ -119,7 +119,6 @@ img_lv_demo_music_btn_corner_map[] = {
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_corner = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 32,
|
||||
.header.h = 32,
|
||||
// .data_size = 1024 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -196,8 +196,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_btn_list_pause_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
lv_image_dsc_t img_lv_demo_music_btn_list_pause = {
|
||||
.header.always_zero = 0,
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_list_pause = {
|
||||
.header.w = 58,
|
||||
.header.h = 60,
|
||||
.header.cf = LV_COLOR_FORMAT_ARGB8888,
|
||||
|
||||
@@ -338,7 +338,6 @@ img_lv_demo_music_btn_list_pause_map[] = {
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_list_pause = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 106,
|
||||
.header.h = 105,
|
||||
// .data_size = 11130 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -196,8 +196,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_btn_list_play_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
lv_image_dsc_t img_lv_demo_music_btn_list_play = {
|
||||
.header.always_zero = 0,
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_list_play = {
|
||||
.header.w = 58,
|
||||
.header.h = 60,
|
||||
// .data_size = 3480 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -338,7 +338,6 @@ img_lv_demo_music_btn_list_play_map[] = {
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_list_play = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 106,
|
||||
.header.h = 105,
|
||||
// .data_size = 11130 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -88,8 +88,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_btn_loop_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
lv_image_dsc_t img_lv_demo_music_btn_loop = {
|
||||
.header.always_zero = 0,
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_loop = {
|
||||
.header.w = 24,
|
||||
.header.h = 24,
|
||||
// .data_size = 576 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -131,7 +131,6 @@ img_lv_demo_music_btn_loop_map[] = {
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_loop = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 37,
|
||||
.header.h = 36,
|
||||
// .data_size = 1332 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -202,8 +202,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_btn_next_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
lv_image_dsc_t img_lv_demo_music_btn_next = {
|
||||
.header.always_zero = 0,
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_next = {
|
||||
.header.w = 62,
|
||||
.header.h = 62,
|
||||
// .data_size = 3844 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -353,7 +353,6 @@ img_lv_demo_music_btn_next_map[] = {
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_next = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 110,
|
||||
.header.h = 110,
|
||||
// .data_size = 12100 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -247,8 +247,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_btn_pause_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
lv_image_dsc_t img_lv_demo_music_btn_pause = {
|
||||
.header.always_zero = 0,
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_pause = {
|
||||
.header.w = 79,
|
||||
.header.h = 77,
|
||||
// .data_size = 6083 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -450,7 +450,6 @@ img_lv_demo_music_btn_pause_map[] = {
|
||||
};
|
||||
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_pause = {
|
||||
.header.always_zero = 0,
|
||||
.header.w = 141,
|
||||
.header.h = 142,
|
||||
// .data_size = 20022 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
@@ -247,8 +247,7 @@ const LV_ATTRIBUTE_MEM_ALIGN uint8_t img_lv_demo_music_btn_play_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
lv_image_dsc_t img_lv_demo_music_btn_play = {
|
||||
.header.always_zero = 0,
|
||||
const lv_image_dsc_t img_lv_demo_music_btn_play = {
|
||||
.header.w = 79,
|
||||
.header.h = 77,
|
||||
// .data_size = 6083 * LV_COLOR_FORMAT_NATIVE_ALPHA_SIZE,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user