From b18e51a792654a604e314b9763ddc78c9da337f3 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Thu, 16 Jan 2020 19:44:23 +0900 Subject: [PATCH] video: Move definitions of some macro to a file actually using it. Change-Id: I18424647002ed3001ab4910626c11881482492db --- src/bin/video/e_video_internal.h | 6 ------ src/bin/video/iface/e_video_hwc.c | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/video/e_video_internal.h b/src/bin/video/e_video_internal.h index 644513594d..7aeba90131 100644 --- a/src/bin/video/e_video_internal.h +++ b/src/bin/video/e_video_internal.h @@ -31,12 +31,6 @@ #undef NEVER_GET_HERE #define NEVER_GET_HERE() CRI("** need to improve more **") -#define GEO_FMT "(%dx%d+%d+%d) -> (%dx%d+%d+%d) transform(%d)" -#define GEO_ARG(g) \ - (g)->input_r.w, (g)->input_r.h, (g)->input_r.x, (g)->input_r.y, \ - (g)->output_r.w, (g)->output_r.h, (g)->output_r.x, (g)->output_r.y, \ - (g)->transform - typedef struct _E_Client_Video E_Client_Video; typedef struct _E_Video_Comp_Iface E_Video_Comp_Iface; diff --git a/src/bin/video/iface/e_video_hwc.c b/src/bin/video/iface/e_video_hwc.c index 752db35d64..c4ad66b40f 100644 --- a/src/bin/video/iface/e_video_hwc.c +++ b/src/bin/video/iface/e_video_hwc.c @@ -10,6 +10,12 @@ #include #endif +#define GEO_FMT "(%dx%d+%d+%d) -> (%dx%d+%d+%d) transform(%d)" +#define GEO_ARG(g) \ + (g)->input_r.w, (g)->input_r.h, (g)->input_r.x, (g)->input_r.y, \ + (g)->output_r.w, (g)->output_r.h, (g)->output_r.x, (g)->output_r.y, \ + (g)->transform + #define IFACE_ENTRY \ E_Video_Hwc *evh; \ evh = container_of(iface, E_Video_Hwc, iface) -- 2.34.1