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
d4a47a6c
Commit
d4a47a6c
authored
Aug 14, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Aug 14, 2014
Browse files
Merge "Replace current_video_frame with better alternatives"
parents
940db8fc
741a23cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
d4a47a6c
...
...
@@ -2480,7 +2480,7 @@ static void encode_rd_sb_row(VP9_COMP *cpi, const TileInfo *const tile,
if
(
gf_grp
->
update_type
[
gf_grp
->
index
-
1
]
==
OVERLAY_UPDATE
)
last_was_mid_sequence_overlay
=
1
;
}
if
((
c
m
->
current_video_frame
if
((
c
pi
->
rc
.
frames_since_key
%
sf
->
last_partitioning_redo_frequency
)
==
0
||
last_was_mid_sequence_overlay
||
cm
->
prev_mi
==
0
...
...
@@ -2583,7 +2583,7 @@ static MV_REFERENCE_FRAME get_frame_type(const VP9_COMP *cpi) {
static
TX_MODE
select_tx_mode
(
const
VP9_COMP
*
cpi
)
{
if
(
cpi
->
mb
.
e_mbd
.
lossless
)
return
ONLY_4X4
;
if
(
cpi
->
common
.
current_video_frame
==
0
)
if
(
cpi
->
common
.
frame_type
==
KEY_FRAME
)
return
TX_MODE_SELECT
;
if
(
cpi
->
sf
.
tx_size_search_method
==
USE_LARGESTALL
)
return
ALLOW_32X32
;
...
...
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