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
39c6d4a8
Commit
39c6d4a8
authored
Jul 24, 2016
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/curves: reindent after previous commit
parent
e30cdac1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
vf_curves.c
libavfilter/vf_curves.c
+13
-13
No files found.
libavfilter/vf_curves.c
View file @
39c6d4a8
...
...
@@ -609,20 +609,20 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
}
}
}
else
{
uint8_t
*
dst
=
out
->
data
[
0
]
+
slice_start
*
out
->
linesize
[
0
];
const
uint8_t
*
src
=
in
->
data
[
0
]
+
slice_start
*
in
->
linesize
[
0
];
for
(
y
=
slice_start
;
y
<
slice_end
;
y
++
)
{
for
(
x
=
0
;
x
<
in
->
width
*
step
;
x
+=
step
)
{
dst
[
x
+
r
]
=
curves
->
graph
[
R
][
src
[
x
+
r
]];
dst
[
x
+
g
]
=
curves
->
graph
[
G
][
src
[
x
+
g
]];
dst
[
x
+
b
]
=
curves
->
graph
[
B
][
src
[
x
+
b
]];
if
(
!
direct
&&
step
==
4
)
dst
[
x
+
a
]
=
src
[
x
+
a
];
uint8_t
*
dst
=
out
->
data
[
0
]
+
slice_start
*
out
->
linesize
[
0
];
const
uint8_t
*
src
=
in
->
data
[
0
]
+
slice_start
*
in
->
linesize
[
0
];
for
(
y
=
slice_start
;
y
<
slice_end
;
y
++
)
{
for
(
x
=
0
;
x
<
in
->
width
*
step
;
x
+=
step
)
{
dst
[
x
+
r
]
=
curves
->
graph
[
R
][
src
[
x
+
r
]];
dst
[
x
+
g
]
=
curves
->
graph
[
G
][
src
[
x
+
g
]];
dst
[
x
+
b
]
=
curves
->
graph
[
B
][
src
[
x
+
b
]];
if
(
!
direct
&&
step
==
4
)
dst
[
x
+
a
]
=
src
[
x
+
a
];
}
dst
+=
out
->
linesize
[
0
];
src
+=
in
->
linesize
[
0
];
}
dst
+=
out
->
linesize
[
0
];
src
+=
in
->
linesize
[
0
];
}
}
return
0
;
}
...
...
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