30#ifndef __ARM_2D_HELPER_H__
31#define __ARM_2D_HELPER_H__
35#include "./__arm_2d_helper_common.h"
36#include "./arm_2d_helper_pfb.h"
37#include "./arm_2d_helper_scene.h"
38#include "./arm_2d_disp_adapters.h"
39#include "./arm_2d_helper_list.h"
40#include "./arm_2d_helper_shape.h"
41#include "./arm_2d_helper_font.h"
42#include "./arm_2d_helper_control.h"
55# pragma clang diagnostic push
56# pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
57# pragma clang diagnostic ignored "-Wunused-function"
58# pragma clang diagnostic ignored "-Wmissing-declarations"
59# pragma clang diagnostic ignored "-Wpadded"
60#elif defined(__IS_COMPILER_ARM_COMPILER_5__)
61# pragma diag_suppress 64
66#ifdef __ARM_2D_HELPER_IMPLEMENT__
67# define __ARM_2D_IMPL__
68#elif defined(__ARM_2D_HELPER_INHERIT__)
69# define __ARM_2D_INHERIT__
71#include "arm_2d_utils.h"
77#define arm_2d_draw_box arm_2d_helper_draw_box
95#define arm_2d_helper_is_time_out(__ms, ...) \
96 ({ static int64_t arm_2d_safe_name(s_lTimestamp); \
97 __arm_2d_helper_is_time_out(arm_2d_helper_convert_ms_to_ticks(__ms), \
98 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
101#define arm_2d_helper_time_elapsed(__timestamp_ptr) \
102 arm_2d_helper_convert_ticks_to_ms( \
103 __arm_2d_helper_time_elapsed(__timestamp_ptr))
119#define arm_2d_helper_time_liner_slider( __from, \
124 ({static int64_t arm_2d_safe_name(s_lTimestamp); \
125 __arm_2d_helper_time_liner_slider((__from), \
127 arm_2d_helper_convert_ms_to_ticks(__ms), \
129 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
146#define arm_2d_helper_time_cos_slider( __from, \
152 ({static int64_t arm_2d_safe_name(s_lTimestamp); \
153 __arm_2d_helper_time_cos_slider((__from), \
155 arm_2d_helper_convert_ms_to_ticks(__ms), \
158 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
174#define arm_2d_helper_time_half_cos_slider( __from, \
179 ({static int64_t arm_2d_safe_name(s_lTimestamp); \
180 __arm_2d_helper_time_half_cos_slider((__from), \
182 arm_2d_helper_convert_ms_to_ticks(__ms), \
184 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
199#define impl_film( __sprites_tile, \
206 .use_as__arm_2d_tile_t = \
207 impl_child_tile((__sprites_tile), 0, 0, (__width), (__height)), \
208 .hwColumn = (__column), \
209 .hwFrameNum = (__frame_count), \
210 .hwPeriodPerFrame = (__period), \
228 uint16_t hwDataAvailable;
363 int64_t *plTimestamp);
384 int64_t *plTimestamp);
407 int64_t *plTimestamp);
434 int16_t iBorderWidth,
570#if __ARM_2D_HELPER_CFG_LAYOUT_DEBUG_MODE__
573void __arm_2d_helper_layout_debug_print_label(const
arm_2d_tile_t *ptTile,
575 const
char *pchString);
581#include "arm_2d_helper_built_in.h"
583#if defined(__clang__)
584# pragma clang diagnostic pop
585#elif __IS_COMPILER_ARM_COMPILER_5__
586#pragma diag_warning 64
589#undef __ARM_2D_HELPER_IMPLEMENT__
590#undef __ARM_2D_HELPER_INHERIT__