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
b189e402
Commit
b189e402
authored
Apr 18, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed write only vout_thread_t::i_heap_size field.
parent
d83763e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
7 deletions
+0
-7
include/vlc_vout.h
include/vlc_vout.h
+0
-1
src/video_output/video_output.c
src/video_output/video_output.c
+0
-3
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+0
-3
No files found.
include/vlc_vout.h
View file @
b189e402
...
...
@@ -114,7 +114,6 @@ struct vout_thread_t
/** \name Video heap and translation tables */
/**@{*/
int
i_heap_size
;
/**< heap size */
picture_heap_t
render
;
/**< rendered pictures */
picture_heap_t
output
;
/**< direct buffers */
...
...
src/video_output/video_output.c
View file @
b189e402
...
...
@@ -335,9 +335,6 @@ vout_thread_t * vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
p_vout
->
p_picture
[
i_index
].
b_slow
=
0
;
}
/* No images in the heap */
p_vout
->
i_heap_size
=
0
;
/* Initialize the rendering heap */
I_RENDERPICTURES
=
0
;
...
...
src/video_output/vout_pictures.c
View file @
b189e402
...
...
@@ -142,7 +142,6 @@ picture_t *vout_CreatePicture( vout_thread_t *p_vout,
p_pic
->
i_nb_fields
=
i_nb_fields
;
p_pic
->
b_top_field_first
=
b_top_field_first
;
p_vout
->
i_heap_size
++
;
p_vout
->
render
.
i_last_used_pic
=
(
p_vout
->
render
.
i_last_used_pic
+
i_pic
+
1
)
%
I_RENDERPICTURES
;
...
...
@@ -187,7 +186,6 @@ picture_t *vout_CreatePicture( vout_thread_t *p_vout,
p_freepic
->
i_nb_fields
=
i_nb_fields
;
p_freepic
->
b_top_field_first
=
b_top_field_first
;
p_vout
->
i_heap_size
++
;
}
else
{
...
...
@@ -216,7 +214,6 @@ static void DestroyPicture( vout_thread_t *p_vout, picture_t *p_picture )
vlc_assert_locked
(
&
p_vout
->
picture_lock
);
p_picture
->
i_status
=
DESTROYED_PICTURE
;
p_vout
->
i_heap_size
--
;
picture_CleanupQuant
(
p_picture
);
vlc_cond_signal
(
&
p_vout
->
p
->
picture_wait
);
...
...
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