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

Side by Side Diff: device/capture/video/android/video_capture_device_android.h

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAPTURE_VIDEO_ANDROID_VIDEO_CAPTURE_DEVICE_ANDROID_H_ 5 #ifndef DEVICE_CAPTURE_VIDEO_ANDROID_VIDEO_CAPTURE_DEVICE_ANDROID_H_
6 #define MEDIA_CAPTURE_VIDEO_ANDROID_VIDEO_CAPTURE_DEVICE_ANDROID_H_ 6 #define DEVICE_CAPTURE_VIDEO_ANDROID_VIDEO_CAPTURE_DEVICE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 10
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "media/capture/capture_export.h" 16 #include "device/capture/capture_export.h"
17 #include "media/capture/video/video_capture_device.h" 17 #include "device/capture/video/video_capture_device.h"
18 18
19 namespace tracked_objects { 19 namespace tracked_objects {
20 class Location; 20 class Location;
21 } // namespace tracked_ 21 } // namespace tracked_
22 22
23 namespace media { 23 namespace media {
24 24
25 // VideoCaptureDevice on Android. The VideoCaptureDevice API's are called 25 // VideoCaptureDevice on Android. The VideoCaptureDevice API's are called
26 // by VideoCaptureManager on its own thread, while OnFrameAvailable is called 26 // by VideoCaptureManager on its own thread, while OnFrameAvailable is called
27 // on JAVA thread (i.e., UI thread). Both will access |state_| and |client_|, 27 // on JAVA thread (i.e., UI thread). Both will access |state_| and |client_|,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 VideoCaptureFormat capture_format_; 108 VideoCaptureFormat capture_format_;
109 109
110 // Java VideoCaptureAndroid instance. 110 // Java VideoCaptureAndroid instance.
111 base::android::ScopedJavaLocalRef<jobject> j_capture_; 111 base::android::ScopedJavaLocalRef<jobject> j_capture_;
112 112
113 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceAndroid); 113 DISALLOW_IMPLICIT_CONSTRUCTORS(VideoCaptureDeviceAndroid);
114 }; 114 };
115 115
116 } // namespace media 116 } // namespace media
117 117
118 #endif // MEDIA_CAPTURE_VIDEO_ANDROID_VIDEO_CAPTURE_DEVICE_ANDROID_H_ 118 #endif // DEVICE_CAPTURE_VIDEO_ANDROID_VIDEO_CAPTURE_DEVICE_ANDROID_H_
OLDNEW
« no previous file with comments | « device/capture/video/android/photo_capabilities.cc ('k') | device/capture/video/android/video_capture_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698