Lines Matching refs:hdrStaticMetadataInfo
645 C2StreamHdrStaticMetadataInfo::output hdrStaticMetadataInfo{}; in getHDRStaticParams() local
649 hdrStaticMetadataInfo.mastering.red.x = buffer->hdr_mdcv.primary_chromaticity_x[0] / 65536.0; in getHDRStaticParams()
650 hdrStaticMetadataInfo.mastering.red.y = buffer->hdr_mdcv.primary_chromaticity_y[0] / 65536.0; in getHDRStaticParams()
652 hdrStaticMetadataInfo.mastering.green.x = buffer->hdr_mdcv.primary_chromaticity_x[1] / 65536.0; in getHDRStaticParams()
653 hdrStaticMetadataInfo.mastering.green.y = buffer->hdr_mdcv.primary_chromaticity_y[1] / 65536.0; in getHDRStaticParams()
655 hdrStaticMetadataInfo.mastering.blue.x = buffer->hdr_mdcv.primary_chromaticity_x[2] / 65536.0; in getHDRStaticParams()
656 hdrStaticMetadataInfo.mastering.blue.y = buffer->hdr_mdcv.primary_chromaticity_y[2] / 65536.0; in getHDRStaticParams()
659 hdrStaticMetadataInfo.mastering.white.x = buffer->hdr_mdcv.white_point_chromaticity_x / 65536.0; in getHDRStaticParams()
660 hdrStaticMetadataInfo.mastering.white.y = buffer->hdr_mdcv.white_point_chromaticity_y / 65536.0; in getHDRStaticParams()
663 hdrStaticMetadataInfo.mastering.maxLuminance = buffer->hdr_mdcv.luminance_max / 256.0; in getHDRStaticParams()
665 hdrStaticMetadataInfo.mastering.minLuminance = buffer->hdr_mdcv.luminance_min / 16384.0; in getHDRStaticParams()
670 hdrStaticMetadataInfo.maxCll = buffer->hdr_cll.max_cll; in getHDRStaticParams()
671 hdrStaticMetadataInfo.maxFall = buffer->hdr_cll.max_fall; in getHDRStaticParams()
675 if (infoPresent && !(hdrStaticMetadataInfo == mHdrStaticMetadataInfo)) { in getHDRStaticParams()
676 mHdrStaticMetadataInfo = hdrStaticMetadataInfo; in getHDRStaticParams()