Commit f15f2bd7 authored by Laurent Aimar's avatar Laurent Aimar

Added vout_internal.h.

parent 14215b31
...@@ -483,7 +483,6 @@ struct vout_thread_t ...@@ -483,7 +483,6 @@ struct vout_thread_t
/** \name Thread properties and locks */ /** \name Thread properties and locks */
/**@{*/ /**@{*/
vlc_mutex_t picture_lock; /**< picture heap lock */ vlc_mutex_t picture_lock; /**< picture heap lock */
vlc_mutex_t subpicture_lock; /**< subpicture heap lock */
vlc_mutex_t change_lock; /**< thread change lock */ vlc_mutex_t change_lock; /**< thread change lock */
vlc_mutex_t vfilter_lock; /**< video filter2 change lock */ vlc_mutex_t vfilter_lock; /**< video filter2 change lock */
vout_sys_t * p_sys; /**< system output method */ vout_sys_t * p_sys; /**< system output method */
...@@ -701,13 +700,6 @@ VLC_EXPORT( void, vout_LinkPicture, ( vout_thread_t *, picture_t * ...@@ -701,13 +700,6 @@ VLC_EXPORT( void, vout_LinkPicture, ( vout_thread_t *, picture_t *
VLC_EXPORT( void, vout_UnlinkPicture, ( vout_thread_t *, picture_t * ) ); VLC_EXPORT( void, vout_UnlinkPicture, ( vout_thread_t *, picture_t * ) );
VLC_EXPORT( void, vout_PlacePicture, ( vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int * ) ); VLC_EXPORT( void, vout_PlacePicture, ( vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int * ) );
/* DO NOT use vout_RenderPicture unless you are in src/video_ouput */
picture_t * vout_RenderPicture ( vout_thread_t *, picture_t *,
subpicture_t *, bool b_paused );
/* DO NOT use vout_CountPictureAvailable unless your are in src/input/dec.c (no exception) */
int vout_CountPictureAvailable( vout_thread_t * );
VLC_EXPORT( int, vout_vaControlDefault, ( vout_thread_t *, int, va_list ) ); VLC_EXPORT( int, vout_vaControlDefault, ( vout_thread_t *, int, va_list ) );
VLC_EXPORT( void *, vout_RequestWindow, ( vout_thread_t *, int *, int *, unsigned int *, unsigned int * ) ); VLC_EXPORT( void *, vout_RequestWindow, ( vout_thread_t *, int *, int *, unsigned int *, unsigned int * ) );
VLC_EXPORT( void, vout_ReleaseWindow, ( vout_thread_t *, void * ) ); VLC_EXPORT( void, vout_ReleaseWindow, ( vout_thread_t *, void * ) );
......
...@@ -321,6 +321,7 @@ SOURCES_libvlc_common = \ ...@@ -321,6 +321,7 @@ SOURCES_libvlc_common = \
video_output/video_widgets.c \ video_output/video_widgets.c \
video_output/vout_subpictures.c \ video_output/vout_subpictures.c \
video_output/vout_intf.c \ video_output/vout_intf.c \
video_output/vout_internal.h \
audio_output/aout_internal.h \ audio_output/aout_internal.h \
audio_output/common.c \ audio_output/common.c \
audio_output/dec.c \ audio_output/dec.c \
......
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include <vlc_filter.h> #include <vlc_filter.h>
#include <vlc_osd.h> #include <vlc_osd.h>
#include <assert.h>
#if defined( __APPLE__ ) #if defined( __APPLE__ )
/* Include darwin_specific.h here if needed */ /* Include darwin_specific.h here if needed */
...@@ -57,8 +58,8 @@ ...@@ -57,8 +58,8 @@
#include "input/input_internal.h" #include "input/input_internal.h"
#include "modules/modules.h" #include "modules/modules.h"
#include <assert.h>
#include "vout_pictures.h" #include "vout_pictures.h"
#include "vout_internal.h"
/***************************************************************************** /*****************************************************************************
* Local prototypes * Local prototypes
......
/*****************************************************************************
* vout_internal.h : Internal vout definitions
*****************************************************************************
* Copyright (C) 2008 the VideoLAN team
* Copyright (C) 2008 Laurent Aimar
* $Id$
*
* Authors: Laurent Aimar < fenrir _AT_ videolan _DOT_ org >
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
# error This header file can only be included from LibVLC.
#endif
#ifndef _VOUT_INTERNAL_H
#define _VOUT_INTERNAL_H 1
/* DO NOT use vout_RenderPicture unless you are in src/video_ouput */
picture_t *vout_RenderPicture( vout_thread_t *, picture_t *,
subpicture_t *, bool b_paused );
/* DO NOT use vout_CountPictureAvailable unless your are in src/input/decoder.c (no exception) */
int vout_CountPictureAvailable( vout_thread_t * );
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment