Arm-2D  
2D Image Processing Library for Cortex-M Processors
2 Tile Operations

Data Structures

struct  arm_2d_op_cp_cl_key_t
 
struct  arm_2d_op_cp_cl_key_t.Target
 
struct  arm_2d_op_cp_cl_key_t.Source
 
union  arm_2d_op_cp_cl_key_t.__unnamed82__
 

Macros

#define arm_2d_c8bit_tile_copy(__SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR, __MODE)
 
#define arm_2d_rgb16_tile_copy(__SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR, __MODE)
 
#define arm_2d_rgb32_tile_copy(__SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR, __MODE)
 
#define arm_2d_c8bit_tile_copy_only( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_copy_only( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_copy_only( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_copy_with_x_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_copy_with_x_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_copy_with_x_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_copy_with_y_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_copy_with_y_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_copy_with_y_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_copy_with_xy_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_copy_with_xy_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_copy_with_xy_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_fill_only( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_fill_only( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_fill_only( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_fill_with_x_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_fill_with_x_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_fill_with_x_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_fill_with_y_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_fill_with_y_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_fill_with_y_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_fill_with_xy_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb16_tile_fill_with_xy_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_rgb32_tile_fill_with_xy_mirror( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR)
 
#define arm_2d_c8bit_tile_copy_with_colour_keying( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR, __MSK_COLOUR, __MODE)
 
#define arm_2d_rgb16_tile_copy_with_colour_keying( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR, __MSK_COLOUR, __MODE)
 
#define arm_2d_rgb32_tile_copy_with_colour_keying( __SRC_ADDR, __DES_ADDR, __DES_REGION_ADDR, __MSK_COLOUR, __MODE)
 
#define __arm_2d_get_address_and_region_from_tile( __TILE_PTR, __VALID_REGION_NAME, __LOCATION_OFFSET_PTR, __TYPE, __BUF_PTR_NAME)
 
#define arm_2d_get_address_and_region_from_tile(__TILE_PTR, __VALID_REGION_NAME, __LOCATION_OFFSET_PTR, __TYPE, __BUF_PTR_NAME)
 
#define __arm_2d_get_address_and_region_from_tile_with_mirroring( __TILE_PTR, __VALID_REGION_NAME, __LOCATION_OFFSET_PTR, __TYPE, __BUF_PTR_NAME, __MODE)
 
#define arm_2d_get_address_and_region_from_tile_with_mirroring( __TILE_PTR, __VALID_REGION_NAME, __LOCATION_OFFSET_PTR, __TYPE, __BUF_PTR_NAME, __MODE)
 

Typedefs

typedef arm_2d_op_src_t arm_2d_op_cp_t
 

Enumerations

enum  __arm_2d_copy_mode_t {
  ARM_2D_CP_MODE_COPY = 0 ,
  ARM_2D_CP_MODE_FILL = _BV(0) ,
  ARM_2D_CP_MODE_Y_MIRROR = _BV(2) ,
  ARM_2D_CP_MODE_X_MIRROR = _BV(3) ,
  ARM_2D_CP_MODE_XY_MIRROR
}
 tile copy modes More...
 

Functions

__STATIC_INLINE bool arm_2d_is_root_tile (const arm_2d_tile_t *ptTile)
 check whether a given tile is root or not More...
 
bool arm_2d_region_intersect (const arm_2d_region_t *ptRegionIn0, const arm_2d_region_t *ptRegionIn1, arm_2d_region_t *ptRegionOut)
 intersect two regions and find the overlapped region More...
 
bool arm_2d_is_point_inside_region (const arm_2d_region_t *ptRegion, const arm_2d_location_t *ptPoint)
 check whether a point is inside a given region More...
 
const arm_2d_tile_tarm_2d_tile_get_root (const arm_2d_tile_t *ptTile, arm_2d_region_t *ptValidRegion, arm_2d_location_t *ptOffset)
 get the root tile and the valid region for a given tile More...
 
