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
Xiph.Org
aom-rav1e
Commits
d1bfa55d
Commit
d1bfa55d
authored
Jun 17, 2013
by
Ronald S. Bultje
Committed by
Gerrit Code Review
Jun 17, 2013
Browse files
Merge "Fix typo ('weight' instead of 'width')."
parents
859a4747
53729c77
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_variance.h
View file @
d1bfa55d
...
...
@@ -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
.
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