Searched refs:mm_ptr (Results 1 – 3 of 3) sorted by relevance
5022 std::auto_ptr<MasteringMetadata> mm_ptr(new MasteringMetadata()); in Parse() local5023 if (!mm_ptr.get()) in Parse()5042 mm_ptr->luminance_max = static_cast<float>(value); in Parse()5043 if (value_parse_status < 0 || mm_ptr->luminance_max < 0.0 || in Parse()5044 mm_ptr->luminance_max > 9999.99) { in Parse()5051 mm_ptr->luminance_min = static_cast<float>(value); in Parse()5052 if (value_parse_status < 0 || mm_ptr->luminance_min < 0.0 || in Parse()5053 mm_ptr->luminance_min > 999.9999) { in Parse()5063 chromaticity = &mm_ptr->r; in Parse()5068 chromaticity = &mm_ptr->g; in Parse()[all …]
5009 std::auto_ptr<MasteringMetadata> mm_ptr(new MasteringMetadata()); in Parse() local5010 if (!mm_ptr.get()) in Parse()5029 mm_ptr->luminance_max = static_cast<float>(value); in Parse()5030 if (value_parse_status < 0 || mm_ptr->luminance_max < 0.0 || in Parse()5031 mm_ptr->luminance_max > 9999.99) { in Parse()5038 mm_ptr->luminance_min = static_cast<float>(value); in Parse()5039 if (value_parse_status < 0 || mm_ptr->luminance_min < 0.0 || in Parse()5040 mm_ptr->luminance_min > 999.9999) { in Parse()5050 chromaticity = &mm_ptr->r; in Parse()5055 chromaticity = &mm_ptr->g; in Parse()[all …]
1236 std::auto_ptr<MasteringMetadata> mm_ptr(new MasteringMetadata()); in SetMasteringMetadata() local1237 if (!mm_ptr.get()) in SetMasteringMetadata()1240 mm_ptr->set_luminance_max(mastering_metadata.luminance_max()); in SetMasteringMetadata()1241 mm_ptr->set_luminance_min(mastering_metadata.luminance_min()); in SetMasteringMetadata()1243 if (!mm_ptr->SetChromaticity(mastering_metadata.r(), mastering_metadata.g(), in SetMasteringMetadata()1250 mastering_metadata_ = mm_ptr.release(); in SetMasteringMetadata()