History log of /development/tools/emulator/system/camera/fake-pipeline2/Sensor.cpp
Revision Date Author Comments
f11b793ffb7d01507b6f2111c4fd64ba030d783b 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "Revert "EmulatedFakeCamera2: Add precapture trigger and reprocess support""

Missing project ready to go.

This reverts commit 75832395dd5144a912c4daa9f318776cc674e130

Change-Id: I48f6dee11248de5a12b66bd7fbc724c82517fe3a
75832395dd5144a912c4daa9f318776cc674e130 04-Sep-2012 Eino-Ville Talvala <etalvala@google.com> Revert "EmulatedFakeCamera2: Add precapture trigger and reprocess support"

More dependent projects than I realized.

This reverts commit 4573a7194d1e5d13d402ba2ca41ef0c25a120f67

Change-Id: I53cfbc5cf5ef4436f5fa0c8b1ceb6296797e32fe
4573a7194d1e5d13d402ba2ca41ef0c25a120f67 31-Aug-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Add precapture trigger and reprocess support

- Manage the precapture protocol with trigger/AE notifications
- Support reprocessing from opaque format to JPEG
- Add a bit of exposure variation to scene

Bug: 6243944

Change-Id: Ic88f8f0ea641ddaf3e921849caf79dd3838665f8
cb5703d5eacfdf7b722c4a0458608c22a456f033 17-Aug-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedCamera2: Improve thread sequencing

- When the readout thread is the slow point, frames could be dropped
in various ways. Add signals to slow down the configure thread and
the sensor when the readout thread is behind.

- Clean up verbose logs to be clearer

Bug: 6243944

Change-Id: I2efb909f03183273a71dc7edede3aa107117f558
05940c4d695660324e61e01a516c89bbc907d96d 25-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use lower resolutions for front fake camera. DO NOT MERGE

To differentiate front/back fake camera, support a lower set of
resolutions for the front camera processed and jpeg streams.

Bug: 6243944
Change-Id: I4a8746500944f7b445e0e5f0a3f441885733a7a4
b0bd05236f2d74cbbfe4e8cc1a41f451497042e1 19-Jun-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Add recording support for 320x240, NV21. DO NOT MERGE

- Support 320x240 in addition to 640x480
- Support NV21 (monochrome only right now)
- Base simulated time on system time,
since stagefright cares about timestamp base
- Use emulator magic gralloc format to enable gralloc to pick format based on
destination.

Bug: 6243944
Change-Id: I3ea56bca726c69b51e03233ce86d4881401a3ffd
9b467d63802f0b96d6ab59227e4696de45c1d14d 25-Jul-2012 Eino-Ville Talvala <etalvala@google.com> Camera2: Use lower resolutions for front fake camera

To differentiate front/back fake camera, support a lower set of
resolutions for the front camera processed and jpeg streams.

Bug: 6243944
Change-Id: I4a8746500944f7b445e0e5f0a3f441885733a7a4
ef0d02006a58231f475cde30b62e855fdb41484e 19-Jun-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Add features needed for recording support for 320x240, NV21

- Support 320x240 in addition to 640x480
- Support NV21 (monochrome only right now)
- Base simulated time on system time,
since stagefright cares about timestamp base
- Use emulator magic gralloc format to enable gralloc to pick format based on
destination.

Bug: 6243944
Change-Id: I3ea56bca726c69b51e03233ce86d4881401a3ffd
e26e64f2defe2a67168e7e25de55ad40ac01ba61 13-Jun-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Add support for JPEG output, multiple streams

Required to support Camera.takePicture()

Bug: 6243944
Change-Id: I60d7a161a7037c25428eac5a6f9327aff47da584
423650c32cf3350b17ecc3bbc50b4d98c1a81e5f 07-Jun-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Minor fixes

- Add some error checking
- Change default exposure/gain to avoid overexposure.
- Improve gain calculation for RGBA output

Bug: 6243944
Change-Id: Iaa9f35e0b62883a947cc9e63f86d0ec3ae828576
c7bb6cf1329bb7ffed768fe9f301e1fd95c64803 22-May-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Add opaque stream output support

- Enables basic preview
- Opaque is RGBA for emulator
- Still only 1 stream max
- Preparations for YUV output support

Bug: 6243944
Change-Id: I11cb494d72c7c2ec5f542c79f1aa15d9a3ce00bf
7b906a7ca9134d8f13ba61cf667726be83d7ccef 21-May-2012 Eino-Ville Talvala <etalvala@google.com> EmulatedFakeCamera2: Add more static metadata

- Add entries for all metadata
- Use better idiom for static metadata construction
- Revise dynamic and static metadata
- New resolution reporting
- Minor revision to some enums
- Quiet excess logging

Bug: 6243944
Change-Id: I0558d7d60ae97d2df9e209f24c1e04330737c220
61fbf616707266bd92e7b0cdb8177cdb6409a6c5 09-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Add minimal operation to new fake camera emulator.

- Rework to match latest camera 2 HAL.

- Somewhat realistic scene lighting simulation, for allowing a
realistic range of exposure and gain values.

- Supports raw Bayer sensor data only, at 640x480

- Only one stream configurable

- No support for reprocessing, 3A, flash, YUV, JPEG, etc

Bug: 6243944
Change-Id: I14fbad58ffeff37162c56d9daff7e4f75ab879c3