summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorMilen Mitkov <mmitkov@mm-sol.com>2011-10-12 17:01:19 +0300
committerIliyan Malchev <malchev@google.com>2011-11-30 12:08:23 -0800
commitd9520b9de06f01b9411307040cf245e6fc7fe361 (patch)
tree8d6c5397fc268ef34625551a0b8dc55a61c854ee /camera/inc
parentd31eec6653e19f86f9be5495ea461b4531646af9 (diff)
downloadhardware_ti_omap4xxx-d9520b9de06f01b9411307040cf245e6fc7fe361.zip
hardware_ti_omap4xxx-d9520b9de06f01b9411307040cf245e6fc7fe361.tar.gz
hardware_ti_omap4xxx-d9520b9de06f01b9411307040cf245e6fc7fe361.tar.bz2
CameraHAL: Enable LDCNSF for Video snapshot
Enables LDCNSF for Video snapshot, also adds start_offset and right_crop fields to the JPEG encoder wrapper, because the image with LDCNSF has artifacts on top and right. Change-Id: I1011252e3f8068083f9d057b7763b7f79c59a75d Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>
Diffstat (limited to 'camera/inc')
-rwxr-xr-xcamera/inc/Encoder_libjpeg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/inc/Encoder_libjpeg.h b/camera/inc/Encoder_libjpeg.h
index e3e9ac5..fef873f 100755
--- a/camera/inc/Encoder_libjpeg.h
+++ b/camera/inc/Encoder_libjpeg.h
@@ -97,6 +97,8 @@ class Encoder_libjpeg : public Thread {
int in_height;
int out_width;
int out_height;
+ int right_crop;
+ int start_offset;
const char* format;
size_t jpeg_size;
};