Loading media/janitors/media_leads_OWNERS +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ # loosely (as of 2022/3) fgoldfain@ and direct reports arifdikici@google.com elaurent@google.com fgoldfain@google.com fgoldfain@google.com #{LAST_RESORT_SUGGESTION} lajos@google.com nchalko@google.com olly@google.com Loading media/libstagefright/MPEG4Writer.cpp +40 −37 Original line number Diff line number Diff line Loading @@ -4482,7 +4482,13 @@ void MPEG4Writer::Track::writeMdcvAndClliBoxes() { size_t size; bool found = meta->findData(kKeyHdrStaticInfo, &type, reinterpret_cast<const void**>(&data), &size); if (found && size == 25) { if (!found) { return; // Nothing to encode. } if (size != 25) { ALOGW("Ignoring HDR static info with unexpected size %d", (int)size); return; } uint16_t displayPrimariesRX = U16LE_AT(&data[1]); uint16_t displayPrimariesRY = U16LE_AT(&data[3]); Loading Loading @@ -4518,9 +4524,6 @@ void MPEG4Writer::Track::writeMdcvAndClliBoxes() { mOwner->writeInt16(maxContentLightLevel); mOwner->writeInt16(maxPicAverageLightLevel); mOwner->endBox(); // clli. } else { ALOGW("Ignoring HDR static info with unexpected size %d", (int)size); } } void MPEG4Writer::Track::writeAudioFourCCBox() { Loading Loading
media/janitors/media_leads_OWNERS +1 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ # loosely (as of 2022/3) fgoldfain@ and direct reports arifdikici@google.com elaurent@google.com fgoldfain@google.com fgoldfain@google.com #{LAST_RESORT_SUGGESTION} lajos@google.com nchalko@google.com olly@google.com Loading
media/libstagefright/MPEG4Writer.cpp +40 −37 Original line number Diff line number Diff line Loading @@ -4482,7 +4482,13 @@ void MPEG4Writer::Track::writeMdcvAndClliBoxes() { size_t size; bool found = meta->findData(kKeyHdrStaticInfo, &type, reinterpret_cast<const void**>(&data), &size); if (found && size == 25) { if (!found) { return; // Nothing to encode. } if (size != 25) { ALOGW("Ignoring HDR static info with unexpected size %d", (int)size); return; } uint16_t displayPrimariesRX = U16LE_AT(&data[1]); uint16_t displayPrimariesRY = U16LE_AT(&data[3]); Loading Loading @@ -4518,9 +4524,6 @@ void MPEG4Writer::Track::writeMdcvAndClliBoxes() { mOwner->writeInt16(maxContentLightLevel); mOwner->writeInt16(maxPicAverageLightLevel); mOwner->endBox(); // clli. } else { ALOGW("Ignoring HDR static info with unexpected size %d", (int)size); } } void MPEG4Writer::Track::writeAudioFourCCBox() { Loading