[vlc-commits] vout: privatize vout_display functions
Rémi Denis-Courmont
git at videolan.org
Thu Oct 16 19:26:11 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Oct 14 20:54:20 2014 +0300| [43cc4df758330e034f6e2e0ee143274ce03bea0d] | committer: Rémi Denis-Courmont
vout: privatize vout_display functions
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43cc4df758330e034f6e2e0ee143274ce03bea0d
---
include/vlc_vout_wrapper.h | 26 ++++++++++++++------------
src/libvlccore.sym | 11 -----------
2 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/include/vlc_vout_wrapper.h b/include/vlc_vout_wrapper.h
index bf49dfd..419bfc8 100644
--- a/include/vlc_vout_wrapper.h
+++ b/include/vlc_vout_wrapper.h
@@ -74,23 +74,25 @@ typedef struct {
/**
* It creates a vout managed display.
*/
-VLC_API vout_display_t * vout_NewDisplay( vout_thread_t *, const video_format_t *, const vout_display_state_t *, const char *psz_module, mtime_t i_double_click_timeout, mtime_t i_hide_timeout );
+vout_display_t *vout_NewDisplay( vout_thread_t *, const video_format_t *,
+ const vout_display_state_t *, const char *module,
+ mtime_t double_click_timeout, mtime_t hide_timeout );
/**
* It destroy a vout managed display.
*/
-VLC_API void vout_DeleteDisplay(vout_display_t *, vout_display_state_t *);
+void vout_DeleteDisplay(vout_display_t *, vout_display_state_t *);
+bool vout_IsDisplayFiltered(vout_display_t *);
+picture_t * vout_FilterDisplay(vout_display_t *, picture_t *);
+bool vout_AreDisplayPicturesInvalid(vout_display_t *);
-VLC_API bool vout_IsDisplayFiltered(vout_display_t *);
-VLC_API picture_t * vout_FilterDisplay(vout_display_t *, picture_t *);
-VLC_API bool vout_AreDisplayPicturesInvalid(vout_display_t *);
+bool vout_ManageDisplay(vout_display_t *, bool allow_reset_pictures);
-VLC_API bool vout_ManageDisplay(vout_display_t *, bool allow_reset_pictures);
-
-VLC_API void vout_SetDisplayFullscreen(vout_display_t *, bool is_fullscreen);
-VLC_API void vout_SetDisplayFilled(vout_display_t *, bool is_filled);
-VLC_API void vout_SetDisplayZoom(vout_display_t *, unsigned num, unsigned den);
-VLC_API void vout_SetDisplayAspect(vout_display_t *, unsigned dar_num, unsigned dar_den);
-VLC_API void vout_SetDisplayCrop(vout_display_t *, unsigned crop_num, unsigned crop_den, unsigned left, unsigned top, int right, int bottom);
+void vout_SetDisplayFullscreen(vout_display_t *, bool is_fullscreen);
+void vout_SetDisplayFilled(vout_display_t *, bool is_filled);
+void vout_SetDisplayZoom(vout_display_t *, unsigned num, unsigned den);
+void vout_SetDisplayAspect(vout_display_t *, unsigned num, unsigned den);
+void vout_SetDisplayCrop(vout_display_t *, unsigned num, unsigned den,
+ unsigned left, unsigned top, int right, int bottom);
#endif /* VLC_VOUT_WRAPPER_H */
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index fc45e83..83e2c05 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -631,17 +631,6 @@ vout_OSDText
vout_Request
vout_window_New
vout_window_Delete
-vout_NewDisplay
-vout_DeleteDisplay
-vout_AreDisplayPicturesInvalid
-vout_IsDisplayFiltered
-vout_FilterDisplay
-vout_ManageDisplay
-vout_SetDisplayFullscreen
-vout_SetDisplayFilled
-vout_SetDisplayZoom
-vout_SetDisplayAspect
-vout_SetDisplayCrop
vout_display_GetDefaultDisplaySize
vout_display_PlacePicture
vout_display_SendMouseMovedDisplayCoordinates
More information about the vlc-commits
mailing list