Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
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
de3fc517
Commit
de3fc517
authored
Mar 25, 2014
by
Alex Converse
Browse files
Add consts to cost_mv_ref.
Change-Id: Ie5dadb5c2bcfe80a703edb58a71dc453644c9ade
parent
ed39c40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
de3fc517
...
...
@@ -1450,9 +1450,9 @@ static void choose_intra_uv_mode(VP9_COMP *cpi, PICK_MODE_CONTEXT *ctx,
*
mode_uv
=
x
->
e_mbd
.
mi_8x8
[
0
]
->
mbmi
.
uv_mode
;
}
static
int
cost_mv_ref
(
VP9_COMP
*
cpi
,
MB_PREDICTION_MODE
mode
,
static
int
cost_mv_ref
(
const
VP9_COMP
*
cpi
,
MB_PREDICTION_MODE
mode
,
int
mode_context
)
{
MACROBLOCK
*
const
x
=
&
cpi
->
mb
;
const
MACROBLOCK
*
const
x
=
&
cpi
->
mb
;
const
int
segment_id
=
x
->
e_mbd
.
mi_8x8
[
0
]
->
mbmi
.
segment_id
;
// Don't account for mode here if segment skip is enabled.
...
...
Write
Preview
Supports
Markdown
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