11 Commits

Author SHA1 Message Date
Wu-cheng Li
a21ec0f3d3 Make sure shutter callback is called before raw callback. 2009-07-21 15:16:33 +08:00
Wu-cheng Li
bcb33e4db8 1. Remove the zoom and brightness.
2. Set default value of antibanding, effect, and white-balance at initialization.
3. Do not set the parameter if it is not found.
2009-07-17 16:25:16 +08:00
Wu-cheng Li
04b2c40f3c Change the timing of shutter callback. 2009-07-03 16:33:45 +08:00
Iliyan Malchev
ad48d0f080 libcamera: set antibanding to 60Hz, use cropping information on snapshot
-- Set the antibanding to 60Hz for the US (Should be 50Hz for the
   rest of the world.)
-- Save the cropping info returned when taking a picture and then
   pass it to the JPEG encoder.  This enables digital zoom for JPEG
   images (cropping and upsampling).

Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-30 16:10:20 -07:00
Iliyan Malchev
3ba00f29ba libcamera fixes
-- general cleanup: made a bunch of functions static to
   QualcommCameraHardware.cpp, not class members; got rid of unnecessary
   private member variables.  The only functions that remain as members
   are native_set_dimension() and native_jpeg_encode()
-- removed kRawFrameHeaderSize; aDSP frame offsets are zero now;
-- simplify reg_unreg_buf
-- Removed PreviewPmemPool and RawPmemPool, which do not need to be
   specialized on top of PmemPool.  We use PmemPool instead.
-- use PmemPool to both create pmem pools and register them with the driver
-- takePicture runs in a separate thread
-- the destructor keeps a singleton lock
-- PmemPool calls dup() on the camera-control file descriptor to guard against
   release() calling close() on it before PmemPool has a chance to deregister
   pmem from the camera driver.
-- got rid of hal_mmap() and hal_munmap() entirely and created a PmemHeap to
   manage thumbnails.
-- removed support for CAPTURE_RAW.  The CameraService can already do this.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-23 19:10:08 -07:00
Wu-cheng Li
321cfafbf5 Add location to exif. 2009-06-22 17:04:45 +08:00
Chih-Chung Chang
93cde78899 Accept parameter "jpeg-thumbnail-quality" to specify thumbnail quality. 2009-06-15 15:32:20 +08:00
Iliyan Malchev
ed604c67ee libcamera: default brightness to 5 when not specified by camera
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-10 18:33:50 -07:00
Iliyan Malchev
f5e21dce16 remove floats from libcamera2
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-10 16:46:51 -07:00
Iliyan Malchev
0a1f577673 Update reflects changes in type names in msm_camera.h.
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-04 13:36:10 -07:00
Iliyan Malchev
5b08cc9343 Add new implementation of libcamera (as libcamera2) (disabled)
libcamera2 uses code under vendor/qcom/proprietary/mm-camera, which is the
(Qualcomm proprietary) user-space component of the new camera framework.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-05-26 16:45:50 -07:00