summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/camera2/FrameProcessor.cpp
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-09-24 09:46:53 -0700
committerEino-Ville Talvala <etalvala@google.com>2012-09-25 10:35:28 -0700
commit4bb8118816874c696d9f1adab48490df1da365f7 (patch)
tree685c57b06d3faa9750d0e0c2aae5eedb59484a70 /services/camera/libcameraservice/camera2/FrameProcessor.cpp
parentb6ba2fd0d61a4844c153e17843fbe2c841c4bf57 (diff)
downloadframeworks_av-4bb8118816874c696d9f1adab48490df1da365f7.zip
frameworks_av-4bb8118816874c696d9f1adab48490df1da365f7.tar.gz
frameworks_av-4bb8118816874c696d9f1adab48490df1da365f7.tar.bz2
Camera2: Debug and logging fixes.
- Fix LOG_TAGs to work with standard logcat filtering. - Add ATRACE to Camera2Device - Shorten thread names to fit in 16 characters - Remove some ATRACEs to avoid flooding trace unnecessarily Bug: 7220520 Change-Id: Ief8d677b5c8bb35d94e0f21b11b86505e83169ea
Diffstat (limited to 'services/camera/libcameraservice/camera2/FrameProcessor.cpp')
-rw-r--r--services/camera/libcameraservice/camera2/FrameProcessor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/camera2/FrameProcessor.cpp b/services/camera/libcameraservice/camera2/FrameProcessor.cpp
index d3d7b3e..0c8560b 100644
--- a/services/camera/libcameraservice/camera2/FrameProcessor.cpp
+++ b/services/camera/libcameraservice/camera2/FrameProcessor.cpp
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-#define LOG_TAG "Camera2Client::FrameProcessor"
+#define LOG_TAG "Camera2-FrameProcessor"
#define ATRACE_TAG ATRACE_TAG_CAMERA
//#define LOG_NDEBUG 0
@@ -92,6 +92,7 @@ void FrameProcessor::processNewFrames(sp<Camera2Client> &client) {
__FUNCTION__, client->getCameraId());
break;
}
+ ATRACE_INT("cam2_frame", entry.data.i32[0]);
res = processFaceDetect(frame, client);
if (res != OK) break;