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
301a36b2
Commit
301a36b2
authored
May 18, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused picture_heap_t field in picture_t.
parent
ebe903d6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
16 deletions
+0
-16
include/vlc_picture.h
include/vlc_picture.h
+0
-3
src/video_output/video_output.c
src/video_output/video_output.c
+0
-11
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+0
-2
No files found.
include/vlc_picture.h
View file @
301a36b2
...
@@ -103,9 +103,6 @@ struct picture_t
...
@@ -103,9 +103,6 @@ struct picture_t
int
i_qtype
;
/**< quantification style */
int
i_qtype
;
/**< quantification style */
/**@}*/
/**@}*/
/** The picture heap we are attached to */
picture_heap_t
*
p_heap
;
/* Some vouts require the picture to be locked before it can be modified */
/* Some vouts require the picture to be locked before it can be modified */
int
(
*
pf_lock
)
(
vout_thread_t
*
,
picture_t
*
);
int
(
*
pf_lock
)
(
vout_thread_t
*
,
picture_t
*
);
int
(
*
pf_unlock
)
(
vout_thread_t
*
,
picture_t
*
);
int
(
*
pf_unlock
)
(
vout_thread_t
*
,
picture_t
*
);
...
...
src/video_output/video_output.c
View file @
301a36b2
...
@@ -983,17 +983,6 @@ static int InitThread( vout_thread_t *p_vout )
...
@@ -983,17 +983,6 @@ static int InitThread( vout_thread_t *p_vout )
}
}
}
}
/* Link pictures back to their heap */
for
(
i
=
0
;
i
<
I_RENDERPICTURES
;
i
++
)
{
PP_RENDERPICTURE
[
i
]
->
p_heap
=
&
p_vout
->
render
;
}
for
(
i
=
0
;
i
<
I_OUTPUTPICTURES
;
i
++
)
{
PP_OUTPUTPICTURE
[
i
]
->
p_heap
=
&
p_vout
->
output
;
}
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
src/video_output/vout_pictures.c
View file @
301a36b2
...
@@ -408,8 +408,6 @@ picture_t *vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
...
@@ -408,8 +408,6 @@ picture_t *vout_RenderPicture( vout_thread_t *p_vout, picture_t *p_pic,
p_vout
->
fmt_out
.
i_aspect
);
p_vout
->
fmt_out
.
i_aspect
);
p_tmp_pic
->
i_type
=
MEMORY_PICTURE
;
p_tmp_pic
->
i_type
=
MEMORY_PICTURE
;
p_tmp_pic
->
i_status
=
RESERVED_PICTURE
;
p_tmp_pic
->
i_status
=
RESERVED_PICTURE
;
/* some modules (such as blend) needs to know the extra information in picture heap */
p_tmp_pic
->
p_heap
=
&
p_vout
->
output
;
}
}
/* Convert image to the first direct buffer */
/* Convert image to the first direct buffer */
...
...
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