arm_2d_tile_tarm_2d_tile_generate_child (const arm_2d_tile_t *ptTargetTile, const arm_2d_region_t *ptRegion, arm_2d_tile_t *ptOutput, bool bClipRegion)
 generate a child tile from the target tile with a given region More...
 
arm_2d_cmp_t arm_2d_tile_width_compare (const arm_2d_tile_t *ptTarget, const arm_2d_tile_t *ptReference)
 compare the widths of two tiles More...
 
arm_2d_cmp_t arm_2d_tile_height_compare (const arm_2d_tile_t *ptTarget, const arm_2d_tile_t *ptReference)
 compare the heights of two tiles More...
 
arm_2d_cmp_t arm_2d_tile_shape_compare (const arm_2d_tile_t *ptTarget, const arm_2d_tile_t *ptReference)
 compare the shape (both widths and heights) of two tiles More...
 
const arm_2d_tile_tarm_2d_get_absolute_location (const arm_2d_tile_t *ptTile, arm_2d_location_t *ptLocation)
 get the absolute location of a given tile More...
 
arm_2d_region_tarm_2d_tile_region_diff (const arm_2d_tile_t *ptTarget, const arm_2d_tile_t *ptReference, arm_2d_region_t *ptBuffer)
 calculate the region differences between two tiles More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_copy (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMode)
 tile copy with specified mode More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_copy (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMode)
 tile copy with specified mode More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_copy (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMode)
 tile copy with specified mode More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_copy_only (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy only More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_copy_only (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy only More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_copy_only (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy only More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_x_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with x-mirroring More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_x_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with x-mirroring More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_x_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with x-mirroring More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_y_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with y-mirroring More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_y_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with y-mirroring More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_y_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with y-mirroring More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_xy_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with xy-mirroring More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_xy_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with xy-mirroring More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_xy_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 tile copy with xy-mirroring More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_fill_only (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling only. More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_fill_only (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling only. More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_fill_only (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling only. More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_fill_with_x_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with x-mirroring. More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_fill_with_x_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with x-mirroring. More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_fill_with_x_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with x-mirroring. More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_fill_with_y_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with y-mirroring. More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_fill_with_y_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with y-mirroring. More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_fill_with_y_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with y-mirroring. More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_fill_with_xy_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with xy-mirroring. More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_fill_with_xy_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with xy-mirroring. More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_fill_with_xy_mirror (arm_2d_op_cp_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion)
 Tiling with xy-mirroring. More...
 
arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_colour_keying (arm_2d_op_cp_cl_key_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint8_t chMaskColour, uint32_t wMode)
 tile copy with colour-keying and specified mode More...
 
arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_colour_keying (arm_2d_op_cp_cl_key_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint16_t hwMaskColour, uint32_t wMode)
 tile copy with colour-keying and specified mode More...
 
arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_colour_keying (arm_2d_op_cp_cl_key_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget, const arm_2d_region_t *ptRegion, uint32_t wMaskColour, uint32_t wMode)
 tile copy with colour-keying and specified mode More...
 

Description


Data Structure Documentation

◆ arm_2d_op_cp_cl_key_t

struct arm_2d_op_cp_cl_key_t
Note
arm_2d_op_cp_cl_key_t inherits from arm_2d_op_src_t explicitly

Public Member Functions

 inherit (arm_2d_op_core_t)
 base More...
 

Data Fields

struct {
const arm_2d_tile_tptTile
 target tile More...
 
const arm_2d_region_tptRegion
 target region More...
 
Target
 
struct {
const arm_2d_tile_tptTile
 source tile More...
 
Source
 
uint32_t wMode
 copy mode More...
 
union {
uint8_t chColour
 8bit colour More...
 
uint16_t hwColour
 16bit colour More...
 
uint32_t wColour
 32bit colour More...
 
}; 
 

Member Function Documentation

◆ inherit()

arm_2d_op_cp_cl_key_t::inherit ( arm_2d_op_core_t  )

base

Field Documentation

◆ wMode

uint32_t arm_2d_op_cp_cl_key_t::wMode

copy mode

◆ arm_2d_op_cp_cl_key_t.Target

struct arm_2d_op_cp_cl_key_t.Target
Data Fields
const arm_2d_tile_t * ptTile target tile
const arm_2d_region_t * ptRegion target region

◆ arm_2d_op_cp_cl_key_t.Source

struct arm_2d_op_cp_cl_key_t.Source
Data Fields
const arm_2d_tile_t * ptTile source tile

◆ arm_2d_op_cp_cl_key_t.__unnamed82__

union arm_2d_op_cp_cl_key_t.__unnamed82__
Data Fields
uint8_t chColour 8bit colour
uint16_t hwColour 16bit colour
uint32_t wColour 32bit colour

Macro Definition Documentation

◆ arm_2d_c8bit_tile_copy

#define arm_2d_c8bit_tile_copy (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR,
  __MODE 
)
Value:
/* mode */ \
arm_2dp_c8bit_tile_copy(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR), \
(__MODE))

◆ arm_2d_rgb16_tile_copy

#define arm_2d_rgb16_tile_copy (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR,
  __MODE 
)
Value:
/* mode */ \
arm_2dp_rgb16_tile_copy(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR), \
(__MODE))

◆ arm_2d_rgb32_tile_copy

#define arm_2d_rgb32_tile_copy (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR,
  __MODE 
)
Value:
/* mode */ \
arm_2dp_rgb32_tile_copy(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR), \
(__MODE))

◆ arm_2d_c8bit_tile_copy_only

#define arm_2d_c8bit_tile_copy_only (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_copy_only(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_copy_only

#define arm_2d_rgb16_tile_copy_only (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_copy_only(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_copy_only

#define arm_2d_rgb32_tile_copy_only (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_copy_only(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_copy_with_x_mirror

#define arm_2d_c8bit_tile_copy_with_x_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_copy_with_x_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_copy_with_x_mirror

#define arm_2d_rgb16_tile_copy_with_x_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_copy_with_x_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_copy_with_x_mirror

#define arm_2d_rgb32_tile_copy_with_x_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_copy_with_x_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_copy_with_y_mirror

#define arm_2d_c8bit_tile_copy_with_y_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_copy_with_y_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_copy_with_y_mirror

#define arm_2d_rgb16_tile_copy_with_y_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_copy_with_y_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_copy_with_y_mirror

#define arm_2d_rgb32_tile_copy_with_y_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_copy_with_y_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_copy_with_xy_mirror

#define arm_2d_c8bit_tile_copy_with_xy_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_copy_with_xy_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_copy_with_xy_mirror

#define arm_2d_rgb16_tile_copy_with_xy_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_copy_with_xy_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_copy_with_xy_mirror

#define arm_2d_rgb32_tile_copy_with_xy_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_copy_with_xy_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_fill_only

#define arm_2d_c8bit_tile_fill_only (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_fill_only(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_fill_only

#define arm_2d_rgb16_tile_fill_only (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_fill_only(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_fill_only

#define arm_2d_rgb32_tile_fill_only (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_fill_only(NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_fill_with_x_mirror

#define arm_2d_c8bit_tile_fill_with_x_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_fill_with_x_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_fill_with_x_mirror

#define arm_2d_rgb16_tile_fill_with_x_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_fill_with_x_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_fill_with_x_mirror

#define arm_2d_rgb32_tile_fill_with_x_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_fill_with_x_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_fill_with_y_mirror

#define arm_2d_c8bit_tile_fill_with_y_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_fill_with_y_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_fill_with_y_mirror

#define arm_2d_rgb16_tile_fill_with_y_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_fill_with_y_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_fill_with_y_mirror

#define arm_2d_rgb32_tile_fill_with_y_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_fill_with_y_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_fill_with_xy_mirror

#define arm_2d_c8bit_tile_fill_with_xy_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_c8bit_tile_fill_with_xy_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb16_tile_fill_with_xy_mirror

#define arm_2d_rgb16_tile_fill_with_xy_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb16_tile_fill_with_xy_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_rgb32_tile_fill_with_xy_mirror

#define arm_2d_rgb32_tile_fill_with_xy_mirror (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR 
)
Value:
/* target region address*/\
arm_2dp_rgb32_tile_fill_with_xy_mirror( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR))

