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
425316bc
Commit
425316bc
authored
Jan 24, 2013
by
Paul Wilkins
Committed by
Gerrit Code Review
Jan 24, 2013
Browse files
Merge "MSVS compiler error" into experimental
parents
70019f60
f7597625
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpxenc.c
View file @
425316bc
...
...
@@ -1449,10 +1449,10 @@ static void show_rate_histogram(struct rate_hist *hist,
#define mmin(a, b) ((a) < (b) ? (a) : (b))
static
void
find_mismatch
(
vpx_image_t
*
img1
,
vpx_image_t
*
img2
,
int
yloc
[
2
],
int
uloc
[
2
],
int
vloc
[
2
])
{
static
const
int
bsize
=
64
;
static
const
int
bsize2
=
bsize
>>
1
;
int
match
=
1
;
int
i
,
j
;
const
unsigned
int
bsize
=
64
;
const
unsigned
int
bsize2
=
bsize
>>
1
;
unsigned
int
match
=
1
;
unsigned
int
i
,
j
;
yloc
[
0
]
=
yloc
[
1
]
=
-
1
;
for
(
i
=
0
,
match
=
1
;
match
&&
i
<
img1
->
d_h
;
i
+=
bsize
)
{
for
(
j
=
0
;
match
&&
j
<
img1
->
d_w
;
j
+=
bsize
)
{
...
...
@@ -1518,7 +1518,7 @@ static void find_mismatch(vpx_image_t *img1, vpx_image_t *img2,
static
int
compare_img
(
vpx_image_t
*
img1
,
vpx_image_t
*
img2
)
{
int
match
=
1
;
int
i
;
unsigned
int
i
;
match
&=
(
img1
->
fmt
==
img2
->
fmt
);
match
&=
(
img1
->
w
==
img2
->
w
);
...
...
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