Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
ace194a0
Commit
ace194a0
authored
Apr 23, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Apr 23, 2014
Browse files
Merge "Chessboard pattern prediction filter type search in non-RD coding"
parents
8e528e8e
8969f7c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_pickmode.c
View file @
ace194a0
...
...
@@ -238,6 +238,9 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
// Mode index conversion form THR_MODES to PREDICTION_MODE for a ref frame.
int
mode_idx
[
MB_MODE_COUNT
]
=
{
0
};
INTERP_FILTER
filter_ref
=
SWITCHABLE
;
int
bsl
=
mi_width_log2_lookup
[
bsize
];
int
pred_filter_search
=
(((
mi_row
+
mi_col
)
>>
bsl
)
+
cpi
->
sf
.
chessboard_index
)
&
0x01
;
x
->
skip_encode
=
cpi
->
sf
.
skip_encode_frame
&&
x
->
q_index
<
QIDX_SKIP_THRESH
;
...
...
@@ -338,6 +341,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
// motion vector is at sub-pixel accuracy level for luma component, i.e.,
// the last three bits are all zeros.
if
((
this_mode
==
NEWMV
||
filter_ref
==
SWITCHABLE
)
&&
pred_filter_search
&&
((
mbmi
->
mv
[
0
].
as_mv
.
row
&
0x07
)
!=
0
||
(
mbmi
->
mv
[
0
].
as_mv
.
col
&
0x07
)
!=
0
))
{
int64_t
tmp_rdcost1
=
INT64_MAX
;
...
...
vp9/encoder/vp9_speed_features.c
View file @
ace194a0
...
...
@@ -268,6 +268,7 @@ static void set_rt_speed_feature(VP9_COMMON *cm, SPEED_FEATURES *sf,
sf
->
use_nonrd_pick_mode
=
1
;
sf
->
search_method
=
FAST_DIAMOND
;
sf
->
allow_skip_recode
=
0
;
sf
->
chessboard_index
=
cm
->
current_video_frame
&
0x01
;
}
if
(
speed
>=
6
)
{
...
...
vp9/encoder/vp9_speed_features.h
View file @
ace194a0
...
...
@@ -274,6 +274,9 @@ typedef struct {
// encoding process for RTC.
int
partition_check
;
// Chessboard pattern index
int
chessboard_index
;
// Use finer quantizer in every other few frames that run variable block
// partition type search.
int
force_frame_boost
;
...
...
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