History log of /frameworks/av/camera/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bc0f452b9a76dd8c8244e775bc9c5aa85cae3ddf 21-Nov-2014 Ruben Brunk <rubenbrunk@google.com> Merge "Camera2: Fix CameraParameters parse segfault." into lmp-mr1-dev
5fc9d902510ccd04db80e0bc6aa679a4317a51b2 20-Nov-2014 Ruben Brunk <rubenbrunk@google.com> Camera2: Fix CameraParameters parse segfault.

Bug: 18331142
Change-Id: I41feec93f753f97b3e6bf963deb4a42b73406421
ameraParameters.cpp
7bc4fc847770d399d7c4a7afee5aa58b94f3b897 20-Nov-2014 Chien-Yu Chen <cychen@google.com> camera2: fix an error reading a NULL string

Handle the case where the surface name isn't set.

Bug: 10461464
Change-Id: I3ee233a7a5f6489513e6d87241cda2aaefbfd43b
amera2/CaptureRequest.cpp
0c629a3857c31bee6fa39ba7a9a8cbcabeb383fd 01-Nov-2014 Gaurav Batra <gbatra@nvidia.com> camera: fix vendortags section malloc failure

size_t type variables should be initialized properly especially on 64-bit archs
if they are type casted to shorter datatypes for some operation and then later
used in entirety. The results may be unpredictable since the most significant
bytes may contain garbage.

Bug 18222311

Change-Id: Iced82e964cf8c98f6856d257fc1534a5237a9064
endorTagDescriptor.cpp
b3afa1e3c2af242e0d31a7619713b170d43c7e88 21-Aug-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Fix CameraUtils orientation for front camera.

Bug: 16637957
Change-Id: If6d213794a92eb60b8a333546670ca868b75e5fc
ameraUtils.cpp
0b88a62d4d5ac1e515721e587cdf9bcec191812b 19-Mar-2014 Igor Murashkin <iam@google.com> camera: Fix setParameters for Preview FPS single/range values

As a workaround, duplicate CameraParameters into CameraParameters2 to
prevent ABI break for some camera HALs that directly link into
CameraParameters.

CameraParameters2 implements the real fixes needed in the framework,
while CameraParameters is left in to satisfy older camera HALs.

Bug: 12609188
Bug: 16654949
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4da
ndroid.mk
ameraParameters2.cpp
0ccba97ebec0e0c5a20f8859ebac03d5fd14c97f 29-Jul-2014 Eino-Ville Talvala <etalvala@google.com> Camera2: Fix transforms for front-facing cameras

Mirror, mirror on the wall, who is the best rotated of them all?

Also, use consistent enum names.

Bug: 16637957
Change-Id: Ie211d3b57b9e7d01122192ad03b73ceba5bf1bd3
ameraUtils.cpp
204e3295e2814052aef7e45ee9edd60128efbbd0 15-Jul-2014 Zhijun He <zhijunhe@google.com> Camera HAL3: migrate from partial quirks to partial result

- Enable the normal partial result path for HAL3.2, the quirk is only used
for the HAL version lower than HAL3.2. The partial quirks is no longer supported
for HAL3.2 or higher versions.
- Add CameraDeviceBase getDeviceVersion API.
- Fix some build warnings

Change-Id: I7a1b03d4d5fd5258d2addfba4368bee2ba691337
aptureResult.cpp
5698d4461a260dbf208484383f692b03c6473e74 18-Jun-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Set orientation flags for hardware composer.

Bug: 15116722
Change-Id: I3fcc9aea38afcbd665f86c511a9929fe9a6a3a8f
ndroid.mk
ameraUtils.cpp
b10cdadf0fb945e23ca77008d4af76584bd0e39a 17-Jun-2014 Zhijun He <zhijunhe@google.com> cameraservice: Implement HAL1 and higher HAL API coexistence

A higher hal version device like HAL3.2 can be opened as HAL1.0 device
if HAL supports it. This only applies to camera API1.

Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07
amera.cpp
CameraService.cpp
65d14b9825311f9d1847cf282bd0419e71bac666 17-Jun-2014 Igor Murashkin <iam@google.com> camera: Add #getLegacyParameters, #supportsCameraApi to ICameraService

Change-Id: Ic86c8df3d703e7cf89caa856387e2c0a1b977401
CameraService.cpp
6415ef3f791a0f4032af250e3b5e11f0e6289a2e 11-Jun-2014 Mark Salyzyn <salyzyn@google.com> am dd80baf5: am 1f15b117: Merge "libcamera_client: 64-bit compile issue"

* commit 'dd80baf5413e3fb5ce5e1282ce9c0badd0b081f1':
libcamera_client: 64-bit compile issue
1a93f0cbb99fc5a59c92bd913f29409022ae236d 10-Jun-2014 Mark Salyzyn <salyzyn@google.com> libcamera_client: 64-bit compile issue (part deux)

- %p print warning message
- size_t print warning messages
- unused parameter warning messages

Change-Id: I5de3564b27c65fe1a27c0bcc18ac1b72fca040e2
ameraMetadata.cpp
endorTagDescriptor.cpp
7b73e7127dc727e78460c92ca4115ccad87cf321 10-Jun-2014 Mark Salyzyn <salyzyn@google.com> libcamera_client: 64-bit compile issue

- size_t print format
- some unused parameter warning messages

Change-Id: I2c0f50dda7e810f3f60603fd9d8c62c5b8767528
ameraBase.cpp
ameraParameters.cpp
ce8ae0f62a01cb3a390812db47bb08f29a8aee0d 22-May-2014 Ruben Brunk <rubenbrunk@google.com> Merge "cameraservice: Fix ICameraDeviceUser aidl order."
29478402ba0683323b7c7ff4843c8c2a4f0673d5 22-May-2014 Ruben Brunk <rubenbrunk@google.com> cameraservice: Fix ICameraDeviceUser aidl order.

Change-Id: I19eb3d2ff86c0b395b6358e018c677b6e2d45c75
amera2/ICameraDeviceUser.cpp
87cebadd48710e42474756fc3513df678de045ce 22-May-2014 Elliott Hughes <enh@google.com> resolved conflicts for merge of f285c91e to master

Change-Id: I4c995e297d09c0854a42142cc57dce8b771acf65
b2119af7f4ced0ecfefd4c7388f86b4e3a3ea7d8 10-May-2014 Ruben Brunk <rubenbrunk@google.com> camera2: Update CameraService for HAL1 shim.

Updates the camera service to handle shim connections.

Changes include:
- Adds begin/end configure binder calls.
- Adds cache for shim client static camera metadata.
- Implements basic getCameraCharacteristic functionality for shim clients.

Bug: 15116722
Bug: 15117269

Change-Id: I510c5888ca15f8e7d3b8ed1680ff1c7f8f514744
ndroid.mk
ameraParameters.cpp
amera2/ICameraDeviceUser.cpp
9181b9f4bb53af203c090eff6d1af67d1f7c8770 12-May-2014 Zhijun He <zhijunhe@google.com> Camera: Don't enable log spew by default for eng build

Also replace assert with LOG_ALWAYS_FATAL_IF.

Change-Id: I528b97d9bc7a93dc3575ded28f6bf7e294d0a1e6
ndroid.mk
endorTagDescriptor.cpp
f81648ec38ff63f1f35516fa27c1c24d846e9ba5 18-Apr-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Update CameraMetadata vendor tag handling.

Bug: 12134423
Change-Id: I97dc955ee9dd78ace93a7946296d6d9b0e407d43
ndroid.mk
endorTagDescriptor.cpp
6770260f83f5576b041b7b3a2536d082a631f9b0 03-May-2014 Ruben Brunk <rubenbrunk@google.com> Revert "camera3: Update CameraMetadata vendor tag handling."

This reverts commit 4764324d2704f1b08bb7407014bf203924ff2363.

Change-Id: I86d7fcc11423502b73fab2a82af6aa89804f0b76
ndroid.mk
endorTagDescriptor.cpp
4764324d2704f1b08bb7407014bf203924ff2363 18-Apr-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Update CameraMetadata vendor tag handling.

Bug: 12134423
Change-Id: I1d1be6792b6a4c9f08e042a8b2c89146bde5665e
ndroid.mk
endorTagDescriptor.cpp
cb0652e5a850b2fcd919e977247e87239efaf70e 13-Mar-2014 Jianing Wei <jianingwei@google.com> CameraService: trigger appropriate callbacks for burst capture.

* Instead of tracking CameraMetadata only, now we track both
CameraMetadata and CaptureResultExtras, which is not part of
the HAL metadata. This will enable the correct callback of
onCaptureStarted and onResultReceived given burst requests.

* Get last frame number in reply when submitting requests,
canceling requests, and flushing device. For repeating requests,
this frame number is the last frame number of the previous
request. For non-repeating requests, this frame number is the
expected last frame number of the current request. The goal
is provide frame number to Java side in order to trigger
onCaptureSequenceCompleted correctly.

* Fix notifyError so that onDeviceError can be called correctly.

Bug: 10749500
Change-Id: I2f3dda6c530090055d4a2ff9f0f087bbbe8d9257
ndroid.mk
aptureResult.cpp
amera2/ICameraDeviceCallbacks.cpp
amera2/ICameraDeviceUser.cpp
7595c47b4842d76dba0fcf26ef3ab98d215efe1e 28-Mar-2014 Zhijun He <zhijunhe@google.com> CameraMetadata: Fix String tag update null character issue

String8.size() doesn't count the null character in whatever case. But camera
metadata tag android.jpeg.gpsProcessingMethod need a null-terminited string.

Bug: 13679912
Change-Id: I91e742702b16b9ab9b42f9822de189a9a96e8e53
ameraMetadata.cpp
1cebdb77323e4554a316b9c34bf36957b7dad5ae 26-Mar-2014 Eino-Ville Talvala <etalvala@google.com> Revert "camera: Fix setParameters for Preview FPS single/range values"

Causes a regression on some devices, so reverting until we're in a position to fix those devices.

This reverts commit 9078a1b3b9f9c0c48046ade0e8e18b0d79a659db.

Bug: 13563098
Change-Id: I7aedd01fde8b8fdee77e972ec395f0ecadbf8ccb
ameraParameters.cpp
c3dcf1007aa964f825b2ea2ef86acb7f332e748f 25-Mar-2014 Igor Murashkin <iam@google.com> am 65550a0e: am 0370be96: DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values

* commit '65550a0e17852fe657795508e3bf05bdbfb2520b':
DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values
91820d46b5f3065c2fded3cdf65d305715b33bb1 25-Mar-2014 Igor Murashkin <iam@google.com> am 0370be96: DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values

* commit '0370be96e33ea0c8fb4069e704deccce43b7403c':
DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values
0370be96e33ea0c8fb4069e704deccce43b7403c 19-Mar-2014 Igor Murashkin <iam@google.com> DO NOT MERGE: camera: Fix setParameters for Preview FPS single/range values

As a workaround, duplicate CameraParameters into CameraParameters2 to
prevent ABI break for some camera HALs that directly link into
CameraParameters.

CameraParameters2 implements the real fixes needed in the framework,
while CameraParameters is left in to satisfy older camera HALs.

Bug: 12609188
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4da
ndroid.mk
ameraParameters2.cpp
9078a1b3b9f9c0c48046ade0e8e18b0d79a659db 19-Mar-2014 Igor Murashkin <iam@google.com> camera: Fix setParameters for Preview FPS single/range values

Bug: 12609188
Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4db
ameraParameters.cpp
b5ea3014b8be9eaa16da0144bd81af6fa514d8e2 18-Mar-2014 Dan Stoza <stoza@google.com> Merge "Remove deprecated BufferQueue constructor"
e1445da74730473a66a3ae8414e940aebfe6585d 17-Mar-2014 Igor Murashkin <iam@google.com> camera2: Don't log vendor tag errors when camera HAL too old

Change-Id: Iac3d23284230c95c85ee404abbf9b22df1ae721c
CameraService.cpp
endorTagDescriptor.cpp
d1176ef16677b6c94fb893edb6a864cdccc0b190 21-Feb-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Pass vendor tags through binder.

Bug: 12134423

- Adds a class for parceling vendor tag definitions.
- Passes vendor tag definitions to clients of the camera service.
- Switches over to new vendor tag mechanism when reading from HAL.

Change-Id: Icef3fe9e67160767bdb8244ac49c85b68b497123
ndroid.mk
CameraService.cpp
endorTagDescriptor.cpp
ests/Android.mk
ests/VendorTagDescriptorTests.cpp
8aa0f0619ea867e8fb240cf27913d4f8ae767385 12-Mar-2014 Dan Stoza <stoza@google.com> Remove deprecated BufferQueue constructor

Bug: 13415624
Change-Id: Ifc8f778b70102a38a9f7a086632e6884714e6b58
roCamera.cpp
1d6fa7af1288b550faabe4ec2cf98684236723db 11-Feb-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 566be7c3 to master

Change-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce
377b2ec9a2885f9b6405b07ba900a9e3f4349c38 03-Feb-2014 Kévin PETIT <kevin.petit@arm.com> Make frameworks/av 64-bit compatible

Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.

Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>

Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
ameraParameters.cpp
146aed1ec05579b8840a592c3654c641ab36065c 05-Dec-2013 Zhijun He <zhijunhe@google.com> CameraMetadata: fix metadata alignment issue

When camera metadata is passed through binder interface, there is no
guarantee the destination address of the metadata copy is aligned to
the alignment boundary required by metadata copy, which could cause
metadata validation fail. this change aligns the start address of the
metadata copy destination blob to address this issue.

Bug: 12010193
Change-Id: I540c6b4c484fe87a1d625a362310f33a309c1772
ameraMetadata.cpp
fd6ecdd39bd83ea020f78b425e96310380d66c35 11-Oct-2013 Eino-Ville Talvala <etalvala@google.com> Camera HAL3/API1: Add support for the partial result quirk.

- Camera2Client:
- Detect partial result quirk
- Camera3Device:
- Accumulate all partial results together
- Fire off 3A-only result once all 3A states are available
- FrameProcessorBase:
- Filter out partials, don't send to listeners
- FrameProcessor:
- Skip face detect on partials
- Make sure to only handle a 3A update for a given frame once
- Trigger AF notifications when AF mode or trigger changes, to
properly detect all AF transitions.

Bug: 11115603
Change-Id: Iea8aa73c568701562a46071f7ea100624251d10b
ameraMetadata.cpp
f1e98d857ec377f2c9b916073d40732e6ebb7ced 06-Sep-2013 Eino-Ville Talvala <etalvala@google.com> Camera API 2, Device 2/3: Implement idle and shutter callbacks

- Update callback Binder interface
- Rename frameId to be requestId to be consistent and disambiguate
from frameNumber.
- Implement shutter callback from HAL2/3 notify()
- Add in-flight tracking to HAL2
- Add requestId to in-flight tracking
- Report requestId from shutter callback
- Implement idle callback from HAL3 process_capture_result
- Add new idle tracker thread
- Update all idle waiting to use the tracker
- Add reporting from request thread, all streams to tracker
- Remove existing idle waiting infrastructure

Bug: 10549462
Change-Id: I867bfc248e3848c50e71527e3561fe92dc037958
ProCameraCallbacks.cpp
roCamera.cpp
amera2/ICameraDeviceCallbacks.cpp
ests/ProCameraTests.cpp
2b59be89dc245b6e2475d9e8b0c5f2392370e71e 25-Sep-2013 Zhijun He <zhijunhe@google.com> Camera: Implement getCameraCharacteristics

Bug: 10904541
Bug: 10360518
Change-Id: Ie9ca6b3b0b5f2fe529e6b0decc193096e770a017
CameraService.cpp
d1d6467d3bcbc1305eeba0176a2edf04925c368e 07-Sep-2013 Zhijun He <zhijunhe@google.com> Camera: Correct stream id types

Bug: 10604704
Change-Id: I223ac5d200eb6439c08955fb7ad586592099fbae
ests/ProCameraTests.cpp
e07f53720bcf543bcfe90c228a49c2a85a3fdb4c 27-Aug-2013 Eino-Ville Talvala <etalvala@google.com> Merge "Camera2: Add flush support" into klp-dev
88aef23d00a509693a955b6a207c0fb023fbc92d 24-Aug-2013 Igor Murashkin <iam@google.com> camera2: Get rid of annoying "Reading a NULL string...." error message

Bug: 10461464
Change-Id: Ie99f025db0e0e12c703f2d391e218b49330ee4dd
amera2/ICameraDeviceUser.cpp
abaa51d3ca31f0eda99e1d271e6dc64c877dbf58 14-Aug-2013 Eino-Ville Talvala <etalvala@google.com> Camera2: Add flush support

- On HAL2 devices, fall back to wait until idle
- On HAL3 devices, call HAL flush method

Bug: 9758581
Change-Id: Ie1c570a15f6590a1ee6c271e3b989c48079b468a
amera2/ICameraDeviceUser.cpp
4b820b0e1fa069714b123fc35784541d0f94d267 21-Aug-2013 Eino-Ville Talvala <etalvala@google.com> Camera1: Rename setPreviewTexture to ...Target for clarity

Bug: 10312644
Change-Id: I19976188f0359bfd177209fb40145defdae9c740
amera.cpp
1ce7c34e67c2cf58dd88c31f36f4bd62e375f7f0 21-Aug-2013 Eino-Ville Talvala <etalvala@google.com> Camera1: Set preview to be asynchronous, and remove dead code

