History log of /hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c02002680eb7bc95a9ba7d6af5111cca6191aacb 28-Jan-2014 Shuzhen Wang <shuzhenw@codeaurora.org> Camera3: Only use Plain Old Data for global variable

When a shared library is loaded, the order in which its global
variables is not defined. For example, for case like below:

A a;
int *ptr = NULL;

Class A {
A() {
if (ptr == NULL) {
//do this;
} else {
// do that;
}
}
};

ptr could be initialized before or after A, which causes the
behavior of A's constructor to be different.

The fix is to use Plain Old Data (integer, float, char, or pointer)
as global variable, and defer instantiation of class instance to
runtime.

Bug: 11822202
Change-Id: I806c527f06e19fc44e880d9a536ee7a060b4fa4f
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
1ec67d05cfdc9afab16791a15dd4ac69ae94f6ba 15-Oct-2013 Shuzhen Wang <shuzhenw@codeaurora.org> Camera3: Query camera during initialization

- The camera information is queried during
camera factory intitialization. This way
camera capabilities can be retrieved during
the initialization stage and not during the
initial camera client launch.

Bug: 10691058
Change-Id: I94136dec128fb71bd966914e60dc76075e6bd789
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
20439103d45117241ca042f2014afcc3bbbaf72b 19-Sep-2013 Shuzhen Wang <shuzhenw@codeaurora.org> Camera3: Corrects error checking during camera info query

- A specific error code is expected when the camera
indices are invalid. Also we need to check for
negative camera indices.

BUG: 10808362
Change-Id: I4a93d1c120f09f50956b5ad8f7a075cdfb07772a
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
14dfc272241ba78c85a327da2872e71b3208f8c5 07-Sep-2013 Shuzhen Wang <shuzhenw@codeaurora.org> Camera3: Add LOG_NDEBUG in all source files

This will help debugging

Change-Id: I12748efab9c1b6652394b4ef9c927365935c9924
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
a7661be16c776d6695b0488479cbd5de1a6a5d8b 30-May-2013 Mansoor Aftab <maftab@codeaurora.org> Camera3: remove verbose log

Bug: 9001388
Change-Id: Ia03658f8bff60720fcec1c5280db7ca40ee1662c
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
d5d5a90863708ac1cdbef25c41853b6f6f05d4e2 05-May-2013 Shuzhen Wang <shuzhenw@codeaurora.org> Camera3: Code clean up and bug fix

- Stop all streams before removing any of them. This is due to
hardware limitation.
- Remove compilation warnings.
- Eliminate log flooding.
- Remove conditional compiled-out code.

Change-Id: I606bf495f76c0cc67ebceed699b371ab939d73a4
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp
625515beb9c1347216a2d261930ceb0d85ba1c47 08-Apr-2013 Shuzhen Wang <shuzhenw@codeaurora.org> Camera3: Initial implementation

- Implements the scaffolding code for camera3 HAL
- Moves QCameraCmdThread and QCameraQueue to util/
such that they can be used by both HAL1 and HAL3
- Adds stream and channel classes. stream class abstracts
mm-camera-interface stream. channel class abstract
mm-camera-interface channel, and acts as an adapter
for camera3 frameworks defined stream.

Change-Id: I27c25da4085faf33320bae049bf19df5ce5165fb
/hardware/qcom/camera/QCamera2/HAL3/QCamera3Factory.cpp