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
Xiph.Org
aom-rav1e
Commits
245fba74
Commit
245fba74
authored
Nov 29, 2012
by
Jim Bankoski
Browse files
signed mismatch mvrefcount
Change-Id: Ie34820c1b6eaba9cf9316415a46f48af79c41646
parent
abd74ed5
Changes
3
Show whitespace changes
Inline
Side-by-side
vp9/common/vp9_entropymode.c
View file @
245fba74
...
...
@@ -456,7 +456,7 @@ void vp9_init_mode_contexts(VP9_COMMON *pc) {
void
vp9_accum_mv_refs
(
VP9_COMMON
*
pc
,
MB_PREDICTION_MODE
m
,
const
int
context
)
{
int
(
*
mv_ref_ct
)[
4
][
2
];
unsigned
int
(
*
mv_ref_ct
)[
4
][
2
];
mv_ref_ct
=
pc
->
fc
.
mv_ref_ct
;
...
...
@@ -486,7 +486,7 @@ void vp9_accum_mv_refs(VP9_COMMON *pc,
#define MVREF_MAX_UPDATE_FACTOR 128
void
vp9_update_mode_context
(
VP9_COMMON
*
pc
)
{
int
i
,
j
;
int
(
*
mv_ref_ct
)[
4
][
2
];
unsigned
int
(
*
mv_ref_ct
)[
4
][
2
];
int
(
*
mode_context
)[
4
];
mode_context
=
pc
->
fc
.
vp9_mode_contexts
;
...
...
vp9/common/vp9_onyxc_int.h
View file @
245fba74
...
...
@@ -120,7 +120,7 @@ typedef struct frame_contexts {
#endif
int
vp9_mode_contexts
[
INTER_MODE_CONTEXTS
][
4
];
int
mv_ref_ct
[
INTER_MODE_CONTEXTS
][
4
][
2
];
unsigned
int
mv_ref_ct
[
INTER_MODE_CONTEXTS
][
4
][
2
];
}
FRAME_CONTEXT
;
typedef
enum
{
...
...
vp9/encoder/vp9_bitstream.c
View file @
245fba74
...
...
@@ -265,7 +265,7 @@ static void update_refpred_stats(VP9_COMP *cpi) {
static
void
update_mode_probs
(
VP9_COMMON
*
cm
,
int
mode_context
[
INTER_MODE_CONTEXTS
][
4
])
{
int
i
,
j
;
int
(
*
mv_ref_ct
)[
4
][
2
];
unsigned
int
(
*
mv_ref_ct
)[
4
][
2
];
vpx_memcpy
(
mode_context
,
cm
->
fc
.
vp9_mode_contexts
,
sizeof
(
cm
->
fc
.
vp9_mode_contexts
));
...
...
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