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
ba33d4ce
Commit
ba33d4ce
authored
Dec 26, 2017
by
Zoe Liu
Browse files
Remove unused code for comp ref setup
Change-Id: I40232b965ba28b4dcef7ebfe8697679f6b0ffc96
parent
c67d98c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodeframe.c
View file @
ba33d4ce
...
...
@@ -3941,15 +3941,6 @@ void av1_encode_frame(AV1_COMP *cpi) {
#endif
cpi
->
allow_comp_inter_inter
=
av1_is_compound_reference_allowed
(
cm
);
if
(
cpi
->
allow_comp_inter_inter
)
{
cm
->
comp_fwd_ref
[
0
]
=
LAST_FRAME
;
cm
->
comp_fwd_ref
[
1
]
=
LAST2_FRAME
;
cm
->
comp_fwd_ref
[
2
]
=
LAST3_FRAME
;
cm
->
comp_fwd_ref
[
3
]
=
GOLDEN_FRAME
;
cm
->
comp_bwd_ref
[
0
]
=
BWDREF_FRAME
;
cm
->
comp_bwd_ref
[
1
]
=
ALTREF2_FRAME
;
cm
->
comp_bwd_ref
[
2
]
=
ALTREF_FRAME
;
}
if
(
cpi
->
sf
.
frame_parameter_update
)
{
int
i
;
...
...
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