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
e0f2e0fc
Commit
e0f2e0fc
authored
May 24, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_fade: remove unused function
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
42bb3e4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
vf_fade.c
libavfilter/vf_fade.c
+0
-19
No files found.
libavfilter/vf_fade.c
View file @
e0f2e0fc
...
@@ -139,25 +139,6 @@ static int config_props(AVFilterLink *inlink)
...
@@ -139,25 +139,6 @@ static int config_props(AVFilterLink *inlink)
return
0
;
return
0
;
}
}
static
void
fade_plane
(
int
y
,
int
h
,
int
w
,
int
fade_factor
,
int
black_level
,
int
black_level_scaled
,
uint8_t
offset
,
uint8_t
step
,
int
bytes_per_plane
,
uint8_t
*
data
,
int
line_size
)
{
uint8_t
*
p
;
int
i
,
j
;
/* luma, alpha or rgb plane */
for
(
i
=
0
;
i
<
h
;
i
++
)
{
p
=
data
+
offset
+
(
y
+
i
)
*
line_size
;
for
(
j
=
0
;
j
<
w
*
bytes_per_plane
;
j
++
)
{
/* s->factor is using 16 lower-order bits for decimal places. */
*
p
=
((
*
p
-
black_level
)
*
fade_factor
+
black_level_scaled
)
>>
16
;
p
+=
step
;
}
}
}
static
int
filter_slice_luma
(
AVFilterContext
*
ctx
,
void
*
arg
,
int
jobnr
,
static
int
filter_slice_luma
(
AVFilterContext
*
ctx
,
void
*
arg
,
int
jobnr
,
int
nb_jobs
)
int
nb_jobs
)
{
{
...
...
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