Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
77e64d8c
Commit
77e64d8c
authored
11 years ago
by
James Zern
Browse files
Options
Download
Patches
Plain Diff
tests: fix a few msvc warnings
Change-Id: I7ee89d6fc2afc20563d1784598ce83e29c0e6651
parent
99d39e5b
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
test/i420_video_source.h
+1
-1
test/i420_video_source.h
test/subtract_test.cc
+1
-1
test/subtract_test.cc
test/test_vector_test.cc
+1
-1
test/test_vector_test.cc
test/vp8_boolcoder_test.cc
+1
-1
test/vp8_boolcoder_test.cc
with
4 additions
and
4 deletions
test/i420_video_source.h
+
1
−
1
View file @
77e64d8c
...
...
@@ -52,7 +52,7 @@ class I420VideoSource : public VideoSource {
ASSERT_TRUE
(
input_file_
!=
NULL
)
<<
"Input file open failed. Filename: "
<<
file_name_
;
if
(
start_
)
{
fseek
(
input_file_
,
raw_sz_
*
start_
,
SEEK_SET
);
fseek
(
input_file_
,
static_cast
<
unsigned
>
(
raw_sz_
)
*
start_
,
SEEK_SET
);
}
frame_
=
start_
;
...
...
This diff is collapsed.
Click to expand it.
test/subtract_test.cc
+
1
−
1
View file @
77e64d8c
...
...
@@ -59,7 +59,7 @@ TEST_P(SubtractBlockTest, SimpleSubtract) {
int16_t
*
src_diff
=
be
.
src_diff
;
for
(
int
r
=
0
;
r
<
kBlockHeight
;
++
r
)
{
for
(
int
c
=
0
;
c
<
kBlockWidth
;
++
c
)
{
src_diff
[
c
]
=
static_cast
<
int16_t
>
(
0xa5a5
);
src_diff
[
c
]
=
static_cast
<
int16_t
>
(
0xa5a5
u
);
}
src_diff
+=
kDiffPredStride
;
}
...
...
This diff is collapsed.
Click to expand it.
test/test_vector_test.cc
+
1
−
1
View file @
77e64d8c
...
...
@@ -35,7 +35,7 @@ class TestVectorTest : public ::libvpx_test::DecoderTest,
void
OpenMD5File
(
const
std
::
string
&
md5_file_name_
)
{
md5_file_
=
libvpx_test
::
OpenTestDataFile
(
md5_file_name_
);
ASSERT_TRUE
(
md5_file_
)
<<
"Md5 file open failed. Filename: "
ASSERT_TRUE
(
md5_file_
!=
NULL
)
<<
"Md5 file open failed. Filename: "
<<
md5_file_name_
;
}
...
...
This diff is collapsed.
Click to expand it.
test/vp8_boolcoder_test.cc
+
1
−
1
View file @
77e64d8c
...
...
@@ -43,7 +43,7 @@ void encrypt_buffer(uint8_t *buffer, int size) {
void
test_decrypt_cb
(
void
*
decrypt_state
,
const
uint8_t
*
input
,
uint8_t
*
output
,
int
count
)
{
in
t
offset
=
input
-
reinterpret_cast
<
uint8_t
*>
(
decrypt_state
);
const
size_
t
offset
=
input
-
reinterpret_cast
<
uint8_t
*>
(
decrypt_state
);
for
(
int
i
=
0
;
i
<
count
;
i
++
)
{
output
[
i
]
=
input
[
i
]
^
secret_key
[(
offset
+
i
)
&
15
];
}
...
...
This diff is collapsed.
Click to expand it.
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!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets