summaryrefslogtreecommitdiffstats
path: root/camera
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Fix poseRotation quaternionEino-Ville Talvala2015-08-191-1/+1
| | | | | | | | Order is x,y,z,w; not w,x,y,z. Also, the conditional should not be double-flipped. Bug: 20537722 Change-Id: I25a671c7b7b94160321a654e08bf918628e9edd2
* Camera/gralloc: Add basic capability handling, support DEPTHEino-Ville Talvala2015-08-114-513/+822
| | | | | | | | | | | | | | | | | | | | Also fix bug with AE not correctly overriding sensor values when ON but still INACTIVE. - Add Y16 support to gralloc (treat exactly as RAW16) - Add Y16 output support to camera - Adds depth static and dynamic fields to camera: - poseRotation - poseTranslation - intrinsicCalibration - radialDistortion - availableDepthStreamConfigurations - availableDepthMinFrameDurations - availableDepthStallDurations - depthIsExclusive Bug: 20537722 Change-Id: If64bb2a698a8a49777f848cfc6401d8fba299541
* Camera: Update emulator camera v3 HAL to v3.3, module to v2.3Eino-Ville Talvala2015-07-2210-412/+664
| | | | | | | | | | | | | | | | | | | Many updates to meet requirements of v3.3, including quite a few of metadata updates. Not all features promised by the metadata are actually wired up, though. Also adds initial support for capability selection based on system properties, though the selection isn't reflected in behavior outside the capability field for the most part. Sufficient to make the AOSP camera app run (and even record video), but not sufficient to pass all the CTS tests yet. Bug: 20537722 Change-Id: I0776fe361492402189569b7ab5c2f37b6900ffc5
* remove video editor from media_profiles.xmlChong Zhang2015-05-271-46/+0
| | | | | bug: 17112465 Change-Id: Ic514d365c251f5b4d7a979e9a9d473875e5abc61
* Don't use TEMP_FAILURE_RETRY with close in goldfish camera.Elliott Hughes2015-05-151-5/+5
| | | | | | Bug: http://b/20501816 Change-Id: I622908cc02651d3c282edbc9c75ee6dd52b9c4c0 (cherry picked from commit fd22ea70a265c322e91eeb4703b10d1e9bd8f190)
* Fix build: Remove LENS_POSITION from both HALv2 and HALv3Eino-Ville Talvala2015-04-102-30/+0
| | | | Change-Id: Iffde8b14d3937808ce367d60d34fa638cea13497
* am 8e39c796: am dbfa611b: Merge "Fix inconsistant results for some cts tests."Bo Hu2015-03-272-2/+20
|\ | | | | | | | | * commit '8e39c79622b79f4b5faf53123acefa5c5bda5eed': Fix inconsistant results for some cts tests.
| * Fix inconsistant results for some cts tests.Douglas Leung2015-03-112-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes any cts test that uses the camera's startPreview function without the proper timing delay before stopping the preview. When we do a startPreview(), it will start a WorkerThread. If that thread don't get a chance to run, then when we try to stop the thread, the stop can fail and cause the current test to fail (thread not running) or subsequent tests to fail (thread already started). The following tests are known to fail randomly due to this timing problem: android.hardware.cts.CameraTest#testDisplayOrientation android.hardware.cts.CameraTest#testGetParameterDuringFocus android.hardware.cts.CameraTest#testJpegCallbackStartPreview android.hardware.cts.CameraTest#testRecordingHint android.hardware.cts.CameraTest#testLockUnlock android.hardware.cts.CameraTest#testPreviewCallback android.hardware.cts.CameraTest#testSetOneShotPreviewCallback android.media.cts.MediaRandomTest#testRecorderRandomAction Change-Id: Ifc20d93bc02cdc49161f54c083a32138574a8d39
* | Remove one more RAW_SENSOR enumEino-Ville Talvala2015-03-061-1/+1
| | | | | | | | Change-Id: Id5e0f5e7a02f7c2ab1442e8be65a019bf8cbe359
* | Replace HAL_PIXEL_FORMAT_RAW_SENSOR with RAW_16Eino-Ville Talvala2015-02-192-5/+5
|/ | | | Change-Id: Iee70a27184d5ed35623814886487a5166c73567e
* Suppress clang warnings on c++11-narrowing.Chih-Hung Hsieh2014-12-121-0/+2
| | | | | | Or we can fix third party camera device source code. Change-Id: Ia5b7211219edd4cf34f8f9c50b2d35a8f7511bc8
* am 765b8b4b: am 7ea757df: Merge "goldfish: camera: fix 64-bit warnings"Colin Cross2014-06-188-39/+45
|\ | | | | | | | | * commit '765b8b4bf218560acc79f665d5c6c56e0351469a': goldfish: camera: fix 64-bit warnings
| * goldfish: camera: fix 64-bit warningsColin Cross2014-06-188-39/+45
| | | | | | | | Change-Id: If15f27505e3849406769b7f03cb77ea8dec86e70
* | camera3: Add missing android.sensor.orientation static infoIgor Murashkin2014-04-011-0/+3
| | | | | | | | | | | | | | * This also fixes camera2 api from not being able to create new requests Bug: 12002757 Change-Id: Iad55381add850e92b8eb97f9c5cdf84455cda999
* | stagefright: use media_codecs_google*.xml filesLajos Molnar2014-03-211-32/+9
| | | | | | | | | | Bug: 13549114 Change-Id: I067651e29fecf3f1219ff3f8b802b47c208e461c
* | Merge "camera3: Remove old vendor tag ops dependencies."Ruben Brunk2014-03-132-108/+0
|\ \
| * | camera3: Remove old vendor tag ops dependencies.Ruben Brunk2014-03-112-108/+0
| | | | | | | | | | | | | | | Bug: 12134423 Change-Id: I7acdf76d4c0674bdb1cc939592d4620687c785c3
* | | Merge "Adding opus to media_codecs.xml"Lajos Molnar2014-03-031-0/+1
|\ \ \ | |/ / |/| |
| * | Adding opus to media_codecs.xmlVignesh Venkatasubramanian2014-02-061-0/+1
| | | | | | | | | | | | | | | | | | Adding an entry to opus software decoder to media_codecs.xml Change-Id: I76509b32dbbce85bb603ccf56374b204b252450c
* | | camera3: Remove geometric correction tags.Ruben Brunk2014-02-102-38/+0
| | | | | | | | | | | | Change-Id: I01d70e06540862f7f30df570cb447c4411d9e4d4
* | | Merge "camera3: Update maxRegions tag."Ruben Brunk2014-02-042-4/+4
|\ \ \ | |/ / |/| |
| * | camera3: Update maxRegions tag.Ruben Brunk2014-01-292-4/+4
| | | | | | | | | | | | Change-Id: I22501cbf7f941d9626b88182e2dda8a13a620d01
* | | am 5b31b113: am 48107fa1: Merge "device/generic/goldfish: convert ↵Colin Cross2014-01-281-2/+2
|\ \ \ | |/ / |/| / | |/ | | | | | | LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH" * commit '5b31b113176dec8d7fcfb5650f3dd7b01baf605c': device/generic/goldfish: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
| * device/generic/goldfish: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATHColin Cross2014-01-241-2/+2
| | | | | | | | | | | | | | LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it with LOCAL_MODULE_RELATIVE_PATH. Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
| * Merge commit '828bd482a1aeacf96d5f3a3e0701029d9f890c5f' into HEADThe Android Open Source Project2013-11-225-42/+53
| |\
* | | camera3: Update sceneMode tag spec.Ruben Brunk2014-01-172-4/+4
| | | | | | | | | | | | Change-Id: I495435397086a295280c556d94fe8efd442a12c3
* | | am 6b151ca8: Merge "Catch divide by zero case in drawCheckerBoard() function."Xavier Ducrohet2013-11-071-0/+7
|\| | | |/ |/| | | | | * commit '6b151ca8833aa7271e311436dad97588b71b7a38': Catch divide by zero case in drawCheckerBoard() function.
| * Catch divide by zero case in drawCheckerBoard() function.Douglas Leung2013-10-151-0/+7
| | | | | | | | | | Change-Id: I247bc6b725b29ea0e729114ab67ec1d4c78b0336 Signed-off-by: Douglas Leung <douglas@mips.com>
* | camera3: Fix stream id typesZhijun He2013-09-061-3/+3
| | | | | | | | | | Bug: 10604704 Change-Id: I93b7b932f13e7d90d843e74ec8c4e6bae3a2987b
* | Camera2/3: Implement full-color NV21 output.Eino-Ville Talvala2013-08-052-16/+37
| | | | | | | | | | | | | | | | Needed for full CTS compliance, and existing grayscale-only output makes debugging color plane issues on the emulator impossible. Bug: 8949720 Change-Id: Iea9a1a8508b2c05c2fd81bb4d2c729986e1184af
* | Camera2/3: Update static metadataZhijun He2013-07-184-21/+10
| | | | | | | | Change-Id: I795d30f236a65d610e0801f5c98f1191d18f0a21
* | am 2c84e47e: am 07a4c8b4: Camera3: Fix default AE modeEino-Ville Talvala2013-06-261-2/+2
|\| | | | | | | | | * commit '2c84e47e3d0085b1222de94013c75c0328b02492': Camera3: Fix default AE mode
| * Camera3: Fix default AE modeEino-Ville Talvala2013-06-251-2/+2
| | | | | | | | Change-Id: I70682e86f849feafc3cfafabace126c09f5df600
* | Make software VP9 video decoder available to MediaCodec.hkuang2013-06-241-2/+3
|/ | | | | | This change requires the changes in frameworks/av Change-Id: I2ea2ee5ec9372a809e9f0313da776c2f6e4adbf3
* camera3: Make front cameras limited mode, back cameras full modeIgor Murashkin2013-05-232-0/+17
| | | | | Bug: 9111852 Change-Id: Iad7ba75adf603a7c2eda1fa07c10ce4aab1aa51b
* Merge "Gralloc/Camera3: Support new HAL_PIXEL_FORMAT_YCbCr_420_888 format" ↵Eino-Ville Talvala2013-05-092-8/+45
|\ | | | | | | into jb-mr2-dev
| * Gralloc/Camera3: Support new HAL_PIXEL_FORMAT_YCbCr_420_888 formatEino-Ville Talvala2013-05-072-8/+45
| | | | | | | | | | | | | | | | | | | | | | | | Enable flexible YUV format buffers from the camera. - Add gralloc alloc support for YCbCr_420_888, mapped to NV21 - Add gralloc lock_ycbcr method - Add new format to list supported by camera HAL - Fix minor compilation warnings Bug: 8734880 Change-Id: I68a8cc126985c7d5ae100a87b31c60ee59074cd3
* | camera: Fix availableMaxDigitalZoom property to be floatIgor Murashkin2013-05-071-1/+1
|/ | | | | Bug: 8840802 Change-Id: I80e0d0fc2b5145597b09445f166bc998093ef603
* Merge "Various bug fixes to make ZSL work." into jb-mr2-devIgor Murashkin2013-05-021-3/+34
|\
| * Various bug fixes to make ZSL work.Igor Murashkin2013-05-011-3/+34
| | | | | | | | | | Bug: 8563838 Change-Id: I92385e06df235f7020970229c1a035c7410a2eb7
* | Release the video frame buffer to fix the memory leak issue on emulatorJun Tian2013-05-012-2/+15
|/ | | | | | | | | | | The camera video recording crashes randomly on emulator. It's caused by the memory leak issue, the emulator camera HAL does not release recording frames properly in its releaseRecordingFrame method. Change-Id: Ib6ad4647856cb6b69695a6172692fcff1819672b Signed-off-by: Jun Tian <jun.j.tian@intel.com> Signed-off-by: Chang Panfeng <pangfengx.chang@intel.com> Signed-off-by: Igor Murashkin <iam@google.com>
* Camera3: Add asynchronous JPEGEino-Ville Talvala2013-04-156-84/+198
| | | | | | | | - Rework JpegCompressor to have generic async operation mode - Wire up new JpegCompressor interface to FakeCamera2 and 3. Bug: 8565103 Change-Id: Iba8cfa84a02434e73f4eeb2167ae0e400c29defb
* Camera3: Add shutter notificationEino-Ville Talvala2013-04-154-3/+77
| | | | | | | Mandatory now due to fragmented process_capture_result calls. Bug: 8565103 Change-Id: I4e815e99a5220cc61650157894869189ceaf883d
* Add liblogYing Wang2013-04-091-0/+2
| | | | | Bug: 8580410 Change-Id: I2c07b8ce85aff341575ee8c3f509f64e252b8ed4
* Camera: Handle AF state transitionsIgor Murashkin2013-04-081-3/+175
| | | | Change-Id: Iac1f08ed9e0d0f4fc3e5a1c8974576f5f1febb74
* Camera3: Allow register_stream_buffers while requests are in flightIgor Murashkin2013-04-081-1/+9
| | | | Change-Id: I6dba0d282887c20ee683d8eaafd8bf81241f4767
* Camera3: Trigger IDs now received from frameworkIgor Murashkin2013-04-081-1/+46
| | | | | | | | | | | | | Before: Trigger IDs would increment internally in the HAL After: Trigger IDs are read from the framework when the accompanying trigger is explicitly set in the request. Rationale: Since the framework tracks its trigger completion based on the IDs it sends to the HAL, we need the HAL to use the framework IDs instead of generating its own. Change-Id: I0a4343c1f12b62c9432478a3bb8e0921a2da93c2
* Camera2/3: Improve fake handshakeEino-Ville Talvala2013-04-082-4/+34
| | | | Change-Id: I4310ac8c078a9ca2052cf0d0c283ded6bb06b6df
* Camera3: Support for still captureEino-Ville Talvala2013-04-084-48/+471
| | | | | | | - Basic 3A routine with AE precapture support - JPEG compression Change-Id: I329bb6d2c5315e13ed657b096b8bb573c14a3738
* Bare-bones emulated fake camera for HAL version 3Eino-Ville Talvala2013-04-049-27/+2088
| | | | | | | | | - Uses same backend as HAL version 2 fake camera. - No fake 3A yet - No reprocessing support - No JPEG support Change-Id: I9b55b05fbeac9d42340eb988021e65491d13a2f9