--- /dev/null
+#ifndef E_VIDEO_COMP_IFACE
+#define E_VIDEO_COMP_IFACE
+
+#include "e_client_video_intern.h"
+
+typedef struct _E_Video_Comp_Iface E_Video_Comp_Iface;
+
+struct _E_Video_Comp_Iface
+{
+ void (*destroy)(E_Video_Comp_Iface *iface);
+ Eina_Bool (*property_get)(E_Video_Comp_Iface *iface, unsigned int id, tdm_value *value);
+ Eina_Bool (*property_set)(E_Video_Comp_Iface *iface, unsigned int id, tdm_value value, Eina_Bool sync);
+ Eina_Bool (*property_delay_set)(E_Video_Comp_Iface *iface, unsigned int id, tdm_value value);
+ Eina_Bool (*available_properties_get)(E_Video_Comp_Iface *iface, const tdm_prop **props, int *count);
+ /* FIXME for hwc windows mode */
+ Eina_Bool (*info_get)(E_Video_Comp_Iface *iface, E_Client_Video_Info *info);
+ Eina_Bool (*commit_data_release)(E_Video_Comp_Iface *iface, unsigned int sequence, unsigned int tv_sec, unsigned int tv_usec);
+ tbm_surface_h (*tbm_surface_get)(E_Video_Comp_Iface *iface);
+};
+
+#endif
#ifndef _E_VIDEO_INTERNAL_H_
#define _E_VIDEO_INTERNAL_H_
-#include "e_client_video_intern.h"
-
#include <tdm.h>
#include <tbm_surface.h>
-typedef struct _E_Video_Comp_Iface E_Video_Comp_Iface;
+#include "e_video_comp_iface.h"
/* A callback which is called when HWC backend fails to render buffer. */
typedef void (*E_Video_Hwc_Render_Fail_Cb)(E_Client_Video *ecv);
-struct _E_Video_Comp_Iface
-{
- void (*destroy)(E_Video_Comp_Iface *iface);
- Eina_Bool (*property_get)(E_Video_Comp_Iface *iface, unsigned int id, tdm_value *value);
- Eina_Bool (*property_set)(E_Video_Comp_Iface *iface, unsigned int id, tdm_value value, Eina_Bool sync);
- Eina_Bool (*property_delay_set)(E_Video_Comp_Iface *iface, unsigned int id, tdm_value value);
- Eina_Bool (*available_properties_get)(E_Video_Comp_Iface *iface, const tdm_prop **props, int *count);
- /* FIXME for hwc windows mode */
- Eina_Bool (*info_get)(E_Video_Comp_Iface *iface, E_Client_Video_Info *info);
- Eina_Bool (*commit_data_release)(E_Video_Comp_Iface *iface, unsigned int sequence, unsigned int tv_sec, unsigned int tv_usec);
- tbm_surface_h (*tbm_surface_get)(E_Video_Comp_Iface *iface);
-};
-
EINTERN E_Hwc_Policy e_zone_video_hwc_policy_get(E_Zone *zone);
/* For fallback interface */