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
e071fe15
Commit
e071fe15
authored
Mar 28, 2013
by
Yaowu Xu
Committed by
Gerrit Code Review
Mar 28, 2013
Browse files
Merge "Fix crash when --tune=ssim is selected." into experimental
parents
ed78d143
befb0393
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_encodeframe.c
View file @
e071fe15
...
...
@@ -198,7 +198,7 @@ static void calc_av_activity(VP9_COMP *cpi, int64_t activity_sum) {
#define OUTPUT_NORM_ACT_STATS 0
#if USE_ACT_INDEX
// Calculate an
d
activity index for each mb
// Calculate an activity index for each mb
static
void
calc_activity_index
(
VP9_COMP
*
cpi
,
MACROBLOCK
*
x
)
{
VP9_COMMON
*
const
cm
=
&
cpi
->
common
;
int
mb_row
,
mb_col
;
...
...
@@ -268,6 +268,8 @@ static void build_activity_map(VP9_COMP *cpi) {
unsigned
int
mb_activity
;
int64_t
activity_sum
=
0
;
x
->
mb_activity_ptr
=
cpi
->
mb_activity_map
;
// for each macroblock row in image
for
(
mb_row
=
0
;
mb_row
<
cm
->
mb_rows
;
mb_row
++
)
{
#if ALT_ACT_MEASURE
...
...
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