Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
9a460db6
Commit
9a460db6
authored
Oct 12, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_pp: add yuv 4:4:0 support
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
1d3c87d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
version.h
libavfilter/version.h
+1
-1
vf_pp.c
libavfilter/vf_pp.c
+3
-0
No files found.
libavfilter/version.h
View file @
9a460db6
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#define LIBAVFILTER_VERSION_MAJOR 5
#define LIBAVFILTER_VERSION_MAJOR 5
#define LIBAVFILTER_VERSION_MINOR 1
#define LIBAVFILTER_VERSION_MINOR 1
#define LIBAVFILTER_VERSION_MICRO 10
3
#define LIBAVFILTER_VERSION_MICRO 10
4
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
LIBAVFILTER_VERSION_MINOR, \
...
...
libavfilter/vf_pp.c
View file @
9a460db6
...
@@ -80,6 +80,7 @@ static int pp_query_formats(AVFilterContext *ctx)
...
@@ -80,6 +80,7 @@ static int pp_query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUVJ422P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUVJ422P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_YUVJ444P
,
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_YUVJ444P
,
AV_PIX_FMT_YUV440P
,
AV_PIX_FMT_YUVJ440P
,
AV_PIX_FMT_NONE
AV_PIX_FMT_NONE
};
};
ff_set_common_formats
(
ctx
,
ff_make_format_list
(
pix_fmts
));
ff_set_common_formats
(
ctx
,
ff_make_format_list
(
pix_fmts
));
...
@@ -99,6 +100,8 @@ static int pp_config_props(AVFilterLink *inlink)
...
@@ -99,6 +100,8 @@ static int pp_config_props(AVFilterLink *inlink)
case
AV_PIX_FMT_YUV411P
:
flags
|=
PP_FORMAT_411
;
break
;
case
AV_PIX_FMT_YUV411P
:
flags
|=
PP_FORMAT_411
;
break
;
case
AV_PIX_FMT_YUVJ444P
:
case
AV_PIX_FMT_YUVJ444P
:
case
AV_PIX_FMT_YUV444P
:
flags
|=
PP_FORMAT_444
;
break
;
case
AV_PIX_FMT_YUV444P
:
flags
|=
PP_FORMAT_444
;
break
;
case
AV_PIX_FMT_YUVJ440P
:
case
AV_PIX_FMT_YUV440P
:
flags
|=
PP_FORMAT_440
;
break
;
default:
av_assert0
(
0
);
default:
av_assert0
(
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