History log of /external/jhead/exif.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dc4fa4c9d4d0246b900c587cbeb6dabbbe813199 15-Oct-2012 Chih-Chung Chang <chihchung@google.com> Fix SRational parsing code.

Bug: 7331241
Change-Id: Ie89f3a4349abd0d0247604c02d629992d1e8c94a
/external/jhead/exif.c
42c1e4bde9be6b05412e6482cc20c3581b6d3b0b 10-Jul-2012 Chih-Chung Chang <chihchung@google.com> Fixes exif corruption issues in jhead.

- Incorrect usercomment handling (backported from jhead 2.90)
- Doesn't handle (-1) sized SSHORT params, corrupts EXIF
- Doesn't convert floating point number strings to rational numbers, corrupts EXIF.
- Doesn't handle the separator ":" in addition to "/"

Fixes for the first two issues are provided by ANDREW COLLINS <w36194@motorola.com>.

Bug: 6775455

Change-Id: I5b93a2e61d47ccf0504f29ecde6703b358e97f63
/external/jhead/exif.c
482486a3d21c4d4c933f3081ff14122292314bc7 19-Jan-2012 Angus Kong <shkong@google.com> Use values from attributes for DateTime tag.

The library uses values from attributes for DateTime tag if found in the attribute set. This is to
fix the bug when there is a DateTime tag from java side, jhead library will write multiple DateTime
tags.

bug:5766177
Change-Id: I98de235edabdd1de4fc7d111ca13f3b580c2e351
/external/jhead/exif.c
f485c62af532ad43c72268d7a5b3a399b1ef51cb 18-Jan-2012 Angus Kong <shkong@google.com> Revert "Use values from attributes for DateTime tag."

This reverts commit f4fd06d84d0d4ffe00b448f5c3320d63256b5035
/external/jhead/exif.c
f4fd06d84d0d4ffe00b448f5c3320d63256b5035 17-Jan-2012 Angus Kong <shkong@google.com> Use values from attributes for DateTime tag.

The library uses values from attributes for DateTime tag if found in the attribute set. This is to
fix the bug when there is a DateTime tag from java side, jhead library will write multiple DateTime
tags.

bug:5766177
Change-Id: I3b3e1e4f881247ed777037f4cf0743e1d6e03bfd
/external/jhead/exif.c
7a314dab81f01bac02d617ffca9dbf7b6cc00700 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Iec4192a0fbd58352a3a967095b2d51b5a715dc05
/external/jhead/exif.c
658ad712aea2756b797d1042b3b4171fccdc5ecf 18-Nov-2011 Tyler Luu <tluu@ti.com> jhead: Add handling for short tags with unknown length

Part of the fix for b/5582076

SHORT tags with a variable length need to be places in
the data write section.

Fixes issue with ISOSpeedRating not being inserted
correctly.

Change-Id: I9b1810de9102f2e2d63eca1a90547aba7e18a0d7
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/external/jhead/exif.c
754078052c687f6721536009c816644c73e4f145 19-Oct-2011 Tyler Luu <tluu@ti.com> Fixes for exif tag insertion

1. Change ExposureTime tag to rational format as defined by
Exif2.2 standard
2. Update # of components for types with unknown length of -1
after parsing through list

Change-Id: Ib1f65f677b2d8acad310ba8cba46efb3e21920a4
Signed-off-by: Tyler Luu <tluu@ti.com>
/external/jhead/exif.c
bd90094d709a579d8d74c326269e492627be9daa 13-Oct-2011 Tyler Luu <tluu@ti.com> Fix insertion of GPSProcessingMethod tag

GPSProcessingMethod was not being inserted properly because it
was being treated as STRING format which results in "ASCII" being
taken as the processing method. GPSProcessingMethod is defined as
UNDEFINED format with the value containing a character string in
Exif2.2 standard.

1. Set GPSProcessingMethod to UNDEFINED format as defined in Exif2.2
2. Add handling of ASCII value with UNDEFINED format in writeExifTagAndData.
Handling is similar to STRING format, except we have to account for the
'ASCII\0\0\0' header before the string.

b/5448171

Change-Id: I411a67d7d97e35bee66aa582b25f0f6333c0679a
Signed-off-by: Tyler Luu <tluu@ti.com>
/external/jhead/exif.c
0aba81d4c228ec0681f030ef77a583a8fd9f555a 27-Sep-2011 Tyler Luu <tluu@ti.com> Fix IFD linking in EXIF creation

The original version of create_EXIF_internal uses continutation
to link the thumbnail IFD to Exif IFD. The Android version tries to
explicitly gives the TAG_EXIF_OFFSET value for the thumbnail IFD.
However, there were some holes left from the original implementation.

Fixes:
1. Explicitly mark the end of the main EXIF section since we are not using
continuation to connect to thumbnail IFD.
2. Overwrite value of TAG_EXIF_OFFSET when we get to the thumbnail section.
The first write for the value of TAG_EXIF_OFFSET relies on some calculation
which is prone to be wrong. We can simply overwrite the value here with the
proper value.

Change-Id: I12d3fbcf10ad30b9520d7fcbdb9b16a61e91641a
Signed-off-by: Tyler Luu <tluu@ti.com>
/external/jhead/exif.c
2645b48159b2928fe388c6c84991b956f01e8f4e 27-Jan-2011 Takahiro Okada <takahiro.okada@sonyericsson.com> Make create_EXIF allocate enough memory

The create_EXIF method crashes if over 1K bytes exif header
is passed because only 1K byte is allocated for exif header.
It is hard to calcurate exact nessesary size for editing the
exif header dynamically, so this value is changed to the
mamixmum size of exif, 64K.

Change-Id: Ia2c8481da5130f02ec8f1c63ece9aa4289b1ad5f
/external/jhead/exif.c
70059dd640afdce1016a7f86a81f625730eb65e4 14-May-2010 Nick Kralevich <nnk@google.com> Get rid of warnings when compiled with -Wformat-security

Change-Id: I2a79fc4809cd91cfd2948777eafd256ca2b3041f
/external/jhead/exif.c
574d52d26f44b600cdab3d3361eaa5f6dd9d7a4d 31-Jan-2010 Wu-cheng Li <wuchengli@google.com> Change focal length string to rational.

bug:2375989
/external/jhead/exif.c
d6a02c32e6fa83fad5794b0e19b1d28563e5a99b 25-Mar-2009 Chih-Chung Chang <> Automated import from //branches/master/...@141567,141567
/external/jhead/exif.c
34a2564d3268a5ca1472c5076675782fbaf724d6 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/jhead/exif.c
e0fbb24f6ea00ce3d61b73ef05faa893abf33151 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/jhead/exif.c
426377d9ce95606bac741d99b5b0a3e2038924fe 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/external/jhead/exif.c