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
de1d6cb3
Commit
de1d6cb3
authored
Sep 21, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_v360: fix small artifacts between corners in EAC format
parent
2f87c9f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
vf_v360.c
libavfilter/vf_v360.c
+5
-2
No files found.
libavfilter/vf_v360.c
View file @
de1d6cb3
...
...
@@ -1768,8 +1768,8 @@ static void eac_to_xyz(const V360Context *s,
float
l_x
,
l_y
,
l_z
;
float
uf
=
(
float
)
i
/
width
;
float
vf
=
(
float
)
j
/
height
;
float
uf
=
(
i
+
0
.
5
f
)
/
width
;
float
vf
=
(
j
+
0
.
5
f
)
/
height
;
// EAC has 2-pixel padding on faces except between faces on the same row
// Padding pixels seems not to be stretched with tangent as regular pixels
...
...
@@ -1888,6 +1888,9 @@ static void xyz_to_eac(const V360Context *s,
uf
*=
width
;
vf
*=
height
;
uf
-=
0
.
5
f
;
vf
-=
0
.
5
f
;
ui
=
floorf
(
uf
);
vi
=
floorf
(
vf
);
...
...
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