/* convert the colour format of a given tile to rgb888  */
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  */
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)
{
    assert(NULL != ptSource);
    assert(NULL != ptTarget);
    ARM_2D_IMPL(arm_2d_op_cl_convt_t, ptOP);
    if (!__arm_2d_op_acquire((arm_2d_op_core_t *)ptThis)) {
        return arm_fsm_rt_on_going;
    }
    OP_CORE.ptOp = &ARM_2D_OP_CONVERT_TO_RGB888;
    this.Target.ptTile = ptTarget;
    this.Target.ptRegion = NULL;
    this.Source.ptTile = ptSource;
    return __arm_2d_op_invoke((arm_2d_op_core_t *)ptThis);
}