◆ arm_2d_c8bit_tile_copy_with_colour_keying

#define arm_2d_c8bit_tile_copy_with_colour_keying (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR,
  __MSK_COLOUR,
  __MODE 
)
Value:
/* mode */ \
arm_2dp_c8bit_tile_copy_with_colour_keying( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR), \
(__MSK_COLOUR), \
(__MODE))

◆ arm_2d_rgb16_tile_copy_with_colour_keying

#define arm_2d_rgb16_tile_copy_with_colour_keying (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR,
  __MSK_COLOUR,
  __MODE 
)
Value:
/* mode */ \
arm_2dp_rgb16_tile_copy_with_colour_keying( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR), \
(__MSK_COLOUR), \
(__MODE))

◆ arm_2d_rgb32_tile_copy_with_colour_keying

#define arm_2d_rgb32_tile_copy_with_colour_keying (   __SRC_ADDR,
  __DES_ADDR,
  __DES_REGION_ADDR,
  __MSK_COLOUR,
  __MODE 
)
Value:
/* mode */ \
arm_2dp_rgb32_tile_copy_with_colour_keying( \
NULL, \
(__SRC_ADDR), \
(__DES_ADDR), \
(__DES_REGION_ADDR), \
(__MSK_COLOUR), \
(__MODE))

