Lines Matching refs:hdr
1226 C2HdrStaticMetadataStruct hdr; in getSdkFormatForDomain() local
1227 if (msg->findFloat("smpte2086.red.x", &hdr.mastering.red.x) in getSdkFormatForDomain()
1228 && msg->findFloat("smpte2086.red.y", &hdr.mastering.red.y) in getSdkFormatForDomain()
1229 && msg->findFloat("smpte2086.green.x", &hdr.mastering.green.x) in getSdkFormatForDomain()
1230 && msg->findFloat("smpte2086.green.y", &hdr.mastering.green.y) in getSdkFormatForDomain()
1231 && msg->findFloat("smpte2086.blue.x", &hdr.mastering.blue.x) in getSdkFormatForDomain()
1232 && msg->findFloat("smpte2086.blue.y", &hdr.mastering.blue.y) in getSdkFormatForDomain()
1233 && msg->findFloat("smpte2086.white.x", &hdr.mastering.white.x) in getSdkFormatForDomain()
1234 && msg->findFloat("smpte2086.white.y", &hdr.mastering.white.y) in getSdkFormatForDomain()
1235 && msg->findFloat("smpte2086.max-luminance", &hdr.mastering.maxLuminance) in getSdkFormatForDomain()
1236 && msg->findFloat("smpte2086.min-luminance", &hdr.mastering.minLuminance) in getSdkFormatForDomain()
1237 && msg->findFloat("cta861.max-cll", &hdr.maxCll) in getSdkFormatForDomain()
1238 && msg->findFloat("cta861.max-fall", &hdr.maxFall)) { in getSdkFormatForDomain()
1239 if (hdr.mastering.red.x >= 0 && hdr.mastering.red.x <= 1 in getSdkFormatForDomain()
1240 && hdr.mastering.red.y >= 0 && hdr.mastering.red.y <= 1 in getSdkFormatForDomain()
1241 && hdr.mastering.green.x >= 0 && hdr.mastering.green.x <= 1 in getSdkFormatForDomain()
1242 && hdr.mastering.green.y >= 0 && hdr.mastering.green.y <= 1 in getSdkFormatForDomain()
1243 && hdr.mastering.blue.x >= 0 && hdr.mastering.blue.x <= 1 in getSdkFormatForDomain()
1244 && hdr.mastering.blue.y >= 0 && hdr.mastering.blue.y <= 1 in getSdkFormatForDomain()
1245 && hdr.mastering.white.x >= 0 && hdr.mastering.white.x <= 1 in getSdkFormatForDomain()
1246 && hdr.mastering.white.y >= 0 && hdr.mastering.white.y <= 1 in getSdkFormatForDomain()
1247 && hdr.mastering.maxLuminance >= 0 && hdr.mastering.maxLuminance <= 65535 in getSdkFormatForDomain()
1248 && hdr.mastering.minLuminance >= 0 && hdr.mastering.minLuminance <= 6.5535 in getSdkFormatForDomain()
1249 && hdr.maxCll >= 0 && hdr.maxCll <= 65535 in getSdkFormatForDomain()
1250 && hdr.maxFall >= 0 && hdr.maxFall <= 65535) { in getSdkFormatForDomain()
1253 meta.sType1.mR.x = hdr.mastering.red.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1254 meta.sType1.mR.y = hdr.mastering.red.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1255 meta.sType1.mG.x = hdr.mastering.green.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1256 meta.sType1.mG.y = hdr.mastering.green.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1257 meta.sType1.mB.x = hdr.mastering.blue.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1258 meta.sType1.mB.y = hdr.mastering.blue.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1259 meta.sType1.mW.x = hdr.mastering.white.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1260 meta.sType1.mW.y = hdr.mastering.white.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1261 meta.sType1.mMaxDisplayLuminance = hdr.mastering.maxLuminance + 0.5; in getSdkFormatForDomain()
1262 meta.sType1.mMinDisplayLuminance = hdr.mastering.minLuminance / 0.0001 + 0.5; in getSdkFormatForDomain()
1263 meta.sType1.mMaxContentLightLevel = hdr.maxCll + 0.5; in getSdkFormatForDomain()
1264 meta.sType1.mMaxFrameAverageLightLevel = hdr.maxFall + 0.5; in getSdkFormatForDomain()