video: Move definitions of some macro to a file actually using it. 95/224895/2
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 16 Jan 2020 10:44:23 +0000 (19:44 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 17 Feb 2020 02:35:41 +0000 (02:35 +0000)
Change-Id: I18424647002ed3001ab4910626c11881482492db

src/bin/video/e_video_internal.h
src/bin/video/iface/e_video_hwc.c

index 644513594d2e8fd00897a5661624b05813951de2..7aeba901313b720ab3c5f0dedf5381a32288a3bf 100644 (file)
 #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;
 
index 752db35d6459db55b39a7ee2316ad68ac3af76b9..c4ad66b40f6280baa90b43cf4394c5774ddb7964 100644 (file)
 #include <tdm_helper.h>
 #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)