Data Structures | |
union | __arm_2d_color_fast_rgb_t |
3x16-bit packed RGB color autovectorizer friendly format More... | |
struct | __arm_2d_color_fast_rgb_t.__unnamed101__ |
Macros | |
#define | arm_2d_convert_colour_to_rgb888(__SRC_ADDR, __DES_ADDR) |
#define | arm_2d_convert_colour_to_rgb565(__SRC_ADDR, __DES_ADDR) |
#define | arm_2d_pixel_brga8888_to_rgb565(__COLOUR) |
#define | arm_2d_pixel_brga8888_to_gray8(__COLOUR) |
Typedefs | |
typedef arm_2d_op_src_t | arm_2d_op_cl_convt_t |
Functions | |
__STATIC_INLINE void | __arm_2d_rgb565_unpack (uint16_t hwColor, __arm_2d_color_fast_rgb_t *ptRGB) |
unpack a rgb565 colour into a given __arm_2d_color_fast_rgb_t object More... | |
__STATIC_INLINE void | __arm_2d_brga8888_unpack (uint32_t wColor, __arm_2d_color_fast_rgb_t *ptRGB) |
unpack a 32bit colour into a given __arm_2d_color_fast_rgb_t object More... | |
__STATIC_INLINE uint8_t | __arm_2d_gray8_pack (__arm_2d_color_fast_rgb_t *ptRGB) |
generate a gray8 colour from a __arm_2d_color_fast_rgb_t object More... | |
__STATIC_INLINE uint16_t | __arm_2d_rgb565_pack (__arm_2d_color_fast_rgb_t *ptRGB) |
generate a rgb565 colour from a __arm_2d_color_fast_rgb_t object More... | |
__STATIC_INLINE uint32_t | __arm_2d_cccn888_pack (__arm_2d_color_fast_rgb_t *ptRGB) |
generate a cccn888 colour from a __arm_2d_color_fast_rgb_t object More... | |
arm_fsm_rt_t | arm_2dp_convert_colour_to_gray8 (arm_2d_op_cl_convt_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget) |
convert the colour format of a given tile to gray8 More... | |
arm_fsm_rt_t | arm_2dp_convert_colour_to_rgb888 (arm_2d_op_cl_convt_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget) |
convert the colour format of a given tile to rgb888 More... | |
arm_fsm_rt_t | arm_2dp_convert_colour_to_rgb565 (arm_2d_op_cl_convt_t *ptOP, const arm_2d_tile_t *ptSource, const arm_2d_tile_t *ptTarget) |
convert the colour format of a given tile to rgb565 More... | |
union __arm_2d_color_fast_rgb_t |
3x16-bit packed RGB color autovectorizer friendly format
Data Fields | ||
---|---|---|
uint16_t | BGRA[4] | |
struct __arm_2d_color_fast_rgb_t.__unnamed101__ | __unnamed__ |
struct __arm_2d_color_fast_rgb_t.__unnamed101__ |
#define arm_2d_convert_colour_to_rgb888 | ( | __SRC_ADDR, | |
__DES_ADDR | |||
) |
#define arm_2d_convert_colour_to_rgb565 | ( | __SRC_ADDR, | |
__DES_ADDR | |||
) |
#define arm_2d_pixel_brga8888_to_rgb565 | ( | __COLOUR | ) |
#define arm_2d_pixel_brga8888_to_gray8 | ( | __COLOUR | ) |
__STATIC_INLINE void __arm_2d_rgb565_unpack | ( | uint16_t | hwColor, |
__arm_2d_color_fast_rgb_t * | ptRGB | ||
) |
unpack a rgb565 colour into a given __arm_2d_color_fast_rgb_t object
[in] | hwColour | the target rgb565 colour |
[out] | ptRGB | a __arm_2d_color_fast_rgb_t object |
__STATIC_INLINE void __arm_2d_brga8888_unpack | ( | uint32_t | wColor, |
__arm_2d_color_fast_rgb_t * | ptRGB | ||
) |
unpack a 32bit colour into a given __arm_2d_color_fast_rgb_t object
[in] | wColour | the target brga888 colour |
[out] | ptRGB | a __arm_2d_color_fast_rgb_t object |
__STATIC_INLINE uint8_t __arm_2d_gray8_pack | ( | __arm_2d_color_fast_rgb_t * | ptRGB | ) |
generate a gray8 colour from a __arm_2d_color_fast_rgb_t object
[in] | ptRGB | the target __arm_2d_color_fast_rgb_t object |
__STATIC_INLINE uint16_t __arm_2d_rgb565_pack | ( | __arm_2d_color_fast_rgb_t * | ptRGB | ) |
generate a rgb565 colour from a __arm_2d_color_fast_rgb_t object
[in] | ptRGB | the target __arm_2d_color_fast_rgb_t object |
__STATIC_INLINE uint32_t __arm_2d_cccn888_pack | ( | __arm_2d_color_fast_rgb_t * | ptRGB | ) |
generate a cccn888 colour from a __arm_2d_color_fast_rgb_t object
[in] | ptRGB | the target __arm_2d_color_fast_rgb_t object |
arm_fsm_rt_t arm_2dp_convert_colour_to_gray8 | ( | arm_2d_op_cl_convt_t * | ptOP, |
const arm_2d_tile_t * | ptSource, | ||
const arm_2d_tile_t * | ptTarget | ||
) |
convert the colour format of a given tile to gray8
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[out] | ptTarget | the output tile (holding a buffer) |
arm_fsm_rt_t arm_2dp_convert_colour_to_rgb888 | ( | arm_2d_op_cl_convt_t * | ptOP, |
const arm_2d_tile_t * | ptSource, | ||
const arm_2d_tile_t * | ptTarget | ||
) |
convert the colour format of a given tile to rgb888
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[out] | ptTarget | the output tile (holding a buffer) |
arm_fsm_rt_t arm_2dp_convert_colour_to_rgb565 | ( | arm_2d_op_cl_convt_t * | ptOP, |
const arm_2d_tile_t * | ptSource, | ||
const arm_2d_tile_t * | ptTarget | ||
) |
convert the colour format of a given tile to rgb565
[in] | ptOP | the control block, NULL means using the default control block |
[in] | ptSource | the source tile |
[out] | ptTarget | the output tile (holding a buffer) |