History log of /hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
057f4fd59ec05ded909e9eb9a3363d9ea345b0ca 31-Jan-2012 Tyler Luu <tluu@ti.com> CameraHal: Implementation for CAF status callbacks

1. Remove internal handling of CAMERA_MSG_FOCUS. Before we were
enabling CAMERA_MSG_FOCUS only when application calls autoFocus().
No longer needed since the CAMERA_MSG_FOCUS can come just during
preview now.

2. Add handling of unregistered focus callbacks. Since OMXCamera
will send callbacks even when we are not waiting for one, add some
handling.

Signed-off-by: Tyler Luu <tluu@ti.com>
Change-Id: I457e67b33b2561dd0b1ce3863ce807a8c27f79f6

Conflicts:

camera/OMXCameraAdapter/OMXFocus.cpp
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
a58c483de2c8188e41fd9635042c31820d13b845 26-Oct-2011 Tyler Luu <tluu@ti.com> CameraHal: Add function to rollback state machine

Fix 1/3 for b/5472396.

Adding a function to rollback the state machine to INTITIALIZED_STATE
from any given current state. With this function, we can better
manage the different states that CameraAdapter could be in when
stopPreview is called.

Change-Id: I0a456738e8575873b5ac6fb2a31395dab54ef6f7
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
7016577b173fc73f5b43e76cbc122bb0a9346613 30-Sep-2011 Akwasi Boateng <akwasi.boateng@ti.com> omap4xxx: camera: switch to executing state when surface is null

Partial fix for b/5422679

To enhance standby to first shot performance

Change-Id: Ib32e8120a7908419c76e8cf2f1830f0667b258c0
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
9a412956d5327ec851ff8adc3e9804640fa30c7f 06-Oct-2011 Tyler Luu <tluu@ti.com> CameraHal: Allow only certain number of instances

1) Protect against simultaneous access to camera_device_open
2) Set a value of MAX_SIMUL_CAMERAS_SUPPORTED to dictate number
of simultaneous cameras that can be open at once. Set to 1 for
now in this patch. Return error if more is requested.
3) Change OMXCameraAdapter to allocate new instance for each
factory create call.
4) Add lock to capabalities factory function in OMXCameraAdapter
to protected against multiple OMXCamera GetHandles...

b/5401791 b/5404200 b/5405235

Change-Id: I179d493f8070d228877ebfac637047978afc7d55
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
8e88af31129b8cc09675279ca2eac88256d8526b 16-Sep-2011 Akwasi Boateng <akwasi.boateng@ti.com> Grallock lock and unlock fixes

1. Get and store Y and UV pointers from
all gralloc handles to be used for
preview callback and video frames.
2. Ensure gralloc lock is successfull
before frame return to OMXCameraAdapter

Change-Id: Ibeea6d00f2c1a1c45bcd2eafb22b90a795516e5c
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
c493114006e0e136c8c88c2fc9865994054959bf 16-Sep-2011 Sundar Raman <sunds@ti.com> CameraHAL: Adds some useful debug logs on frame counts

Change-Id: Ifb1434f9fd1c85f040d67f3df6fb7c4a86e135db
Signed-off-by: Sundar Raman <sunds@ti.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
348e4eaaf2f88810f2a3c55fd1b0df540a5104ed 17-Sep-2011 Tyler Luu <tluu@ti.com> CameraHal: Error handling before sending frames

Adding a few error checks before sending frames to make
sure we have the proper conditions to send a frame.

Fixes a bug where FillBufferDone gets preempted by the stop
path and by the time it returns the buffers and subscribers
are freed. Adding checks in send frame context since it is
protected by a Mutex.

Change-Id: I860bee796669606e1ec3e26e19916f386fc3e9aa
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
5e02dd977e79ee977ee063496033bbc363a70780 14-Sep-2011 Akwasi Boateng <akwasi.boateng@ti.com> Update frame ref counting

1. Make only one sendframe call from OMXCameraAdapter
2. Add frame type mask to frame structure
3. Frame type mask used to indicate type of frame
e.g video, preview, image or preview and video
4. Set frame ref count before sending frames to
subscribers.
5. Hold frame subscriber lock for setting the
refcount and sending the frames to the
subscribers to allow for the number of
subscribers not to change until frames
are sent.

Change-Id: Ic00a195847f2dc962e931ee8a9f36e3933e67c2d
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h
c322989ae6ff6769490828de1b5eda12b749cce9 08-Aug-2011 Iliyan Malchev <malchev@google.com> initial commit

Change-Id: I8f7a7eeece0e516efa486b77e9d97805c0e65d3e
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/inc/BaseCameraAdapter.h