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
8df91de9
Commit
8df91de9
authored
Sep 29, 2019
by
Zhong Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/normalize: remove the unused pointer
Signed-off-by:
Zhong Li
<
zhong.li@intel.com
>
parent
6f0dd6b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
vf_normalize.c
libavfilter/vf_normalize.c
+0
-2
No files found.
libavfilter/vf_normalize.c
View file @
8df91de9
...
@@ -147,14 +147,12 @@ static void normalize(NormalizeContext *s, AVFrame *in, AVFrame *out)
...
@@ -147,14 +147,12 @@ static void normalize(NormalizeContext *s, AVFrame *in, AVFrame *out)
min
[
c
].
in
=
max
[
c
].
in
=
in
->
data
[
0
][
s
->
co
[
c
]];
min
[
c
].
in
=
max
[
c
].
in
=
in
->
data
[
0
][
s
->
co
[
c
]];
for
(
y
=
0
;
y
<
in
->
height
;
y
++
)
{
for
(
y
=
0
;
y
<
in
->
height
;
y
++
)
{
uint8_t
*
inp
=
in
->
data
[
0
]
+
y
*
in
->
linesize
[
0
];
uint8_t
*
inp
=
in
->
data
[
0
]
+
y
*
in
->
linesize
[
0
];
uint8_t
*
outp
=
out
->
data
[
0
]
+
y
*
out
->
linesize
[
0
];
for
(
x
=
0
;
x
<
in
->
width
;
x
++
)
{
for
(
x
=
0
;
x
<
in
->
width
;
x
++
)
{
for
(
c
=
0
;
c
<
3
;
c
++
)
{
for
(
c
=
0
;
c
<
3
;
c
++
)
{
min
[
c
].
in
=
FFMIN
(
min
[
c
].
in
,
inp
[
s
->
co
[
c
]]);
min
[
c
].
in
=
FFMIN
(
min
[
c
].
in
,
inp
[
s
->
co
[
c
]]);
max
[
c
].
in
=
FFMAX
(
max
[
c
].
in
,
inp
[
s
->
co
[
c
]]);
max
[
c
].
in
=
FFMAX
(
max
[
c
].
in
,
inp
[
s
->
co
[
c
]]);
}
}
inp
+=
s
->
step
;
inp
+=
s
->
step
;
outp
+=
s
->
step
;
}
}
}
}
...
...
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