Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
67876e77
Commit
67876e77
authored
Aug 10, 2017
by
Sebastien Alaiwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coding path sync test: clarify comment
Change-Id: Ib40f6be7d86704d5a5dd4f5bc7dd7331f18894df
parent
439b21c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
test/coding_path_sync.cc
test/coding_path_sync.cc
+8
-9
No files found.
test/coding_path_sync.cc
View file @
67876e77
...
...
@@ -149,17 +149,16 @@ TEST(CodingPathSync, SearchForHbdLbdMismatch) {
CompressedSource
enc
(
i
);
const
aom_codec_cx_pkt_t
*
frame
=
enc
.
ReadFrame
();
// disable the comparison for now.
// Re-enable it locally to help diagnosing LBD/HBD mismatches,
// and re-enable for everybody when both coding paths match,
std
::
vector
<
int16_t
>
lbd_yuv
=
dec_lbd
.
decode
(
frame
);
std
::
vector
<
int16_t
>
hbd_yuv
=
dec_hbd
.
decode
(
frame
);
// TODO(aomedia:39): re-enable the comparison when both coding paths match,
// so they don't diverge anymore.
// Until then, keep doing the decoding to prevent crashes from creeping in,
// making this test harder to re-enable.
if
(
0
)
{
ASSERT_EQ
(
dec_lbd
.
decode
(
frame
),
dec_hbd
.
decode
(
frame
));
}
else
{
// until the comparison is re-enabled, keep doing the decoding,
// as it still detects decoder crashes (Issue 677)
dec_lbd
.
decode
(
frame
);
dec_hbd
.
decode
(
frame
);
ASSERT_EQ
(
lbd_yuv
,
hbd_yuv
);
}
}
}
...
...
Write
Preview
Markdown
is supported
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