Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
02590a5b
Commit
02590a5b
authored
Jun 06, 2013
by
Paul Wilkins
Committed by
Gerrit Code Review
Jun 06, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Turn off compound inter search refinement for good quality." into experimental
parents
b4c4f648
c880e02f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_onyx_if.c
+3
-2
vp9/encoder/vp9_onyx_int.h
vp9/encoder/vp9_onyx_int.h
+1
-1
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_rdopt.c
+2
-2
No files found.
vp9/encoder/vp9_onyx_if.c
View file @
02590a5b
...
...
@@ -740,7 +740,7 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
sf
->
optimize_coefficients
=
!
cpi
->
oxcf
.
lossless
;
sf
->
first_step
=
0
;
sf
->
max_step_search_steps
=
MAX_MVSEARCH_STEPS
;
sf
->
comp_inter_joint_search
=
1
;
sf
->
comp_inter_joint_search
_thresh
=
BLOCK_SIZE_AB4X4
;
#if CONFIG_MULTIPLE_ARF
// Switch segmentation off.
sf
->
static_segmentation
=
0
;
...
...
@@ -762,11 +762,12 @@ void vp9_set_speed_features(VP9_COMP *cpi) {
sf
->
static_segmentation
=
0
;
#endif
sf
->
mb16_breakout
=
0
;
sf
->
comp_inter_joint_search_thresh
=
BLOCK_SIZE_SB8X8
;
if
(
speed
>
0
)
{
sf
->
comp_inter_joint_search_thresh
=
BLOCK_SIZE_TYPES
;
sf
->
optimize_coefficients
=
0
;
sf
->
no_skip_block4x4_search
=
0
;
sf
->
comp_inter_joint_search
=
0
;
sf
->
first_step
=
1
;
}
break
;
...
...
vp9/encoder/vp9_onyx_int.h
View file @
02590a5b
...
...
@@ -217,7 +217,7 @@ typedef struct {
int
search_best_filter
;
int
mb16_breakout
;
int
static_segmentation
;
int
comp_inter_joint_search
;
int
comp_inter_joint_search
_thresh
;
}
SPEED_FEATURES
;
enum
BlockSize
{
...
...
vp9/encoder/vp9_rdopt.c
View file @
02590a5b
...
...
@@ -1402,7 +1402,7 @@ static void rd_check_segment_txsize(VP9_COMP *cpi, MACROBLOCK *x,
// adjust src pointers
mi_buf_shift
(
x
,
i
);
if
(
cpi
->
compressor_speed
==
0
&&
cpi
->
sf
.
comp_inter_joint_search
)
{
if
(
cpi
->
sf
.
comp_inter_joint_search
_thresh
<
bsize
)
{
iterative_motion_search
(
cpi
,
x
,
bsize
,
frame_mv
[
this_mode
],
scaled_ref_frame
,
mi_row
,
mi_col
,
seg_mvs
[
i
]);
...
...
@@ -2114,7 +2114,7 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
frame_mv
[
refs
[
0
]].
as_int
=
single_newmv
[
refs
[
0
]].
as_int
;
frame_mv
[
refs
[
1
]].
as_int
=
single_newmv
[
refs
[
1
]].
as_int
;
if
(
cpi
->
sf
.
comp_inter_joint_search
)
if
(
cpi
->
sf
.
comp_inter_joint_search
_thresh
<
bsize
)
iterative_motion_search
(
cpi
,
x
,
bsize
,
frame_mv
,
scaled_ref_frame
,
mi_row
,
mi_col
,
single_newmv
);
...
...
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