Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
libvpx
Commits
4450fa4c
Commit
4450fa4c
authored
Jul 24, 2013
by
Dmitry Kovalev
Browse files
Inlining vp9_init_mode_contexts function.
Change-Id: I21ee76bcae101cc9f6ef1d867622e50b7ae565fc
parent
fcc34796
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
vp9/common/vp9_entropymode.c
vp9/common/vp9_entropymode.c
+4
-11
vp9/common/vp9_entropymode.h
vp9/common/vp9_entropymode.h
+0
-2
No files found.
vp9/common/vp9_entropymode.c
View file @
4450fa4c
...
...
@@ -356,11 +356,6 @@ void vp9_entropy_mode_init() {
vp9_inter_mode_tree
,
NEARESTMV
);
}
void
vp9_init_mode_contexts
(
VP9_COMMON
*
pc
)
{
vp9_zero
(
pc
->
counts
.
inter_mode
);
vp9_copy
(
pc
->
fc
.
inter_mode_probs
,
default_inter_mode_probs
);
}
void
vp9_accum_mv_refs
(
VP9_COMMON
*
pc
,
MB_PREDICTION_MODE
m
,
const
int
context
)
{
...
...
@@ -527,15 +522,13 @@ void vp9_setup_past_independence(VP9_COMMON *cm, MACROBLOCKD *xd) {
vp9_zero
(
xd
->
lf
.
last_mode_deltas
);
set_default_lf_deltas
(
xd
);
vp9_default_coef_probs
(
cm
);
vp9_init_mbmode_probs
(
cm
);
vp9_init_mv_probs
(
cm
);
// To force update of the sharpness
xd
->
lf
.
last_sharpness_level
=
-
1
;
vp9_init_mode_contexts
(
cm
);
vp9_default_coef_probs
(
cm
);
vp9_init_mbmode_probs
(
cm
);
vp9_init_mv_probs
(
cm
);
vp9_copy
(
cm
->
fc
.
inter_mode_probs
,
default_inter_mode_probs
);
if
(
cm
->
frame_type
==
KEY_FRAME
||
cm
->
error_resilient_mode
||
cm
->
reset_frame_context
==
3
)
{
...
...
vp9/common/vp9_entropymode.h
View file @
4450fa4c
...
...
@@ -67,8 +67,6 @@ void vp9_setup_past_independence(struct VP9Common *cm, MACROBLOCKD *xd);
void
vp9_init_mbmode_probs
(
struct
VP9Common
*
x
);
void
vp9_init_mode_contexts
(
struct
VP9Common
*
pc
);
void
vp9_adapt_mode_context
(
struct
VP9Common
*
pc
);
void
vp9_adapt_mode_probs
(
struct
VP9Common
*
);
...
...
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