Lines Matching refs:transfer
141 msg->setInt32("color-transfer", transferMsg);
146 // if CSD specifies HDR transfer(s), we assume HDR. Otherwise, if it specifies non-HDR
147 // transfers, we must assume non-HDR. This is because CSD trumps any color-transfer key
154 // if user/container supplied HDR static info without transfer set, assume true
155 if (format->contains("hdr-static-info") && !format->contains("color-transfer")) {
158 // otherwise, verify that an HDR transfer function is set
159 int32_t transfer;
160 if (format->findInt32("color-transfer", &transfer)) {
161 return transfer == ColorUtils::kColorTransferST2084
162 || transfer == ColorUtils::kColorTransferHLG;
1256 int32_t range = 0, standard = 0, transfer = 0;
1259 (void)msg->findInt32("color-transfer", &transfer);
1264 range, standard, transfer, colorAspects) != OK) {