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
e425047a
Commit
e425047a
authored
Jan 04, 2018
by
Marc-Antoine Arnaud
Committed by
Michael Niedermayer
Jan 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: rename variables in geq
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
ac6b0bba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
vf_geq.c
libavfilter/vf_geq.c
+9
-9
No files found.
libavfilter/vf_geq.c
View file @
e425047a
...
...
@@ -310,25 +310,25 @@ static int geq_filter_frame(AVFilterLink *inlink, AVFrame *in)
av_frame_copy_props
(
out
,
in
);
for
(
plane
=
0
;
plane
<
geq
->
planes
&&
out
->
data
[
plane
];
plane
++
)
{
const
int
w
=
(
plane
==
1
||
plane
==
2
)
?
AV_CEIL_RSHIFT
(
inlink
->
w
,
geq
->
hsub
)
:
inlink
->
w
;
const
int
h
=
(
plane
==
1
||
plane
==
2
)
?
AV_CEIL_RSHIFT
(
inlink
->
h
,
geq
->
vsub
)
:
inlink
->
h
;
const
int
w
idth
=
(
plane
==
1
||
plane
==
2
)
?
AV_CEIL_RSHIFT
(
inlink
->
w
,
geq
->
hsub
)
:
inlink
->
w
;
const
int
h
eight
=
(
plane
==
1
||
plane
==
2
)
?
AV_CEIL_RSHIFT
(
inlink
->
h
,
geq
->
vsub
)
:
inlink
->
h
;
const
int
linesize
=
out
->
linesize
[
plane
];
ThreadData
td
;
geq
->
dst
=
out
->
data
[
plane
];
geq
->
dst16
=
(
uint16_t
*
)
out
->
data
[
plane
];
geq
->
values
[
VAR_W
]
=
w
;
geq
->
values
[
VAR_H
]
=
h
;
geq
->
values
[
VAR_SW
]
=
w
/
(
double
)
inlink
->
w
;
geq
->
values
[
VAR_SH
]
=
h
/
(
double
)
inlink
->
h
;
geq
->
values
[
VAR_W
]
=
w
idth
;
geq
->
values
[
VAR_H
]
=
h
eight
;
geq
->
values
[
VAR_SW
]
=
w
idth
/
(
double
)
inlink
->
w
;
geq
->
values
[
VAR_SH
]
=
h
eight
/
(
double
)
inlink
->
h
;
td
.
width
=
w
;
td
.
height
=
h
;
td
.
width
=
w
idth
;
td
.
height
=
h
eight
;
td
.
plane
=
plane
;
td
.
linesize
=
linesize
;
ctx
->
internal
->
execute
(
ctx
,
slice_geq_filter
,
&
td
,
NULL
,
FFMIN
(
h
,
nb_threads
));
ctx
->
internal
->
execute
(
ctx
,
slice_geq_filter
,
&
td
,
NULL
,
FFMIN
(
h
eight
,
nb_threads
));
}
av_frame_free
(
&
geq
->
picref
);
...
...
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