Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(941)

Unified Diff: media/base/android/java/src/org/chromium/media/ImageFormat.template

Issue 23903032: Move NV21 colorspace treatment from VideoCapture java to C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added ImageFormat.java automatic generation to android_webview/Android.mk, missed before. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/android/java/src/org/chromium/media/ImageFormat.template
diff --git a/base/android/java/src/org/chromium/base/MemoryPressureLevelList.template b/media/base/android/java/src/org/chromium/media/ImageFormat.template
similarity index 50%
copy from base/android/java/src/org/chromium/base/MemoryPressureLevelList.template
copy to media/base/android/java/src/org/chromium/media/ImageFormat.template
index cebca842e339f22b3c2716a5d91d3a9b8b0c3e51..1c06dcdd31dd5497bdba5ccd6cc1839a056f8f00 100644
--- a/base/android/java/src/org/chromium/base/MemoryPressureLevelList.template
+++ b/media/base/android/java/src/org/chromium/media/ImageFormat.template
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.base;
+package org.chromium.media;
-class MemoryPressureLevelList {
-#define DEFINE_MEMORY_PRESSURE_LEVEL(name, value) \
+class AndroidImageFormatList {
+#define DEFINE_ANDROID_IMAGEFORMAT(name, value) \
static final int name = value;
-#include "base/memory/memory_pressure_level_list.h"
-#undef DEFINE_MEMORY_PRESSURE_LEVEL
-}
+#include "media/video/capture/android/imageformat_list.h"
+#undef DEFINE_ANDROID_IMAGEFORMAT
+}

Powered by Google App Engine
This is Rietveld 408576698