Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
29fd44ad
Commit
29fd44ad
authored
6 years ago
by
Paul B Mahol
Browse files
Options
Downloads
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
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavfilter/vf_fieldmatch.c
+3
-3
3 additions, 3 deletions
libavfilter/vf_fieldmatch.c
tests/ref/fate/filter-pixfmts-fieldmatch
+1
-1
1 addition, 1 deletion
tests/ref/fate/filter-pixfmts-fieldmatch
with
4 additions
and
4 deletions
libavfilter/vf_fieldmatch.c
+
3
−
3
View file @
29fd44ad
...
@@ -503,9 +503,9 @@ static int compare_fields(FieldMatchContext *fm, int match1, int match2, int fie
...
@@ -503,9 +503,9 @@ static int compare_fields(FieldMatchContext *fm, int match1, int match2, int fie
int
prvf_linesize
,
nxtf_linesize
;
int
prvf_linesize
,
nxtf_linesize
;
const
int
width
=
get_width
(
fm
,
src
,
plane
);
const
int
width
=
get_width
(
fm
,
src
,
plane
);
const
int
height
=
get_height
(
fm
,
src
,
plane
);
const
int
height
=
get_height
(
fm
,
src
,
plane
);
const
int
y0a
=
fm
->
y0
>>
(
plane
!=
0
);
const
int
y0a
=
fm
->
y0
>>
(
plane
?
fm
->
vsub
:
0
);
const
int
y1a
=
fm
->
y1
>>
(
plane
!=
0
);
const
int
y1a
=
fm
->
y1
>>
(
plane
?
fm
->
vsub
:
0
);
const
int
startx
=
(
plane
==
0
?
8
:
4
);
const
int
startx
=
(
plane
==
0
?
8
:
8
>>
fm
->
hsub
);
const
int
stopx
=
width
-
startx
;
const
int
stopx
=
width
-
startx
;
const
uint8_t
*
srcpf
,
*
srcf
,
*
srcnf
;
const
uint8_t
*
srcpf
,
*
srcf
,
*
srcnf
;
const
uint8_t
*
prvpf
,
*
prvnf
,
*
nxtpf
,
*
nxtnf
;
const
uint8_t
*
prvpf
,
*
prvnf
,
*
nxtpf
,
*
nxtnf
;
...
...
This diff is collapsed.
Click to expand it.
tests/ref/fate/filter-pixfmts-fieldmatch
+
1
−
1
View file @
29fd44ad
...
@@ -2,4 +2,4 @@ yuv410p a6c9b4065e8253d8120772f69be0bf04
...
@@ -2,4 +2,4 @@ yuv410p a6c9b4065e8253d8120772f69be0bf04
yuv411p b913e634ad37ce046240252bed8681fb
yuv411p b913e634ad37ce046240252bed8681fb
yuv420p a9286560141eb14595e427dbe5829b00
yuv420p a9286560141eb14595e427dbe5829b00
yuv422p 11ad22ce00c5e8a30d0472f29fb15434
yuv422p 11ad22ce00c5e8a30d0472f29fb15434
yuv444p
9350a3f23cd7d95ec441a49f63f55953
yuv444p
6c5b0c1343d625d0656b6755906fd874
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment