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
53729c77
Commit
53729c77
authored
Jun 17, 2013
by
Ronald S. Bultje
Browse files
Fix typo ('weight' instead of 'width').
Change-Id: I5d3944051d091b4bf3eb13e2a30132d34203ef74
parent
f616cfe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_variance.h
View file @
53729c77
...
...
@@ -86,18 +86,18 @@ typedef struct vp9_variance_vtable {
vp9_sad_multi_d_fn_t
sdx4df
;
}
vp9_variance_fn_ptr_t
;
static
void
comp_avg_pred
(
uint8_t
*
comp_pred
,
const
uint8_t
*
pred
,
int
w
eight
,
static
void
comp_avg_pred
(
uint8_t
*
comp_pred
,
const
uint8_t
*
pred
,
int
w
idth
,
int
height
,
uint8_t
*
ref
,
int
ref_stride
)
{
int
i
,
j
;
for
(
i
=
0
;
i
<
height
;
i
++
)
{
for
(
j
=
0
;
j
<
w
eight
;
j
++
)
{
for
(
j
=
0
;
j
<
w
idth
;
j
++
)
{
int
tmp
;
tmp
=
pred
[
j
]
+
ref
[
j
];
comp_pred
[
j
]
=
(
tmp
+
1
)
>>
1
;
}
comp_pred
+=
w
eight
;
pred
+=
w
eight
;
comp_pred
+=
w
idth
;
pred
+=
w
idth
;
ref
+=
ref_stride
;
}
}
...
...
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