Commit e0e818e1 authored by Laurent Aimar's avatar Laurent Aimar

Moved vout_AllocatePicture out of vlc_vout.h

parent 501d6e22
......@@ -68,19 +68,6 @@ struct picture_heap_t
* Prototypes
*****************************************************************************/
/**
* Initialise different fields of a picture_t and allocates the picture buffer.
* \param p_this a vlc object
* \param p_pic pointer to the picture structure.
* \param i_chroma the wanted chroma for the picture.
* \param i_width the wanted width for the picture.
* \param i_height the wanted height for the picture.
* \param i_aspect the wanted aspect ratio for the picture.
*/
VLC_EXPORT( int, vout_AllocatePicture,( vlc_object_t *p_this, picture_t *p_pic, uint32_t i_chroma, int i_width, int i_height, int i_sar_num, int i_sar_den ) );
#define vout_AllocatePicture(a,b,c,d,e,f,g) \
vout_AllocatePicture(VLC_OBJECT(a),b,c,d,e,f,g)
/**
* \defgroup video_output Video Output
* This module describes the programming interface for video output threads.
......
......@@ -605,7 +605,6 @@ vlm_MessageDelete
vlm_MessageNew
vlm_MessageSimpleNew
vlm_New
vout_AllocatePicture
vout_Close
vout_Create
vout_CreatePicture
......
......@@ -102,6 +102,11 @@ struct vout_thread_sys_t
vlc_mouse_t mouse;
};
/* */
int vout_AllocatePicture( vlc_object_t *, picture_t *, uint32_t i_chroma, int i_width, int i_height, int i_sar_num, int i_sar_den );
#define vout_AllocatePicture(a,b,c,d,e,f,g) \
vout_AllocatePicture(VLC_OBJECT(a),b,c,d,e,f,g)
/* DO NOT use vout_RenderPicture/vout_IntfInit unless you are in src/video_ouput */
picture_t *vout_RenderPicture( vout_thread_t *, picture_t *,
subpicture_t *,
......
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