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
860b5c0a
Commit
860b5c0a
authored
Jan 05, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/kerndeint: fix mismatch between declared pixel format and test
+10l.
parent
bb4fb771
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vf_kerndeint.c
libavfilter/vf_kerndeint.c
+2
-2
kerndeint
tests/ref/lavfi/kerndeint
+1
-1
No files found.
libavfilter/vf_kerndeint.c
View file @
860b5c0a
...
...
@@ -203,7 +203,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpic)
if
(
map
)
{
g
=
x
&
~
3
;
if
(
inlink
->
format
==
AV_PIX_FMT_
RGBA
)
{
if
(
inlink
->
format
==
AV_PIX_FMT_
ARGB
)
{
AV_WB32
(
dstp
+
g
,
0xffffffff
);
x
=
g
+
3
;
}
else
if
(
inlink
->
format
==
AV_PIX_FMT_YUYV422
)
{
...
...
@@ -214,7 +214,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpic)
dstp
[
x
]
=
plane
==
0
?
235
:
128
;
}
}
else
{
if
(
inlink
->
format
==
AV_PIX_FMT_
RGBA
)
{
if
(
inlink
->
format
==
AV_PIX_FMT_
ARGB
)
{
hi
=
255
;
lo
=
0
;
}
else
if
(
inlink
->
format
==
AV_PIX_FMT_YUYV422
)
{
...
...
tests/ref/lavfi/kerndeint
View file @
860b5c0a
argb
484893f83e13c937328f13a7c84d2f50
argb
93ba0daa1e945ad1a6f8c0c1cd2e1858
yuv420p a935cce07c5287b92c6d5220361866ed
yuyv422 f549c98059ba9ce50e28204256d13b5d
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