710c142d6a83a5f96cd34e4209bd9cac2f4c6639 |
|
30-Aug-2017 |
Emilian Peev <epeev@google.com> |
Camera: Avoid stream re-configuration when format gets overridden It is allowed and expected some stream formats to get overriden by the Hal implementation. In such cases the original format should be stored and made available to device clients. Bug: 64571102 Test: Camera CTS Change-Id: Ic1153390e0c4d194475fbda8c8a13323bd7e73c0
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
8e73af9bcea96bc90afa7451c6014333fc51b655 |
|
08-Jul-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera1: JpegProcessor: Do not lock until we have to JpegProcessor::onBufferReleased is fired for both successful and failed Jpeg captures, but only cares about the failures. In success cases, onBufferReleased is always fired some time after onFrameAvailable, and sometimes the thread scheduling pushes onBufferReleased to be so late that preview restart has started, which can cause a deadlock with onBufferReleased acquiring locks in the opposite order that preview startup will. To fix, move the JpegProcessor mutex acquire to only happen in the error cases, in which case onFrameAVailable will not have fired, and the camera state will still be STILL_CAPTURE, not STOPPED or mid-preview startup. Bug: 29524651 Change-Id: I3f103e070c3b39c38117b91824cd79c5dfc757ac
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
b0fdc1ed2182fe851ef7ca98a1b4a552b53b3033 |
|
21-Mar-2016 |
Shuzhen Wang <shuzhenwang@google.com> |
Camera: Retry JPEG capture if buffer is dropped. Camera api1 doesn't have error notification if JPEG buffer is dropped. Add retry logic to try again if such error happens. Bug: 27074407 Change-Id: I646566c6ee5a064896b5a433d8e1797140f0d257
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
2cbf6cea23539bfe99e36d1d221de62255452e86 |
|
14-Mar-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Update dataspace to new spec, convert for older HALs - Switch clients of camera devices to use new dataspace values - For older HALs, map to legacy dataspace values Bug: 27344373 Change-Id: Icabc345025383f987ef4472cd26182a580dc8b3c
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
d309fb9c8a2c4564d88fffba19c4e3688e4b862b |
|
25-Nov-2015 |
Eino-Ville Talvala <etalvala@google.com> |
CameraService: Remove device HALv2 support, other cleanup HALv2 only ever shipped with Nexus 10, and has been fully superceded by HALv3. Remove it to allow for various code simplifications and cleanup. - Remove Camera2Device - Remove various special-case codepaths for supporting Camera2Device - Remove CameraDeviceFactory, since it only creates Camera3Devices now - Remove BurstCapture and associated CaptureSequence/Parameters code - Remove old ZslProcessor and simplify ZslProcessor hierarchy to be just ZslProcessor3, which is renamed to just ZslProcessor - Add service-init-time check for unsupported device versions - Fix assorted compiler warnings, some old, some new - Remove references to HALv2 when possible Bug: 25866588 Change-Id: Ia1063264d315f9b742ec5cdd0483539310894f5e
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
727d172137b4f32681c098de8e2623c0b65a6406 |
|
09-Jun-2015 |
Eino-Ville Talvala <etalvala@google.com> |
CameraService: Add consumer name to output stream dumpsys Also switch use of ANativeWindow to Surface, to get to the getConsumerName() method where necessary. Surface can always be cast to ANativeWindow, but not the other way around, so it's a better option anyway. Change-Id: Ie5c2d30821c1a754f9e382699ff50b4b328288b3
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
d46a6b9fd8b2a4f9098757384711e2cd03a91651 |
|
15-May-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera1 API: Support SW encoders for new camera HALs - Support new set video format/dataspace command in camera service - HALv3: Select gralloc usage flags based on format - HALv1: Pass format command directly to HAL layer - Use format/dataspace command in CameraSource - Switch all API1 recording to use metadata mode - Switch all >= HALv2 API1 recording to use kMetadataBufferTypeANWBuffer Bug: 13222807 Change-Id: I2e609b92c65792611bb1dab09e0c41c363ebbc42
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
b97babb8c08969b55af3b6456d15f764c8873d3f |
|
12-Mar-2015 |
Yin-Chia Yeh <yinchiayeh@google.com> |
Camera: plumbing rotation field through Change-Id: I0f4343a0bfa7bf09ba887c78a1da1c08daa35333
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
3d82c0d9ed2b3e956ad699a9ca2c8a70c9d24678 |
|
24-Feb-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Wire up dataSpace, clean up ICameraDeviceUser - Remove unused arguments from ICameraDeviceUser::createStream - Add dataSpace as a stream parameter, plumb it through everything Change-Id: I608cafe694785d1c512276e71b2016f8ac3b0ccb
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
04f101c35eaa90b1f95939afac30674ec1611e6f |
|
04-Nov-2014 |
Dan Stoza <stoza@google.com> |
Add a BufferItem parameter to onFrameAvailable Passes the BufferItem for the queued buffer to the onFrameAvailable callback so the consumer can track the BufferQueue's contents. Bug: 18111837 Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
2d077d0acdbb26eeb1357489c999ec875f6ce297 |
|
29-Sep-2014 |
Eino-Ville Talvala <etalvala@google.com> |
CameraService: API1: Reallocate JPEG ashmem heap if size changes Bug: 17682603 Change-Id: I7cba3365d00c33cf4267b1b59a94bd7d0bba08df
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
28c9b6f298134624cb52b1af4ed8716dddb983d3 |
|
08-Aug-2014 |
Zhijun He <zhijunhe@google.com> |
Camera2/3: Cleanup the jpeg buffer size calcaulation logic - Only one place calculating the jpeg size-the device layer, Camera2Device and Camera3Device. - Remove size argument for CameraDeviceBase and cleanup related code. Bug: 14327010 Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
32ce52b01dab863f2b4749e1c69f619cf820486f |
|
24-Mar-2014 |
Colin Cross <ccross@android.com> |
am 5c679d41: resolved conflicts for merge of 3d7c5002 to klp-modular-dev-plus-aosp * commit '5c679d41714e42f153f6aeb492df54510a195bc1': libcameraservice: build 64-bit libcameraservice: fix 64-bit print format warnings
|
5c679d41714e42f153f6aeb492df54510a195bc1 |
|
22-Mar-2014 |
Colin Cross <ccross@android.com> |
resolved conflicts for merge of 3d7c5002 to klp-modular-dev-plus-aosp Change-Id: Ia6d87d56174d1388c1148fb55b6e4bc57d8666db
|
e5729fac81c8a984e984fefc90afc64135817d4f |
|
21-Mar-2014 |
Colin Cross <ccross@android.com> |
libcameraservice: fix 64-bit print format warnings Use PRId64 from inttypes.h to print nsecs_t (int64_t) Use %zu to print size_t Change-Id: I135620e0388db33587a8a7da393b48a45cb7275a
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
8aa0f0619ea867e8fb240cf27913d4f8ae767385 |
|
12-Mar-2014 |
Dan Stoza <stoza@google.com> |
Remove deprecated BufferQueue constructor Bug: 13415624 Change-Id: Ifc8f778b70102a38a9f7a086632e6884714e6b58
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
81d754306ecd4a587459015da5168270c2a5c167 |
|
27-Nov-2013 |
Zhijun He <zhijunhe@google.com> |
DO NOT MERGE: camera2/3: Add protection for still capture path Jpeg stream in JpegProcessor could be deleted while process new capture is ongoing, which unsafe to access a dead consumer endpoint. Bug: 9316454 Change-Id: I2950f31ea28d0ba01f08502e2e3ba452bf8bb818
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
138851bd3cadfb60238f87567e24808925731837 |
|
27-Nov-2013 |
Zhijun He <zhijunhe@google.com> |
camera2/3: Add protection for still capture path Jpeg stream in JpegProcessor could be deleted while process new capture is ongoing, which unsafe to access a dead consumer endpoint. Bug: 9316454 Change-Id: I2950f31ea28d0ba01f08502e2e3ba452bf8bb818
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|
deeef54487a34034dc0cfaab20b20d557224c07c |
|
02-Aug-2013 |
Mathias Agopian <mathias@google.com> |
separte producer and consumer interfaces Bug: 9265647 Change-Id: Iefabc11e4bd2e2e8ffd31160476c450affe6629c
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.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
/frameworks/av/services/camera/libcameraservice/api1/client2/JpegProcessor.cpp
|