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
d1d3d7b4
Commit
d1d3d7b4
authored
May 16, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used filter_New/DeletePicture when applicable.
parent
f1e3b554
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
8 deletions
+6
-8
modules/codec/invmem.c
modules/codec/invmem.c
+0
-1
modules/video_filter/adjust.c
modules/video_filter/adjust.c
+1
-1
modules/video_filter/canvas.c
modules/video_filter/canvas.c
+2
-3
modules/video_filter/chain.c
modules/video_filter/chain.c
+2
-2
modules/video_filter/swscale_maemo.c
modules/video_filter/swscale_maemo.c
+1
-1
No files found.
modules/codec/invmem.c
View file @
d1d3d7b4
...
...
@@ -189,7 +189,6 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if
(
p_sys
->
p_pic
!=
NULL
)
picture_Release
(
p_sys
->
p_pic
);
p_sys
->
p_pic
=
decoder_NewPicture
(
p_dec
);
p_sys
->
p_pic
=
p_dec
->
pf_vout_buffer_new
(
p_dec
);
p_sys
->
p_pic
->
b_force
=
true
;
p_sys
->
p_pic
->
p
->
i_pitch
=
p_dec
->
p_sys
->
i_pitch
;
p_sys
->
p_pic
->
date
=
p_block
->
i_pts
>
0
?
p_block
->
i_pts
:
p_block
->
i_dts
;
...
...
modules/video_filter/adjust.c
View file @
d1d3d7b4
...
...
@@ -459,7 +459,7 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
return
NULL
;
}
p_outpic
=
p_filter
->
pf_vout_buffer_new
(
p_filter
);
p_outpic
=
filter_NewPicture
(
p_filter
);
if
(
!
p_outpic
)
{
msg_Warn
(
p_filter
,
"can't get output picture"
);
...
...
modules/video_filter/canvas.c
View file @
d1d3d7b4
...
...
@@ -285,13 +285,12 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
*****************************************************************************/
static
picture_t
*
video_new
(
filter_t
*
p_filter
)
{
return
((
filter_t
*
)
p_filter
->
p_owner
)
->
pf_vout_buffer_new
(
(
filter_t
*
)
p_filter
->
p_owner
);
return
filter_NewPicture
(
(
filter_t
*
)
p_filter
->
p_owner
);
}
static
void
video_del
(
filter_t
*
p_filter
,
picture_t
*
p_pic
)
{
if
(
((
filter_t
*
)
p_filter
->
p_owner
)
->
pf_vout_buffer_del
)
((
filter_t
*
)
p_filter
->
p_owner
)
->
pf_vout_buffer_del
(
(
filter_t
*
)
p_filter
->
p_owner
,
p_pic
);
return
filter_DeletePicture
(
(
filter_t
*
)
p_filter
->
p_owner
,
p_pic
);
}
static
int
alloc_init
(
filter_t
*
p_filter
,
void
*
p_data
)
...
...
modules/video_filter/chain.c
View file @
d1d3d7b4
...
...
@@ -220,13 +220,13 @@ static picture_t *BufferNew( filter_t *p_filter )
{
filter_t
*
p_parent
=
(
filter_t
*
)
p_filter
->
p_owner
;
return
p_parent
->
pf_vout_buffer_new
(
p_parent
);
return
filter_NewPicture
(
p_parent
);
}
static
void
BufferDel
(
filter_t
*
p_filter
,
picture_t
*
p_pic
)
{
filter_t
*
p_parent
=
(
filter_t
*
)
p_filter
->
p_owner
;
p_parent
->
pf_vout_buffer_del
(
p_parent
,
p_pic
);
return
filter_DeletePicture
(
p_parent
,
p_pic
);
}
static
int
BufferAllocationInit
(
filter_t
*
p_filter
,
void
*
p_data
)
{
...
...
modules/video_filter/swscale_maemo.c
View file @
d1d3d7b4
...
...
@@ -186,7 +186,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
return
NULL
;
/* Request output picture */
p_pic_dst
=
p_filter
->
pf_vout_buffer_new
(
p_filter
);
p_pic_dst
=
filter_NewPicture
(
p_filter
);
if
(
!
p_pic_dst
)
{
msg_Warn
(
p_filter
,
"can't get output 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