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
9def7efd
Commit
9def7efd
authored
Sep 20, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_v360: adjust kernel after latest change
parent
bc89434a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vf_v360.c
libavfilter/vf_v360.c
+6
-6
No files found.
libavfilter/vf_v360.c
View file @
9def7efd
...
...
@@ -353,10 +353,10 @@ static void bilinear_kernel(float du, float dv, const XYRemap *rmap,
}
}
ker
[
0
]
=
(
1
.
f
-
du
)
*
(
1
.
f
-
dv
)
*
1638
4
;
ker
[
1
]
=
du
*
(
1
.
f
-
dv
)
*
1638
4
;
ker
[
2
]
=
(
1
.
f
-
du
)
*
dv
*
1638
4
;
ker
[
3
]
=
du
*
dv
*
1638
4
;
ker
[
0
]
=
(
1
.
f
-
du
)
*
(
1
.
f
-
dv
)
*
1638
5
;
ker
[
1
]
=
du
*
(
1
.
f
-
dv
)
*
1638
5
;
ker
[
2
]
=
(
1
.
f
-
du
)
*
dv
*
1638
5
;
ker
[
3
]
=
du
*
dv
*
1638
5
;
}
/**
...
...
@@ -399,7 +399,7 @@ static void bicubic_kernel(float du, float dv, const XYRemap *rmap,
for
(
int
j
=
0
;
j
<
4
;
j
++
)
{
u
[
i
*
4
+
j
]
=
rmap
->
u
[
i
][
j
];
v
[
i
*
4
+
j
]
=
rmap
->
v
[
i
][
j
];
ker
[
i
*
4
+
j
]
=
du_coeffs
[
j
]
*
dv_coeffs
[
i
]
*
1638
4
;
ker
[
i
*
4
+
j
]
=
du_coeffs
[
j
]
*
dv_coeffs
[
i
]
*
1638
5
;
}
}
}
...
...
@@ -452,7 +452,7 @@ static void lanczos_kernel(float du, float dv, const XYRemap *rmap,
for
(
int
j
=
0
;
j
<
4
;
j
++
)
{
u
[
i
*
4
+
j
]
=
rmap
->
u
[
i
][
j
];
v
[
i
*
4
+
j
]
=
rmap
->
v
[
i
][
j
];
ker
[
i
*
4
+
j
]
=
du_coeffs
[
j
]
*
dv_coeffs
[
i
]
*
1638
4
;
ker
[
i
*
4
+
j
]
=
du_coeffs
[
j
]
*
dv_coeffs
[
i
]
*
1638
5
;
}
}
}
...
...
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