chore(draw-sw-transform): remove duplicated code (#5488)

This commit is contained in:
Gabriel Wang
2024-01-26 09:27:30 +00:00
committed by GitHub
parent 3199231b39
commit 0b5c1a1642
10 changed files with 24 additions and 16 deletions

View File

@@ -36,7 +36,11 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases>
<release date="2024-01-24" version="9.0.0" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.9.0.0.pack">
<release date="2024-01-25" version="9.0.1-dev1" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.9.0.1-dev1.pack">
- LVGL 9.0.1-dev
- Minor fixes
</release>
<release date="2024-01-24" version="9.0.0" url="https://github.com/lvgl/lvgl/raw/b255eeabf00fa2316084e308e596e7ecabbaff4d/env_support/cmsis-pack/LVGL.lvgl.9.0.0.pack">
- LVGL 9.0.0
- Implements a New Render Architecture that enables parallel processing
- Accelerates SW-Render with NEON and Helium technology for Cortex architectures.
@@ -45,6 +49,7 @@
- Adds Demos for benchmarks, render test etc,
- Other fixes
</release>
<release date="2023-12-05" version="8.3.11" url="https://github.com/lvgl/lvgl/raw/8194d83226c27c84f12dd51e16f5add9939215a5/env_support/cmsis-pack/LVGL.lvgl.8.3.11.pack">
- LVGL 8.3.11
- Add LittleFS Library to LVGL8
@@ -270,6 +275,12 @@
<require condition="LVGL-Essential"/>
<require Cclass="LVGL" Cgroup="Demos" Csub="Assets" />
</condition>
<condition id="Demo-Benchmark">
<description>Dependency of Benchmark</description>
<require condition="LVGL-Essential-Assets"/>
<require Cclass="LVGL" Cgroup="Demos" Csub="Widgets" />
</condition>
<condition id="Arm-2D">
<description>Require Arm-2D Support</description>
@@ -380,7 +391,7 @@
-->
<components>
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.0.0">
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.0.1-dev">
<description>LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library providing everything you need to create an embedded GUI with easy-to-use graphical elements, beautiful visual effects and a low memory footprint.</description>
<doc></doc>
<component Cgroup="Essential">
@@ -1692,7 +1703,7 @@
</component>
<component Cgroup="Demos" Csub="Benchmark" condition="LVGL-Essential-Assets">
<component Cgroup="Demos" Csub="Benchmark" condition="Demo-Benchmark">
<description>Add the official benchmark.</description>
<files>
<!-- demos/benchmark -->

View File

@@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>LVGL</vendor>
<url>https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/</url>
<timestamp>2024-01-24</timestamp>
<timestamp>2024-01-25</timestamp>
<pindex>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.0.0"/>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.0.1-dev"/>
</pindex>
</index>

View File

@@ -1,6 +1,6 @@
/**
* @file lv_conf.h
* Configuration file for v9.0.0
* Configuration file for v9.0.1-dev
*/
/* clang-format off */

View File

@@ -1,6 +1,6 @@
{
"name": "lvgl",
"version": "9.0.0",
"version": "9.0.1-dev",
"keywords": "graphics, gui, embedded, tft, lvgl",
"description": "Graphics library to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint. It offers anti-aliasing, opacity, and animations using only one frame buffer.",
"repository": {

View File

@@ -1,5 +1,5 @@
name=lvgl
version=9.0.0
version=9.0.1-dev
author=kisvegabor
maintainer=kisvegabor,embeddedt,pete-pjb
sentence=Full-featured Graphics Library for Embedded Systems

View File

@@ -1,6 +1,6 @@
/**
* @file lv_conf.h
* Configuration file for v9.0.0
* Configuration file for v9.0.1-dev
*/
/*

4
lvgl.h
View File

@@ -15,8 +15,8 @@ extern "C" {
***************************/
#define LVGL_VERSION_MAJOR 9
#define LVGL_VERSION_MINOR 0
#define LVGL_VERSION_PATCH 0
#define LVGL_VERSION_INFO ""
#define LVGL_VERSION_PATCH 1
#define LVGL_VERSION_INFO "dev"
/*********************
* INCLUDES

View File

@@ -5,6 +5,6 @@ libdir=${prefix}/lib
Name: lvgl
Description: Light and Versatile Graphics Library
URL: https://lvgl.io/
Version: 9.0.0
Version: 9.0.1-dev
Cflags: -I${includedir}
Libs: -L${libdir} -llvgl

View File

@@ -384,10 +384,7 @@ static void transform_argb8888(const uint8_t * src, int32_t src_w, int32_t src_h
ys_fract = ys_fract - 0x80;
}
const lv_color32_t * src_c32 = (const lv_color32_t *)src;
src_c32 += (ys_int * src_stride) + xs_int;
src_c32 = (const lv_color32_t *)(src + ys_int * src_stride + xs_int * 4);
const lv_color32_t * src_c32 = (const lv_color32_t *)(src + ys_int * src_stride + xs_int * 4);
dest_c32[x] = src_c32[0];