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
770ea21e
Commit
770ea21e
authored
Jan 22, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimize vout_PlacePicture prototype
parent
034e5706
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
include/vlc_vout.h
include/vlc_vout.h
+1
-1
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+5
-3
No files found.
include/vlc_vout.h
View file @
770ea21e
...
...
@@ -666,7 +666,7 @@ VLC_EXPORT( void, vout_DestroyPicture, ( vout_thread_t *, picture_t *
VLC_EXPORT
(
void
,
vout_DisplayPicture
,
(
vout_thread_t
*
,
picture_t
*
)
);
VLC_EXPORT
(
void
,
vout_LinkPicture
,
(
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
,
(
const
vout_thread_t
*
,
unsigned
int
,
unsigned
int
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
)
);
VLC_EXPORT
(
int
,
vout_vaControlDefault
,
(
vout_thread_t
*
,
int
,
va_list
)
);
void
vout_IntfInit
(
vout_thread_t
*
);
...
...
src/video_output/vout_pictures.c
View file @
770ea21e
...
...
@@ -448,10 +448,12 @@ picture_t *vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
* This function will be accessed by plugins. It calculates the relative
* position of the output window and the image window.
*/
void
vout_PlacePicture
(
vout_thread_t
*
p_vout
,
void
vout_PlacePicture
(
const
vout_thread_t
*
p_vout
,
unsigned
int
i_width
,
unsigned
int
i_height
,
unsigned
int
*
pi_x
,
unsigned
int
*
pi_y
,
unsigned
int
*
pi_width
,
unsigned
int
*
pi_height
)
unsigned
int
*
restrict
pi_x
,
unsigned
int
*
restrict
pi_y
,
unsigned
int
*
restrict
pi_width
,
unsigned
int
*
restrict
pi_height
)
{
if
(
(
i_width
<=
0
)
||
(
i_height
<=
0
)
)
{
...
...
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