Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guillaume Martres
aom-rav1e
Commits
7df44f17
Commit
7df44f17
authored
9 years ago
by
Adrian Grange
Browse files
Options
Downloads
Patches
Plain Diff
Replace "Vp9" w/ "Av1"
Change-Id: I4e7c9e8e0081ab96f44ca1cdf63731c060a9be9b
parent
967f722f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/decode_test_driver.cc
+2
-2
2 additions, 2 deletions
test/decode_test_driver.cc
test/test_intra_pred_speed.cc
+18
-18
18 additions, 18 deletions
test/test_intra_pred_speed.cc
with
20 additions
and
20 deletions
test/decode_test_driver.cc
+
2
−
2
View file @
7df44f17
...
...
@@ -58,8 +58,8 @@ void DecoderTest::HandlePeekResult(Decoder *const decoder,
ASSERT_EQ
(
AOM_CODEC_OK
,
res_peek
)
<<
"Peek return failed: "
<<
aom_codec_err_to_string
(
res_peek
);
}
else
{
/* The
Vp9
implementation of PeekStream returns an error only if the
* data passed to it isn't a valid
Vp9
chunk. */
/* The
Av1
implementation of PeekStream returns an error only if the
* data passed to it isn't a valid
Av1
chunk. */
ASSERT_EQ
(
AOM_CODEC_OK
,
res_peek
)
<<
"Peek return failed: "
<<
aom_codec_err_to_string
(
res_peek
);
}
...
...
This diff is collapsed.
Click to expand it.
test/test_intra_pred_speed.cc
+
18
−
18
View file @
7df44f17
...
...
@@ -31,8 +31,8 @@ namespace {
typedef
void
(
*
VpxPredFunc
)(
uint8_t
*
dst
,
ptrdiff_t
y_stride
,
const
uint8_t
*
above
,
const
uint8_t
*
left
);
const
int
kNum
Vp9
IntraPredFuncs
=
13
;
const
char
*
k
Vp9
IntraPredNames
[
kNum
Vp9
IntraPredFuncs
]
=
{
const
int
kNum
Av1
IntraPredFuncs
=
13
;
const
char
*
k
Av1
IntraPredNames
[
kNum
Av1
IntraPredFuncs
]
=
{
"DC_PRED"
,
"DC_LEFT_PRED"
,
"DC_TOP_PRED"
,
"DC_128_PRED"
,
"V_PRED"
,
"H_PRED"
,
"D45_PRED"
,
"D135_PRED"
,
"D117_PRED"
,
"D153_PRED"
,
"D207_PRED"
,
"D63_PRED"
,
"TM_PRED"
...
...
@@ -82,8 +82,8 @@ void TestIntraPred(const char name[], VpxPredFunc const *pred_funcs,
}
void
TestIntraPred4
(
VpxPredFunc
const
*
pred_funcs
)
{
static
const
int
kNum
Vp9
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Vp9
IntraFuncs
]
=
{
static
const
int
kNum
Av1
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Av1
IntraFuncs
]
=
{
"4334156168b34ab599d9b5b30f522fe9"
,
"bc4649d5ba47c7ff178d92e475960fb0"
,
"8d316e5933326dcac24e1064794b5d12"
,
"a27270fed024eafd762c95de85f4da51"
,
"c33dff000d4256c2b8f3bf9e9bab14d2"
,
"44d8cddc2ad8f79b8ed3306051722b4f"
,
...
...
@@ -92,13 +92,13 @@ void TestIntraPred4(VpxPredFunc const *pred_funcs) {
"c56d5e8c729e46825f46dd5d3b5d508a"
,
"c0889e2039bcf7bcb5d2f33cdca69adc"
,
"309a618577b27c648f9c5ee45252bc8f"
,
};
TestIntraPred
(
"Intra4"
,
pred_funcs
,
k
Vp9
IntraPredNames
,
kNum
Vp9
IntraFuncs
,
kSignatures
,
4
,
4
*
4
*
kNum
Vp9
IntraFuncs
);
TestIntraPred
(
"Intra4"
,
pred_funcs
,
k
Av1
IntraPredNames
,
kNum
Av1
IntraFuncs
,
kSignatures
,
4
,
4
*
4
*
kNum
Av1
IntraFuncs
);
}
void
TestIntraPred8
(
VpxPredFunc
const
*
pred_funcs
)
{
static
const
int
kNum
Vp9
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Vp9
IntraFuncs
]
=
{
static
const
int
kNum
Av1
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Av1
IntraFuncs
]
=
{
"7694ddeeefed887faf9d339d18850928"
,
"7d726b1213591b99f736be6dec65065b"
,
"19c5711281357a485591aaf9c96c0a67"
,
"ba6b66877a089e71cd938e3b8c40caac"
,
"802440c93317e0f8ba93fab02ef74265"
,
"9e09a47a15deb0b9d8372824f9805080"
,
...
...
@@ -107,13 +107,13 @@ void TestIntraPred8(VpxPredFunc const *pred_funcs) {
"08323400005a297f16d7e57e7fe1eaac"
,
"95f7bfc262329a5849eda66d8f7c68ce"
,
"815b75c8e0d91cc1ae766dc5d3e445a3"
,
};
TestIntraPred
(
"Intra8"
,
pred_funcs
,
k
Vp9
IntraPredNames
,
kNum
Vp9
IntraFuncs
,
kSignatures
,
8
,
8
*
8
*
kNum
Vp9
IntraFuncs
);
TestIntraPred
(
"Intra8"
,
pred_funcs
,
k
Av1
IntraPredNames
,
kNum
Av1
IntraFuncs
,
kSignatures
,
8
,
8
*
8
*
kNum
Av1
IntraFuncs
);
}
void
TestIntraPred16
(
VpxPredFunc
const
*
pred_funcs
)
{
static
const
int
kNum
Vp9
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Vp9
IntraFuncs
]
=
{
static
const
int
kNum
Av1
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Av1
IntraFuncs
]
=
{
"b40dbb555d5d16a043dc361e6694fe53"
,
"fb08118cee3b6405d64c1fd68be878c6"
,
"6c190f341475c837cc38c2e566b64875"
,
"db5c34ccbe2c7f595d9b08b0dc2c698c"
,
"a62cbfd153a1f0b9fed13e62b8408a7a"
,
"143df5b4c89335e281103f610f5052e4"
,
...
...
@@ -122,13 +122,13 @@ void TestIntraPred16(VpxPredFunc const *pred_funcs) {
"b9f69fa6532b372c545397dcb78ef311"
,
"a8fe1c70432f09d0c20c67bdb6432c4d"
,
"b8a41aa968ec108af447af4217cba91b"
,
};
TestIntraPred
(
"Intra16"
,
pred_funcs
,
k
Vp9
IntraPredNames
,
kNum
Vp9
IntraFuncs
,
kSignatures
,
16
,
16
*
16
*
kNum
Vp9
IntraFuncs
);
TestIntraPred
(
"Intra16"
,
pred_funcs
,
k
Av1
IntraPredNames
,
kNum
Av1
IntraFuncs
,
kSignatures
,
16
,
16
*
16
*
kNum
Av1
IntraFuncs
);
}
void
TestIntraPred32
(
VpxPredFunc
const
*
pred_funcs
)
{
static
const
int
kNum
Vp9
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Vp9
IntraFuncs
]
=
{
static
const
int
kNum
Av1
IntraFuncs
=
13
;
static
const
char
*
const
kSignatures
[
kNum
Av1
IntraFuncs
]
=
{
"558541656d84f9ae7896db655826febe"
,
"b3587a1f9a01495fa38c8cd3c8e2a1bf"
,
"4c6501e64f25aacc55a2a16c7e8f0255"
,
"b3b01379ba08916ef6b1b35f7d9ad51c"
,
"0f1eb38b6cbddb3d496199ef9f329071"
,
"911c06efb9ed1c3b4c104b232b55812f"
,
...
...
@@ -137,8 +137,8 @@ void TestIntraPred32(VpxPredFunc const *pred_funcs) {
"ed012a4a5da71f36c2393023184a0e59"
,
"f162b51ed618d28b936974cff4391da5"
,
"9e1370c6d42e08d357d9612c93a71cfc"
,
};
TestIntraPred
(
"Intra32"
,
pred_funcs
,
k
Vp9
IntraPredNames
,
kNum
Vp9
IntraFuncs
,
kSignatures
,
32
,
32
*
32
*
kNum
Vp9
IntraFuncs
);
TestIntraPred
(
"Intra32"
,
pred_funcs
,
k
Av1
IntraPredNames
,
kNum
Av1
IntraFuncs
,
kSignatures
,
32
,
32
*
32
*
kNum
Av1
IntraFuncs
);
}
}
// namespace
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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