Data Structures | |
struct | arm_2d_op_fill_cl_t |
the control block for colour-filling-operations More... | |
struct | arm_2d_op_drw_pt_t |
the control block for drawing point More... | |
struct | arm_2d_op_drw_patn_t |
the control block for draw-bit-pattern operations More... | |
struct | arm_2d_op_fill_cl_t.Target |
union | arm_2d_op_fill_cl_t.__unnamed133__ |
struct | arm_2d_op_drw_pt_t.Target |
union | arm_2d_op_drw_pt_t.__unnamed136__ |
struct | arm_2d_op_drw_patn_t.Target |
struct | arm_2d_op_drw_patn_t.Source |
union | arm_2d_op_drw_patn_t.Foreground |
union | arm_2d_op_drw_patn_t.Background |
Macros | |
#define | arm_2dp_c8bit_draw_point arm_2dp_gray8_draw_point |
#define | arm_2dp_rgb16_draw_point arm_2dp_rgb565_draw_point |
#define | arm_2dp_rgb32_draw_point arm_2dp_cccn888_draw_point |
#define | arm_2d_c8bit_draw_point(__TARGET_ADDR, __LOCATION, __COLOUR) |
#define | arm_2d_rgb16_draw_point(__TARGET_ADDR, __LOCATION, __COLOUR) |
#define | arm_2d_rgb32_draw_point(__TARGET_ADDR, __LOCATION, __COLOUR) |
#define | arm_2d_gray8_draw_point(__TARGET_ADDR, __LOCATION, __COLOUR, ...) |
#define | arm_2d_rgb565_draw_point(__TARGET_ADDR, __LOCATION, __COLOUR, ...) |
#define | arm_2d_cccn888_draw_point(__TARGET_ADDR, __LOCATION, __COLOUR, ...) |
#define | arm_2d_c8bit_draw_pattern( __PATTERN_ADDR, __TARGET_ADDR, __REGION_ADDR, __MODE, __FG_COLOUR, __BG_COLOUR) |
#define | arm_2d_rgb16_draw_pattern( __PATTERN_ADDR, __TARGET_ADDR, __REGION_ADDR, __MODE, __FG_COLOUR, __BG_COLOUR) |
#define | arm_2d_rgb32_draw_pattern( __PATTERN_ADDR, __TARGET_ADDR, __REGION_ADDR, __MODE, __FG_COLOUR, __BG_COLOUR) |
#define | arm_2d_c8bit_fill_colour( __TARGET_ADDR, __REGION_ADDR, __COLOUR) |
#define | arm_2d_rgb16_fill_colour( __TARGET_ADDR, __REGION_ADDR, __COLOUR) |
#define | arm_2d_rgb32_fill_colour( __TARGET_ADDR, __REGION_ADDR, __COLOUR) |
Enumerations | |
enum | { ARM_2D_DRW_PATN_MODE_COPY = 0 , ARM_2D_DRW_PATN_MODE_WITH_BG_COLOR = _BV(4) , ARM_2D_DRW_PATN_MODE_NO_FG_COLOR = _BV(5) , ARM_2D_DRW_PATH_MODE_COMP_FG_COLOUR = _BV(6) } |
modes for copying bit-patterns More... | |
Functions | |
__STATIC_INLINE void | arm_2d_c8bit_draw_point_fast (const arm_2d_tile_t *ptTarget, const arm_2d_location_t tLocation, uint_fast8_t chColour) |
draw a point on a root tile with a given 8bit colour More... | |
__STATIC_INLINE void | arm_2d_rgb16_draw_point_fast (const arm_2d_tile_t *ptTarget, const arm_2d_location_t tLocation, uint_fast16_t hwColour) |
draw a point on a root tile with a given 16bit colour More... | |
__STATIC_INLINE void | arm_2d_rgb32_draw_point_fast (const arm_2d_tile_t *ptTarget, const arm_2d_location_t tLocation, uint32_t wColour) |
draw a point on a root tile with a given 32bit colour More... | |
arm_fsm_rt_t | arm_2dp_gray8_draw_point (arm_2d_op_drw_pt_t *ptOP, const arm_2d_tile_t *ptTarget, const arm_2d_location_t tLocation, uint_fast8_t chColour, uint8_t chOpacity) |
draw a point with a given gray8 colour More... | |
arm_fsm_rt_t | arm_2dp_rgb565_draw_point (arm_2d_op_drw_pt_t *ptOP, const arm_2d_tile_t *ptTarget, const arm_2d_location_t tLocation, uint_fast16_t hwColour, uint8_t chOpacity) |
draw a point with a given rgb565 colour More... | |
arm_fsm_rt_t | arm_2dp_cccn888_draw_point (arm_2d_op_drw_pt_t *ptOP, const arm_2d_tile_t *ptTarget, const arm_2d_location_t tLocation, uint32_t wColour, uint8_t chOpacity) |
draw a point with a given cccn888 colour More... | |
arm_fsm_rt_t | arm_2dp_c8bit_draw_pattern (arm_2d_op_drw_patn_t *ptOP, const arm_2d_tile_t *ptPattern, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMode, uint8_t chForeColour, uint8_t chBackColour) |
copy a bit-pattern with given 8bit colours More... | |
arm_fsm_rt_t | arm_2dp_rgb16_draw_pattern (arm_2d_op_drw_patn_t *ptOP, const arm_2d_tile_t *ptPattern, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMode, uint16_t hwForeColour, uint16_t hwBackColour) |
copy a bit-pattern with given 16bit colours More... | |
arm_fsm_rt_t | arm_2dp_rgb32_draw_pattern (arm_2d_op_drw_patn_t *ptOP, const arm_2d_tile_t *ptPattern, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMode, uint32_t wForeColour, uint32_t wBackColour) |
copy a bit-pattern with given 32bit colours More... | |
arm_fsm_rt_t | arm_2dp_c8bit_fill_colour (arm_2d_op_fill_cl_t *ptOP, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint_fast8_t chColour) |
fill the target region with a given 8bit colour More... | |
arm_fsm_rt_t | arm_2dp_rgb16_fill_colour (arm_2d_op_fill_cl_t *ptOP, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint_fast16_t hwColour) |
fill the target region with a given 16bit colour More... | |
arm_fsm_rt_t | arm_2dp_rgb32_fill_colour (arm_2d_op_fill_cl_t *ptOP, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wColour) |
fill the target region with a given 32bit colour More... | |
struct arm_2d_op_fill_cl_t |
the control block for colour-filling-operations
Data Fields | ||
---|---|---|
arm_2d_op_core_t | base | |
struct arm_2d_op_fill_cl_t.Target | Target | |
union arm_2d_op_fill_cl_t.__unnamed133__ | __unnamed__ |
struct arm_2d_op_drw_pt_t |
the control block for drawing point
Data Fields | ||
---|---|---|
arm_2d_op_core_t | base | |
struct arm_2d_op_drw_pt_t.Target | Target | |
union arm_2d_op_drw_pt_t.__unnamed136__ | __unnamed__ | |
uint8_t | chOpaicty | |
arm_2d_region_t | tTargetRegion |
struct arm_2d_op_drw_patn_t |
the control block for draw-bit-pattern operations
Data Fields | ||
---|---|---|
arm_2d_op_core_t | base | |
struct arm_2d_op_drw_patn_t.Target | Target | |
struct arm_2d_op_drw_patn_t.Source | Source | |
uint32_t | wMode | mode of the operation |
union arm_2d_op_drw_patn_t.Foreground | Foreground | forground colour |
union arm_2d_op_drw_patn_t.Background | Background | background colour |
struct arm_2d_op_fill_cl_t.Target |
Data Fields | ||
---|---|---|
const arm_2d_tile_t * | ptTile | target tile |
const arm_2d_region_t * | ptRegion | target region |
union arm_2d_op_fill_cl_t.__unnamed133__ |
struct arm_2d_op_drw_pt_t.Target |
Data Fields | ||
---|---|---|
const arm_2d_tile_t * | ptTile | target tile |
const arm_2d_region_t * | ptRegion | target region |
union arm_2d_op_drw_pt_t.__unnamed136__ |
struct arm_2d_op_drw_patn_t.Target |
Data Fields | ||
---|---|---|
const arm_2d_tile_t * | ptTile | target tile |
const arm_2d_region_t * | ptRegion | target region |
struct arm_2d_op_drw_patn_t.Source |
Data Fields | ||
---|---|---|
const arm_2d_tile_t * | ptTile | source tile |
union arm_2d_op_drw_patn_t.Foreground |
union arm_2d_op_drw_patn_t.Background |
#define arm_2d_c8bit_draw_point | ( | __TARGET_ADDR, | |
__LOCATION, | |||
__COLOUR | |||
) |
#define arm_2d_rgb16_draw_point | ( | __TARGET_ADDR, | |
__LOCATION, | |||
__COLOUR | |||
) |
#define arm_2d_rgb32_draw_point | ( | __TARGET_ADDR, | |
__LOCATION, | |||
__COLOUR | |||
) |
#define arm_2d_gray8_draw_point | ( | __TARGET_ADDR, | |
__LOCATION, | |||
__COLOUR, | |||
... | |||
) |
#define arm_2d_rgb565_draw_point | ( | __TARGET_ADDR, | |
__LOCATION, | |||
__COLOUR, | |||
... | |||
) |
#define arm_2d_cccn888_draw_point | ( | __TARGET_ADDR, | |
__LOCATION, | |||
__COLOUR, | |||
... | |||
) |
#define arm_2d_c8bit_draw_pattern | ( | __PATTERN_ADDR, | |
__TARGET_ADDR, | |||
__REGION_ADDR, | |||
__MODE, | |||
__FG_COLOUR, | |||
__BG_COLOUR | |||
) |
#define arm_2d_rgb16_draw_pattern | ( | __PATTERN_ADDR, | |
__TARGET_ADDR, | |||
__REGION_ADDR, | |||
__MODE, | |||
__FG_COLOUR, | |||
__BG_COLOUR | |||
) |
#define arm_2d_rgb32_draw_pattern | ( | __PATTERN_ADDR, | |
__TARGET_ADDR, | |||
__REGION_ADDR, | |||
__MODE, | |||
__FG_COLOUR, | |||
__BG_COLOUR | |||
) |
#define arm_2d_c8bit_fill_colour | ( | __TARGET_ADDR, | |
__REGION_ADDR, | |||
__COLOUR | |||
) |
#define arm_2d_rgb16_fill_colour | ( | __TARGET_ADDR, | |
__REGION_ADDR, | |||
__COLOUR | |||
) |
#define arm_2d_rgb32_fill_colour | ( | __TARGET_ADDR, | |
__REGION_ADDR, | |||
__COLOUR | |||
) |
anonymous enum |
modes for copying bit-patterns
__STATIC_INLINE void arm_2d_c8bit_draw_point_fast | ( | const arm_2d_tile_t * | ptTarget, |
const arm_2d_location_t | tLocation, | ||
uint_fast8_t | chColour | ||
) |
draw a point on a root tile with a given 8bit colour
[in] | ptTarget | the target root tile |
[in] | tLocation | the target location |
[in] | chColour | an 8bit colour |
__STATIC_INLINE void arm_2d_rgb16_draw_point_fast | ( | const arm_2d_tile_t * | ptTarget, |
const arm_2d_location_t | tLocation, | ||
uint_fast16_t | hwColour | ||
) |
draw a point on a root tile with a given 16bit colour
[in] | ptTarget | the target root tile |
[in] | tLocation | the target location |
[in] | hwColour | an 16bit colour |
__STATIC_INLINE void arm_2d_rgb32_draw_point_fast | ( | const arm_2d_tile_t * | ptTarget, |
const arm_2d_location_t | tLocation, | ||
uint32_t | wColour | ||
) |
draw a point on a root tile with a given 32bit colour
[in] | ptTarget | the target root tile |
[in] | tLocation | the target location |
[in] | wColour | an 32bit colour |
arm_fsm_rt_t arm_2dp_gray8_draw_point | ( | arm_2d_op_drw_pt_t * | ptOP, |
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_location_t | tLocation, | ||
uint_fast8_t | chColour, | ||
uint8_t | chOpacity | ||
) |
draw a point with a given gray8 colour
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptTarget | the target root tile |
[in] | tLocation | the target location |
[in] | chColour | an 8bit colour |
[in] | chOpacity | the point opacity |
arm_fsm_rt_t arm_2dp_rgb565_draw_point | ( | arm_2d_op_drw_pt_t * | ptOP, |
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_location_t | tLocation, | ||
uint_fast16_t | hwColour, | ||
uint8_t | chOpacity | ||
) |
draw a point with a given rgb565 colour
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptTarget | the target root tile |
[in] | tLocation | the target location |
[in] | hwColour | an 16bit colour |
[in] | chOpacity | the point opacity |
arm_fsm_rt_t arm_2dp_cccn888_draw_point | ( | arm_2d_op_drw_pt_t * | ptOP, |
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_location_t | tLocation, | ||
uint32_t | wColour, | ||
uint8_t | chOpacity | ||
) |
draw a point with a given cccn888 colour
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptTarget | the target root tile |
[in] | tLocation | the target location |
[in] | wColour | an 32bit colour |
[in] | chOpacity | the point opacity |
arm_fsm_rt_t arm_2dp_c8bit_draw_pattern | ( | arm_2d_op_drw_patn_t * | ptOP, |
const arm_2d_tile_t * | ptPattern, | ||
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_region_t * | ptRegion, | ||
uint32_t | wMode, | ||
uint8_t | chForeColour, | ||
uint8_t | chBackColour | ||
) |
copy a bit-pattern with given 8bit colours
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptPattern | the source bit pattern |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region |
[in] | wMode | the copy mode |
[in] | chForeColour | the foreground colour |
[in] | chBackColour | the background colour |
arm_fsm_rt_t arm_2dp_rgb16_draw_pattern | ( | arm_2d_op_drw_patn_t * | ptOP, |
const arm_2d_tile_t * | ptPattern, | ||
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_region_t * | ptRegion, | ||
uint32_t | wMode, | ||
uint16_t | hwForeColour, | ||
uint16_t | hwBackColour | ||
) |
copy a bit-pattern with given 16bit colours
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptPattern | the source bit pattern |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region |
[in] | wMode | the copy mode |
[in] | hwForeColour | the foreground colour |
[in] | hwBackColour | the background colour |
arm_fsm_rt_t arm_2dp_rgb32_draw_pattern | ( | arm_2d_op_drw_patn_t * | ptOP, |
const arm_2d_tile_t * | ptPattern, | ||
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_region_t * | ptRegion, | ||
uint32_t | wMode, | ||
uint32_t | wForeColour, | ||
uint32_t | wBackColour | ||
) |
copy a bit-pattern with given 32bit colours
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptPattern | the source bit pattern |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region |
[in] | wMode | the copy mode |
[in] | wForeColour | the foreground colour |
[in] | wBackColour | the background colour |
arm_fsm_rt_t arm_2dp_c8bit_fill_colour | ( | arm_2d_op_fill_cl_t * | ptOP, |
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_region_t * | ptRegion, | ||
uint_fast8_t | chColour | ||
) |
fill the target region with a given 8bit colour
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region |
[in] | chColour | a 8bit colour |
arm_fsm_rt_t arm_2dp_rgb16_fill_colour | ( | arm_2d_op_fill_cl_t * | ptOP, |
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_region_t * | ptRegion, | ||
uint_fast16_t | hwColour | ||
) |
fill the target region with a given 16bit colour
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region |
[in] | hwColour | a 16bit colour |
arm_fsm_rt_t arm_2dp_rgb32_fill_colour | ( | arm_2d_op_fill_cl_t * | ptOP, |
const arm_2d_tile_t * | ptTarget, | ||
const arm_2d_region_t * | ptRegion, | ||
uint32_t | wColour | ||
) |
fill the target region with a given 32bit colour
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region |
[in] | wColour | a 32bit colour |