summaryrefslogtreecommitdiff
path: root/jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2011-09-11 14:28:53 -0700
committerWei-Ta Chen <weita@google.com>2011-09-11 15:23:25 -0700
commit274ca49c63557a8c3ee12c8da5f75e28b4875a5d (patch)
treefe3ae3adbdc66e6f97eb903f05feedebec704e9d /jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp
parent452b0dae881f1ed6db431dae2936b4a8115af289 (diff)
downloadLegacyCamera-274ca49c63557a8c3ee12c8da5f75e28b4875a5d.tar.gz
Clean up the logs.
Bug: 5277853 Change-Id: Ic1c9a0395846b6815f2c18663e3c9078781a6194
Diffstat (limited to 'jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp')
-rwxr-xr-xjni/feature_mos/src/mosaic_renderer/YVURenderer.cpp21
1 files changed, 16 insertions, 5 deletions
diff --git a/jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp b/jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp
index e244ccf2..f7dcf6f6 100755
--- a/jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp
+++ b/jni/feature_mos/src/mosaic_renderer/YVURenderer.cpp
@@ -1,12 +1,23 @@
+/*
+ * Copyright (C) 2011 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#include "YVURenderer.h"
#include <GLES2/gl2ext.h>
-#include <android/log.h>
-#define LOG_TAG "YVURenderer"
-#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
-#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
-
const GLfloat g_vVertices[] = {
-1.f, 1.f, 0.0f, 1.0f, // Position 0
0.0f, 1.0f, // TexCoord 0