- Use the controlledByApp flag to make sure application-bound
preview buffer queue is asynchronous as before
- Remove setPreviewDisplay in service, since it is no longer in
the binder interface
- Rename setPreviewTexture to setPreviewTarget, to make it clear it's
the only game in town now. Rename only on the binder level and service
for now.

Bug: 10312644
Change-Id: Icd33a462022f9729a63dc65c69b755cb7969857e
amera.cpp
Camera.cpp
0f61d8f14aa368c9cd7076528e8096e10ed100a0 08-Aug-2013 Ruben Brunk <rubenbrunk@google.com> Refactor CameraService to handle errors properly.

Bug: 10361136

-Connect calls now return status_t error flags.

Change-Id: Idca453b111e5df31327f6c99ebe853bb2e332b95
amera.cpp
ameraBase.cpp
CameraService.cpp
roCamera.cpp
deeef54487a34034dc0cfaab20b20d557224c07c 02-Aug-2013 Mathias Agopian <mathias@google.com> separte producer and consumer interfaces

Bug: 9265647
Change-Id: Iefabc11e4bd2e2e8ffd31160476c450affe6629c
roCamera.cpp
11d0d44d583f679638cc927bfffe920e495e90cc 31-Jul-2013 Zhijun He <zhijunhe@google.com> Camera: fix the metadate parcel write issue

Also rename the frameId to requestId to make it less confusing.

Change-Id: I14a20b6fcabb86294afb31fc0c56397e185c1373
amera2/ICameraDeviceCallbacks.cpp
7b82efe7a376c882f8f938e1c41b8311a8cdda4a 26-Jul-2013 Eino-Ville Talvala <etalvala@google.com> Camera: Rename new API to camera2, rearrange camera service

- Support API rename from photography to camera2
- Reorganize camera service files
- API support files to api1/, api2/, api_pro/
- HAL device support files into device{1,2,3}/
- Common files into common/
- Camera service remains at top-level

Change-Id: Ie474c12536f543832fba0a2dc936ac4fd39fe6a9
ndroid.mk
CameraService.cpp
amera2/CaptureRequest.cpp
amera2/ICameraDeviceCallbacks.cpp
amera2/ICameraDeviceUser.cpp
hotography/CaptureRequest.cpp
hotography/ICameraDeviceCallbacks.cpp
hotography/ICameraDeviceUser.cpp
2ab500c632569e2f131a1a2288459933da70c4ee 23-Jul-2013 Zhijun He <zhijunhe@google.com> camera2: Implement ICameraDeviceUser::waitUntilIdle

Also fixed some logging typo

Change-Id: Ib254bdb137dca10b12595c23aeb1c53097423425
hotography/ICameraDeviceUser.cpp
5e1f08b3917ac7900f8a11118afb7e8bf3e61c64 17-Jul-2013 Mathias Agopian <mathias@google.com> update to new Consumer APIs

Change-Id: I3c5d4be2a2e8783fbf98b3e268fd02658f71dc7d
roCamera.cpp
5478f3c44b9d6670261733953a71a8290fa70ae8 16-Jul-2013 Mathias Agopian <mathias@google.com> Merge "always pass the BufferQueue explicitely to consumers"
099b457f3203fa51387e21bd450495abb973ab31 13-Jul-2013 Igor Murashkin <iam@google.com> camera2: Implement ICameraDeviceUser::getCameraInfo

Bug: 9529161
Change-Id: I927e39c124cd5fb19e38423506f4463acc381cb0
hotography/ICameraDeviceUser.cpp
8d764bfc74c40641f018a0aa87d6f484aec92eae 13-Jul-2013 Mathias Agopian <mathias@google.com> always pass the BufferQueue explicitely to consumers

Change-Id: Ic2d9a9cf184a482b3c78a481ed693ee32df5ca13
roCamera.cpp
91a582c46758949c8ac205507d72595c8c0fe1f3 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 8ebdfa8b: am 5de9ef20: am 365ed394: Merge "Typo in CameraParameters::set"

* commit '8ebdfa8b021ed338f9916a1f30d756b989afa3bd':
Typo in CameraParameters::set
5de9ef20d596bc20f53cba664f1ac7e358910ea2 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 365ed394: Merge "Typo in CameraParameters::set"

* commit '365ed394c4135d9d42082c85638c076aed4bd156':
Typo in CameraParameters::set
e7ee7637747371635a85fedd24d2190bb1f38651 12-Jun-2013 Igor Murashkin <iam@google.com> Initial implementation of android.hardware.photography.CameraDevice (service)

* Verified preview streaming requests
* Other things *should* work but unverified / unimplemented in client side

Missing:
* CameraService needs to return static camera info metadata

Bug: 9213377
Change-Id: I71568560fcf18d0e2b408ed1c4d0066647314868
ndroid.mk
ameraMetadata.cpp
CameraService.cpp
ProCameraCallbacks.cpp
ProCameraUser.cpp
hotography/CaptureRequest.cpp
hotography/ICameraDeviceCallbacks.cpp
hotography/ICameraDeviceUser.cpp
bef3f23f16f2fc575b3f425febcfcc436a7db70f 31-May-2013 Igor Murashkin <iam@google.com> camera: Make some binder interfaces compatible with AIDL

Done:
* ICameraService
* ICameraServiceListener

Partial:
* ICamera (disconnect only)
* IProCameraUser (disconnect only)

Bug: 9213377
Change-Id: I8e2e6e05cfd02ec36be1d5b2c551f10ffb43b5b4
Camera.cpp
CameraService.cpp
CameraServiceListener.cpp
ProCameraUser.cpp
81243ade35dc0e8e9db4ea1afcdec9f124cb40e5 07-May-2013 Igor Murashkin <iam@google.com> am ad60695f: am 1a95a727: Merge "camera: Use new camera_metadata structure validation functions" into jb-mr2-dev

* commit 'ad60695f2dcea0b6ea1d3a92a034b5067b87783e':
camera: Use new camera_metadata structure validation functions
d1ae0fe1f3a0b8883e3fd1e6a1f15c6acaafc618 01-May-2013 Igor Murashkin <iam@google.com> camera: Use new camera_metadata structure validation functions

* Reject unvalidated metadata across binder boundaries
* Sanity check in-process CameraMetadata when mutating data

Bug: 8713951
Change-Id: I121d8e15f8fdc9cdbbaf27dfd947813e11831e1c
ameraMetadata.cpp
ProCameraUser.cpp
e2d1e3d0436aec645739c65e6d3131dd814f40a1 01-May-2013 Igor Murashkin <iam@google.com> camera: Use new camera_metadata structure validation functions

* Reject unvalidated metadata across binder boundaries
* Sanity check in-process CameraMetadata when mutating data

Bug: 8713951
Change-Id: I121d8e15f8fdc9cdbbaf27dfd947813e11831e1c
ameraMetadata.cpp
ProCameraUser.cpp
15f227174e4b606f71f14efa1275c0f85bfc7011 22-Apr-2013 Igor Murashkin <iam@google.com> am b9258b57: am d090054d: Merge "Fix ProCameraTests to pass on Wolfie, disabling failing tests" into jb-mr2-dev

* commit 'b9258b57aa0c86e4741e2c24474bb9d766d17e8e':
Fix ProCameraTests to pass on Wolfie, disabling failing tests
c6deb68aa7d1b9a4a4ba4549411c3be2753723d2 18-Apr-2013 Igor Murashkin <iam@google.com> Fix ProCameraTests to pass on Wolfie, disabling failing tests

Note: tests fail in racy conditions, but we don't occur those conditions
in practice in other consumers of ProCamera.

Bug: 8654735
Change-Id: Ic73395ad564031a6b30ad99762dee59f9c35cecf
ests/ProCameraTests.cpp
c8e19c1dadedf53710eab211e14daf723ec66705 18-Apr-2013 Igor Murashkin <iam@google.com> Fix ProCameraTests to pass on Wolfie, disabling failing tests

Note: tests fail in racy conditions, but we don't occur those conditions
in practice in other consumers of ProCamera.

Bug: 8654735
Change-Id: Ic73395ad564031a6b30ad99762dee59f9c35cecf
ests/ProCameraTests.cpp
3ee3550a2f529cbf56d87d8503f59a8f45dccf32 03-Apr-2013 Eino-Ville Talvala <etalvala@google.com> Camera: Add preview callback surface support

- Add call to set a preview callback surface
- Implement support for HAL2/3 devices
- Still need HAL1 implementation

