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
3ad3529b
Commit
3ad3529b
authored
Mar 04, 2015
by
Peter Cordes
Committed by
Michael Niedermayer
May 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_mpdecimate: add comment about 8x8 SAD
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6590acf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vf_mpdecimate.c
libavfilter/vf_mpdecimate.c
+5
-0
No files found.
libavfilter/vf_mpdecimate.c
View file @
3ad3529b
...
...
@@ -120,6 +120,11 @@ static int decimate_frame(AVFilterContext *ctx,
return
0
;
for
(
plane
=
0
;
ref
->
data
[
plane
]
&&
ref
->
linesize
[
plane
];
plane
++
)
{
/* use 8x8 SAD even on subsampled planes. The blocks won't match up with
* luma blocks, but hopefully nobody is depending on this to catch
* localized chroma changes that wouldn't exceed the thresholds when
* diluted by using what's effectively a larger block size.
*/
int
vsub
=
plane
==
1
||
plane
==
2
?
decimate
->
vsub
:
0
;
int
hsub
=
plane
==
1
||
plane
==
2
?
decimate
->
hsub
:
0
;
if
(
diff_planes
(
ctx
,
...
...
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