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
048c712a
Commit
048c712a
authored
Sep 20, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_v360: improve description about s in comments
parent
8f13a557
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
vf_v360.c
libavfilter/vf_v360.c
+25
-25
No files found.
libavfilter/vf_v360.c
View file @
048c712a
...
...
@@ -717,7 +717,7 @@ static void normalize_vector(float *vec)
* Calculate 3D coordinates on sphere for corresponding cubemap position.
* Common operation for every cubemap.
*
* @param s filter context
* @param s filter
private
context
* @param uf horizontal cubemap coordinate [0, 1)
* @param vf vertical cubemap coordinate [0, 1)
* @param face face of cubemap
...
...
@@ -781,7 +781,7 @@ static void cube_to_xyz(const V360Context *s,
* Calculate cubemap position for corresponding 3D coordinates on sphere.
* Common operation for every cubemap.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinated on sphere
* @param uf horizontal cubemap coordinate [0, 1)
* @param vf vertical cubemap coordinate [0, 1)
...
...
@@ -857,7 +857,7 @@ static void xyz_to_cube(const V360Context *s,
* Find position on another cube face in case of overflow/underflow.
* Used for calculation of interpolation window.
*
* @param s filter context
* @param s filter
private
context
* @param uf horizontal cubemap coordinate
* @param vf vertical cubemap coordinate
* @param direction direction of view
...
...
@@ -1050,7 +1050,7 @@ static void process_cube_coordinates(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in cubemap3x2 format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1082,7 +1082,7 @@ static void cube3x2_to_xyz(const V360Context *s,
/**
* Calculate frame position in cubemap3x2 format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1169,7 +1169,7 @@ static void xyz_to_cube3x2(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in cubemap1x6 format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1197,7 +1197,7 @@ static void cube1x6_to_xyz(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in cubemap6x1 format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1225,7 +1225,7 @@ static void cube6x1_to_xyz(const V360Context *s,
/**
* Calculate frame position in cubemap1x6 format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1301,7 +1301,7 @@ static void xyz_to_cube1x6(const V360Context *s,
/**
* Calculate frame position in cubemap6x1 format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1377,7 +1377,7 @@ static void xyz_to_cube6x1(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in equirectangular format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1424,7 +1424,7 @@ static int prepare_stereographic_out(AVFilterContext *ctx)
/**
* Calculate 3D coordinates on sphere for corresponding frame position in stereographic format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1449,7 +1449,7 @@ static void stereographic_to_xyz(const V360Context *s,
/**
* Calculate frame position in stereographic format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1486,7 +1486,7 @@ static void xyz_to_stereographic(const V360Context *s,
/**
* Calculate frame position in equirectangular format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1523,7 +1523,7 @@ static void xyz_to_equirect(const V360Context *s,
/**
* Calculate frame position in mercator format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1560,7 +1560,7 @@ static void xyz_to_mercator(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in mercator format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1587,7 +1587,7 @@ static void mercator_to_xyz(const V360Context *s,
/**
* Calculate frame position in ball format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1624,7 +1624,7 @@ static void xyz_to_ball(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in ball format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1662,7 +1662,7 @@ static void ball_to_xyz(const V360Context *s,
* Prepare data for processing equi-angular cubemap input format.
*
* @param ctx filter context
*
* @return error code
*/
static
int
prepare_eac_in
(
AVFilterContext
*
ctx
)
...
...
@@ -1749,7 +1749,7 @@ static int prepare_eac_out(AVFilterContext *ctx)
/**
* Calculate 3D coordinates on sphere for corresponding frame position in equi-angular cubemap format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1850,7 +1850,7 @@ static void eac_to_xyz(const V360Context *s,
/**
* Calculate frame position in equi-angular cubemap format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -1926,7 +1926,7 @@ static int prepare_flat_out(AVFilterContext *ctx)
/**
* Calculate 3D coordinates on sphere for corresponding frame position in flat format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1951,7 +1951,7 @@ static void flat_to_xyz(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in dual fisheye format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -1991,7 +1991,7 @@ static void dfisheye_to_xyz(const V360Context *s,
/**
* Calculate frame position in dual fisheye format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
@@ -2042,7 +2042,7 @@ static void xyz_to_dfisheye(const V360Context *s,
/**
* Calculate 3D coordinates on sphere for corresponding frame position in barrel facebook's format.
*
* @param s filter context
* @param s filter
private
context
* @param i horizontal position on frame [0, width)
* @param j vertical position on frame [0, height)
* @param width frame width
...
...
@@ -2112,7 +2112,7 @@ static void barrel_to_xyz(const V360Context *s,
/**
* Calculate frame position in barrel facebook's format for corresponding 3D coordinates on sphere.
*
* @param s filter context
* @param s filter
private
context
* @param vec coordinates on sphere
* @param width frame width
* @param height frame height
...
...
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