Skip to content

Commit

Permalink
re-factory region calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Nov 24, 2024
1 parent d41e75e commit 7fa6476
Show file tree
Hide file tree
Showing 3 changed files with 746 additions and 110 deletions.
2 changes: 1 addition & 1 deletion ARM.Arm-2D.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
</RTE_Components_h>
</component>

<component Cclass="Acceleration" Cgroup="Arm-2D Helper" Csub="PFB" Cversion="2.3.3" condition="Arm-2D-CORE">
<component Cclass="Acceleration" Cgroup="Arm-2D Helper" Csub="PFB" Cversion="2.3.4" condition="Arm-2D-CORE">
<description>Helper services for LCD adaptor(s), e.g. Generic Partial Framebuffer, Scene Player etc.</description>
<files>
<file category="include" name="Helper/Include/" />
Expand Down
12 changes: 8 additions & 4 deletions Helper/Include/arm_2d_helper_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* Title: #include "arm_2d_helper_list.h"
* Description: Public header file for list core related services
*
* $Date: 23. Nov 2024
* $Revision: V.1.3.1
* $Date: 24. Nov 2024
* $Revision: V.1.4.0
*
* Target Processor: Cortex-M cores
* -------------------------------------------------------------------- */
Expand Down Expand Up @@ -296,14 +296,14 @@ ARM_PROTECTED(

union {
struct {
int16_t iTopVisiableOffset;
int16_t iTopVisibleOffset;
uint16_t hwTopVisibleItemID;

int16_t iBottomVisibleOffset;
uint16_t hwBottomVisibleItemID;
} CalMidAligned;
struct {
int16_t iTopVisiableOffset;
int16_t iTopVisibleOffset;
uint16_t hwTopVisibleItemID;
} CalNormal;
};
Expand Down Expand Up @@ -348,6 +348,10 @@ extern
arm_2d_i_list_region_calculator_t
ARM_2D_LIST_CALCULATOR_MIDDLE_ALIGNED_FIXED_SIZED_ITEM_NO_STATUS_CHECK_HORIZONTAL;

extern
arm_2d_i_list_region_calculator_t
ARM_2D_LIST_CALCULATOR_NORMAL_FIXED_SIZED_ITEM_NO_STATUS_CHECK_VERTICAL;

/*!
* \brief a list iterator for the list that stores items in an array
*/
Expand Down
Loading

0 comments on commit 7fa6476

Please sign in to comment.