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
096d96ff
Commit
096d96ff
authored
Oct 14, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/select/scene: use pointer increments instead of y*linesize.
parent
08526483
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vf_select.c
libavfilter/vf_select.c
+3
-3
No files found.
libavfilter/vf_select.c
View file @
096d96ff
...
...
@@ -213,12 +213,12 @@ static double get_scene_score(AVFilterContext *ctx, AVFilterBufferRef *picref)
for
(
y
=
0
;
y
<
picref
->
video
->
h
-
8
;
y
+=
8
)
{
for
(
x
=
0
;
x
<
picref
->
video
->
w
*
3
-
8
;
x
+=
8
)
{
sad
+=
select
->
c
.
sad
[
1
](
select
,
p1
+
y
*
linesize
+
x
,
p2
+
y
*
linesize
+
x
,
sad
+=
select
->
c
.
sad
[
1
](
select
,
p1
+
x
,
p2
+
x
,
linesize
,
8
);
nb_sad
+=
8
*
8
;
}
p1
+=
8
*
linesize
;
p2
+=
8
*
linesize
;
}
emms_c
();
mafd
=
nb_sad
?
sad
/
nb_sad
:
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