Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
0e79906d
Commit
0e79906d
authored
Jun 27, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Jun 27, 2014
Browse files
Merge "Allow encoder to set lpf level to 0"
parents
303aa7e4
d0cb273e
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_picklpf.c
View file @
0e79906d
...
...
@@ -144,7 +144,9 @@ void vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi,
lf
->
sharpness_level
=
cm
->
frame_type
==
KEY_FRAME
?
0
:
cpi
->
oxcf
.
sharpness
;
if
(
method
==
LPF_PICK_FROM_Q
)
{
if
(
method
==
LPF_PICK_MINIMAL_LPF
&&
lf
->
filter_level
)
{
lf
->
filter_level
=
0
;
}
else
if
(
method
>=
LPF_PICK_FROM_Q
)
{
const
int
min_filter_level
=
0
;
const
int
max_filter_level
=
get_max_filter_level
(
cpi
);
const
int
q
=
vp9_ac_quant
(
cm
->
base_qindex
,
0
);
...
...
vp9/encoder/vp9_speed_features.c
View file @
0e79906d
...
...
@@ -280,7 +280,7 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf,
sf
->
reuse_inter_pred_sby
=
1
;
}
if
(
speed
>=
7
)
{
sf
->
disable_filter_search_var_thresh
=
1000
;
sf
->
lpf_pick
=
LPF_PICK_MINIMAL_LPF
;
}
if
(
speed
>=
8
)
{
int
i
;
...
...
vp9/encoder/vp9_speed_features.h
View file @
0e79906d
...
...
@@ -73,6 +73,8 @@ typedef enum {
LPF_PICK_FROM_SUBIMAGE
,
// Estimate the level based on quantizer and frame type
LPF_PICK_FROM_Q
,
// Pick 0 to disable LPF if LPF was enabled last frame
LPF_PICK_MINIMAL_LPF
}
LPF_PICK_METHOD
;
typedef
enum
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment