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

Side by Side Diff: media/capture/video/android/photo_capabilities.h

Issue 2808073003: Image Capture: wire supported exposure/focus/white balance modes Android (Closed)
Patch Set: reillyg@ comments Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_PHOTO_CAPABILITIES_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_
6 #define MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ 6 #define MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 int getStepHeight() const; 51 int getStepHeight() const;
52 int getMinWidth() const; 52 int getMinWidth() const;
53 int getMaxWidth() const; 53 int getMaxWidth() const;
54 int getCurrentWidth() const; 54 int getCurrentWidth() const;
55 int getStepWidth() const; 55 int getStepWidth() const;
56 double getMinZoom() const; 56 double getMinZoom() const;
57 double getMaxZoom() const; 57 double getMaxZoom() const;
58 double getCurrentZoom() const; 58 double getCurrentZoom() const;
59 double getStepZoom() const; 59 double getStepZoom() const;
60 AndroidMeteringMode getFocusMode() const; 60 AndroidMeteringMode getFocusMode() const;
61 std::vector<AndroidMeteringMode> getFocusModes() const;
61 AndroidMeteringMode getExposureMode() const; 62 AndroidMeteringMode getExposureMode() const;
63 std::vector<AndroidMeteringMode> getExposureModes() const;
62 double getMinExposureCompensation() const; 64 double getMinExposureCompensation() const;
63 double getMaxExposureCompensation() const; 65 double getMaxExposureCompensation() const;
64 double getCurrentExposureCompensation() const; 66 double getCurrentExposureCompensation() const;
65 double getStepExposureCompensation() const; 67 double getStepExposureCompensation() const;
66 AndroidMeteringMode getWhiteBalanceMode() const; 68 AndroidMeteringMode getWhiteBalanceMode() const;
69 std::vector<AndroidMeteringMode> getWhiteBalanceModes() const;
67 std::vector<AndroidFillLightMode> getFillLightModes() const; 70 std::vector<AndroidFillLightMode> getFillLightModes() const;
68 bool getSupportsTorch() const; 71 bool getSupportsTorch() const;
69 bool getTorch() const; 72 bool getTorch() const;
70 bool getRedEyeReduction() const; 73 bool getRedEyeReduction() const;
71 int getMinColorTemperature() const; 74 int getMinColorTemperature() const;
72 int getMaxColorTemperature() const; 75 int getMaxColorTemperature() const;
73 int getCurrentColorTemperature() const; 76 int getCurrentColorTemperature() const;
74 int getStepColorTemperature() const; 77 int getStepColorTemperature() const;
75 78
76 private: 79 private:
77 const base::android::ScopedJavaLocalRef<jobject> object_; 80 const base::android::ScopedJavaLocalRef<jobject> object_;
78 }; 81 };
79 82
80 } // namespace media 83 } // namespace media
81 84
82 #endif // MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_ 85 #endif // MEDIA_CAPTURE_VIDEO_ANDROID_PHOTO_CAPABILITIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698