e_video_debug: make an internal header 34/305034/1
authorSooChan Lim <sc1.lim@samsung.com>
Sun, 21 Jan 2024 03:57:00 +0000 (12:57 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 26 Jan 2024 00:59:23 +0000 (09:59 +0900)
Move the internal resources and the function declaration
to the internal header

Change-Id: I9f5a2ad09b19a745eb1d308dc17b2ae12c54744a

src/bin/e_info_server.c
src/bin/video/e_comp_wl_video.c
src/bin/video/e_video_debug.c
src/bin/video/e_video_debug.h
src/bin/video/e_video_debug_intern.h [new file with mode: 0644]
src/bin/video/iface/e_video_hwc.c

index 085302e..bd7bf49 100644 (file)
@@ -26,6 +26,7 @@
 #include "e_hwc_intern.h"
 #include "e_focus_intern.h"
 #include "e_client_video_intern.h"
+#include "e_video_debug_intern.h"
 
 #include <tbm_bufmgr.h>
 #include <tbm_surface.h>
index b01b8d7..952a3c6 100644 (file)
@@ -5,6 +5,7 @@
 #include "e.h"
 #include "e_client_video_intern.h"
 #include "e_video_internal.h"
+#include "e_video_debug_intern.h"
 
 #include <tizen-extension-server-protocol.h>
 
index 4f78116..4dec42e 100644 (file)
@@ -1,4 +1,5 @@
 #include "e_video_internal.h"
+#include "e_video_debug_intern.h"
 
 static Eina_Bool video_to_primary = EINA_FALSE;
 static Eina_Bool video_punch = EINA_FALSE;
index 6c48204..bf522f9 100644 (file)
@@ -1,13 +1,7 @@
 #ifndef _E_VIDEO_DEBUG_H_
 #define _E_VIDEO_DEBUG_H_
 
-#include <Eina.h>
-
 E_API   Eina_Bool   e_video_debug_display_primary_plane_value_get(void);
 E_API   void        e_video_debug_display_primary_plane_set(Eina_Bool set);
-EINTERN Eina_Bool   e_video_debug_punch_value_get(void);
-EINTERN void        e_video_debug_punch_set(Eina_Bool set);
-EINTERN void        e_video_debug_screen_punch_set(int x, int y, int w, int h, int a, int r, int g, int b);
-EINTERN void        e_video_debug_screen_punch_unset(void);
 
 #endif
diff --git a/src/bin/video/e_video_debug_intern.h b/src/bin/video/e_video_debug_intern.h
new file mode 100644 (file)
index 0000000..c1dc425
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef E_VIDEO_DEBUG_INTERN_H
+#define E_VIDEO_DEBUG_INTERN_H
+
+EINTERN Eina_Bool   e_video_debug_punch_value_get(void);
+EINTERN void        e_video_debug_punch_set(Eina_Bool set);
+EINTERN void        e_video_debug_screen_punch_set(int x, int y, int w, int h, int a, int r, int g, int b);
+EINTERN void        e_video_debug_screen_punch_unset(void);
+
+#endif
index 3133fc1..283d35a 100644 (file)
@@ -12,6 +12,7 @@
 #include "e_output_intern.h"
 #include "e_comp_wl_video_buffer_intern.h"
 #include "e_util_video_intern.h"
+#include "e_video_debug_intern.h"
 
 #include <wayland-tbm-server.h>