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
547b0c61
Commit
547b0c61
authored
Dec 23, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_fade: reindent after previous commit
parent
6c9a9dd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
vf_fade.c
libavfilter/vf_fade.c
+9
-9
No files found.
libavfilter/vf_fade.c
View file @
547b0c61
...
...
@@ -262,17 +262,17 @@ static int filter_slice_luma(AVFilterContext *ctx, void *arg, int jobnr,
int
i
,
j
;
for
(
int
k
=
0
;
k
<
1
+
2
*
(
s
->
is_planar
&&
s
->
is_rgb
);
k
++
)
{
for
(
i
=
slice_start
;
i
<
slice_end
;
i
++
)
{
uint8_t
*
p
=
frame
->
data
[
k
]
+
i
*
frame
->
linesize
[
k
];
for
(
j
=
0
;
j
<
frame
->
width
*
s
->
bpp
;
j
++
)
{
/* s->factor is using 16 lower-order bits for decimal
* places. 32768 = 1 << 15, it is an integer representation
* of 0.5 and is for rounding. */
*
p
=
((
*
p
-
s
->
black_level
)
*
s
->
factor
+
s
->
black_level_scaled
)
>>
16
;
p
++
;
for
(
i
=
slice_start
;
i
<
slice_end
;
i
++
)
{
uint8_t
*
p
=
frame
->
data
[
k
]
+
i
*
frame
->
linesize
[
k
];
for
(
j
=
0
;
j
<
frame
->
width
*
s
->
bpp
;
j
++
)
{
/* s->factor is using 16 lower-order bits for decimal
* places. 32768 = 1 << 15, it is an integer representation
* of 0.5 and is for rounding. */
*
p
=
((
*
p
-
s
->
black_level
)
*
s
->
factor
+
s
->
black_level_scaled
)
>>
16
;
p
++
;
}
}
}
}
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