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
b8c50bec
Commit
b8c50bec
authored
Oct 12, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_pp: support AV_PIX_FMT_GRAY8
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7a113333
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
version.h
libavfilter/version.h
+1
-1
vf_pp.c
libavfilter/vf_pp.c
+2
-0
No files found.
libavfilter/version.h
View file @
b8c50bec
...
...
@@ -31,7 +31,7 @@
#define LIBAVFILTER_VERSION_MAJOR 5
#define LIBAVFILTER_VERSION_MINOR 1
#define LIBAVFILTER_VERSION_MICRO 10
4
#define LIBAVFILTER_VERSION_MICRO 10
5
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
...
...
libavfilter/vf_pp.c
View file @
b8c50bec
...
...
@@ -81,6 +81,7 @@ static int pp_query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_YUVJ444P
,
AV_PIX_FMT_YUV440P
,
AV_PIX_FMT_YUVJ440P
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_NONE
};
ff_set_common_formats
(
ctx
,
ff_make_format_list
(
pix_fmts
));
...
...
@@ -93,6 +94,7 @@ static int pp_config_props(AVFilterLink *inlink)
PPFilterContext
*
pp
=
inlink
->
dst
->
priv
;
switch
(
inlink
->
format
)
{
case
AV_PIX_FMT_GRAY8
:
case
AV_PIX_FMT_YUVJ420P
:
case
AV_PIX_FMT_YUV420P
:
flags
|=
PP_FORMAT_420
;
break
;
case
AV_PIX_FMT_YUVJ422P
:
...
...
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