summaryrefslogtreecommitdiffstats
path: root/camera/fake-pipeline2/Sensor.h
Commit message (Collapse)AuthorAgeFilesLines
* Camera HAL3 supports multiple dimensionshuans2018-01-301-4/+4
| | | | | | | | | | | | | | Bug: 70507102, 70507373 Test: run cts -m CameraTestCases run cts -m CtsMediaStressTestCases -t android.mediastress.cts.MediaRecorderStressTest#testStressRecordVideoAndPlayback run cts -m CtsNNAPITestCases -t GeneratedTests#mobilenet run cts -m CtsMediaTestCases -t android.media.cts.CamcorderProfileTest#testGetWithId run cts -m CtsMediaTestCases -t android.media.cts.CamcorderProfileTest#testGet Change-Id: I969701f8afddcf6cfbc1138bc6574daf0d429b91
* Camera: Fix assorted HALv3 bugs to pass more CTSEino-Ville Talvala2017-04-261-4/+6
| | | | | | | | | | | | | | | | | | | | | | - Fill out all fields of camera_result_t for JPEG capture - Use AF OFF for front camera default focus mode for all templates - Rework sensor sizing to be consistent across capture stack, to avoid attempting to write big buffers into small spaces, or reporting the same size multiple times. - Fix 'scaling' math so that writing to output buffers doesn't overflow More specifically, downscaling is done by simply skipping N pixels; the rounding of the increment variable was wrong. - Fix JPEG encoder being used in two requests in a row by reserving it for use earlier in the pipeline. - Fix some basic issues with autoexposure and auto-white balance to correctly follow changes to control modes and states. - Cut down on the per-frame logging. Test: Now passing android.hardware.camera2.cts.FastBasicsTest, along with many other camera CTS tests. Failures mostly in timing checks, recording, and flakiness. Pass: 181 / Fail: 39 Bug: 36233279 Change-Id: If0a77a697de5659c35dd64f3fa3a70115c8d082c
* Camera/gralloc: Add basic capability handling, support DEPTHEino-Ville Talvala2015-08-111-0/+3
| | | | | | | | | | | | | | | | | | | | 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-221-0/+1
| | | | | | | | | | | | | | | | | | | 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
* Camera2/3: Implement full-color NV21 output.Eino-Ville Talvala2013-08-051-0/+2
| | | | | | | | 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-181-1/+1
| | | | Change-Id: I795d30f236a65d610e0801f5c98f1191d18f0a21
* Camera3: Add shutter notificationEino-Ville Talvala2013-04-151-0/+20
| | | | | | | Mandatory now due to fragmented process_capture_result calls. Bug: 8565103 Change-Id: I4e815e99a5220cc61650157894869189ceaf883d
* Bare-bones emulated fake camera for HAL version 3Eino-Ville Talvala2013-04-041-3/+1
| | | | | | | | | - Uses same backend as HAL version 2 fake camera. - No fake 3A yet - No reprocessing support - No JPEG support Change-Id: I9b55b05fbeac9d42340eb988021e65491d13a2f9
* migrate opengl and system from development/toolskeunyoung2013-03-111-0/+221
- components under system are moved one directory up like all other HALs Change-Id: I03b870b870d83b247ac398cadfb155f03c9adfa0