20 Commits

Author SHA1 Message Date
Iliyan Malchev
3c05a4483c libcamera: dlopen() libqcamera in the AF thread
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-29 13:09:24 -07:00
Wu-cheng Li
9db8a0fc26 Add preview size 384x288. 2009-06-25 19:56:47 +08: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
Wu-cheng Li
2c2e8580d6 Add picture size values and fix effect values. 2009-06-17 19:03:42 +08:00
Wu-cheng Li
e610e2518d Get the values returned from CAMERA_GET_PARM_ZOOM correctly. 2009-06-16 19:46:34 +08:00
Chih-Chung Chang
105a7f6c76 Enable more debug message to debug the Camera startPreview bug. 2009-06-16 17:15:48 +08:00
Iliyan Malchev
9e7909b439 libcamera2: update to match new libqcamera.so
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-15 15:22:17 -07:00
Chih-Chung Chang
4f48dacada Add set rotation function. 2009-06-15 17:00:23 +08:00
Chih-Chung Chang
93cde78899 Accept parameter "jpeg-thumbnail-quality" to specify thumbnail quality. 2009-06-15 15:32:20 +08:00
Wu-cheng Li
2e8a9ddd4c Cancel autofocus in stopPreview. 2009-06-12 21:57:55 +08:00
James Dong
c11ce4c954 Fix deadlock in camera hal when auto focus failed 2009-06-10 19:59:25 -07:00
Iliyan Malchev
32b7f2804e libcamera: avoid a race condition on starting and stopping a recording
precondition: preview is running
-- call startRecording()
-- a preview frame arrives, causing the record callback to be called, and then
   blocks on mRecordWait.wait()
-- call stopRecording(), which sets mReleasedRecordingFrame and signals
   mRecordWait;
-- call startRecording(), which clears mReleasedRecordingFrame;
-- receivePreviewFrame() wakes up, checks mReleasedRecordingFrame, and
   blocks again on mRecordWait.wait(), without having notified the client.

Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-10 18:40:32 -07: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
59b25b06c8 libcamera2: update the frame offset after we call the recording callback
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-10 15:32:57 -07:00
James Dong
366cd7e1e3 Restore the support for SQVGA (bug 1901755) 2009-06-05 17:59:32 -07:00
Iliyan Malchev
88dbb2fc3f disable libcamera and enable libcamera2
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-04 16:22:56 -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