diff options
author | Michael Gernoth <michael@gernoth.net> | 2016-01-07 20:42:31 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-17 22:47:34 +0100 |
commit | e723d21643b2d330ca99b07f20cc5566c2743f0e (patch) | |
tree | 5b5a3722561c6ced21fe6c6bb6bc30982d9a2982 /camera/inc/Encoder_libjpeg.h | |
parent | 22f5a971e82bc1dc229f34ffa93be9fe0dec9053 (diff) | |
download | device_samsung_tuna-e723d21643b2d330ca99b07f20cc5566c2743f0e.zip device_samsung_tuna-e723d21643b2d330ca99b07f20cc5566c2743f0e.tar.gz device_samsung_tuna-e723d21643b2d330ca99b07f20cc5566c2743f0e.tar.bz2 |
camera: add Pixel{X,Y}Dimension and Orientation EXIF tags
These tags are needed by the CM13 camera to not crop images to square
when shooting portrait. As the camera HAL already rotated the picture,
always set orientation to 0.
Change-Id: Id8b6aac5369ae3adfdfec0ec7528edc849bd3b10
Diffstat (limited to 'camera/inc/Encoder_libjpeg.h')
-rw-r--r-- | camera/inc/Encoder_libjpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/inc/Encoder_libjpeg.h b/camera/inc/Encoder_libjpeg.h index 72feb08..bb41562 100644 --- a/camera/inc/Encoder_libjpeg.h +++ b/camera/inc/Encoder_libjpeg.h @@ -63,6 +63,8 @@ static const char TAG_FOCALLENGTH[] = "FocalLength"; static const char TAG_DATETIME[] = "DateTime"; static const char TAG_IMAGE_WIDTH[] = "ImageWidth"; static const char TAG_IMAGE_LENGTH[] = "ImageLength"; +static const char TAG_EXIF_IMAGE_WIDTH[] = "ExifImageWidth"; +static const char TAG_EXIF_IMAGE_LENGTH[] = "ExifImageLength"; static const char TAG_GPS_LAT[] = "GPSLatitude"; static const char TAG_GPS_LAT_REF[] = "GPSLatitudeRef"; static const char TAG_GPS_LONG[] = "GPSLongitude"; |