diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2014-06-02 22:57:26 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2014-06-02 22:57:26 -0700 |
commit | 8c472f09e49884146ef7d83917ec482208d320c2 (patch) | |
tree | c21cc582fea3c1f473791e46f7ed06e7bb2110c5 /media | |
parent | 47ed7dfdae7a41a7532978bd799fa9defd2b9980 (diff) | |
download | frameworks_av-8c472f09e49884146ef7d83917ec482208d320c2.zip frameworks_av-8c472f09e49884146ef7d83917ec482208d320c2.tar.gz frameworks_av-8c472f09e49884146ef7d83917ec482208d320c2.tar.bz2 |
DNG: Add additional TIFF/EP tag definitions.
Bug: 15112503
Change-Id: Ib06d9a5e70e6e3d5063a95a7109538ef64f03334
Diffstat (limited to 'media')
-rw-r--r-- | media/img_utils/include/img_utils/TagDefinitions.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media/img_utils/include/img_utils/TagDefinitions.h b/media/img_utils/include/img_utils/TagDefinitions.h index 9232e58..6cc42b2 100644 --- a/media/img_utils/include/img_utils/TagDefinitions.h +++ b/media/img_utils/include/img_utils/TagDefinitions.h @@ -172,8 +172,14 @@ enum { TAG_ARTIST = 0x013Bu, TAG_EXIFVERSION = 0x9000u, TAG_CFAREPEATPATTERNDIM = 0x828Du, + TAG_DATETIMEORIGINAL = 0x9003u, TAG_CFAPATTERN = 0x828Eu, TAG_SUBIFDS = 0x014Au, + TAG_TIFFEPSTANDARDID = 0x9216u, + TAG_EXPOSURETIME = 0x829Au, + TAG_ISOSPEEDRATINGS = 0x8827u, + TAG_FOCALLENGTH = 0x920Au, + TAG_FNUMBER = 0x829Du, }; /** @@ -208,6 +214,48 @@ const TagDefinition_t TIFF_EP_TAG_DEFINITIONS[] = { 2, UNDEFINED_ENDIAN }, + { // DateTimeOriginal + 0x9003u, + ASCII, + IFD_0, + 20, + UNDEFINED_ENDIAN + }, + { // Tiff/EPStandardID + 0x9216u, + BYTE, + IFD_0, + 4, + UNDEFINED_ENDIAN + }, + { // ExposureTime + 0x829Au, + RATIONAL, + IFD_0, + 0, + UNDEFINED_ENDIAN + }, + { // ISOSpeedRatings + 0x8827u, + SHORT, + IFD_0, + 0, + UNDEFINED_ENDIAN + }, + { // FocalLength + 0x920Au, + RATIONAL, + IFD_0, + 0, + UNDEFINED_ENDIAN + }, + { // FNumber + 0x829Du, + RATIONAL, + IFD_0, + 0, + UNDEFINED_ENDIAN + }, /*TODO: Remaining TIFF EP tags*/ }; |