Backed out 6 changesets (bug 1495025) for mochitest-webgl2 failures in test_2_conformance2__textures__misc__npot-video-sizing.html. CLOSED TREE
Backed out changeset 263d4f722174 (bug 1495025) Backed out changeset 528dbc463c22 (bug 1495025) Backed out changeset 25895d283d47 (bug 1495025) Backed out changeset c3b43ee1092e (bug 1495025) Backed out changeset c548d816019d (bug 1495025) Backed out changeset 208624601a18 (bug 1495025)
This commit is contained in:
@@ -1895,6 +1895,13 @@ MappedYCbCrChannelData::CopyInto(MappedYCbCrChannelData& aDst)
|
||||
if (bytesPerPixel == 1) {
|
||||
copyData(aDst.data, aDst, data, *this);
|
||||
} else if (bytesPerPixel == 2) {
|
||||
if (skip != 0) {
|
||||
// The skip value definition doesn't specify if it's in bytes, or in
|
||||
// "pixels". We will assume the later. There are currently no decoders
|
||||
// returning HDR content with a skip value different than zero anyway.
|
||||
NS_WARNING("skip value non zero for HDR content, please verify code "
|
||||
"(see bug 1421187)");
|
||||
}
|
||||
copyData(reinterpret_cast<uint16_t*>(aDst.data),
|
||||
aDst,
|
||||
reinterpret_cast<uint16_t*>(data),
|
||||
|
||||
Reference in New Issue
Block a user