[vlc-commits] vout: remove commented code (moved to vlc_vout_wrapper.h)

Felix Abecassis git at videolan.org
Sat Feb 8 15:26:21 CET 2014


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Wed Jan 29 14:37:45 2014 +0000| [167a7a532172a2040eef06e7b4728a96303a5bda] | committer: Jean-Baptiste Kempf

vout: remove commented code (moved to vlc_vout_wrapper.h)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=167a7a532172a2040eef06e7b4728a96303a5bda
---

 src/video_output/display.h |   82 --------------------------------------------
 1 file changed, 82 deletions(-)

diff --git a/src/video_output/display.h b/src/video_output/display.h
index 86746fd..1c22918 100644
--- a/src/video_output/display.h
+++ b/src/video_output/display.h
@@ -23,88 +23,6 @@
 
 #include <vlc_vout_wrapper.h>
 
-#if 0
-#include <vlc_vout_display.h>
-#include <vlc_filter.h>
-
-/**
- * It retreive a picture from the display
- */
-static inline picture_pool_t *vout_display_Pool(vout_display_t *vd, unsigned count)
-{
-    return vd->pool(vd, count);
-}
-
-/**
- * It preparse a picture for display.
- */
-static inline void vout_display_Prepare(vout_display_t *vd, picture_t *picture)
-{
-    if (vd->prepare )
-        vd->prepare(vd, picture);
-}
-
-/**
- * It display a picture.
- */
-static inline void vout_display_Display(vout_display_t *vd, picture_t *picture)
-{
-    vd->display(vd, picture);
-}
-
-/**
- * It holds a state for a vout display.
- */
-typedef struct {
-    vout_display_cfg_t cfg;
-
-    bool is_on_top;
-    struct {
-        int num;
-        int den;
-    } sar;
-} vout_display_state_t;
-
-/**
- * It creates a vout managed display.
- */
-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 );
-/**
- * It creates a vout managed display wrapping a video splitter.
- */
-vout_display_t *vout_NewSplitter(vout_thread_t *,
-                                 const video_format_t *source,
-                                 const vout_display_state_t *state,
-                                 const char *module,
-                                 const char *splitter,
-                                 mtime_t double_click_timeout,
-                                 mtime_t hide_timeout );
-
-/**
- * It destroy a vout managed display.
- */
-void vout_DeleteDisplay(vout_display_t *, vout_display_state_t *);
-
-picture_t *vout_FilterDisplay(vout_display_t *, picture_t *);
-
-void vout_ManageDisplay(vout_display_t *, bool allow_reset_pictures);
-
-void vout_SetDisplayFullscreen(vout_display_t *, bool is_fullscreen);
-void vout_SetDisplayFilled(vout_display_t *, bool is_filled);
-void vout_SetDisplayZoom(vout_display_t *, int num, int den);
-void vout_SetWindowState(vout_display_t *, unsigned state);
-void vout_SetDisplayAspect(vout_display_t *, unsigned sar_num, unsigned sar_den);
-void vout_SetDisplayCrop(vout_display_t *,
-                         unsigned crop_num, unsigned crop_den,
-                         unsigned x, unsigned y, unsigned width, unsigned height);
-
-#endif
-
 vout_display_t *vout_NewSplitter(vout_thread_t *vout,
                                  const video_format_t *source,
                                  const vout_display_state_t *state,



More information about the vlc-commits mailing list