Lines Matching refs:exif
2393 void dng_xmp::SyncExif (dng_exif &exif, in SyncExif() argument
2416 exif.fMake, in SyncExif()
2423 exif.fModel, in SyncExif()
2432 if (exif.fExifVersion) in SyncExif()
2435 unsigned b0 = ((exif.fExifVersion >> 24) & 0x0FF) - '0'; in SyncExif()
2436 unsigned b1 = ((exif.fExifVersion >> 16) & 0x0FF) - '0'; in SyncExif()
2437 unsigned b2 = ((exif.fExifVersion >> 8) & 0x0FF) - '0'; in SyncExif()
2438 unsigned b3 = ((exif.fExifVersion ) & 0x0FF) - '0'; in SyncExif()
2487 exif.fExifVersion = (b0 << 24) | in SyncExif()
2500 if (!exif.fExifVersion) in SyncExif()
2503 exif.fExifVersion = DNG_CHAR4 ('0','2','2','1'); in SyncExif()
2530 dng_urational et = exif.fExposureTime; in SyncExif()
2540 exif.SetExposureTime (et.As_real64 (), false); in SyncExif()
2544 dng_srational ss = exif.fShutterSpeedValue; in SyncExif()
2554 exif.SetShutterSpeedValue (ss.As_real64 ()); in SyncExif()
2578 dng_urational fs = exif.fFNumber; in SyncExif()
2588 exif.SetFNumber (fs.As_real64 ()); in SyncExif()
2592 dng_urational av = exif.fApertureValue; in SyncExif()
2602 exif.SetApertureValue (av.As_real64 ()); in SyncExif()
2623 exif.fExposureProgram, in SyncExif()
2624 exif.fExposureProgram == 0xFFFFFFFF, in SyncExif()
2638 exif.fISOSpeedRatings, in SyncExif()
2651 if (exif.fISOSpeedRatings [j] == 65535) in SyncExif()
2664 else if (exif.fISOSpeedRatings [j] == 0) in SyncExif()
2675 exif.fISOSpeedRatings, in SyncExif()
2686 memcpy (exif.fISOSpeedRatings, in SyncExif()
2702 if (exif.fISOSpeedRatings [j] == 0) in SyncExif()
2707 hasHighISO = hasHighISO || (exif.fISOSpeedRatings [j] > 65535); in SyncExif()
2726 exif.fSensitivityType, in SyncExif()
2727 exif.fSensitivityType == stUnknown, in SyncExif()
2734 exif.fStandardOutputSensitivity, in SyncExif()
2735 exif.fStandardOutputSensitivity == 0, in SyncExif()
2742 exif.fRecommendedExposureIndex, in SyncExif()
2743 exif.fRecommendedExposureIndex == 0, in SyncExif()
2750 exif.fISOSpeed, in SyncExif()
2751 exif.fISOSpeed == 0, in SyncExif()
2758 exif.fISOSpeedLatitudeyyy, in SyncExif()
2759 exif.fISOSpeedLatitudeyyy == 0, in SyncExif()
2766 exif.fISOSpeedLatitudezzz, in SyncExif()
2767 exif.fISOSpeedLatitudezzz == 0, in SyncExif()
2774 exif.fExposureIndex, in SyncExif()
2781 exif.fBrightnessValue, in SyncExif()
2788 exif.fExposureBiasValue, in SyncExif()
2795 exif.fMaxApertureValue, in SyncExif()
2802 exif.fSubjectDistance, in SyncExif()
2809 exif.fMeteringMode, in SyncExif()
2810 exif.fMeteringMode == 0xFFFFFFFF, in SyncExif()
2817 exif.fLightSource, in SyncExif()
2818 exif.fLightSource > 0x0FFFF, in SyncExif()
2823 SyncFlash (exif.fFlash, in SyncExif()
2824 exif.fFlashMask, in SyncExif()
2836 exif.fFocalLength, in SyncExif()
2843 exif.fSensingMethod, in SyncExif()
2844 exif.fSensingMethod > 0x0FFFF, in SyncExif()
2851 exif.fFileSource, in SyncExif()
2852 exif.fFileSource > 0x0FF, in SyncExif()
2859 exif.fSceneType, in SyncExif()
2860 exif.fSceneType > 0x0FF, in SyncExif()
2867 exif.fFocalLengthIn35mmFilm, in SyncExif()
2868 exif.fFocalLengthIn35mmFilm == 0, in SyncExif()
2875 exif.fCustomRendered, in SyncExif()
2876 exif.fCustomRendered > 0x0FFFF, in SyncExif()
2883 exif.fExposureMode, in SyncExif()
2884 exif.fExposureMode > 0x0FFFF, in SyncExif()
2891 exif.fWhiteBalance, in SyncExif()
2892 exif.fWhiteBalance > 0x0FFFF, in SyncExif()
2899 exif.fSceneCaptureType, in SyncExif()
2900 exif.fSceneCaptureType > 0x0FFFF, in SyncExif()
2907 exif.fGainControl, in SyncExif()
2908 exif.fGainControl > 0x0FFFF, in SyncExif()
2915 exif.fContrast, in SyncExif()
2916 exif.fContrast > 0x0FFFF, in SyncExif()
2923 exif.fSaturation, in SyncExif()
2924 exif.fSaturation > 0x0FFFF, in SyncExif()
2931 exif.fSharpness, in SyncExif()
2932 exif.fSharpness > 0x0FFFF, in SyncExif()
2939 exif.fSubjectDistanceRange, in SyncExif()
2940 exif.fSubjectDistanceRange > 0x0FFFF, in SyncExif()
2947 exif.fSubjectArea, in SyncExif()
2948 exif.fSubjectAreaCount, in SyncExif()
2949 sizeof (exif.fSubjectArea ) / in SyncExif()
2950 sizeof (exif.fSubjectArea [0]), in SyncExif()
2962 exif.fDigitalZoomRatio, in SyncExif()
2969 exif.fFocalPlaneXResolution, in SyncExif()
2974 exif.fFocalPlaneYResolution, in SyncExif()
2979 exif.fFocalPlaneResolutionUnit, in SyncExif()
2980 exif.fFocalPlaneResolutionUnit > 0x0FFFF, in SyncExif()
2987 exif.fImageDescription)) in SyncExif()
2996 exif.fImageDescription.Clear (); in SyncExif()
3009 else if (exif.fImageDescription.NotEmpty ()) in SyncExif()
3014 exif.fImageDescription); in SyncExif()
3029 exif.fArtist.Clear (); in SyncExif()
3091 exif.fArtist.Set (temp.Buffer_char ()); in SyncExif()
3100 exif.fArtist.Clear (); in SyncExif()
3118 else if (exif.fArtist.NotEmpty ()) in SyncExif()
3123 dng_memory_data temp (exif.fArtist.Length () + 1); in SyncExif()
3125 const char *s = exif.fArtist.Get (); in SyncExif()
3246 newList.Append (exif.fArtist); in SyncExif()
3263 exif.fSoftware)) in SyncExif()
3272 exif.fSoftware.Clear (); in SyncExif()
3285 else if (exif.fSoftware.NotEmpty ()) in SyncExif()
3290 exif.fSoftware); in SyncExif()
3298 exif.fCopyright)) in SyncExif()
3307 exif.fCopyright.Clear (); in SyncExif()
3320 else if (exif.fCopyright.NotEmpty ()) in SyncExif()
3325 exif.fCopyright); in SyncExif()
3333 exif.fCameraSerialNumber, in SyncExif()
3342 if (exif.fLensInfo [0].IsValid ()) in SyncExif()
3349 (unsigned) exif.fLensInfo [0].n, in SyncExif()
3350 (unsigned) exif.fLensInfo [0].d, in SyncExif()
3351 (unsigned) exif.fLensInfo [1].n, in SyncExif()
3352 (unsigned) exif.fLensInfo [1].d, in SyncExif()
3353 (unsigned) exif.fLensInfo [2].n, in SyncExif()
3354 (unsigned) exif.fLensInfo [2].d, in SyncExif()
3355 (unsigned) exif.fLensInfo [3].n, in SyncExif()
3356 (unsigned) exif.fLensInfo [3].d); in SyncExif()
3388 exif.fLensInfo [j] = dng_urational (n [j], d [j]); in SyncExif()
3408 exif.fLensName, in SyncExif()
3414 if ((exif.fLensName.IsEmpty () || in SyncExif()
3415 exif.fLensName.EndsWith ("f/0.0")) && exif.fLensInfo [0].IsValid ()) in SyncExif()
3420 real64 minFL = exif.fLensInfo [0].As_real64 (); in SyncExif()
3421 real64 maxFL = exif.fLensInfo [1].As_real64 (); in SyncExif()
3425 if (exif.fLensInfo [2].IsValid ()) in SyncExif()
3428 real64 minFS = exif.fLensInfo [2].As_real64 (); in SyncExif()
3429 real64 maxFS = exif.fLensInfo [3].As_real64 (); in SyncExif()
3453 exif.fLensName.Set (s); in SyncExif()
3457 exif.fLensName); in SyncExif()
3467 exif.fLensID, in SyncExif()
3474 exif.fLensMake, in SyncExif()
3481 exif.fLensSerialNumber, in SyncExif()
3488 exif.fImageNumber, in SyncExif()
3489 exif.fImageNumber == 0xFFFFFFFF, in SyncExif()
3494 if (exif.fUserComment.NotEmpty ()) in SyncExif()
3499 exif.fUserComment); in SyncExif()
3508 exif.fUserComment); in SyncExif()
3519 SyncApproximateFocusDistance (exif, in SyncExif()
3526 exif.fFlashCompensation, in SyncExif()
3533 exif.fOwnerName, in SyncExif()
3540 exif.fFirmware, in SyncExif()
3547 dng_string s = EncodeFingerprint (exif.fImageUniqueID); in SyncExif()
3554 exif.fImageUniqueID = DecodeFingerprint (s); in SyncExif()
3579 exif.CopyGPSFrom (blankExif); in SyncExif()
3589 dng_string s = EncodeGPSVersion (exif.fGPSVersionID); in SyncExif()
3597 exif.fGPSVersionID = DecodeGPSVersion (s); in SyncExif()
3607 dng_string s = EncodeGPSCoordinate (exif.fGPSLatitudeRef, in SyncExif()
3608 exif.fGPSLatitude); in SyncExif()
3617 exif.fGPSLatitudeRef, in SyncExif()
3618 exif.fGPSLatitude); in SyncExif()
3628 dng_string s = EncodeGPSCoordinate (exif.fGPSLongitudeRef, in SyncExif()
3629 exif.fGPSLongitude); in SyncExif()
3638 exif.fGPSLongitudeRef, in SyncExif()
3639 exif.fGPSLongitude); in SyncExif()
3648 uint32 &altitudeRef = exif.fGPSAltitudeRef; in SyncExif()
3649 dng_urational &altitude = exif.fGPSAltitude; in SyncExif()
3686 dng_string s = EncodeGPSDateTime (exif.fGPSDateStamp, in SyncExif()
3687 exif.fGPSTimeStamp); in SyncExif()
3696 exif.fGPSDateStamp, in SyncExif()
3697 exif.fGPSTimeStamp); in SyncExif()
3707 exif.fGPSSatellites, in SyncExif()
3714 exif.fGPSStatus, in SyncExif()
3721 exif.fGPSMeasureMode, in SyncExif()
3728 exif.fGPSDOP, in SyncExif()
3735 exif.fGPSSpeedRef, in SyncExif()
3742 exif.fGPSSpeed, in SyncExif()
3749 exif.fGPSTrackRef, in SyncExif()
3756 exif.fGPSTrack, in SyncExif()
3763 exif.fGPSImgDirectionRef, in SyncExif()
3770 exif.fGPSImgDirection, in SyncExif()
3777 exif.fGPSMapDatum, in SyncExif()
3784 dng_string s = EncodeGPSCoordinate (exif.fGPSDestLatitudeRef, in SyncExif()
3785 exif.fGPSDestLatitude); in SyncExif()
3794 exif.fGPSDestLatitudeRef, in SyncExif()
3795 exif.fGPSDestLatitude); in SyncExif()
3805 dng_string s = EncodeGPSCoordinate (exif.fGPSDestLongitudeRef, in SyncExif()
3806 exif.fGPSDestLongitude); in SyncExif()
3815 exif.fGPSDestLongitudeRef, in SyncExif()
3816 exif.fGPSDestLongitude); in SyncExif()
3826 exif.fGPSDestBearingRef, in SyncExif()
3833 exif.fGPSDestBearing, in SyncExif()
3840 exif.fGPSDestDistanceRef, in SyncExif()
3847 exif.fGPSDestDistance, in SyncExif()
3854 exif.fGPSProcessingMethod, in SyncExif()
3861 exif.fGPSAreaInformation, in SyncExif()
3868 exif.fGPSDifferential, in SyncExif()
3869 exif.fGPSDifferential == 0xFFFFFFFF, in SyncExif()
3876 exif.fGPSHPositioningError, in SyncExif()
3881 UpdateExifDates (exif, removeFromXMP); in SyncExif()
3894 void dng_xmp::SyncApproximateFocusDistance (dng_exif &exif, in SyncApproximateFocusDistance() argument
3900 exif.fApproxFocusDistance, in SyncApproximateFocusDistance()
3971 void dng_xmp::UpdateExifDates (dng_exif &exif, in UpdateExifDates() argument
3989 dng_string s = exif.fDateTime.Encode_ISO_8601 (); in UpdateExifDates()
4001 exif.fDateTime.Decode_ISO_8601 (s.Get ()); in UpdateExifDates()
4005 s = exif.fDateTime.Encode_ISO_8601 (); in UpdateExifDates()
4023 dng_string s = exif.fDateTimeOriginal.Encode_ISO_8601 (); in UpdateExifDates()
4035 exif.fDateTimeOriginal.Decode_ISO_8601 (s.Get ()); in UpdateExifDates()
4039 s = exif.fDateTimeOriginal.Encode_ISO_8601 (); in UpdateExifDates()
4071 dng_string s = exif.fDateTimeDigitized.Encode_ISO_8601 (); in UpdateExifDates()
4083 exif.fDateTimeDigitized.Decode_ISO_8601 (s.Get ()); in UpdateExifDates()
4087 s = exif.fDateTimeDigitized.Encode_ISO_8601 (); in UpdateExifDates()