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
29fd44ad
Commit
29fd44ad
authored
Apr 28, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_fieldmatch: use correct subsamplings for y0a, y1a and startx
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
96d7cbed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vf_fieldmatch.c
libavfilter/vf_fieldmatch.c
+3
-3
filter-pixfmts-fieldmatch
tests/ref/fate/filter-pixfmts-fieldmatch
+1
-1
No files found.
libavfilter/vf_fieldmatch.c
View file @
29fd44ad
...
...
@@ -503,9 +503,9 @@ static int compare_fields(FieldMatchContext *fm, int match1, int match2, int fie
int
prvf_linesize
,
nxtf_linesize
;
const
int
width
=
get_width
(
fm
,
src
,
plane
);
const
int
height
=
get_height
(
fm
,
src
,
plane
);
const
int
y0a
=
fm
->
y0
>>
(
plane
!=
0
);
const
int
y1a
=
fm
->
y1
>>
(
plane
!=
0
);
const
int
startx
=
(
plane
==
0
?
8
:
4
);
const
int
y0a
=
fm
->
y0
>>
(
plane
?
fm
->
vsub
:
0
);
const
int
y1a
=
fm
->
y1
>>
(
plane
?
fm
->
vsub
:
0
);
const
int
startx
=
(
plane
==
0
?
8
:
8
>>
fm
->
hsub
);
const
int
stopx
=
width
-
startx
;
const
uint8_t
*
srcpf
,
*
srcf
,
*
srcnf
;
const
uint8_t
*
prvpf
,
*
prvnf
,
*
nxtpf
,
*
nxtnf
;
...
...
tests/ref/fate/filter-pixfmts-fieldmatch
View file @
29fd44ad
...
...
@@ -2,4 +2,4 @@ yuv410p a6c9b4065e8253d8120772f69be0bf04
yuv411p b913e634ad37ce046240252bed8681fb
yuv420p a9286560141eb14595e427dbe5829b00
yuv422p 11ad22ce00c5e8a30d0472f29fb15434
yuv444p
9350a3f23cd7d95ec441a49f63f55953
yuv444p
6c5b0c1343d625d0656b6755906fd874
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