Change-Id: I0dc0bd72e43d871aa487858d1665c1efca633ffe
amera.cpp
Camera.cpp
7455393a82bea99b88740365bc6612cbcac1a14a 15-Apr-2013 Yu Shan Emily Lau <yslau@google.com> Merge "Update the test output path." into jb-mr2-dev
1821b0a4eb7a78d2744801b1f863455fd384e283 15-Apr-2013 Yu Shan Emily Lau <yslau@google.com> Merge "Update the test output path." into jb-mr2-dev
41f37e7c29b5cc3bbd9ee60ea73c4d857d2ad717 12-Apr-2013 Yu Shan Emily Lau <yslau@google.com> Update the test output path.

In order for the automated test to pick up the test.
The output must be in /data/nativetest.

Change-Id: Idc15036afb5617ac1ef67ff74ba332c5f73fe155
ests/Android.mk
b34e0b72f013794acec4304ec3dec8da8dba81a6 12-Apr-2013 Yu Shan Emily Lau <yslau@google.com> Update the test output path.

In order for the automated test to pick up the test.
The output must be in /data/nativetest.

Change-Id: Idc15036afb5617ac1ef67ff74ba332c5f73fe155
ests/Android.mk
da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
ndroid.mk
ecba7488c5cceaacef95836b1b476433451e7761 10-Apr-2013 Ying Wang <wangying@google.com> Add liblog

Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
ndroid.mk
3b53bc9b41c262d22f094406e3751bc5a41ef2ef 28-Feb-2013 Eino-Ville Talvala <etalvala@google.com> Camera: Add input side to camera3 HAL device

- Stream creation/deletion
- Request submission
- Request thread loop
- Add get() to CameraMetadata to allow HAL submission while retaining
ownership.

Change-Id: I271f72bcbe9557eded43cbcbfe789109857f8144
ameraMetadata.cpp
f76e027c43f531fc6f9287838b5c332236a4338a 28-Feb-2013 Eino-Ville Talvala <etalvala@google.com> Camera: Add input side to camera3 HAL device

- Stream creation/deletion
- Request submission
- Request thread loop
- Add get() to CameraMetadata to allow HAL submission while retaining
ownership.

Change-Id: I271f72bcbe9557eded43cbcbfe789109857f8144
ameraMetadata.cpp
ad065d38daace14281801127bd447114b7b4daa5 27-Mar-2013 Igor Murashkin <iam@google.com> Merge "Camera: Add hotplug support (for fixed # of cameras)" into jb-mr2-dev
8d012b56cbd49f33841c13aaa5b7b42020de82ed 27-Mar-2013 Igor Murashkin <iam@google.com> Merge "Camera: Add hotplug support (for fixed # of cameras)" into jb-mr2-dev
65d7986ceac6e35426749ac7e05bbd2a38949db4 27-Mar-2013 Igor Murashkin <iam@google.com> ProCamera: Fix memory leak in consumeFrameMetadata

Bug: 8402301
Change-Id: I975990185f45bb8552712271b9ac457af08a170c
roCamera.cpp
ests/ProCameraTests.cpp
e3e18d93d6b519145b3aa8e921a4d6fe1d67cfa8 27-Mar-2013 Igor Murashkin <iam@google.com> ProCamera: Fix memory leak in consumeFrameMetadata

Bug: 8402301
Change-Id: I975990185f45bb8552712271b9ac457af08a170c
roCamera.cpp
ests/ProCameraTests.cpp
cba2c163555cd329f49d40658ea3ee902e94dda3 20-Mar-2013 Igor Murashkin <iam@google.com> Camera: Add hotplug support (for fixed # of cameras)

* Minor: also change addListener to fire the current status upon subscription
* Minor: STATUS_AVAILABLE is now an alias for STATUS_PRESENT and deprecated

Change-Id: I254608a7332095e3ef201ffea64cff156cfc1b3e
ests/ProCameraTests.cpp
a36381479c5c546a01188390f1e0d2e280a3dbd8 20-Mar-2013 Igor Murashkin <iam@google.com> Camera: Add hotplug support (for fixed # of cameras)

* Minor: also change addListener to fire the current status upon subscription
* Minor: STATUS_AVAILABLE is now an alias for STATUS_PRESENT and deprecated

Change-Id: I254608a7332095e3ef201ffea64cff156cfc1b3e
ests/ProCameraTests.cpp
475391897f0886aae1833d5e8b2e5aea47cc36bb 18-Mar-2013 Igor Murashkin <iam@google.com> ProCameraTests: Minor add grey/frame count debug-only print outs

Change-Id: I0f7b7f3c083a644e9bb0c2302244a5ad434e96a8
ests/ProCameraTests.cpp
46ee76c093796924de4e0d356220844a99d10707 18-Mar-2013 Igor Murashkin <iam@google.com> ProCameraTests: Minor add grey/frame count debug-only print outs

Change-Id: I0f7b7f3c083a644e9bb0c2302244a5ad434e96a8
ests/ProCameraTests.cpp
99617adda9bc46c43f511f0940bc735c73de61de 13-Mar-2013 Mathias Agopian <mathias@google.com> remove uses of Surface in favor or IGraphicBufferProducer

Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
amera.cpp
Camera.cpp
33da402287605e40e189289b11a08b8f5d515818 13-Mar-2013 Mathias Agopian <mathias@google.com> remove uses of Surface in favor or IGraphicBufferProducer

Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
amera.cpp
Camera.cpp
fa4cf9d310685b4c25877cba772ff7da84caf517 05-Mar-2013 Igor Murashkin <iam@google.com> (Camera)ProCamera: Remove unused functions from binder interface

Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
amera.cpp
ameraBase.cpp
ProCameraCallbacks.cpp
ProCameraUser.cpp
roCamera.cpp
ests/ProCameraTests.cpp
7cf9a7e7d19579565e0f9dba8be9c107f2dbf548 05-Mar-2013 Igor Murashkin <iam@google.com> (Camera)ProCamera: Remove unused functions from binder interface

Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
amera.cpp
ameraBase.cpp
ProCameraCallbacks.cpp
ProCameraUser.cpp
roCamera.cpp
ests/ProCameraTests.cpp
fb413768551ea8ba3af05efb9906e7e2348f2431 28-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: Add CpuConsumer asynchronous mode support

Bug: 8290146
Bug: 8291751
Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
roCamera.cpp
ests/ProCameraTests.cpp
ba5ca4ee770fa0fe9e14990fd13b23f1010f5c98 28-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: Add CpuConsumer asynchronous mode support

Bug: 8290146
Bug: 8291751
Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
roCamera.cpp
ests/ProCameraTests.cpp
8fdfbe27acd157d58fa35a849ec50c82464062f0 27-Feb-2013 Igor Murashkin <iam@google.com> Camera: Drop ProCamera connections when a Camera connection happens

* Also adds an ICameraServiceListener with available/not available statuses

Bug: 8291653
Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84
ndroid.mk
ameraBase.cpp
CameraService.cpp
CameraServiceListener.cpp
ests/ProCameraTests.cpp
bfc9915f482520eb9676c6d2dbf7f1ac078d937d 27-Feb-2013 Igor Murashkin <iam@google.com> Camera: Drop ProCamera connections when a Camera connection happens

* Also adds an ICameraServiceListener with available/not available statuses

Bug: 8291653
Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84
ndroid.mk
ameraBase.cpp
CameraService.cpp
CameraServiceListener.cpp
ests/ProCameraTests.cpp
721f17283e2493426c47bbaa267c337b2af5726e 28-Feb-2013 Igor Murashkin <iam@google.com> ProCameraTest: Drop frames test move processing delay between lock/unlock

* This makes it more likely to find races with the buffer being unlocked
by itself

Change-Id: I1fa7dbfb73f60664a02a35678b58bcc9b06893a2
ests/ProCameraTests.cpp
3fa4891f54bbfdbe8ee652930d22c96639964eff 28-Feb-2013 Igor Murashkin <iam@google.com> ProCameraTest: Drop frames test move processing delay between lock/unlock

* This makes it more likely to find races with the buffer being unlocked
by itself

Change-Id: I1fa7dbfb73f60664a02a35678b58bcc9b06893a2
ests/ProCameraTests.cpp
b84d935c179a275a47e07291d2a983daf844de80 26-Feb-2013 Igor Murashkin <iam@google.com> camera_client: refactor Camera/ProCamera commonalities into BasicCamera

Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
ndroid.mk
amera.cpp
ameraBase.cpp
CameraService.cpp
roCamera.cpp
c073ba525404f3416c2824c435d3d926a9892f1b 26-Feb-2013 Igor Murashkin <iam@google.com> camera_client: refactor Camera/ProCamera commonalities into BasicCamera

Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
ndroid.mk
amera.cpp
ameraBase.cpp
CameraService.cpp
roCamera.cpp
48af7e8dd40883d6154e7029d9500072b551b5fa 19-Feb-2013 Eino-Ville Talvala <etalvala@google.com> CameraService and Stagefright: Support AppOps

Camera:
- Signal to AppOpsService when camera usage starts and stops
- Listen to permissions revocations and act on them
- Currently just kill camera connection when permissions lost

Stagefright:
- Pass on client name, UID to camera as needed

Bug: 8181262
Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
amera.cpp
CameraService.cpp
ceb388d6c03c38b96dc41c0ea4804b749aa077c4 19-Feb-2013 Eino-Ville Talvala <etalvala@google.com> CameraService and Stagefright: Support AppOps

Camera:
- Signal to AppOpsService when camera usage starts and stops
- Listen to permissions revocations and act on them
- Currently just kill camera connection when permissions lost

Stagefright:
- Pass on client name, UID to camera as needed

Bug: 8181262
Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
amera.cpp
CameraService.cpp
94a90a43b2a9f83b3a4a4a59247b74ad50336860 20-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: Fix waitForFrameBuffer not handling multiple outstanding frames

If the CpuConsumer triggered multiple onFrameAvailable callbacks in between
a single waitForFrameBuffer call, the old code would only handle 1 callback.

This meant on two subsequent waitForFrameBuffer calls the second would always
timeout when two buffers were already available to be unlocked.

Bug: 8238112
Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497
roCamera.cpp
ests/ProCameraTests.cpp
4bc4a3845e456fd464556d79d20650a107e873e5 20-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: Fix waitForFrameBuffer not handling multiple outstanding frames

If the CpuConsumer triggered multiple onFrameAvailable callbacks in between
a single waitForFrameBuffer call, the old code would only handle 1 callback.

This meant on two subsequent waitForFrameBuffer calls the second would always
timeout when two buffers were already available to be unlocked.

Bug: 8238112
Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497
roCamera.cpp
ests/ProCameraTests.cpp
687f26c7bd7ece88cad8d51fc47be7ab1600af9d 21-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: add waitForFrameBuffer/waitForFrameResult blocking calls

Change-Id: I851d41aeecaa15245d5b9d622132e8706d6e292c
roCamera.cpp
ests/ProCameraTests.cpp
a140a6efea1db7837984b3578755cfa4eaa8d92d 21-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: add waitForFrameBuffer/waitForFrameResult blocking calls

Change-Id: I851d41aeecaa15245d5b9d622132e8706d6e292c
roCamera.cpp
ests/ProCameraTests.cpp
1d74853933937f3e3f120a6efffb1f4cec7f8ba7 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCameraTests: clean up a bit, still needs more cleanup

Change-Id: Ia7e18c81002c8d98176f21553cf13cbd13cfdf5d
ests/ProCameraTests.cpp
dcb07d51e307019731147751946774f45321edfb 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCameraTests: clean up a bit, still needs more cleanup

Change-Id: Ia7e18c81002c8d98176f21553cf13cbd13cfdf5d
ests/ProCameraTests.cpp
d127c2c8a8b68dae2f8743c310c2547e8f46d967 21-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: Add getInfo for getting static metadata (and a test)

Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
ProCameraUser.cpp
roCamera.cpp
ests/ProCameraTests.cpp
7b33a74bbc514b99c16be7fff9a34e892bc19264 21-Feb-2013 Igor Murashkin <iam@google.com> ProCamera: Add getInfo for getting static metadata (and a test)

Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
ProCameraUser.cpp
roCamera.cpp
ests/ProCameraTests.cpp
418e493e8d67924cfda652cb64965647ce6381cb 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera - implement onResultReceived callback for metadata callbacks

Change-Id: I46775402b007244bc383d6343a620eebbd492aad
ProCameraCallbacks.cpp
roCamera.cpp
ests/ProCameraTests.cpp
a91537e268f2b35f9f0dfdc0c4f84655c93285ae 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera - implement onResultReceived callback for metadata callbacks

Change-Id: I46775402b007244bc383d6343a620eebbd492aad
ProCameraCallbacks.cpp
roCamera.cpp
ests/ProCameraTests.cpp
5076182ce4bf657e7211264d0ad3861212f24aa1 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCameraTests - add CpuConsumer tests for dual streams

Change-Id: Ia010450dc79ac2841645b8c2e1553c9ec74ee5e3
ests/ProCameraTests.cpp
eb72e1796b3af548e87891a6d2b73b0567807f25 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCameraTests - add CpuConsumer tests for dual streams

Change-Id: Ia010450dc79ac2841645b8c2e1553c9ec74ee5e3
ests/ProCameraTests.cpp
c0767f148e29ce821281b5965c0e25b4c143e76d 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera - add createStreamCpu and unit test

Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
roCamera.cpp
ests/ProCameraTests.cpp
5835cc46a2f06dbfa5fbdab70e091896ef2fb438 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera - add createStreamCpu and unit test

Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
roCamera.cpp
ests/ProCameraTests.cpp
5494cdc67b541034c963919aef8acb8b665e4dde 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: Change ProCamera to take IGraphicBufferProducer

Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
ProCameraUser.cpp
roCamera.cpp
76f8b43909817179b317880202360863b8f976d0 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: Change ProCamera to take IGraphicBufferProducer

Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
ProCameraUser.cpp
roCamera.cpp
69e22433b9d7df77907579f67e47a159aa57f876 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera2Client - add createStream (service is stubbed) and unit test

Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
ProCameraUser.cpp
roCamera.cpp
ests/ProCameraTests.cpp
985fd30a10f6fec4293f071fd258c4726cff5a3d 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera2Client - add createStream (service is stubbed) and unit test

Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
ProCameraUser.cpp
roCamera.cpp
ests/ProCameraTests.cpp
9476926bb91bf15f7aff2a289a4805148f5a8a4e 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera - add createStream stub and unit test for it

Change-Id: Ic05130e63f4f2c0c3278ba348b192992169f105f
roCamera.cpp
ests/ProCameraTests.cpp
68506fd58d26748617babe94d5648503cb3690bb 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProCamera - add createStream stub and unit test for it

Change-Id: Ic05130e63f4f2c0c3278ba348b192992169f105f
roCamera.cpp
ests/ProCameraTests.cpp
90fce97bf320a5d0b3547d18fcb2c0d57347361e 30-Jan-2013 Igor Murashkin <iam@google.com> Camera: ProCameraTests - add asynchronous locking unit test

Change-Id: Ib79eb84046c9ed898bfb086a6600265fc351924c
ests/ProCameraTests.cpp
39f79f77a435c2f769477caeb071e2f9f6e78742 30-Jan-2013 Igor Murashkin <iam@google.com> Camera: ProCameraTests - add asynchronous locking unit test

Change-Id: Ib79eb84046c9ed898bfb086a6600265fc351924c
ests/ProCameraTests.cpp
68c80668304fc92db43bbe2e7cbe9753b6d3865a 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProClient add asynchronous locks and such

Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
ProCameraCallbacks.cpp
roCamera.cpp
ests/Android.mk
ests/ProCameraTests.cpp
5376573eff55f370f041889618c9a7a9e1894615 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: ProClient add asynchronous locks and such

Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
ProCameraCallbacks.cpp
roCamera.cpp
ests/Android.mk
ests/ProCameraTests.cpp
bfb5d5ef5bae01efac171397260a7152782d92c7 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: Add ProCamera private binder interface for an API2-light functionality

Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
ndroid.mk
amera.cpp
CameraService.cpp
ProCameraCallbacks.cpp
ProCameraUser.cpp
roCamera.cpp
ests/Android.mk
ests/ProCameraTests.cpp
634a51509ee50475f3e9f8ccf897e90fc72ded31 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: Add ProCamera private binder interface for an API2-light functionality

Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
ndroid.mk
amera.cpp
CameraService.cpp
ProCameraCallbacks.cpp
ProCameraUser.cpp
roCamera.cpp
ests/Android.mk
ests/ProCameraTests.cpp
e4e5b2f23fa85cae789dc6824ea8af321e211d60 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: Add unit test infrastructure for libcameraclient

Change-Id: I957538663ae8332d26f3640c63a75efc79f4ac5c
ndroid.mk
ests/Android.mk
ests/main.cpp
1d88023e1de6b9f370eb4be944dd9c4480d01f11 21-Feb-2013 Igor Murashkin <iam@google.com> Camera: Add unit test infrastructure for libcameraclient

Change-Id: I957538663ae8332d26f3640c63a75efc79f4ac5c
ndroid.mk
ests/Android.mk
ests/main.cpp
537799199bdd7a585585dee409e0e3a86bad93b7 14-Feb-2013 Igor Murashkin <iam@google.com> Camera: Add exists function to CameraMetadata

Change-Id: I081f61417fca7c8408e9e767129647ddce5364ab
ameraMetadata.cpp
fc42642ab78da5fe25bcbea7a568bf880268a9dc 14-Feb-2013 Igor Murashkin <iam@google.com> Camera: Add exists function to CameraMetadata

Change-Id: I081f61417fca7c8408e9e767129647ddce5364ab
ameraMetadata.cpp
bd02dd1bf1f34eb4e100d0d058f1fe5a2790d67e 14-Feb-2013 Igor Murashkin <iam@google.com> Camera: Move CameraMetadata.h from service to client library

Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f
ndroid.mk
ameraMetadata.cpp
7efa520c76e6a1f6b3146404cc6aca5a8353583a 14-Feb-2013 Igor Murashkin <iam@google.com> Camera: Move CameraMetadata.h from service to client library

Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f
ndroid.mk
ameraMetadata.cpp
484566c410afdfbc4b6bc5aa1732aef37428a5b8 18-Dec-2012 Andy McFadden <fadden@android.com> Rename ISurfaceTexture and SurfaceTexture

The C++ class names don't match what the classes do, so rename
ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to
GLConsumer.

Bug 7736700

Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
amera.cpp
Camera.cpp
8ba01021b573889802e67e029225a96f0dfa471a 18-Dec-2012 Andy McFadden <fadden@android.com> Rename ISurfaceTexture and SurfaceTexture

The C++ class names don't match what the classes do, so rename
ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to
GLConsumer.

Bug 7736700

Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
amera.cpp
Camera.cpp
4c18eb30b493a4cd8d56bbcf8acb526b97c401a4 14-Dec-2012 You Kim <you.kim72@gmail.com> Typo in CameraParameters::set

Typo: 'key' --> 'value'

Change-Id: Idd0426263cf2125a796406abaf6f29f04f425fe4
ameraParameters.cpp
0517e304d0cce25653a033e3cb00172d54ba251d 28-Sep-2012 James Painter <jpainter@google.com> DO NOT MERGE: Remove experimental parameters for burst mode

Bug: 7248756
Change-Id: I3aaf2da4791b2a13e1e788b2914e4c51c529a75d
ameraParameters.cpp
c61b2aaab1846dea4b53555696739a3ba704f0ec 10-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera: Add HDR scene mode constants.

Change-Id: I78b1f8ca3c1a03222ed363db26d9a09cf0b13528
ameraParameters.cpp
c81284a2b77c630046ee57e6d73ac5d367e558f1 10-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Camera: Add HDR scene mode constants.

Change-Id: I78b1f8ca3c1a03222ed363db26d9a09cf0b13528
ameraParameters.cpp
e538206d15282afbc5b168d60b1026a5dfcd13c0 06-Sep-2012 James Painter <jpainter@google.com> Camera2: Add a burst mode skeleton.

Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
ameraParameters.cpp
c3dbf1a40df85b75e5805382838a90416f69730f 06-Sep-2012 James Painter <jpainter@google.com> Camera2: Add a burst mode skeleton.

Bug: 6243944
Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
ameraParameters.cpp
f6d9696bf1db133d16dd8981380e1bfbd2e0bc70 19-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Camera: Add OPAQUE pixel format to CameraParameters

This is only used to support recording with HAL 2 in the
KEY_VIDEO_FRAME_FORMAT parameter, and is not exposed to applications.

Bug: 6243944
Change-Id: I5976a748d199ae98189bd03af5bbd9e18cbd6bf0
ameraParameters.cpp
3d51d5cb53cc630709a0ba78d0e60501a675f2d5 13-Jun-2012 James Dong <jdong@google.com> Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/

Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26
related-to-bug: 6647465
ODULE_LICENSE_APACHE2
OTICE
08ad5efcef90e24db2863c0f85972ed05fe848a2 18-Apr-2012 Wu-cheng Li <wuchengli@google.com> Remove new camera connect API.

Applications are not resumed under the lock screen now.
This API is not needed anymore.

bug:5584464
Change-Id: I115daf6b647348617ec0fc05b626878c945b9b29
amera.cpp
CameraService.cpp
2fd2440d0175ca3e196b01b7541a9e0d4ed9a694 24-Feb-2012 Wu-cheng Li <wuchengli@google.com> Add a new camera open API that allows taking the ownership.

The purpose is to let face unlock always get the camera
successfully. What happened was the camera applications may
have opened the camera in onResume under the lock screen.
This API lets face unlock take the camera from the camera
application. A new permission will be added, so other
applicatoins won't be able to take the camera from the face
unlock.

bug:5584464

Change-Id: Ib3d9dcbc2161815b68db42327dc01148453704c6
amera.cpp
CameraService.cpp
df712ea86e6350f7005a02ab0e1c60c28a343ed0 26-Feb-2012 Mathias Agopian <mathias@google.com> fix libgui header location

Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
amera.cpp
Camera.cpp
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
amera.cpp
ameraParameters.cpp
5ff1dd576bb93c45b44088a51544a18fc43ebf58 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
amera.cpp
b8a805261bf0282e992d3608035e47d05a898710 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
amera.cpp
ameraParameters.cpp
3856b090cd04ba5dd4a59a12430ed724d5995909 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
amera.cpp
Camera.cpp
CameraClient.cpp
CameraRecordingProxy.cpp
CameraRecordingProxyListener.cpp
7019d2247e644470a0e8eb99b02b8b2d656fd9fb 11-Oct-2011 Eino-Ville Talvala <etalvala@google.com> Add video stabilization control to Camera parameters.

Hardware video stabilization reduces camera shake in preview
and in recorded videos. It has no effect on still image capture.

Convenience accessor methods hidden for now.

Change-Id: Ie18450bff662b2ef98b85d19719beefc180975fc
ameraParameters.cpp
a8e409f8f9b40737d0b03355894b5e141d0aff6b 30-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add video snapshot camera parameter.

The API is still hidden.

bug:5187868

Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
ameraParameters.cpp
ab3f1388c71aed957f94ddab976faa77ab77e67f 16-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE.

The API is still hidden.

bug:5086125
Change-Id: I69268a95ad6aae249771d3a8dfb423ffe2d87081
ameraParameters.cpp
79e2ab42c38d1099bcd7c8840caa5a85c9fcb104 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add camera bayer image format.

The API are hidden.

bug:5086073

Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
ameraParameters.cpp
57c86189bc07d9ccb0fd044e66df736d0bf19639 29-Jul-2011 Wu-cheng Li <wuchengli@google.com> Pass camera frame metadata from camera service to Java.

bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
amera.cpp
CameraClient.cpp
40cdc56efa47580d89a93750cefecb8ccbaf9a72 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add camera recording hint parameter.

The API is still hidden.

bug:4266229
Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
ameraParameters.cpp
7fc25dd82dec8474139315b8e905f103c13406f5 21-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera face detection API.

API are still hidden.

bug:4460717
Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
ameraParameters.cpp
5e0067b486c3862316aa1f293cf9690c0cf54bda 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
ndroid.mk
4ca2c7c913f8bd4ada13aca56d36045d42d1e00f 01-Jun-2011 Wu-cheng Li <wuchengli@google.com> Add framework support for camcorder zoom.

The purpose of ICameraRecordingProxy and ICameraRecordingProxyListener is to
allow applications using the camera during recording.

Camera service allows only one client at a time. Since camcorder application
needs to own the camera to do things like zoom, the media recorder cannot
access the camera directly during recording. So ICameraRecordingProxy is a proxy
of ICamera, which allows the media recorder to start/stop the recording and
release recording frames. ICameraRecordingProxyListener is an interface that
allows the recorder to receive video frames during recording.

ICameraRecordingProxy
startRecording()
stopRecording()
releaseRecordingFrame()

ICameraRecordingProxyListener
dataCallbackTimestamp()

The camcorder app opens the camera and starts the preview. The app passes
ICamera and ICameraRecordingProxy to the media recorder by
MediaRecorder::setCamera(). The recorder uses ICamera to setup the camera in
MediaRecorder::start(). After setup, the recorder disconnects from camera
service. The recorder calls ICameraRecordingProxy::startRecording() and
passes a ICameraRecordingProxyListener to the app. The app connects back to
camera service and starts the recording. The app owns the camera and can do
things like zoom. The media recorder receives the video frames from the
listener and releases them by ICameraRecordingProxy::releaseRecordingFrame.
The recorder calls ICameraRecordingProxy::stopRecording() to stop the
recording.

The call sequences are as follows:
1. The app: Camera.unlock().
2. The app: MediaRecorder.setCamera().
3. Start recording
(1) The app: MediaRecorder.start().
(2) The recorder: ICamera.unlock() and ICamera.disconnect().
(3) The recorder: ICameraRecordingProxy.startRecording().
(4) The app: ICamera.reconnect().
(5) The app: ICamera.startRecording().
4. During recording
(1) The recorder: receive frames from ICameraRecordingProxyListener.dataCallbackTimestamp()
(2) The recorder: release frames by ICameraRecordingProxy.releaseRecordingFrame().
5. Stop recording
(1) The app: MediaRecorder.stop()
(2) The recorder: ICameraRecordingProxy.stopRecording().
(3) The app: ICamera.stopRecording().

bug:2644213

Change-Id: I15269397defc25cbbcae16abc071c8349c123122
ndroid.mk
amera.cpp
CameraRecordingProxy.cpp
CameraRecordingProxyListener.cpp
5e7271d6e24efb891e0de141a06228c99866f49f 07-Jun-2011 Iliyan Malchev <malchev@google.com> CameraParameters: add PIXEL_FORMAT_RGBA8888

Change-Id: I2780e936f5b4628d506ac4e6947b78ef831fbde8
Signed-off-by: Iliyan Malchev <malchev@google.com>
ameraParameters.cpp
fd99e1dda6a46ac3312cacb3bc1b633b2df95df2 13-May-2011 Eino-Ville Talvala <etalvala@google.com> Add auto-white balance locking to the Camera API.

Adds a new camera parameter for locking auto-white balance to its
current value. Also adds a function for checking if auto-white balance
lock is supported by the current platform. Lock semantics match that
of the auto-exposure lock.

Hidden for now.

Change-Id: Id59339a4be84d55c1b0b8473d765b6aa765999b2
ameraParameters.cpp
95fbf2cdccb127bae1f68827564b36290c8de2c3 15-Apr-2011 Eino-Ville Talvala <etalvala@google.com> Add an auto-exposure lock feature to the Camera API.

Adds a new camera parameter for locking auto-exposure to its current
value. Also adds a function for checking if auto-exposure lock is
supported by the current platform.

Hidden for now.

Change-Id: Id452371191ab220318ce2cb98b8ee91bdde9aab6
ameraParameters.cpp
38ecadbeb09fc0504621f5aa513e51b7a204983f 12-Apr-2011 Wu-cheng Li <wuchengli@google.com> Add camera metering area API.

The API are still hidden.

bug:3475893
Change-Id: Id4147528def5e0fe067e1a3ed315fa34c14a0640
ameraParameters.cpp
a1c3d37ef921bfc79a0f7d2ac7f897943134d48d 02-Apr-2011 Wu-cheng Li <wuchengli@google.com> Add camera focus area API.

The API are still hidden.

bug:3475893

Change-Id: I92405c9e332b7fb141788cda7ebc9705dd666c67
ameraParameters.cpp
108dddf924d714c811dd565b8f4c7a0178cca2f2 29-Mar-2011 Iliyan Malchev <malchev@google.com> frameworks/base: some camera-interface cleanup

Methods getNumberOfVideoBuffers() and getVideoBuffer() as well as struct
image_rect_struct are no longer used (instead, the necessary information is
passed through ANativeWindow.)

Change-Id: If4b11446fc9ccbde1f6b45bc70c0d0b8e54376eb
Signed-off-by: Iliyan Malchev <malchev@google.com>
amera.cpp
Camera.cpp
5f7fcf29a7475a20cf38bf72da67746135d504c3 26-Mar-2011 Mathias Agopian <mathias@google.com> merge libsurfaceflinger_client into libgui

this is the first step in unifying surfacetexture and surface.
for this reason the header files were not moved, as most of them
will eventually go away.

NOTE: currently we keep libsurfaceflinger_client.so as an empty
library to workaround prebuilt binaries wrongly linking against
it.

Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
ndroid.mk
6f7a293c1bbf993ff712927e3e14af0d195cf1c1 24-Feb-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add YV12 preview format to camera parameter constants."
d42c6e8904f1648a7dedcd1dc27b926951f8ff28 22-Feb-2011 Wu-cheng Li <wuchengli@google.com> Add YV12 preview format to camera parameter constants.

bug:3463624
Change-Id: I8f2992dadfd3fb9e3c9d67743e52da7f3212827e
ameraParameters.cpp
e468ac57f6e8afc6078c76d4eb1ac327112a3de0 18-Feb-2011 James Dong <jdong@google.com> Application-managed callback buffer support for raw image

bug - 3292153

Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
amera.cpp
Camera.cpp
bfa33aae4f54c0020a0568b16a3acb7b30b6ca3d 20-Dec-2010 Jamie Gennis <jgennis@google.com> Add camera service support for SurfaceTexture.

This change enables the use of a SurfaceTexture in place of a Surface as
the destination of camera preview frames.

Change-Id: Ic70d404c8fe261e9d5da6f1de93d6babb5b191cb
ndroid.mk
amera.cpp
Camera.cpp
627baacc748c5e2ed68bdb256aea4d70fcfe9ce4 04-Jan-2011 Wu-cheng Li <wuchengli@google.com> Camera::create should fail when it fails to connect the camera.

bug:3197565

Change-Id: I3439a25c06b00615e8257e6b3db85df081643643
amera.cpp
0f5a6f9231e04b5c04af5dc2ad020755e2616f31 30-Nov-2010 James Dong <jdong@google.com> Add preferred preview size support in the camera framework

bug - 3237021

Change-Id: Ica8a3ae5cfbee462b74de98770e33277186c9a2b
ameraParameters.cpp
c42478ed7b8a379d2f8a43d4d349680c8a37573f 15-Nov-2010 James Dong <jdong@google.com> Fixed a race condition where some recording frames may not be released.

When startRecording() is called before setListener(), recording frames
are sent right after startRecording(), but there is no listener to
release the recording frames. This causes the hang in media server.

bug - 3166356

Change-Id: I19366ca682ef9f6b847590c190c30a15ed32b8e4
amera.cpp
e2ad6734eccc4b9ea7857c747ff9469a9c11ba09 19-Oct-2010 James Dong <jdong@google.com> Camera framework change required for 0-memcpy recording

bug - 3042125

Change-Id: I46eb7a10b5394086b353fd73e4503beceeed76f1
amera.cpp
Camera.cpp
0d14c25355b7807b88fcdc76040ef986aa754815 30-Sep-2010 James Dong <jdong@google.com> Video size retrieval/configuration support in camera hal

This is the first part of the camera hal change required for
0-memcpy of input video frames for video recording.

o removed check in setVideoSize()/getVideoSize() for impl consistency

Change-Id: I01274a62b9f9eaf32154d98f8d0bfedacf645698
ameraParameters.cpp
9219e0b4eb346b5e0a1a21e77fe22b8c2232ec4b 21-Sep-2010 Wu-cheng Li <wuchengli@google.com> am 2ad1ebca: am d45cb72a: Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.

Merge commit '2ad1ebcaabb632c8fe714f0c3fd88bdfa14697bd'

* commit '2ad1ebcaabb632c8fe714f0c3fd88bdfa14697bd':
Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.
ac4205c9064ca961883b1ccf2ce565e449c0983e 21-Sep-2010 Wu-cheng Li <wuchengli@google.com> Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.

This constant is not public yet. Continuous autofocus should
behave differently in still camera and camcorder. In camcorder,
lens movement may be more smooth. And the triggers to start a
new focus search may be different. If there is a need,
FOCUS_MODE_CONTINUOUS_PHOTO can be added in the future.

Change-Id: I05df9e491aca37829be3df92a73b952f26c86a4a
ameraParameters.cpp
e2d8ba8c36fd39eb98f604b11654aa5466673260 16-Sep-2010 James Dong <jdong@google.com> Add YUV420P color format support for video output from camera hal

Change-Id: I5c8266348d0840361c8095ce351ac85c44d4068f
ameraParameters.cpp
f015774f9d5a8b7af547ccad92d98b5cfd4009fb 30-Aug-2010 Wu-cheng Li <wuchengli@google.com> am 6e46e6f7: am 7ec7b997: Remove camera metering mode API.

Merge commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5'

* commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5':
Remove camera metering mode API.
541d7655d9dc0322eb616e17b6767365bf64e3ed 28-Aug-2010 Wu-cheng Li <wuchengli@google.com> Remove camera metering mode API.

Metering mode is not supported yet.

Change-Id: Id6906d6ab0cd1a9dcbc5c303d8d5081b2cda699e
ameraParameters.cpp
10d3d28bdd0004dec5cc7963ec4a73f096fe93d2 24-Aug-2010 Wu-cheng Li <wuchengli@google.com> am 346b6126: am 97a56269: Merge "Add camera fps range API." into gingerbread

Merge commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e'

* commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e':
Add camera fps range API.
4b79168835965cf0fc41ebe2a367e22b4cb20d08 11-Aug-2010 Jamie Gennis <jgennis@google.com> Change the framework to use the new camera preview path.

This change makes the camera HAL interface take an ANativeWindow interface from
which all the camera preview buffers will be allocated. The framework code
running in application processes now passes a Surface object rather than an
ISurface to the camera server via Binder when setting the preview surface. The
camera server then forwards that Surface object (which implements the
ANativeWindow interface) to the camera HAL, which uses it to communicate with
SurfaceFlinger to allocate the camera preview buffers.

Change-Id: Ie438f721559cd7de5e4f848a26d96360dda07b5f
amera.cpp
Camera.cpp
04379fa9a001934373bf17358978c753c7e4e8b5 12-Aug-2010 Wu-cheng Li <wuchengli@google.com> Add camera fps range API.

Original preview frame rate API assumes the frame rate
is fixed. It does not not work with auto frame rate camera.

Change-Id: I38f7122ac8ec844ffd63558dc0763ffa17b0926a
ameraParameters.cpp
e44607eacd044362d3debf5d95abc93ca36a9274 04-Aug-2010 Nipun Kwatra <nkwatra@google.com> Adding getSupportedPreviewSizes to CameraParameters.DO NOT MERGE

Moved functionality to parse string of sizes from getSupportedPictureSizes
to parseSizesList.
Added getSupportedPreviewSizes which returns a list of supported preview sizes.

Change-Id: I41d4f62f9f1641e9e9258aa2ebaeda13ba846c02
ameraParameters.cpp
34c91a321c297c1a7518ec4f10ae5993904034dd 30-Jul-2010 Nipun Kwatra <nkwatra@google.com> Adding getSupportedPictureSizes to CameraParameters.DO NOT MERGE

Also added a struct 'Size' containing a width and a height field.
Modified parse_size to optionally set an end pointer pointing to the
character after the found size.

Change-Id: I0c95ebf1ad4684721b32165f363db7d4d15a1b19
ameraParameters.cpp
0cc18781fb331f4f90070ed5c76db068d3ce3c64 04-Aug-2010 Nipun Kwatra <nkwatra@google.com> Adding parseSizesList, getSupportedPreviewSizes to CameraParameters.

Moved functionality to parse string of sizes from getSupportedPictureSizes
to parseSizesList.
Added getSupportedPreviewSizes which returns a list of supported preview sizes.

Change-Id: I435317427c1ee9623caef435f93e95d4476b7285
ameraParameters.cpp
99b4de92430fe42f9d1493c8a4c3d27de89d3549 30-Jul-2010 Nipun Kwatra <nkwatra@google.com> Adding getSupportedPictureSizes which returns a Vector of supported Sizes.

Also added a struct 'Size' containing a width and a height field.
Modified parse_size to optionally set an end pointer pointing to the
character after the found size.

Change-Id: I51a56bbf2cb7c91d7b80a28e6bd6a559f40a1333
ameraParameters.cpp
9da2070b6d6d20550de7da61478c325f0928d020 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 27eecb70 to gingerbread

Change-Id: If064f2f4950fc1a4ff38e6927fe2120af76b26f1
0319aaecb03aa83924ab4e3d9c9bc657c2e8bc06 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> am 4506c62a: fix inaccurate copyrights

Merge commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625' into gingerbread-plus-aosp

* commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625':
fix inaccurate copyrights
68335fdd6e9c1d622384612605d6952503cb7fd0 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> fix inaccurate copyrights

Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
amera.cpp
01cff464978aa0f749f42650180b45ea56cb17de 30-Jul-2010 Jean-Baptiste Queru <jbq@google.com> fix inaccurate copyrights

Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
amera.cpp
ddbdb35d176266b5ab64c30178f5cb76c5b1b4b4 10-Jun-2010 Chih-Chung Chang <chihchung@google.com> Change camera interface to support multiple cameras.

Change-Id: Ie88fe706d2278acf762eca87780de349434778a4
amera.cpp
CameraService.cpp
d38bee5858f5387afc28dcb97139b760ac8a1c63 04-Jun-2010 Wu-cheng Li <wuchengli@google.com> Add KEY_SUPPORTED_METERING_MODES and fix some typos.

bug:2737111
Change-Id: I108ae7057786921bf99385ad66dbc1f02d6a1448
ameraParameters.cpp
2b8aba228e6ebd45fe29714baa477f3ea2320095 03-Jun-2010 Wu-cheng Li <wuchengli@google.com> Add camera metering mode API.

bug:2737111
Change-Id: Ie986fee56ebeaaed2d2efb757701dfe3ffdec8d8
ameraParameters.cpp
0b0279e0d20a8beb69aa2af5f4cb278841710dfb 28-May-2010 Wu-cheng Li <wuchengli@google.com> Add video frame parameter.

The image format of preview frames and video frames may be different.
We need another parameter for video frame format.

bug:2720893
Change-Id: I966a31b0ce8cab25cdde65db65a18c8cbe9c7bd6
ameraParameters.cpp
ae77ffa16bda593fb3751e41d45327d867f3c8e1 15-May-2010 Wu-cheng Li <wuchengli@google.com> Fix build error.

Original name INFINITY conflicts with the macro in math.h.

Change-Id: I9845ed84fca17813dd971239a902cc1e0bad1e3e
ameraParameters.cpp
09a2ab9dfe5c8fe74703b9894d930b1b1dbf0c11 13-May-2010 Wu-cheng Li <wuchengli@google.com> Add camera focus distances API.

Applications can use this API to estimate the distance
between the subject and the camera.

bug:1955650
Change-Id: Ie6c8ea4971759cab6c9bcdda2c5ceb5925791c27
ameraParameters.cpp
d06618ee31c11ac7ac6698f95444041a4785a5ab 13-May-2010 Chih-Chung Chang <chihchung@google.com> Fix deadlock if the last reference of ICameraClient is removed in
ICamera::connect()

Change-Id: I34ab3e4f07435c62168175e9bb159022c8fb99f4
amera.cpp
83e5a900e5eccbd2af300c03d24d72365d0c8323 12-May-2010 Wu-cheng Li <wuchengli@google.com> am d8c33747: am 78624e41: Add remove method in CameraParameters class.

Merge commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728' into kraken

* commit 'd8c33747afbe98e893e0569f3bf45b67a9e8e728':
Add remove method in CameraParameters class.
adbda96f6a05507788bb4163d7fbe8a95948f0a5 10-May-2010 Wu-cheng Li <wuchengli@google.com> Add remove method in CameraParameters class.

bug:2672651
Change-Id: I537c817b5ca6a3d925f22febe9a5769156354d00
ameraParameters.cpp
4bf7ace0d9d51cd47e00f92d26e1ee87909b3cc5 06-May-2010 Wu-cheng Li <wuchengli@google.com> Add continuous focus mode constant.

bug:2612447
Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
ameraParameters.cpp
35a055b8bfc6f3cbea409b2897caf936654519cb 06-May-2010 Chih-Chung Chang <chihchung@google.com> Support multiple cameras in framework.

Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
amera.cpp
CameraService.cpp
465d5a7f3517f11aaa819c8ae982e113ad5ec479 29-Mar-2010 Wu-cheng Li <wuchengli@google.com> Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.

bug:2544367
Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
ameraParameters.cpp
8cc76ae259ad81d5a40277bbf5532696ebae8da8 29-Mar-2010 Wu-cheng Li <wuchengli@google.com> Add some comments for zoom methods.

Also change RuntimeException to IllegalArgumentException.
bug:2458926

Change-Id: I87af31f5f3f10244131a1117bd1725c2d292b587
Camera.cpp
f8ed70a20f8b006539af98c8ad45be9561665f82 25-Mar-2010 Chih-Chung Chang <chihchung@google.com> Call unlinkToDeath() when we disconnect the Camera,
so we don't hold the (weak) reference to it, which caused
(small) memory leaks.

Change-Id: If7d58a354fd38c8bc380946bf227b52988ac5118
amera.cpp
d8d888ea7c14715c2210c8dea1a623116c992264 09-Mar-2010 Wu-cheng Li <wuchengli@google.com> Add camera parameter string constant for "true".

bug:2458926
Change-Id: I11eaae8ff031765e23f2627ded5873eabc09cead
ameraParameters.cpp
c0170bc6c6c81f5dfa86a132bf29ee48c01329d9 23-Feb-2010 Ray Chen <raychen@google.com> Add location provider name to gps-processing-method in EXIF header.
ameraParameters.cpp
949c5037a6e019ff575bd481d286908c2eaa1e34 01-Mar-2010 Wu-cheng Li <wuchengli@google.com> Unhide zoom API.

bug:2458926
ameraParameters.cpp
4f1bff97170d33575e55a8e110b097c05607095f 20-Feb-2010 Wu-cheng Li <wuchengli@google.com> Unhide exposure compensation API.

bug:2375993
ameraParameters.cpp
3cf613507f1e2f7bd932d921a6e222e426fd3be4 10-Feb-2010 Mathias Agopian <mathias@google.com> split libsurfaceflinger_client and libcamera_client out of libui
ndroid.mk
amera.cpp
ameraParameters.cpp
Camera.cpp
CameraClient.cpp
CameraService.cpp