/frameworks/av/media/codec2/components/dav1d/ |
D | C2SoftDav1dDec.cpp | 124 .withFields({C2F(mHdrStaticInfo, mastering.red.x).inRange(0, 1), in IntfImpl() 125 C2F(mHdrStaticInfo, mastering.red.y).inRange(0, 1), in IntfImpl() 126 C2F(mHdrStaticInfo, mastering.green.x).inRange(0, 1), in IntfImpl() 127 C2F(mHdrStaticInfo, mastering.green.y).inRange(0, 1), in IntfImpl() 128 C2F(mHdrStaticInfo, mastering.blue.x).inRange(0, 1), in IntfImpl() 129 C2F(mHdrStaticInfo, mastering.blue.y).inRange(0, 1), in IntfImpl() 130 C2F(mHdrStaticInfo, mastering.white.x).inRange(0, 1), in IntfImpl() 131 C2F(mHdrStaticInfo, mastering.white.x).inRange(0, 1), in IntfImpl() 132 C2F(mHdrStaticInfo, mastering.maxLuminance).inRange(0, 65535), in IntfImpl() 133 C2F(mHdrStaticInfo, mastering.minLuminance).inRange(0, 6.5535), in IntfImpl() [all …]
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 125 C2F(mHdrStaticInfo, mastering.red.x).inRange(0, 1), in IntfImpl() 126 C2F(mHdrStaticInfo, mastering.red.y).inRange(0, 1), in IntfImpl() 127 C2F(mHdrStaticInfo, mastering.green.x).inRange(0, 1), in IntfImpl() 128 C2F(mHdrStaticInfo, mastering.green.y).inRange(0, 1), in IntfImpl() 129 C2F(mHdrStaticInfo, mastering.blue.x).inRange(0, 1), in IntfImpl() 130 C2F(mHdrStaticInfo, mastering.blue.y).inRange(0, 1), in IntfImpl() 131 C2F(mHdrStaticInfo, mastering.white.x).inRange(0, 1), in IntfImpl() 132 C2F(mHdrStaticInfo, mastering.white.x).inRange(0, 1), in IntfImpl() 133 C2F(mHdrStaticInfo, mastering.maxLuminance).inRange(0, 65535), in IntfImpl() 134 C2F(mHdrStaticInfo, mastering.minLuminance).inRange(0, 6.5535), in IntfImpl() [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 1141 memset(&(*staticInfo)->mastering, 0, sizeof((*staticInfo)->mastering)); in GetHdrMetadataFromGralloc4Handle() 1151 (*staticInfo)->mastering.red.x = smpte2086->primaryRed.x; in GetHdrMetadataFromGralloc4Handle() 1152 (*staticInfo)->mastering.red.y = smpte2086->primaryRed.y; in GetHdrMetadataFromGralloc4Handle() 1153 (*staticInfo)->mastering.green.x = smpte2086->primaryGreen.x; in GetHdrMetadataFromGralloc4Handle() 1154 (*staticInfo)->mastering.green.y = smpte2086->primaryGreen.y; in GetHdrMetadataFromGralloc4Handle() 1155 (*staticInfo)->mastering.blue.x = smpte2086->primaryBlue.x; in GetHdrMetadataFromGralloc4Handle() 1156 (*staticInfo)->mastering.blue.y = smpte2086->primaryBlue.y; in GetHdrMetadataFromGralloc4Handle() 1157 (*staticInfo)->mastering.white.x = smpte2086->whitePoint.x; in GetHdrMetadataFromGralloc4Handle() 1158 (*staticInfo)->mastering.white.y = smpte2086->whitePoint.y; in GetHdrMetadataFromGralloc4Handle() 1160 (*staticInfo)->mastering.maxLuminance = smpte2086->maxLuminance; in GetHdrMetadataFromGralloc4Handle() [all …]
|
D | CCodecConfig.cpp | 1604 if (msg->findFloat("smpte2086.red.x", &hdr.mastering.red.x) in getFormatForDomain() 1605 && msg->findFloat("smpte2086.red.y", &hdr.mastering.red.y) in getFormatForDomain() 1606 && msg->findFloat("smpte2086.green.x", &hdr.mastering.green.x) in getFormatForDomain() 1607 && msg->findFloat("smpte2086.green.y", &hdr.mastering.green.y) in getFormatForDomain() 1608 && msg->findFloat("smpte2086.blue.x", &hdr.mastering.blue.x) in getFormatForDomain() 1609 && msg->findFloat("smpte2086.blue.y", &hdr.mastering.blue.y) in getFormatForDomain() 1610 && msg->findFloat("smpte2086.white.x", &hdr.mastering.white.x) in getFormatForDomain() 1611 && msg->findFloat("smpte2086.white.y", &hdr.mastering.white.y) in getFormatForDomain() 1612 && msg->findFloat("smpte2086.max-luminance", &hdr.mastering.maxLuminance) in getFormatForDomain() 1613 && msg->findFloat("smpte2086.min-luminance", &hdr.mastering.minLuminance) in getFormatForDomain() [all …]
|
D | CCodecBufferChannel.cpp | 1267 if (hdrStaticInfo->mastering.maxLuminance > 0.0f && in renderOutputBuffer() 1268 hdrStaticInfo->mastering.minLuminance > 0.0f) { in renderOutputBuffer() 1271 hdrStaticInfo->mastering.red.x, hdrStaticInfo->mastering.red.y in renderOutputBuffer() 1274 hdrStaticInfo->mastering.green.x, hdrStaticInfo->mastering.green.y in renderOutputBuffer() 1277 hdrStaticInfo->mastering.blue.x, hdrStaticInfo->mastering.blue.y in renderOutputBuffer() 1280 hdrStaticInfo->mastering.white.x, hdrStaticInfo->mastering.white.y in renderOutputBuffer() 1282 .maxLuminance = hdrStaticInfo->mastering.maxLuminance, in renderOutputBuffer() 1283 .minLuminance = hdrStaticInfo->mastering.minLuminance, in renderOutputBuffer()
|
/frameworks/av/media/module/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1872 const mkvparser::MasteringMetadata *mastering = color->mastering_metadata; in getColorInformation() local 1873 if (mastering != NULL) { in getColorInformation() 1876 if (mastering->luminance_max >= 0.5 && mastering->luminance_max < 65535.5) { in getColorInformation() 1877 info.sType1.mMaxDisplayLuminance = (uint16_t)(mastering->luminance_max + 0.5); in getColorInformation() 1879 if (mastering->luminance_min >= 0.00005 && mastering->luminance_min < 6.55355) { in getColorInformation() 1882 (uint16_t)(10000 * mastering->luminance_min + 0.5); in getColorInformation() 1885 if (isValidPrimary(mastering->white_point)) { in getColorInformation() 1886 info.sType1.mW.x = (uint16_t)(50000 * mastering->white_point->x + 0.5); in getColorInformation() 1887 info.sType1.mW.y = (uint16_t)(50000 * mastering->white_point->y + 0.5); in getColorInformation() 1889 if (isValidPrimary(mastering->r) && isValidPrimary(mastering->g) in getColorInformation() [all …]
|
/frameworks/av/media/codec2/hal/plugin/samples/ |
D | SampleFilterPlugin.cpp | 240 C2F(mInputHdrStaticInfo, mastering.red.x).any(), in Helper() 746 hdrStaticInfo->mastering.maxLuminance > 0 && in processLoop() 747 hdrStaticInfo->mastering.minLuminance > 0) in processLoop() 748 ? hdrStaticInfo->mastering.maxLuminance : kDefaultMaxMasteringLuminance; in processLoop()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 126 mHdrStaticInfo->mastering = { in IntfImpl() 144 C2F(mHdrStaticInfo, mastering.red.x).inRange(0, 1), in IntfImpl()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Config.h | 1693 C2MasteringDisplayColorVolumeStruct mastering; member 1700 C2FIELD(mastering, "mastering")
|