Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
451
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
a612d792
Commit
a612d792
authored
5 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
vout: fix/improve vout_display_cfg_t documentation
parent
20bf0e21
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/vlc_vout_display.h
+15
-13
15 additions, 13 deletions
include/vlc_vout_display.h
with
15 additions
and
13 deletions
include/vlc_vout_display.h
+
15
−
13
View file @
a612d792
...
...
@@ -62,7 +62,14 @@ typedef struct vlc_video_align {
}
vlc_video_align_t
;
/**
* Initial/Current configuration for a vout_display_t
* User configuration for a video output display (\ref vout_display_t)
*
* This primarily controls the size of the display area within the video
* window, as follows:
* - If \ref is_display_filled is set,
* the video size is fitted to the display size.
* - Otherwise, the video size is determined from the original video format,
* multiplied by the zoom factor.
*/
typedef
struct
vout_display_cfg
{
struct
vout_window_t
*
window
;
/**< Window */
...
...
@@ -70,25 +77,20 @@ typedef struct vout_display_cfg {
bool
is_fullscreen
VLC_DEPRECATED
;
/* Is the display fullscreen */
#endif
/* Display properties */
/*
*
Display properties */
struct
{
/* Display size */
unsigned
width
;
unsigned
height
;
/* Display SAR */
vlc_rational_t
sar
;
unsigned
width
;
/**< Requested display pixel width (0 by default). */
unsigned
height
;
/**< Requested display pixel height (0 by default). */
vlc_rational_t
sar
;
/**< Requested sample aspect ratio */
}
display
;
/* Alignment of the
picture inside the display
*/
/*
*
Alignment of the
video within the window
*/
vlc_video_align_t
align
;
/*
Do we fill up the display with the video
*/
/*
* Automatic scaling/fitting flag
*/
bool
is_display_filled
;
/* Zoom to use
* It will be applied to the whole display if b_display_filled is set, otherwise
* only on the video source */
/** Zoom ratio */
struct
{
unsigned
num
;
unsigned
den
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment