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
0c4d75d9
Commit
0c4d75d9
authored
Apr 10, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_alphamerge: add GBRAP support
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
d6b9f2b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vf_alphamerge.c
libavfilter/vf_alphamerge.c
+3
-1
No files found.
libavfilter/vf_alphamerge.c
View file @
0c4d75d9
...
...
@@ -54,6 +54,7 @@ static int query_formats(AVFilterContext *ctx)
{
static
const
enum
AVPixelFormat
main_fmts
[]
=
{
AV_PIX_FMT_YUVA444P
,
AV_PIX_FMT_YUVA422P
,
AV_PIX_FMT_YUVA420P
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_RGBA
,
AV_PIX_FMT_BGRA
,
AV_PIX_FMT_ARGB
,
AV_PIX_FMT_ABGR
,
AV_PIX_FMT_NONE
};
...
...
@@ -85,7 +86,8 @@ static int config_input_main(AVFilterLink *inlink)
{
AlphaMergeContext
*
merge
=
inlink
->
dst
->
priv
;
merge
->
is_packed_rgb
=
ff_fill_rgba_map
(
merge
->
rgba_map
,
inlink
->
format
)
>=
0
;
ff_fill_rgba_map
(
merge
->
rgba_map
,
inlink
->
format
)
>=
0
&&
inlink
->
format
!=
AV_PIX_FMT_GBRAP
;
return
0
;
}
...
...
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