Lines Matching refs:profileInfo
903 dng_camera_profile_info &profileInfo) in Parse() argument
906 SetUniqueCameraModelRestriction (profileInfo.fUniqueCameraModel.Get ()); in Parse()
908 if (profileInfo.fProfileName.NotEmpty ()) in Parse()
911 SetName (profileInfo.fProfileName.Get ()); in Parse()
915 SetCopyright (profileInfo.fProfileCopyright.Get ()); in Parse()
917 SetEmbedPolicy (profileInfo.fEmbedPolicy); in Parse()
919 SetCalibrationIlluminant1 (profileInfo.fCalibrationIlluminant1); in Parse()
921 SetColorMatrix1 (profileInfo.fColorMatrix1); in Parse()
923 if (profileInfo.fForwardMatrix1.NotEmpty ()) in Parse()
926 SetForwardMatrix1 (profileInfo.fForwardMatrix1); in Parse()
930 if (profileInfo.fReductionMatrix1.NotEmpty ()) in Parse()
933 SetReductionMatrix1 (profileInfo.fReductionMatrix1); in Parse()
937 if (profileInfo.fColorMatrix2.NotEmpty ()) in Parse()
940 SetCalibrationIlluminant2 (profileInfo.fCalibrationIlluminant2); in Parse()
942 SetColorMatrix2 (profileInfo.fColorMatrix2); in Parse()
944 if (profileInfo.fForwardMatrix2.NotEmpty ()) in Parse()
947 SetForwardMatrix2 (profileInfo.fForwardMatrix2); in Parse()
951 if (profileInfo.fReductionMatrix2.NotEmpty ()) in Parse()
954 SetReductionMatrix2 (profileInfo.fReductionMatrix2); in Parse()
960 SetProfileCalibrationSignature (profileInfo.fProfileCalibrationSignature.Get ()); in Parse()
962 if (profileInfo.fHueSatDeltas1Offset != 0 && in Parse()
963 profileInfo.fHueSatDeltas1Count != 0) in Parse()
966 TempBigEndian setEndianness (stream, profileInfo.fBigEndian); in Parse()
968 stream.SetReadPosition (profileInfo.fHueSatDeltas1Offset); in Parse()
970 bool skipSat0 = (profileInfo.fHueSatDeltas1Count == SafeUint32Mult( in Parse()
971 profileInfo.fProfileHues, in Parse()
972 SafeUint32Sub(profileInfo.fProfileSats, 1), in Parse()
973 profileInfo.fProfileVals, 3)); in Parse()
977 profileInfo.fProfileHues, in Parse()
978 profileInfo.fProfileSats, in Parse()
979 profileInfo.fProfileVals, in Parse()
984 if (profileInfo.fHueSatDeltas2Offset != 0 && in Parse()
985 profileInfo.fHueSatDeltas2Count != 0) in Parse()
988 TempBigEndian setEndianness (stream, profileInfo.fBigEndian); in Parse()
990 stream.SetReadPosition (profileInfo.fHueSatDeltas2Offset); in Parse()
992 bool skipSat0 = (profileInfo.fHueSatDeltas2Count == SafeUint32Mult( in Parse()
993 profileInfo.fProfileHues, in Parse()
994 SafeUint32Sub(profileInfo.fProfileSats, 1), in Parse()
995 profileInfo.fProfileVals, 3)); in Parse()
999 profileInfo.fProfileHues, in Parse()
1000 profileInfo.fProfileSats, in Parse()
1001 profileInfo.fProfileVals, in Parse()
1006 if (profileInfo.fLookTableOffset != 0 && in Parse()
1007 profileInfo.fLookTableCount != 0) in Parse()
1010 TempBigEndian setEndianness (stream, profileInfo.fBigEndian); in Parse()
1012 stream.SetReadPosition (profileInfo.fLookTableOffset); in Parse()
1014 bool skipSat0 = (profileInfo.fLookTableCount == SafeUint32Mult( in Parse()
1015 profileInfo.fLookTableHues, in Parse()
1016 SafeUint32Sub(profileInfo.fLookTableSats, 1), in Parse()
1017 profileInfo.fLookTableVals, 3)); in Parse()
1021 profileInfo.fLookTableHues, in Parse()
1022 profileInfo.fLookTableSats, in Parse()
1023 profileInfo.fLookTableVals, in Parse()
1028 if ((profileInfo.fToneCurveCount & 1) == 0) in Parse()
1031 TempBigEndian setEndianness (stream, profileInfo.fBigEndian); in Parse()
1033 stream.SetReadPosition (profileInfo.fToneCurveOffset); in Parse()
1035 uint32 points = profileInfo.fToneCurveCount / 2; in Parse()
1053 SetHueSatMapEncoding (profileInfo.fHueSatMapEncoding); in Parse()
1055 SetLookTableEncoding (profileInfo.fLookTableEncoding); in Parse()
1057 SetBaselineExposureOffset (profileInfo.fBaselineExposureOffset.As_real64 ()); in Parse()
1059 SetDefaultBlackRender (profileInfo.fDefaultBlackRender); in Parse()
1071 dng_camera_profile_info profileInfo; in ParseExtended() local
1073 if (!profileInfo.ParseExtended (stream)) in ParseExtended()
1078 Parse (stream, profileInfo); in ParseExtended()