diff options
author | Kyle Repinski <repinski23@gmail.com> | 2015-01-07 17:12:43 -0600 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2015-04-11 20:24:52 +0200 |
commit | 0ebe625decc5a52c5534bedc5ed31da332f42f80 (patch) | |
tree | fcc961a8fb7015cc1f606b9d9c7c062931e457cc /camera/ANativeWindowDisplayAdapter.cpp | |
parent | c9ee5c0371fb6ca892f80f1725100ad03c8a2a2c (diff) | |
download | device_samsung_tuna-0ebe625decc5a52c5534bedc5ed31da332f42f80.zip device_samsung_tuna-0ebe625decc5a52c5534bedc5ed31da332f42f80.tar.gz device_samsung_tuna-0ebe625decc5a52c5534bedc5ed31da332f42f80.tar.bz2 |
camera: Fix more tuna issues, spruce up debugging.
- Move very verbose logs under new CAMERAHAL_SUPERVERBOSE and co.
- Add back 'default focal length', as tuna just reports '.' when trying to auto-fetch it.
- Hardcode camera facing values in insertFacing (sensor ID 305 is rear, the other (306) is front).
- ifdef out more things that will cause tuna to... lose its gills.
- 'Fix' preview resolutions not being inserted.
- Enable a few built-in workarounds that were under the 'CAMERAHAL_TUNA' define.
At this point, a few intelligent camera apps can handle the camera 'OK'.
AF is very spotty.
Signed-off-by: Kyle Repinski <repinski23@gmail.com>
Diffstat (limited to 'camera/ANativeWindowDisplayAdapter.cpp')
-rw-r--r-- | camera/ANativeWindowDisplayAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/ANativeWindowDisplayAdapter.cpp b/camera/ANativeWindowDisplayAdapter.cpp index 45f7ba0..f144327 100644 --- a/camera/ANativeWindowDisplayAdapter.cpp +++ b/camera/ANativeWindowDisplayAdapter.cpp @@ -1296,7 +1296,7 @@ bool ANativeWindowDisplayAdapter::handleFrameReturn() mFramesType.removeItem((int) mBuffers[i].opaque); } - CAMHAL_LOGVB("handleFrameReturn: found graphic buffer %d of %d", i, mBufferCount-1); + CAMHAL_LOGSVB("handleFrameReturn: found graphic buffer %d of %d", i, mBufferCount-1); mFrameProvider->returnFrame(&mBuffers[i], frameType); return true; |