Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
889ae4fb
Commit
889ae4fb
authored
Apr 22, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added picture_pool_GetSize helper.
parent
0a3c6b71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
include/vlc_picture_pool.h
include/vlc_picture_pool.h
+5
-0
src/libvlccore.sym
src/libvlccore.sym
+1
-0
src/misc/picture_pool.c
src/misc/picture_pool.c
+4
-0
No files found.
include/vlc_picture_pool.h
View file @
889ae4fb
...
...
@@ -116,6 +116,11 @@ VLC_EXPORT( void, picture_pool_NonEmpty, ( picture_pool_t *, bool reset ) );
*/
VLC_EXPORT
(
picture_pool_t
*
,
picture_pool_Reserve
,
(
picture_pool_t
*
,
int
picture_count
)
);
/**
* It returns the size of the given pool.
*/
VLC_EXPORT
(
int
,
picture_pool_GetSize
,
(
picture_pool_t
*
)
);
#endif
/* VLC_PICTURE_POOL_H */
src/libvlccore.sym
View file @
889ae4fb
...
...
@@ -310,6 +310,7 @@ picture_NewFromFormat
picture_NewFromResource
picture_pool_Delete
picture_pool_Get
picture_pool_GetSize
picture_pool_New
picture_pool_NewExtended
picture_pool_NewFromFormat
...
...
src/misc/picture_pool.c
View file @
889ae4fb
...
...
@@ -255,6 +255,10 @@ void picture_pool_NonEmpty(picture_pool_t *pool, bool reset)
old
->
i_refcount
=
0
;
}
}
int
picture_pool_GetSize
(
picture_pool_t
*
pool
)
{
return
pool
->
picture_count
;
}
static
void
Release
(
picture_t
*
picture
)
{
...
...
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