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
Guillaume Martres
aom-rav1e
Commits
260f5071
Commit
260f5071
authored
Sep 13, 2012
by
Scott LaVarnway
Browse files
Removed pre_mvc
Not used. Change-Id: Ifbd97c9ad537d5184f7e305fa8acf6f027978b6b
parent
08cf9fae
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp8/common/onyxc_int.h
View file @
260f5071
...
...
@@ -42,7 +42,6 @@ typedef struct frame_contexts
vp8_prob
sub_mv_ref_prob
[
VP8_SUBMVREFS
-
1
];
vp8_prob
coef_probs
[
BLOCK_TYPES
]
[
COEF_BANDS
]
[
PREV_COEF_CONTEXTS
]
[
ENTROPY_NODES
];
MV_CONTEXT
mvc
[
2
];
MV_CONTEXT
pre_mvc
[
2
];
/* not to caculate the mvcost for the frame if mvc doesn't change. */
}
FRAME_CONTEXT
;
typedef
enum
...
...
vp8/encoder/encodeframe.c
View file @
260f5071
...
...
@@ -939,36 +939,6 @@ void vp8_encode_frame(VP8_COMP *cpi)
}
#if 0
{
int cnt = 0;
int flag[2] = {0, 0};
for (cnt = 0; cnt < MVPcount; cnt++)
{
if (cm->fc.pre_mvc[0][cnt] != cm->fc.mvc[0][cnt])
{
flag[0] = 1;
vpx_memcpy(cm->fc.pre_mvc[0], cm->fc.mvc[0], MVPcount);
break;
}
}
for (cnt = 0; cnt < MVPcount; cnt++)
{
if (cm->fc.pre_mvc[1][cnt] != cm->fc.mvc[1][cnt])
{
flag[1] = 1;
vpx_memcpy(cm->fc.pre_mvc[1], cm->fc.mvc[1], MVPcount);
break;
}
}
if (flag[0] || flag[1])
vp8_build_component_cost_table(cpi->mb.mvcost, (const MV_CONTEXT *) cm->fc.mvc, flag);
}
#endif
#if ! CONFIG_REALTIME_ONLY
/* Adjust the projected reference frame usage probability numbers to
* reflect what we have just seen. This may be useful when we make
...
...
vp8/encoder/ratectrl.c
View file @
260f5071
...
...
@@ -310,9 +310,6 @@ void vp8_setup_key_frame(VP8_COMP *cpi)
vp8_build_component_cost_table
(
cpi
->
mb
.
mvcost
,
(
const
MV_CONTEXT
*
)
cpi
->
common
.
fc
.
mvc
,
flag
);
}
/* initialize pre_mvc to all zero. */
vpx_memset
(
cpi
->
common
.
fc
.
pre_mvc
,
0
,
sizeof
(
cpi
->
common
.
fc
.
pre_mvc
));
/* Make sure we initialize separate contexts for altref,gold, and normal.
* TODO shouldn't need 3 different copies of structure to do this!
*/
...
...
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