Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
04180282
Commit
04180282
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: remove leading underscores
parent
0ec6ee7c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
20 deletions
+22
-20
include/vlc_vout.h
include/vlc_vout.h
+6
-7
src/libvlccore.sym
src/libvlccore.sym
+3
-3
src/video_output/video_output.c
src/video_output/video_output.c
+5
-3
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+8
-7
No files found.
include/vlc_vout.h
View file @
04180282
...
@@ -80,10 +80,9 @@ struct picture_heap_t
...
@@ -80,10 +80,9 @@ struct picture_heap_t
* \param i_height the wanted height for the picture.
* \param i_height the wanted height for the picture.
* \param i_aspect the wanted aspect ratio 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) \
#define vout_AllocatePicture(a,b,c,d,e,f,g) \
__vout_AllocatePicture(VLC_OBJECT(a),b,c,d,e,f,g)
vout_AllocatePicture(VLC_OBJECT(a),b,c,d,e,f,g)
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
)
);
/**
/**
* \defgroup video_output Video Output
* \defgroup video_output Video Output
...
@@ -244,8 +243,8 @@ struct vout_thread_t
...
@@ -244,8 +243,8 @@ struct vout_thread_t
* \return a vout if p_fmt is non NULL and the request is successfull, NULL
* \return a vout if p_fmt is non NULL and the request is successfull, NULL
* otherwise
* otherwise
*/
*/
#define vout_Request(a,b,c) __vout_Request(VLC_OBJECT(a),b,c)
VLC_EXPORT
(
vout_thread_t
*
,
vout_Request
,
(
vlc_object_t
*
p_this
,
vout_thread_t
*
p_vout
,
video_format_t
*
p_fmt
)
);
VLC_EXPORT
(
vout_thread_t
*
,
__vout_Request
,
(
vlc_object_t
*
p_this
,
vout_thread_t
*
p_vout
,
video_format_t
*
p_fmt
)
);
#define vout_Request(a,b,c) vout_Request(VLC_OBJECT(a),b,c)
/**
/**
* This function will create a suitable vout for a given p_fmt. It will never
* This function will create a suitable vout for a given p_fmt. It will never
...
@@ -256,8 +255,8 @@ VLC_EXPORT( vout_thread_t *, __vout_Request, ( vlc_object_t *p_this, vout_thr
...
@@ -256,8 +255,8 @@ VLC_EXPORT( vout_thread_t *, __vout_Request, ( vlc_object_t *p_this, vout_thr
* \param p_fmt the video format requested
* \param p_fmt the video format requested
* \return a vout if the request is successfull, NULL otherwise
* \return a vout if the request is successfull, NULL otherwise
*/
*/
#define vout_Create(a,b) __vout_Create(VLC_OBJECT(a),b)
VLC_EXPORT
(
vout_thread_t
*
,
vout_Create
,
(
vlc_object_t
*
p_this
,
video_format_t
*
p_fmt
)
);
VLC_EXPORT
(
vout_thread_t
*
,
__vout_Create
,
(
vlc_object_t
*
p_this
,
video_format_t
*
p_fmt
)
);
#define vout_Create(a,b) vout_Create(VLC_OBJECT(a),b)
/**
/**
* This function will close a vout created by vout_Create or vout_Request.
* This function will close a vout created by vout_Create or vout_Request.
...
...
src/libvlccore.sym
View file @
04180282
...
@@ -595,10 +595,10 @@ vlm_MessageDelete
...
@@ -595,10 +595,10 @@ vlm_MessageDelete
vlm_MessageNew
vlm_MessageNew
vlm_MessageSimpleNew
vlm_MessageSimpleNew
vlm_New
vlm_New
__
vout_AllocatePicture
vout_AllocatePicture
vout_ChromaCmp
vout_ChromaCmp
vout_Close
vout_Close
__
vout_Create
vout_Create
vout_CreatePicture
vout_CreatePicture
vout_DestroyPicture
vout_DestroyPicture
vout_DisplayPicture
vout_DisplayPicture
...
@@ -611,7 +611,7 @@ vout_OSDMessage
...
@@ -611,7 +611,7 @@ vout_OSDMessage
vout_OSDEpg
vout_OSDEpg
vout_OSDSlider
vout_OSDSlider
vout_PlacePicture
vout_PlacePicture
__
vout_Request
vout_Request
vout_ShowTextAbsolute
vout_ShowTextAbsolute
vout_ShowTextRelative
vout_ShowTextRelative
vout_UnlinkPicture
vout_UnlinkPicture
...
...
src/video_output/video_output.c
View file @
04180282
...
@@ -145,13 +145,14 @@ static int video_filter_buffer_allocation_init( filter_t *p_filter, void *p_data
...
@@ -145,13 +145,14 @@ static int video_filter_buffer_allocation_init( filter_t *p_filter, void *p_data
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
#undef vout_Request
/*****************************************************************************
/*****************************************************************************
* vout_Request: find a video output thread, create one, or destroy one.
* vout_Request: find a video output thread, create one, or destroy one.
*****************************************************************************
*****************************************************************************
* This function looks for a video output thread matching the current
* This function looks for a video output thread matching the current
* properties. If not found, it spawns a new one.
* properties. If not found, it spawns a new one.
*****************************************************************************/
*****************************************************************************/
vout_thread_t
*
__
vout_Request
(
vlc_object_t
*
p_this
,
vout_thread_t
*
p_vout
,
vout_thread_t
*
vout_Request
(
vlc_object_t
*
p_this
,
vout_thread_t
*
p_vout
,
video_format_t
*
p_fmt
)
video_format_t
*
p_fmt
)
{
{
if
(
!
p_fmt
)
if
(
!
p_fmt
)
...
@@ -276,13 +277,14 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
...
@@ -276,13 +277,14 @@ vout_thread_t *__vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
return
p_vout
;
return
p_vout
;
}
}
#undef vout_Create
/*****************************************************************************
/*****************************************************************************
* vout_Create: creates a new video output thread
* vout_Create: creates a new video output thread
*****************************************************************************
*****************************************************************************
* This function creates a new video output thread, and returns a pointer
* This function creates a new video output thread, and returns a pointer
* to its description. On error, it returns NULL.
* to its description. On error, it returns NULL.
*****************************************************************************/
*****************************************************************************/
vout_thread_t
*
__
vout_Create
(
vlc_object_t
*
p_parent
,
video_format_t
*
p_fmt
)
vout_thread_t
*
vout_Create
(
vlc_object_t
*
p_parent
,
video_format_t
*
p_fmt
)
{
{
vout_thread_t
*
p_vout
;
/* thread descriptor */
vout_thread_t
*
p_vout
;
/* thread descriptor */
int
i_index
;
/* loop variable */
int
i_index
;
/* loop variable */
...
...
src/video_output/vout_pictures.c
View file @
04180282
...
@@ -546,6 +546,7 @@ void vout_PlacePicture( const vout_thread_t *p_vout,
...
@@ -546,6 +546,7 @@ void vout_PlacePicture( const vout_thread_t *p_vout,
}
}
}
}
#undef vout_AllocatePicture
/**
/**
* Allocate a new picture in the heap.
* Allocate a new picture in the heap.
*
*
...
@@ -553,7 +554,7 @@ void vout_PlacePicture( const vout_thread_t *p_vout,
...
@@ -553,7 +554,7 @@ void vout_PlacePicture( const vout_thread_t *p_vout,
* used exactly like a video buffer. The video output thread then manages
* used exactly like a video buffer. The video output thread then manages
* how it gets displayed.
* how it gets displayed.
*/
*/
int
__
vout_AllocatePicture
(
vlc_object_t
*
p_this
,
picture_t
*
p_pic
,
int
vout_AllocatePicture
(
vlc_object_t
*
p_this
,
picture_t
*
p_pic
,
vlc_fourcc_t
i_chroma
,
vlc_fourcc_t
i_chroma
,
int
i_width
,
int
i_height
,
int
i_width
,
int
i_height
,
int
i_sar_num
,
int
i_sar_den
)
int
i_sar_num
,
int
i_sar_den
)
...
@@ -979,7 +980,7 @@ picture_t *picture_NewFromResource( const video_format_t *p_fmt, const picture_r
...
@@ -979,7 +980,7 @@ picture_t *picture_NewFromResource( const video_format_t *p_fmt, const picture_r
}
}
else
else
{
{
if
(
__vout_AllocatePicture
(
NULL
,
p_picture
,
if
(
vout_AllocatePicture
(
(
vlc_object_t
*
)
NULL
,
p_picture
,
fmt
.
i_chroma
,
fmt
.
i_width
,
fmt
.
i_height
,
fmt
.
i_chroma
,
fmt
.
i_width
,
fmt
.
i_height
,
fmt
.
i_sar_num
,
fmt
.
i_sar_den
)
)
fmt
.
i_sar_num
,
fmt
.
i_sar_den
)
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment