summaryrefslogtreecommitdiffstats
path: root/services/camera
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge "Camera2: ZSL: Do regular capture if AE is not satisfied." into jb-mr1-devEino-Ville Talvala2012-09-184-12/+80
| |\ \
| | * | Camera2: ZSL: Do regular capture if AE is not satisfied.Eino-Ville Talvala2012-09-184-12/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Check the AE state of the selected ZSL buffer; if it's not reporting as CONVERGED or LOCKED, fall back to normal capture sequence - Add more debugging for the ZSL queue. Bug: 6910087 Change-Id: I77a4287580aa9ddbd58438477c40ce829555d0ca
| * | | Camera2: Don't be bothered by lack of faces.Eino-Ville Talvala2012-09-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes, people might want to photograph scenes with no faces. And not have their log fill with errors when they do. Bug: 7078231 Change-Id: Ibe5c08d51b49a3ea14203416fe7803a58de08dda
| * | | Camera2: Filter out faces with 0 confidence.Eino-Ville Talvala2012-09-171-1/+7
| | | | | | | | | | | | | | | | | | | | Bug: 7078231 Change-Id: I559f1281359835e0489456091a5409ebc8f73479
| * | | Camera2: Change face detect/scene mode priority.Eino-Ville Talvala2012-09-171-2/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | Explicit scene modes should override the implicit face priority scene mode from enabling face detection, to match application/API expectations. Change-Id: I6f0f44fadeacfdc0594dd2fdc280e294d2d87df6
| * | Camera2: Don't play shutter sound when doing a video snapshotEino-Ville Talvala2012-09-151-1/+2
| |/ | | | | | | | | Bug: 7171820 Change-Id: I11ec0900aff3cdf4b57ae1bfc75f7acfecf95098
| * Revert "Revert "Camera2: Use FORMAT_ZSL until transition to new gralloc ↵Eino-Ville Talvala2012-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | scheme."" The changes this commit depends on are now submitted. This reverts commit f54b1459cda7f585b4896671643b33bab8290964 Change-Id: If7f146ab7968d50fffd2174c2c5792bdc9d7724c
| * Revert "Camera2: Use FORMAT_ZSL until transition to new gralloc scheme."Igor Murashkin2012-09-141-1/+1
| | | | | | | | | | | | This reverts commit 8a3016613dc684a6be11fdf643f9cc5cad817e8f Change-Id: I3f1d4e9c13df838b8b6aa5696a6494140eac3e04
| * Camera2: Use FORMAT_ZSL until transition to new gralloc scheme.Eino-Ville Talvala2012-09-131-1/+1
| | | | | | | | | | | | | | | | Until all HAL implementations move to the new format negotiation scheme, use CAMERA2_HAL_PIXEL_FORMAT_ZSL to indicate ZSL mode. Bug: 6243944 Change-Id: Idf5d9f42e203903ba906d5df156100646b27404c
| * Camera2: Fix ZSL bugs.Eino-Ville Talvala2012-09-123-24/+52
| | | | | | | | | | | | | | | | | | | | | | | | The ZSL processor was discarding buffers too often, and waiting for new buffers with mutexes held. Also adds basic fallback to regular capture in case the ZSL queue doesn't contain a suitable buffer. Bug: 7147043 Change-Id: I5721267ef08dbc87ef9d8ec47f333db5f67e41c1
| * Merge "Camera2: Use full pixel array for ZSL stream" into jb-mr1-devEino-Ville Talvala2012-09-111-3/+4
| |\
| | * Camera2: Use full pixel array for ZSL streamEino-Ville Talvala2012-09-111-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | For efficiency, use full pixel array size for the ZSL output/input streams, instead of the final picture size. Bug: 7139362 Change-Id: I98ad4f5a1ca283efe87ae60bf0cf39573e22d2f3
| * | Merge "Camera2: Configure ZSL at the right time." into jb-mr1-devEino-Ville Talvala2012-09-112-10/+9
| |\ \ | | |/
| | * Camera2: Configure ZSL at the right time.Eino-Ville Talvala2012-09-112-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | ZSL enable was too early in the camera startup sequence, resulting it being turned off most of the time. Bug: 7148012 Change-Id: Ie144dd960d018a34b0bc77c88208ca22b7112772
| * | Merge "Camera1: Fix enable shutter sound command error handling." into ↵Eino-Ville Talvala2012-09-111-4/+2
| |\ \ | | |/ | |/| | | | jb-mr1-dev
| | * Camera1: Fix enable shutter sound command error handling.Eino-Ville Talvala2012-09-111-4/+2
| | | | | | | | | | | | | | | | | | | | | Return the error codes from calls to enableShutterSound to the caller, and don't call the HAL with the enable shutter sound command. Change-Id: Ibe4943bd1cd0fcd1832fd904f12dd2f78fec06a5
| * | Camera2: Temporarily stop pre-allocation of recording stream.Eino-Ville Talvala2012-09-101-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | When recordingHint is set, don't pre-allocate recording stream on preview start. Bug: 7137947 Change-Id: I06b5f6d7dbb21d4d0747974ba001b0c8929a0b02
| * | Camera2: Clean up the right streams.Eino-Ville Talvala2012-09-101-3/+16
| |/ | | | | | | Change-Id: I780c3e8e255f6a185e0edf1d76f35afdc74dff48
| * Camera2: Use face priority scene mode when face detect is enabled.Eino-Ville Talvala2012-09-101-10/+14
| | | | | | | | | | | | | | | | Per API specs, enabled face detection implies that metering, etc is done based on faces. Bug: 6243944 Change-Id: Ie35162226d70cc0f437e92e37be138e71e45e738
| * Camera2: Sanity check inputs better.Eino-Ville Talvala2012-09-101-0/+16
| | | | | | | | | | Bug: 7132141 Change-Id: I866a65dfe47464070a6ef4ac60be4801cb68327b
| * Fix buildJames Painter2012-09-071-0/+1
| | | | | | | | Change-Id: Ia4bebc4ecc850b42ebd4edd1ffed07e9bc2ec300
| * Camera2: Add a burst mode skeleton.James Painter2012-09-0710-7/+636
| | | | | | | | | | Bug: 6243944 Change-Id: I7f496ca1051571c68fdd99a6f85bf6a908a4e29a
| * Merge "Camera2: Increase zoom steps." into jb-mr1-devAlexander Ray2012-09-071-1/+1
| |\
| | * Camera2: Increase zoom steps.Eino-Ville Talvala2012-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | 10 is too low for smooth zoom; increase number to improve smoothness. Bug: 7120794 Change-Id: I178cd3890ef37beeff97cadb9e92ceab6d2cad06
| * | Camera2: Use the recordingHint parameter.Eino-Ville Talvala2012-09-072-22/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use recordingHint to create recording and still capture streams up front, and to use the recording template when doing preview. Bug: 6243944 Change-Id: Ifeb624794849f734784b53a1a10ff2bfe8f1a357
| * | Camera2: Delete all streams and stop all threads during shutdown.Eino-Ville Talvala2012-09-074-0/+24
| | | | | | | | | | | | | | | Bug: 6243944 Change-Id: If13a1f91e8a07c1ec4f91183d1a4b261ec4f6d52
| * | Camera2: Play shutter and recording sounds.Eino-Ville Talvala2012-09-063-0/+13
| |/ | | | | | | | | | | Bug: 6987540 Change-Id: Icd441a757c4b68fc4988b3bfbef428adb8d1ba28
| * Camera2: Move locked states out of AE/AWB modeEino-Ville Talvala2012-09-061-5/+12
| | | | | | | | | | | | Bug: 6243944 Change-Id: I7b609cc6c04c957d1f48c1a996263fa9c7b94000
| * Camera2: Basic ZSL and precapture trigger support.Eino-Ville Talvala2012-09-0619-469/+2037
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add capture sequencer to control still image capture process - Use precapture trigger for standard capture in sequencer - Add infrastructure for reprocessing streams - Add ZSL processor to maintain ZSL queue - Add ZSL capture sequence to sequencer This patch sets up ZSL mode and precapture triggers. For now, to enable zsl mode, set the system property camera.zsl_mode to 1. Bug: 6243944 Change-Id: Icf8cb1a83a7c11a152a11007c8f3c54f8ea1c70c
| * Fix an issue where the "mFrameCount" field was accessed without its ↵James Dong2012-09-051-1/+1
| | | | | | | | | | | | containing object Change-Id: I6077b61b3e718b9b44ff86ca669a59f96b0b256f
| * Camera: set vendor_ops on camera metadata.Shuzhen Wang2012-08-311-1/+6
| | | | | | | | | | | | | | This makes sure that vendor specific metadata can propogate through the framework. Change-Id: I3bd0ae4b889eb907caf7b305dbcb16abbbef0ea3
| * Camera2: Require 2 JPEG thumbnail resolutions.Eino-Ville Talvala2012-08-301-1/+1
| | | | | | | | | | | | | | Include (0,0) as a required thumbnail resolution, to allow turning off thumbnails. Change-Id: I3c4efe2d6a4f576a11ce5b75a3d573812a100b80
| * Camera2: Move preview callback processing to its own thread.Eino-Ville Talvala2012-08-305-223/+410
| | | | | | | | | | | | | | | | To reduce delays for HAL callbacks, manage preview callbacks in their own thread. Bug: 6243944 Change-Id: I7bef56949ac889ffce4e031bf40291a771a46f3e
| * Camera2: Move still capture processing to separate thread.Eino-Ville Talvala2012-08-306-206/+429
| | | | | | | | | | | | | | | | | | To avoid stalling HAL when it queues up new buffers for still capture, process still captures in a separate thread. Also move Camera2Heap to its own class so it can be used by the CaptureProcessor. Bug: 6243944 Change-Id: Id38e2a52367c0985812fcd4fd9af3ef90beef43f
* | am dfaccc77: am 7dd801bd: Merge "Camera3: Fix fast flexible YUV->NV21 path." ↵Eino-Ville Talvala2013-05-151-29/+33
|\ \ | | | | | | | | | | | | | | | | | | into jb-mr2-dev * commit 'dfaccc77508d5d0c6a4cc161ecb76d910c29f6c6': Camera3: Fix fast flexible YUV->NV21 path.
| * \ Merge "Camera3: Fix fast flexible YUV->NV21 path." into jb-mr2-devEino-Ville Talvala2013-05-151-29/+33
| |\ \
| | * | Camera3: Fix fast flexible YUV->NV21 path.Eino-Ville Talvala2013-05-141-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A U by any other name may smell just as sweet, but the color's pretty awful if you call it a V. Henceforth they never will be UV. Bug: 8949720 Change-Id: I4897e93d5a293e576bb1d7ba44d91792b869ad42
* | | | am 0560ecdc: am 083a08ac: Camera: don\'t spam RingBufferConsumer logs in eng ↵Igor Murashkin2013-05-141-3/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | builds * commit '0560ecdc2de3032a3cba2d6e4e00777b5186fd2a': Camera: don't spam RingBufferConsumer logs in eng builds
| * | | Camera: don't spam RingBufferConsumer logs in eng buildsIgor Murashkin2013-05-141-3/+3
| |/ / | | | | | | | | | | | | Bug: 8969579 Change-Id: Ia51d4072725754fd3b6ca028232a605885376287
* | | am bd61103f: am be03b28f: Merge "Camera: Pause preview when needing to ↵Igor Murashkin2013-05-147-9/+126
|\ \ \ | |/ / | | | | | | | | | | | | | | | delete jpeg/zsl streams" into jb-mr2-dev * commit 'bd61103faef2f75053c86764ae59b3b78d293448': Camera: Pause preview when needing to delete jpeg/zsl streams
| * | Camera: Pause preview when needing to delete jpeg/zsl streamsIgor Murashkin2013-05-137-9/+126
| | | | | | | | | | | | | | | Bug: 8876221 Change-Id: Idf9490a48462fa44d49c4ebe99425c3149ae6378
* | | am 80502989: am 38ea629e: Merge "Camera3: Refactor stream code to be DRY" ↵Igor Murashkin2013-05-139-799/+554
|\ \ \ | |/ / | | | | | | | | | | | | | | | into jb-mr2-dev * commit '805029896a90dc5897e07caf8e4cfa0f85613890': Camera3: Refactor stream code to be DRY
| * | Merge "Camera3: Refactor stream code to be DRY" into jb-mr2-devIgor Murashkin2013-05-139-799/+554
| |\ \
| | * | Camera3: Refactor stream code to be DRYIgor Murashkin2013-05-109-799/+554
| | | | | | | | | | | | | | | | | | | | Bug: 8851039 Change-Id: Iaac2926bfa25dd6e9db8b307765d4fe709b88d21
* | | | am 9ca66450: am 1d74d78f: Merge "Camera2/3: Optimize a few YCbCr_420_888 ↵Eino-Ville Talvala2013-05-101-20/+46
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | copy paths" into jb-mr2-dev * commit '9ca66450ba724aa656382adb82bd61f3c6bdbbf6': Camera2/3: Optimize a few YCbCr_420_888 copy paths
| * | | Merge "Camera2/3: Optimize a few YCbCr_420_888 copy paths" into jb-mr2-devEino-Ville Talvala2013-05-101-20/+46
| |\ \ \
| | * | | Camera2/3: Optimize a few YCbCr_420_888 copy pathsEino-Ville Talvala2013-05-091-20/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Covers cases where the HAL format and the API format have the same chroma layout. Bug: 8734880 Change-Id: Ia735082c260b5914fc14f12551f91917c4e53b01
* | | | | am 0626ee02: am da5405fb: Merge "Camera2: FoV quirk crop regions" into ↵Alex Ray2013-05-101-20/+17
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit '0626ee0238dea760e35b840e424ec357ebebaf23': Camera2: FoV quirk crop regions
| * | | | Merge "Camera2: FoV quirk crop regions" into jb-mr2-devAlex Ray2013-05-101-20/+17
| |\ \ \ \
| | * | | | Camera2: FoV quirk crop regionsAlex Ray2013-05-071-20/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 8484377 Change-Id: I5ffcc20b68dc92b502acc9898e57f12cadb92848