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
d033f403
Commit
d033f403
authored
Jan 23, 2020
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_v360: support input flips for tetrahedron format
parent
05d3d09c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vf_v360.c
libavfilter/vf_v360.c
+3
-3
No files found.
libavfilter/vf_v360.c
View file @
d033f403
...
...
@@ -2647,13 +2647,13 @@ static void xyz_to_tetrahedron(const V360Context *s,
y
=
vec
[
1
]
/
d
;
z
=
-
vec
[
2
]
/
d
;
vf
=
0
.
5
f
-
y
*
0
.
5
f
;
vf
=
0
.
5
f
-
y
*
0
.
5
f
*
s
->
input_mirror_modifier
[
1
]
;
if
((
x
+
y
>=
0
.
f
&&
y
+
z
>=
0
.
f
&&
-
z
-
x
<=
0
.
f
)
||
(
x
+
y
<=
0
.
f
&&
-
y
+
z
>=
0
.
f
&&
z
-
x
>=
0
.
f
))
{
uf
=
0
.
25
f
*
x
+
0
.
25
f
;
uf
=
0
.
25
f
*
x
*
s
->
input_mirror_modifier
[
0
]
+
0
.
25
f
;
}
else
{
uf
=
0
.
75
f
-
0
.
25
f
*
x
;
uf
=
0
.
75
f
-
0
.
25
f
*
x
*
s
->
input_mirror_modifier
[
0
]
;
}
uf
*=
width
;
...
...
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