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_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 More... | |
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 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_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 More... | |
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 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... | |
struct arm_2d_op_cp_cl_key_t |
Public Member Functions | |
inherit (arm_2d_op_core_t) | |
base More... | |
Data Fields | |
struct { | |
const arm_2d_tile_t * | ptTile |
target tile More... | |
const arm_2d_region_t * | ptRegion |
target region More... | |
} | Target |
struct { | |
const arm_2d_tile_t * | ptTile |
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... | |
}; | |
arm_2d_op_cp_cl_key_t::inherit | ( | arm_2d_op_core_t | ) |
base
uint32_t arm_2d_op_cp_cl_key_t::wMode |
copy mode
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 |
struct arm_2d_op_cp_cl_key_t.Source |
Data Fields | ||
---|---|---|
const arm_2d_tile_t * | ptTile | source tile |
union arm_2d_op_cp_cl_key_t.__unnamed82__ |
#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 | |||
) |
enum __arm_2d_copy_mode_t |
tile copy modes
__STATIC_INLINE bool arm_2d_is_root_tile | ( | const arm_2d_tile_t * | ptTile | ) |
check whether a given tile is root or not
[in] | ptTile | the target tile |
true | the target tile is a root tile |
false | the target tile is a child tile |
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
[in] | ptRegionIn0 | the input region 0 |
[in] | ptRegionIn1 | the input region 1 |
[out] | ptRegionOut | the overlapped region |
false | the two regions do not overlap |
true | the two regions overlap |
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
[in] | ptRegion | the target region |
[in] | ptPoint | the target point |
true | the point is inside the target region |
false | the point is outside the target region |
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
[in] | ptTile | the target tile |
[out] | ptValidRegion | the valid region inside the root tile |
[out] | ptOffset | the offsite of the root tile as if the root tile is inside the target tile |
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
[in] | ptTargetTile | the target tile |
[in] | ptRegion | the target region |
[out] | ptOutput | the child tile |
[in] | bClipRegion | whether clip the region for the child tile |
non-NULL | the child tile |
NULL | the given region is outside the target tile |
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
[in] | ptTarget | the target tile |
[in] | ptReference | the reference tile |
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
[in] | ptTarget | the target tile |
[in] | ptReference | the reference tile |
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
[in] | ptTarget | the target tile |
[in] | ptReference | the reference tile |
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
[in] | ptTile | the target tile |
[out] | ptLocation | the absolute location in the root tile |
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
[in] | ptTarget | the target tile |
[in] | ptReference | the reference tile |
[out] | ptBuffer | the difference stored in a region |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
[in] | wMode | the copy mode |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
[in] | wMode | the copy mode |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
[in] | wMode | the copy mode |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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.
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
[in] | chMaskColour | the key colour in any 8bit colour format |
[in] | wMode | the copy mode |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
[in] | hwMaskColour | the key colour in any 16bit colour format |
[in] | wMode | the copy mode |
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
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[in] | ptTarget | the target tile |
[in] | ptRegion | the target region, NULL means using the region of the target tile. |
[in] | wMaskColour | the key colour in any 32bit colour format |
[in] | wMode | the copy mode |