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
be4e8908
Commit
be4e8908
authored
Aug 27, 2011
by
Stefano Sabatini
Committed by
Anton Khirnov
Sep 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_yadif: add support to yuva420p
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
4703a7b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vf_yadif.c
libavfilter/vf_yadif.c
+2
-1
No files found.
libavfilter/vf_yadif.c
View file @
be4e8908
...
...
@@ -147,7 +147,7 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic,
int
refs
=
yadif
->
cur
->
linesize
[
i
];
int
df
=
(
yadif
->
csp
->
comp
[
i
].
depth_minus1
+
1
)
/
8
;
if
(
i
)
{
if
(
i
==
1
||
i
==
2
)
{
/* Why is this not part of the per-plane description thing? */
w
>>=
yadif
->
csp
->
log2_chroma_w
;
h
>>=
yadif
->
csp
->
log2_chroma_h
;
...
...
@@ -357,6 +357,7 @@ static int query_formats(AVFilterContext *ctx)
AV_NE
(
PIX_FMT_YUV420P16BE
,
PIX_FMT_YUV420P16LE
),
AV_NE
(
PIX_FMT_YUV422P16BE
,
PIX_FMT_YUV422P16LE
),
AV_NE
(
PIX_FMT_YUV444P16BE
,
PIX_FMT_YUV444P16LE
),
PIX_FMT_YUVA420P
,
PIX_FMT_NONE
};
...
...
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