◆ __arm_2d_get_address_and_region_from_tile

#define __arm_2d_get_address_and_region_from_tile (   __TILE_PTR,
  __VALID_REGION_NAME,
  __LOCATION_OFFSET_PTR,
  __TYPE,
  __BUF_PTR_NAME 
)
Value:
arm_2d_region_t __VALID_REGION_NAME; \
assert(NULL != (__TILE_PTR)); \
__TYPE *(__BUF_PTR_NAME) = NULL; \
\
(__TILE_PTR) = arm_2d_tile_get_root((__TILE_PTR), \
&__VALID_REGION_NAME, \
__LOCATION_OFFSET_PTR); \
\
if (NULL != (__TILE_PTR)) { \
(__BUF_PTR_NAME) = ((__TYPE *)((__TILE_PTR)->pchBuffer)) \
+ (__TILE_PTR)->tRegion.tSize.iWidth * \
__VALID_REGION_NAME.tLocation.iY \
+ __VALID_REGION_NAME.tLocation.iX; \
}

◆ arm_2d_get_address_and_region_from_tile

#define arm_2d_get_address_and_region_from_tile (   __TILE_PTR,
  __VALID_REGION_NAME,
  __LOCATION_OFFSET_PTR,
  __TYPE,
  __BUF_PTR_NAME 
)
Value:
__arm_2d_get_address_and_region_from_tile( __TILE_PTR, \
__VALID_REGION_NAME, \
__LOCATION_OFFSET_PTR, \
__TYPE, \
__BUF_PTR_NAME)

◆ __arm_2d_get_address_and_region_from_tile_with_mirroring

#define __arm_2d_get_address_and_region_from_tile_with_mirroring (   __TILE_PTR,
  __VALID_REGION_NAME,
  __LOCATION_OFFSET_PTR,
  __TYPE,
  __BUF_PTR_NAME,
  __MODE 
)
Value:
arm_2d_region_t __VALID_REGION_NAME; \
assert(NULL != (__TILE_PTR)); \
__TYPE *(__BUF_PTR_NAME) = NULL; \
\
(__TILE_PTR) = arm_2d_tile_get_root((__TILE_PTR), \
&__VALID_REGION_NAME, \
__LOCATION_OFFSET_PTR); \
\
if (NULL != (__TILE_PTR)) { \
arm_2d_location_t tOffset = __VALID_REGION_NAME.tLocation; \
if ((__MODE) & ARM_2D_CP_MODE_X_MIRROR) { \
tOffset.iX = 0; \
} \
if ((__MODE) & ARM_2D_CP_MODE_Y_MIRROR) { \
tOffset.iY = 0; \
} \
(__BUF_PTR_NAME) = ((__TYPE *)((__TILE_PTR)->pchBuffer)) \
+ (__TILE_PTR)->tRegion.tSize.iWidth * tOffset.iY \
+ tOffset.iX; \
}

◆ arm_2d_get_address_and_region_from_tile_with_mirroring

#define arm_2d_get_address_and_region_from_tile_with_mirroring (   __TILE_PTR,
  __VALID_REGION_NAME,
  __LOCATION_OFFSET_PTR,
  __TYPE,
  __BUF_PTR_NAME,
  __MODE 
)
Value:
__arm_2d_get_address_and_region_from_tile_with_mirroring( \
__TILE_PTR, \
__VALID_REGION_NAME, \
__LOCATION_OFFSET_PTR, \
__TYPE, \
__BUF_PTR_NAME, \
(__MODE))

Enumeration Type Documentation

◆ __arm_2d_copy_mode_t

tile copy modes

Function Documentation

◆ arm_2d_is_root_tile()

__STATIC_INLINE bool arm_2d_is_root_tile ( const arm_2d_tile_t ptTile)

check whether a given tile is root or not

Parameters
[in]ptTilethe target tile
Return values
truethe target tile is a root tile
falsethe target tile is a child tile

◆ arm_2d_region_intersect()

bool arm_2d_region_intersect ( const arm_2d_region_t ptRegionIn0,
const arm_2d_region_t ptRegionIn1,
arm_2d_region_t ptRegionOut 
)

intersect two regions and find the overlapped region

Parameters
[in]ptRegionIn0the input region 0
[in]ptRegionIn1the input region 1
[out]ptRegionOutthe overlapped region
Return values
falsethe two regions do not overlap
truethe two regions overlap
HOW IT WORKS:
Input Region 0
+------------------------------------------------------+
| |
| |
| |
| +------------------------------+---------+
| | |/////////|
| | Output Region |/////////|
| | |/////////|
+-----------------------+------------------------------+/////////|
|////////////////////////////////////////|
|////////////////////////////////////////|
+----------------------------------------+
Input Region 1

◆ arm_2d_is_point_inside_region()

bool arm_2d_is_point_inside_region ( const arm_2d_region_t ptRegion,
const arm_2d_location_t ptPoint 
)

check whether a point is inside a given region

Parameters
[in]ptRegionthe target region
[in]ptPointthe target point
Return values
truethe point is inside the target region
falsethe point is outside the target region

◆ arm_2d_tile_get_root()

const arm_2d_tile_t * arm_2d_tile_get_root ( const arm_2d_tile_t ptTile,
arm_2d_region_t ptValidRegion,
arm_2d_location_t ptOffset 
)

get the root tile and the valid region for a given tile

Parameters
[in]ptTilethe target tile
[out]ptValidRegionthe valid region inside the root tile
[out]ptOffsetthe offsite of the root tile as if the root tile is inside the target tile
Returns
const arm_2d_tile_t* the root tile
HOW IT WORKS:
Root Tile (Output Tile)
+------------------------------------------------------------------------+
| ... ... |
| |
| Child Tile of Parent Tile |
| +------------------------------------+ |
| | Child Tile of Parent Tile | |
| | +------------------------------+---------+ |
| | | |/////////| |
| | | Valid Region |/////////| |
| | | |/////////| |
| +-----+------------------------------+/////////| |
| |////////////////////////////////////////| |
| |////////////////////////////////////////| |
| +----------------------------------------+ |
| |
+------------------------------------------------------------------------+

◆ arm_2d_tile_generate_child()

arm_2d_tile_t * arm_2d_tile_generate_child ( const arm_2d_tile_t ptTargetTile,
const arm_2d_region_t ptRegion,
arm_2d_tile_t ptOutput,
bool  bClipRegion 
)

generate a child tile from the target tile with a given region

Parameters
[in]ptTargetTilethe target tile
[in]ptRegionthe target region
[out]ptOutputthe child tile
[in]bClipRegionwhether clip the region for the child tile
Note
We highly recommend that please DO NOT clip the child tile if you don't know what you are doing.
Return values
non-NULLthe child tile
NULLthe given region is outside the target tile
HOW IT WORKS:
Parent Tile (NOT necessarily a ROOT tile )
+------------------------------------------------------+
| |
| |
| Target Region |
| +------------------------------+---------+
| | |/////////|
| | New Child Tile (Output) |/////////|
| | |/////////|
+-----------------------+------------------------------+/////////|
|////////////////////////////////////////|
|////////////////////////////////////////|
+----------------------------------------+

◆ arm_2d_tile_width_compare()

arm_2d_cmp_t arm_2d_tile_width_compare ( const arm_2d_tile_t ptTarget,
const arm_2d_tile_t ptReference 
)

compare the widths of two tiles

Parameters
[in]ptTargetthe target tile
[in]ptReferencethe reference tile
Returns
arm_2d_cmp_t the comparision result

◆ arm_2d_tile_height_compare()

arm_2d_cmp_t arm_2d_tile_height_compare ( const arm_2d_tile_t ptTarget,
const arm_2d_tile_t ptReference 
)

compare the heights of two tiles

Parameters
[in]ptTargetthe target tile
[in]ptReferencethe reference tile
Returns
arm_2d_cmp_t the comparision result

◆ arm_2d_tile_shape_compare()

arm_2d_cmp_t arm_2d_tile_shape_compare ( const arm_2d_tile_t ptTarget,
const arm_2d_tile_t ptReference 
)

compare the shape (both widths and heights) of two tiles

Parameters
[in]ptTargetthe target tile
[in]ptReferencethe reference tile
Returns
arm_2d_cmp_t the comparision result

◆ arm_2d_get_absolute_location()

const arm_2d_tile_t * arm_2d_get_absolute_location ( const arm_2d_tile_t ptTile,
arm_2d_location_t ptLocation 
)

get the absolute location of a given tile

Parameters
[in]ptTilethe target tile
[out]ptLocationthe absolute location in the root tile
Returns
const arm_2d_tile_t * the root tile

◆ arm_2d_tile_region_diff()

arm_2d_region_t * arm_2d_tile_region_diff ( const arm_2d_tile_t ptTarget,
const arm_2d_tile_t ptReference,
arm_2d_region_t ptBuffer 
)

calculate the region differences between two tiles

Parameters
[in]ptTargetthe target tile
[in]ptReferencethe reference tile
[out]ptBufferthe difference stored in a region
Returns
arm_2d_region_t * the ptBuffer passed to this function

◆ arm_2dp_c8bit_tile_copy()

arm_fsm_rt_t arm_2dp_c8bit_tile_copy ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion,
uint32_t  wMode 
)

tile copy with specified mode

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
[in]wModethe copy mode
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_copy()

arm_fsm_rt_t arm_2dp_rgb16_tile_copy ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion,
uint32_t  wMode 
)

tile copy with specified mode

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
[in]wModethe copy mode
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_copy()

arm_fsm_rt_t arm_2dp_rgb32_tile_copy ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion,
uint32_t  wMode 
)

tile copy with specified mode

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
[in]wModethe copy mode
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_copy_only()

arm_fsm_rt_t arm_2dp_c8bit_tile_copy_only ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy only

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_copy_only()

arm_fsm_rt_t arm_2dp_rgb16_tile_copy_only ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy only

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_copy_only()

arm_fsm_rt_t arm_2dp_rgb32_tile_copy_only ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy only

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_copy_with_x_mirror()

arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_x_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with x-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_copy_with_x_mirror()

arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_x_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with x-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_copy_with_x_mirror()

arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_x_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with x-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_copy_with_y_mirror()

arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_y_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with y-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_copy_with_y_mirror()

arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_y_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with y-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_copy_with_y_mirror()

arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_y_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with y-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_copy_with_xy_mirror()

arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_xy_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with xy-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_copy_with_xy_mirror()

arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_xy_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with xy-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_copy_with_xy_mirror()

arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_xy_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

tile copy with xy-mirroring

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_fill_only()

arm_fsm_rt_t arm_2dp_c8bit_tile_fill_only ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling only.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_fill_only()

arm_fsm_rt_t arm_2dp_rgb16_tile_fill_only ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling only.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_fill_only()

arm_fsm_rt_t arm_2dp_rgb32_tile_fill_only ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling only.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_fill_with_x_mirror()

arm_fsm_rt_t arm_2dp_c8bit_tile_fill_with_x_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with x-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_fill_with_x_mirror()

arm_fsm_rt_t arm_2dp_rgb16_tile_fill_with_x_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with x-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_fill_with_x_mirror()

arm_fsm_rt_t arm_2dp_rgb32_tile_fill_with_x_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with x-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_fill_with_y_mirror()

arm_fsm_rt_t arm_2dp_c8bit_tile_fill_with_y_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with y-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_fill_with_y_mirror()

arm_fsm_rt_t arm_2dp_rgb16_tile_fill_with_y_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with y-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_fill_with_y_mirror()

arm_fsm_rt_t arm_2dp_rgb32_tile_fill_with_y_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with y-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_fill_with_xy_mirror()

arm_fsm_rt_t arm_2dp_c8bit_tile_fill_with_xy_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with xy-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_fill_with_xy_mirror()

arm_fsm_rt_t arm_2dp_rgb16_tile_fill_with_xy_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with xy-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb32_tile_fill_with_xy_mirror()

arm_fsm_rt_t arm_2dp_rgb32_tile_fill_with_xy_mirror ( arm_2d_op_cp_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion 
)

Tiling with xy-mirroring.

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_c8bit_tile_copy_with_colour_keying()

arm_fsm_rt_t arm_2dp_c8bit_tile_copy_with_colour_keying ( arm_2d_op_cp_cl_key_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion,
uint8_t  chMaskColour,
uint32_t  wMode 
)

tile copy with colour-keying and specified mode

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
[in]chMaskColourthe key colour in any 8bit colour format
[in]wModethe copy mode
Returns
arm_fsm_rt_t the operation result

◆ arm_2dp_rgb16_tile_copy_with_colour_keying()

arm_fsm_rt_t arm_2dp_rgb16_tile_copy_with_colour_keying ( arm_2d_op_cp_cl_key_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion,
uint16_t  hwMaskColour,
uint32_t  wMode 
)

tile copy with colour-keying and specified mode

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
[in]hwMaskColourthe key colour in any 16bit colour format
[in]wModethe copy mode
Returns
arm_fsm_rt_t the operation result
Note
alpha channel is not handled, i.e. rgba5551

◆ arm_2dp_rgb32_tile_copy_with_colour_keying()

arm_fsm_rt_t arm_2dp_rgb32_tile_copy_with_colour_keying ( arm_2d_op_cp_cl_key_t ptOP,
const arm_2d_tile_t ptSource,
const arm_2d_tile_t ptTarget,
const arm_2d_region_t ptRegion,
uint32_t  wMaskColour,
uint32_t  wMode 
)

tile copy with colour-keying and specified mode

Parameters
[in]ptOPthe control block, NULL means using the default control block
[in]ptSourcethe source tile
[in]ptTargetthe target tile
[in]ptRegionthe target region, NULL means using the region of the target tile.
[in]wMaskColourthe key colour in any 32bit colour format
[in]wModethe copy mode
Returns
arm_fsm_rt_t the operation result
Note
alpha channel is not handled