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
b110c387
Commit
b110c387
authored
May 16, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a picture_Setup to replace vout_InitPicture.
parent
fb671394
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
262 additions
and
0 deletions
+262
-0
include/vlc_picture.h
include/vlc_picture.h
+13
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+248
-0
No files found.
include/vlc_picture.h
View file @
b110c387
...
@@ -221,6 +221,19 @@ static inline void picture_Copy( picture_t *p_dst, const picture_t *p_src )
...
@@ -221,6 +221,19 @@ static inline void picture_Copy( picture_t *p_dst, const picture_t *p_src )
*/
*/
VLC_EXPORT
(
int
,
picture_Export
,
(
vlc_object_t
*
p_obj
,
block_t
**
pp_image
,
video_format_t
*
p_fmt
,
picture_t
*
p_picture
,
vlc_fourcc_t
i_format
,
int
i_override_width
,
int
i_override_height
)
);
VLC_EXPORT
(
int
,
picture_Export
,
(
vlc_object_t
*
p_obj
,
block_t
**
pp_image
,
video_format_t
*
p_fmt
,
picture_t
*
p_picture
,
vlc_fourcc_t
i_format
,
int
i_override_width
,
int
i_override_height
)
);
/**
* This function will setup all fields of a picture_t without allocating any
* memory.
* XXX The memory must already be initialized.
* It does not need to be released.
*
* It will return VLC_EGENERIC if the core does not understand the requested
* format.
*
* It can be usefull to get the properties of planes.
*/
VLC_EXPORT
(
int
,
picture_Setup
,
(
picture_t
*
,
vlc_fourcc_t
i_chroma
,
int
i_width
,
int
i_height
,
int
i_aspect
)
);
/*****************************************************************************
/*****************************************************************************
* Flags used to describe the status of a picture
* Flags used to describe the status of a picture
*****************************************************************************/
*****************************************************************************/
...
...
src/libvlccore.sym
View file @
b110c387
...
@@ -279,6 +279,7 @@ picture_CopyPixels
...
@@ -279,6 +279,7 @@ picture_CopyPixels
picture_Delete
picture_Delete
picture_Export
picture_Export
picture_New
picture_New
picture_Setup
plane_CopyPixels
plane_CopyPixels
playlist_Add
playlist_Add
playlist_AddExt
playlist_AddExt
...
...
src/video_output/vout_pictures.c
View file @
b110c387
This diff is collapsed.
Click to expand it.
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