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"
49# pragma clang diagnostic push
50# pragma clang diagnostic ignored "-Wgnu-zero-variadic-macro-arguments"
51# pragma clang diagnostic ignored "-Wunused-function"
52# pragma clang diagnostic ignored "-Wmissing-declarations"
59#define arm_2d_draw_box arm_2d_helper_draw_box
77#define arm_2d_helper_is_time_out(__ms, ...) \
78 ({ static int64_t arm_2d_safe_name(s_lTimestamp); \
79 __arm_2d_helper_is_time_out(arm_2d_helper_convert_ms_to_ticks(__ms), \
80 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
97#define arm_2d_helper_time_liner_slider( __from, \
102 ({static int64_t arm_2d_safe_name(s_lTimestamp); \
103 __arm_2d_helper_time_liner_slider((__from), \
105 arm_2d_helper_convert_ms_to_ticks(__ms), \
107 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
124#define arm_2d_helper_time_cos_slider( __from, \
130 ({static int64_t arm_2d_safe_name(s_lTimestamp); \
131 __arm_2d_helper_time_cos_slider((__from), \
133 arm_2d_helper_convert_ms_to_ticks(__ms), \
136 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
152#define arm_2d_helper_time_half_cos_slider( __from, \
157 ({static int64_t arm_2d_safe_name(s_lTimestamp); \
158 __arm_2d_helper_time_half_cos_slider((__from), \
160 arm_2d_helper_convert_ms_to_ticks(__ms), \
162 (&arm_2d_safe_name(s_lTimestamp),##__VA_ARGS__));})
177#define impl_film( __sprites_tile, \
184 .use_as__arm_2d_tile_t = \
185 impl_child_tile((__sprites_tile), 0, 0, (__width), (__height)), \
186 .hwColumn = (__column), \
187 .hwFrameNum = (__frame_count), \
188 .hwPeriodPerFrame = (__period), \
287 int64_t *plTimestamp);
308 int64_t *plTimestamp);
331 int64_t *plTimestamp);
358 int16_t iBorderWidth,
390#if defined(__clang__)
391# pragma clang diagnostic pop