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
067e6323
Commit
067e6323
authored
Sep 02, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_v360: fix some small code style issues
parent
6037dfa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
vf_v360.c
libavfilter/vf_v360.c
+3
-4
No files found.
libavfilter/vf_v360.c
View file @
067e6323
...
@@ -875,8 +875,8 @@ static void xyz_to_cube(const V360Context *s,
...
@@ -875,8 +875,8 @@ static void xyz_to_cube(const V360Context *s,
* @param face face position on cubemap
* @param face face position on cubemap
*/
*/
static
void
process_cube_coordinates
(
const
V360Context
*
s
,
static
void
process_cube_coordinates
(
const
V360Context
*
s
,
float
uf
,
float
vf
,
int
direction
,
float
uf
,
float
vf
,
int
direction
,
float
*
new_uf
,
float
*
new_vf
,
int
*
face
)
float
*
new_uf
,
float
*
new_vf
,
int
*
face
)
{
{
/*
/*
* Cubemap orientation
* Cubemap orientation
...
@@ -1963,8 +1963,7 @@ static inline void set_mirror_modifier(int h_flip, int v_flip, int d_flip,
...
@@ -1963,8 +1963,7 @@ static inline void set_mirror_modifier(int h_flip, int v_flip, int d_flip,
modifier
[
2
]
=
d_flip
?
-
1
.
f
:
1
.
f
;
modifier
[
2
]
=
d_flip
?
-
1
.
f
:
1
.
f
;
}
}
static
inline
void
mirror
(
const
float
*
modifier
,
static
inline
void
mirror
(
const
float
*
modifier
,
float
*
vec
)
float
*
vec
)
{
{
vec
[
0
]
*=
modifier
[
0
];
vec
[
0
]
*=
modifier
[
0
];
vec
[
1
]
*=
modifier
[
1
];
vec
[
1
]
*=
modifier
[
1
];
...
...
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