summaryrefslogtreecommitdiff
path: root/camera/CameraUtils.cpp
AgeCommit message (Collapse)Author
2020-10-13libcamera_client: Add utils function isCameraServiceDisabled.Jayant Chowdhary
Note: ndk_vendor/ACameraManager.cpp is vendor code whcih can't depend on a framework library without it being vndk, which libcamera_client isn't. Bug: 168061412 Test: builds Test: Camera app, native cts imagereader test(validity) Change-Id: I87d8e056d0e8ef938d5c8f976417ca707d6471d9 Merged-In: I87d8e056d0e8ef938d5c8f976417ca707d6471d9 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit f5b9cc68a46184bd18ecf7c4d9d150460acd19e1)
2016-05-19Merge "Fix facing check in CameraUtils" am: 2f15fd50d8Ari Hausman-Cohen
am: 04005f2420 * commit '04005f2420397799ff3f61148146cf0c77b51e99': Fix facing check in CameraUtils Change-Id: I0e884e39663c919cb0329a599ebccbbdf28c7bb0
2016-05-18Fix facing check in CameraUtilsAri Hausman-Cohen
One of the checks in CameraUtils::getRotationTransform checked the wrong variable. Change-Id: I365c1cf48d6b71468712da75c4499e00337b02d4
2016-04-29Camera: Fix passing video native handle for 64-bit appChien-Yu Chen
Add new binder calls to pass video native handle so the video native handle can be passed between 32-bit and 64-bit processes. Remove problematic code that used IMemory to pass video native handle because the sizes of VideoNativeMetadata are different in 32-bit and 64-bit processes. Bug: 28403412 Change-Id: I3341b1812ecc41d61846bb72ca926ecb1674c9ec
2016-01-26camera: Add support to pass native handles across bindersPraveen Chavan
If the video buffer contains a native handle, serialize and deserialize it properly. Author: spodder@codeaurora.org Bug: 26268807 Change-Id: I1905be81e2045667e00c95ab75d1bf144756b894
2014-08-21camera2: Fix CameraUtils orientation for front camera.Ruben Brunk
Bug: 16637957 Change-Id: If6d213794a92eb60b8a333546670ca868b75e5fc
2014-07-29Camera2: Fix transforms for front-facing camerasEino-Ville Talvala
Mirror, mirror on the wall, who is the best rotated of them all? Also, use consistent enum names. Bug: 16637957 Change-Id: Ie211d3b57b9e7d01122192ad03b73ceba5bf1bd3
2014-07-14camera2: Set orientation flags for hardware composer.Ruben Brunk
Bug: 15116722 Change-Id: I3fcc9aea38afcbd665f86c511a9929fe9a6a3a8f