Lines Matching refs:hdr

1198         C2HdrStaticMetadataStruct hdr;  in getSdkFormatForDomain()  local
1199 if (msg->findFloat("smpte2086.red.x", &hdr.mastering.red.x) in getSdkFormatForDomain()
1200 && msg->findFloat("smpte2086.red.y", &hdr.mastering.red.y) in getSdkFormatForDomain()
1201 && msg->findFloat("smpte2086.green.x", &hdr.mastering.green.x) in getSdkFormatForDomain()
1202 && msg->findFloat("smpte2086.green.y", &hdr.mastering.green.y) in getSdkFormatForDomain()
1203 && msg->findFloat("smpte2086.blue.x", &hdr.mastering.blue.x) in getSdkFormatForDomain()
1204 && msg->findFloat("smpte2086.blue.y", &hdr.mastering.blue.y) in getSdkFormatForDomain()
1205 && msg->findFloat("smpte2086.white.x", &hdr.mastering.white.x) in getSdkFormatForDomain()
1206 && msg->findFloat("smpte2086.white.y", &hdr.mastering.white.y) in getSdkFormatForDomain()
1207 && msg->findFloat("smpte2086.max-luminance", &hdr.mastering.maxLuminance) in getSdkFormatForDomain()
1208 && msg->findFloat("smpte2086.min-luminance", &hdr.mastering.minLuminance) in getSdkFormatForDomain()
1209 && msg->findFloat("cta861.max-cll", &hdr.maxCll) in getSdkFormatForDomain()
1210 && msg->findFloat("cta861.max-fall", &hdr.maxFall)) { in getSdkFormatForDomain()
1211 if (hdr.mastering.red.x >= 0 && hdr.mastering.red.x <= 1 in getSdkFormatForDomain()
1212 && hdr.mastering.red.y >= 0 && hdr.mastering.red.y <= 1 in getSdkFormatForDomain()
1213 && hdr.mastering.green.x >= 0 && hdr.mastering.green.x <= 1 in getSdkFormatForDomain()
1214 && hdr.mastering.green.y >= 0 && hdr.mastering.green.y <= 1 in getSdkFormatForDomain()
1215 && hdr.mastering.blue.x >= 0 && hdr.mastering.blue.x <= 1 in getSdkFormatForDomain()
1216 && hdr.mastering.blue.y >= 0 && hdr.mastering.blue.y <= 1 in getSdkFormatForDomain()
1217 && hdr.mastering.white.x >= 0 && hdr.mastering.white.x <= 1 in getSdkFormatForDomain()
1218 && hdr.mastering.white.y >= 0 && hdr.mastering.white.y <= 1 in getSdkFormatForDomain()
1219 && hdr.mastering.maxLuminance >= 0 && hdr.mastering.maxLuminance <= 65535 in getSdkFormatForDomain()
1220 && hdr.mastering.minLuminance >= 0 && hdr.mastering.minLuminance <= 6.5535 in getSdkFormatForDomain()
1221 && hdr.maxCll >= 0 && hdr.maxCll <= 65535 in getSdkFormatForDomain()
1222 && hdr.maxFall >= 0 && hdr.maxFall <= 65535) { in getSdkFormatForDomain()
1225 meta.sType1.mR.x = hdr.mastering.red.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1226 meta.sType1.mR.y = hdr.mastering.red.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1227 meta.sType1.mG.x = hdr.mastering.green.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1228 meta.sType1.mG.y = hdr.mastering.green.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1229 meta.sType1.mB.x = hdr.mastering.blue.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1230 meta.sType1.mB.y = hdr.mastering.blue.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1231 meta.sType1.mW.x = hdr.mastering.white.x / 0.00002 + 0.5; in getSdkFormatForDomain()
1232 meta.sType1.mW.y = hdr.mastering.white.y / 0.00002 + 0.5; in getSdkFormatForDomain()
1233 meta.sType1.mMaxDisplayLuminance = hdr.mastering.maxLuminance + 0.5; in getSdkFormatForDomain()
1234 meta.sType1.mMinDisplayLuminance = hdr.mastering.minLuminance / 0.0001 + 0.5; in getSdkFormatForDomain()
1235 meta.sType1.mMaxContentLightLevel = hdr.maxCll + 0.5; in getSdkFormatForDomain()
1236 meta.sType1.mMaxFrameAverageLightLevel = hdr.maxFall + 0.5; in getSdkFormatForDomain()