Searched refs:mastering (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 1210 if (msg->findFloat("smpte2086.red.x", &hdr.mastering.red.x) in getSdkFormatForDomain() 1211 && msg->findFloat("smpte2086.red.y", &hdr.mastering.red.y) in getSdkFormatForDomain() 1212 && msg->findFloat("smpte2086.green.x", &hdr.mastering.green.x) in getSdkFormatForDomain() 1213 && msg->findFloat("smpte2086.green.y", &hdr.mastering.green.y) in getSdkFormatForDomain() 1214 && msg->findFloat("smpte2086.blue.x", &hdr.mastering.blue.x) in getSdkFormatForDomain() 1215 && msg->findFloat("smpte2086.blue.y", &hdr.mastering.blue.y) in getSdkFormatForDomain() 1216 && msg->findFloat("smpte2086.white.x", &hdr.mastering.white.x) in getSdkFormatForDomain() 1217 && msg->findFloat("smpte2086.white.y", &hdr.mastering.white.y) in getSdkFormatForDomain() 1218 && msg->findFloat("smpte2086.max-luminance", &hdr.mastering.maxLuminance) in getSdkFormatForDomain() 1219 && msg->findFloat("smpte2086.min-luminance", &hdr.mastering.minLuminance) in getSdkFormatForDomain() [all …]
|
D | CCodecBufferChannel.cpp | 673 hdrStaticInfo->mastering.red.x, hdrStaticInfo->mastering.red.y in renderOutputBuffer() 676 hdrStaticInfo->mastering.green.x, hdrStaticInfo->mastering.green.y in renderOutputBuffer() 679 hdrStaticInfo->mastering.blue.x, hdrStaticInfo->mastering.blue.y in renderOutputBuffer() 682 hdrStaticInfo->mastering.white.x, hdrStaticInfo->mastering.white.y in renderOutputBuffer() 684 .maxLuminance = hdrStaticInfo->mastering.maxLuminance, in renderOutputBuffer() 685 .minLuminance = hdrStaticInfo->mastering.minLuminance, in renderOutputBuffer()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1835 const mkvparser::MasteringMetadata *mastering = color->mastering_metadata; in getColorInformation() local 1836 if (mastering != NULL) { in getColorInformation() 1839 if (mastering->luminance_max >= 0.5 && mastering->luminance_max < 65535.5) { in getColorInformation() 1840 info.sType1.mMaxDisplayLuminance = (uint16_t)(mastering->luminance_max + 0.5); in getColorInformation() 1842 if (mastering->luminance_min >= 0.00005 && mastering->luminance_min < 6.55355) { in getColorInformation() 1845 (uint16_t)(10000 * mastering->luminance_min + 0.5); in getColorInformation() 1848 if (isValidPrimary(mastering->white_point)) { in getColorInformation() 1849 info.sType1.mW.x = (uint16_t)(50000 * mastering->white_point->x + 0.5); in getColorInformation() 1850 info.sType1.mW.y = (uint16_t)(50000 * mastering->white_point->y + 0.5); in getColorInformation() 1852 if (isValidPrimary(mastering->r) && isValidPrimary(mastering->g) in getColorInformation() [all …]
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 125 mHdrStaticInfo->mastering = { in IntfImpl() 143 C2F(mHdrStaticInfo, mastering.red.x).inRange(0, 1), in IntfImpl()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Config.h | 1526 C2MasteringDisplayColorVolumeStruct mastering; member 1533 C2FIELD(mastering, "mastering")
|