public static class FilterUtil.Segment extends Object
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
void |
applyHorizontally(VPXMacroblock.Subblock right,
VPXMacroblock.Subblock left,
int a) |
void |
applyVertically(VPXMacroblock.Subblock lower,
VPXMacroblock.Subblock upper,
int a) |
void |
filterSb(int hev_threshold,
int interior_limit,
int edge_limit) |
FilterUtil.Segment |
getSigned() |
static FilterUtil.Segment |
horizontal(VPXMacroblock.Subblock right,
VPXMacroblock.Subblock left,
int a) |
boolean |
isFilterRequired(int interior,
int edge)
All functions take (among other things) a segment (of length at most 4 + 4 = 8) symmetrically
straddling an edge.
|
boolean |
isHighVariance(int threshold)
HEV - Hight Edge Variance.
|
static FilterUtil.Segment |
vertical(VPXMacroblock.Subblock lower,
VPXMacroblock.Subblock upper,
int a) |
public boolean isFilterRequired(int interior, int edge)
public boolean isHighVariance(int threshold)
threshold
- p1
- beforep0
- beforeq0
- afterq1
- afterpublic FilterUtil.Segment getSigned()
public static FilterUtil.Segment horizontal(VPXMacroblock.Subblock right, VPXMacroblock.Subblock left, int a)
public static FilterUtil.Segment vertical(VPXMacroblock.Subblock lower, VPXMacroblock.Subblock upper, int a)
public void applyHorizontally(VPXMacroblock.Subblock right, VPXMacroblock.Subblock left, int a)
public void applyVertically(VPXMacroblock.Subblock lower, VPXMacroblock.Subblock upper, int a)
public void filterSb(int hev_threshold, int interior_limit, int edge_limit)
hev_threshold
- detect high edge varianceinterior_limit
- disable filteredge_limit
- this
- Copyright © 2019. All rights reserved.