Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4ee03fef
Commit
4ee03fef
authored
Jan 15, 2012
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/rgbtestsrc: make alpha plane opaque
parent
69224582
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vsrc_testsrc.c
libavfilter/vsrc_testsrc.c
+1
-1
No files found.
libavfilter/vsrc_testsrc.c
View file @
4ee03fef
...
...
@@ -454,7 +454,7 @@ static void rgbtest_put_pixel(uint8_t *dst, int dst_linesize,
case
PIX_FMT_BGRA
:
case
PIX_FMT_ARGB
:
case
PIX_FMT_ABGR
:
v
=
(
r
<<
(
rgba_map
[
R
]
*
8
))
+
(
g
<<
(
rgba_map
[
G
]
*
8
))
+
(
b
<<
(
rgba_map
[
B
]
*
8
));
v
=
(
r
<<
(
rgba_map
[
R
]
*
8
))
+
(
g
<<
(
rgba_map
[
G
]
*
8
))
+
(
b
<<
(
rgba_map
[
B
]
*
8
))
+
(
255
<<
(
rgba_map
[
A
]
*
8
))
;
p
=
dst
+
4
*
x
+
y
*
dst_linesize
;
AV_WL32
(
p
,
v
);
break
;
...
...
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