Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4db956cd
Commit
4db956cd
authored
Aug 24, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation warning and alpha discarding.
parent
d620366f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/video_filter/blend.c
modules/video_filter/blend.c
+2
-1
No files found.
modules/video_filter/blend.c
View file @
4db956cd
...
...
@@ -851,6 +851,7 @@ static void BlendI420I420_no_alpha( filter_t *p_filter, picture_t *p_dst,
int
i_x_offset
,
int
i_y_offset
,
int
i_width
,
int
i_height
)
{
VLC_UNUSED
(
p_dst_orig
);
int
i_src2_pitch
,
i_dst_pitch
;
uint8_t
*
p_src2_y
,
*
p_dst_y
;
uint8_t
*
p_src2_u
,
*
p_dst_u
;
...
...
@@ -951,7 +952,7 @@ static void BlendI420R16( filter_t *p_filter, picture_t *p_dst_pic,
vlc_blend_rgb16
(
(
uint16_t
*
)
&
p_dst
[
i_x
*
i_pix_pitch
],
(
const
uint16_t
*
)
&
p_src1
[
i_x
*
i_pix_pitch
],
r
,
g
,
b
,
0xff
,
&
p_filter
->
fmt_out
.
video
);
r
,
g
,
b
,
i_alpha
,
&
p_filter
->
fmt_out
.
video
);
}
if
(
i_y
%
2
==
1
)
{
...
...
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