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
d0962160
Commit
d0962160
authored
Feb 16, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/elbg: Make the pal8 output opaque.
parent
3b1d1437
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vf_elbg.c
libavfilter/vf_elbg.c
+2
-1
No files found.
libavfilter/vf_elbg.c
View file @
d0962160
...
@@ -186,7 +186,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
...
@@ -186,7 +186,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
p0
=
(
uint8_t
*
)
out
->
data
[
0
];
p0
=
(
uint8_t
*
)
out
->
data
[
0
];
for
(
i
=
0
;
i
<
elbg
->
codebook_length
;
i
++
)
{
for
(
i
=
0
;
i
<
elbg
->
codebook_length
;
i
++
)
{
pal
[
i
]
=
(
elbg
->
codebook
[
i
*
3
]
<<
16
)
|
pal
[
i
]
=
0xFFU
<<
24
|
(
elbg
->
codebook
[
i
*
3
]
<<
16
)
|
(
elbg
->
codebook
[
i
*
3
+
1
]
<<
8
)
|
(
elbg
->
codebook
[
i
*
3
+
1
]
<<
8
)
|
elbg
->
codebook
[
i
*
3
+
2
];
elbg
->
codebook
[
i
*
3
+
2
];
}
}
...
...
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