Index: media/video/capture/android/video_capture_device_android.h |
diff --git a/media/video/capture/android/video_capture_device_android.h b/media/video/capture/android/video_capture_device_android.h |
index 297a66dc0cdda64b815a4e38dcd51629d8cbf5df..20966549fe2d18dead2e1392c01e7c54bd5dde67 100644 |
--- a/media/video/capture/android/video_capture_device_android.h |
+++ b/media/video/capture/android/video_capture_device_android.h |
@@ -53,8 +53,16 @@ class MEDIA_EXPORT VideoCaptureDeviceAndroid : public VideoCaptureDevice1 { |
kError // Hit error. User needs to recover by destroying the object. |
}; |
+ // Automatically generated enum to interface with Java world. |
+ enum AndroidImageFormat { |
+#define DEFINE_ANDROID_IMAGEFORMAT(name, value) name = value, |
+#include "media/video/capture/android/imageformat_list.h" |
+#undef DEFINE_ANDROID_IMAGEFORMAT |
+ }; |
wjia(left Chromium)
2013/09/18 18:35:27
This enum should be moved into cc file.
|
+ |
explicit VideoCaptureDeviceAndroid(const Name& device_name); |
bool Init(); |
+ VideoPixelFormat GetColorspace(); |
void SetErrorState(const std::string& reason); |
// Prevent racing on accessing |state_| and |observer_| since both could be |