Home
last modified time | relevance | path

Searched refs:Camera (Results 1 – 25 of 130) sorted by relevance

123456

/external/eigen/demos/opengl/
Dcamera.cpp18 Camera::Camera() in Camera() function in Camera
34 Camera& Camera::operator=(const Camera& other) in operator =()
55 Camera::Camera(const Camera& other) in Camera() function in Camera
60 Camera::~Camera() in ~Camera()
65 void Camera::setViewport(uint offsetx, uint offsety, uint width, uint height) in setViewport()
75 void Camera::setViewport(uint width, uint height) in setViewport()
83 void Camera::setFovY(float value) in setFovY()
89 Vector3f Camera::direction(void) const in direction()
93 Vector3f Camera::up(void) const in up()
97 Vector3f Camera::right(void) const in right()
[all …]
Dcamera.h36 class Camera
41 Camera(void);
43 Camera(const Camera& other);
45 virtual ~Camera();
47 Camera& operator=(const Camera& other);
Dtrackball.h15 class Camera; variable
27 void setCamera(Camera* pCam) { mpCamera = pCam; } in setCamera()
35 Camera* mpCamera;
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCamera.java6 import android.hardware.Camera;
20 @Implements(Camera.class)
29 private Camera.Parameters parameters;
30 private Camera.PreviewCallback previewCallback;
34 private Camera.AutoFocusCallback autoFocusCallback;
37 private static Map<Integer, Camera.CameraInfo> cameras = new HashMap<>();
39 @RealObject private Camera realCamera;
49 protected static Camera open() { in open()
51 Camera camera = newInstanceOf(Camera.class); in open()
58 protected static Camera open(int cameraId) { in open()
[all …]
DShadowMediaRecorder.java3 import android.hardware.Camera;
29 private Camera camera;
83 protected void setCamera(Camera c) { in setCamera()
180 public Camera getCamera() { in getCamera()
/external/dynamic_depth/internal/dynamic_depth/
Dcamera.cc50 std::unique_ptr<Camera> ParseFields(const Deserializer& deserializer) { in ParseFields()
52 deserializer.ParseString(DynamicDepthConst::Camera(), kTrait, &trait_str); in ParseFields()
65 Pose::FromDeserializer(deserializer, DynamicDepthConst::Camera()); in ParseFields()
77 VendorInfo::FromDeserializer(deserializer, DynamicDepthConst::Camera()); in ParseFields()
80 AppInfo::FromDeserializer(deserializer, DynamicDepthConst::Camera()); in ParseFields()
91 return Camera::FromData(std::move(params)); in ParseFields()
97 Camera::Camera(std::unique_ptr<CameraParams> params) { in Camera() function in dynamic_depth::Camera
102 void Camera::GetNamespaces( in GetNamespaces()
108 ns_name_href_map->emplace(DynamicDepthConst::Camera(), kNamespaceHref); in GetNamespaces()
135 std::unique_ptr<Camera> Camera::FromDataForCamera0( in FromDataForCamera0()
[all …]
Dcameras.cc30 std::vector<std::unique_ptr<Camera>>* camera_list) { in FromCameraArray()
48 std::unique_ptr<Camera> camera = Camera::FromDeserializer(*deserializer); in FromDeserializer()
64 const std::vector<const Camera*> Cameras::GetCameras() const { in GetCameras()
65 std::vector<const Camera*> camera_list; in GetCameras()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraTest.java10 import android.hardware.Camera;
23 private Camera camera;
28 camera = Camera.open(); in setUp()
45 camera = Camera.open(12); in testOpenWithId()
67 Camera.Parameters parameters = camera.getParameters(); in testGetParameters()
75 Camera.Parameters parameters = camera.getParameters(); in testSetParameters()
199 camera = Camera.open(1); in testSetDisplayOrientationUpdatesCameraInfos()
202 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testSetDisplayOrientationUpdatesCameraInfos()
203 Camera.getCameraInfo(ShadowCamera.getLastOpenedCameraId(), cameraQuery); in testSetDisplayOrientationUpdatesCameraInfos()
249 assertThat(Camera.getNumberOfCameras()).isEqualTo(0); in testCameraInfoNoCameras()
[all …]
DShadowCameraParametersTest.java6 import android.hardware.Camera;
19 private Camera.Parameters parameters;
23 parameters = Shadow.newInstanceOf(Camera.Parameters.class); in setUp()
31 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize()
62 Camera.Size size = parameters.getPreviewSize(); in testPreviewSize()
94 List<Camera.Size> supportedSizes = parameters.getSupportedPictureSizes(); in testGetSupportedPictureSizes()
103 List<Camera.Size> supportedSizes = parameters.getSupportedPreviewSizes(); in testGetSupportedPreviewSizes()
121 List<Camera.Size> supportedSizes = parameters.getSupportedPreviewSizes(); in testAddSupportedPreviewSizes()
DShadowCameraSizeTest.java5 import android.hardware.Camera;
15 private Camera.Size cameraSize;
19 cameraSize = Shadow.newInstanceOf(Camera.class).new Size(480, 320); in setUp()
/external/webrtc/sdk/android/api/org/webrtc/
DCamera1Enumerator.java41 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { in getDeviceNames()
56 android.hardware.Camera.CameraInfo info = getCameraInfo(getCameraIndex(deviceName)); in isFrontFacing()
57 return info != null && info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT; in isFrontFacing()
62 android.hardware.Camera.CameraInfo info = getCameraInfo(getCameraIndex(deviceName)); in isBackFacing()
63 return info != null && info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK; in isBackFacing()
77 private static @Nullable android.hardware.Camera.CameraInfo getCameraInfo(int index) { in getCameraInfo()
78 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); in getCameraInfo()
80 android.hardware.Camera.getCameraInfo(index, info); in getCameraInfo()
91 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { in getSupportedFormats()
101 final android.hardware.Camera.Parameters parameters; in enumerateFormats()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/esp/main/
DKconfig.projbuild15 menu "Camera Pins"
17 bool "Select Camera Pinout"
20 Select Camera Pinout.
27 bool "M5Stack Camera With PSRAM"
29 bool "M5Stack Camera F (Wide)"
33 bool "Custom Camera Pinout"
50 Select Camera Reset pin or -1 for software reset.
58 Select Camera XCLK pin.
66 Select Camera SIOD pin.
74 Select Camera SIOC pin.
[all …]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraConfigurationManager.java22 import android.hardware.Camera;
51 void initFromCameraParameters(Camera camera) { in initFromCameraParameters()
52 Camera.Parameters parameters = camera.getParameters(); in initFromCameraParameters()
71 void setDesiredCameraParameters(Camera camera) { in setDesiredCameraParameters()
72 Camera.Parameters parameters = camera.getParameters(); in setDesiredCameraParameters()
83 Camera.Parameters.FOCUS_MODE_AUTO, in setDesiredCameraParameters()
84 Camera.Parameters.FOCUS_MODE_MACRO); in setDesiredCameraParameters()
101 void setTorch(Camera camera, boolean newSetting) { in setTorch()
102 Camera.Parameters parameters = camera.getParameters(); in setTorch()
114 private static void initializeTorch(Camera.Parameters parameters, SharedPreferences prefs) { in initializeTorch()
[all …]
DAutoFocusCallback.java19 import android.hardware.Camera;
24 final class AutoFocusCallback implements Camera.AutoFocusCallback {
38 public void onAutoFocus(boolean success, Camera camera) { in onAutoFocus()
DCameraManager.java25 import android.hardware.Camera;
51 private Camera camera;
81 Camera theCamera = camera; in openDriver()
83 theCamera = Camera.open(); in openDriver()
124 Camera theCamera = camera; in startPreview()
152 Camera theCamera = camera; in requestPreviewFrame()
DPreviewCallback.java20 import android.hardware.Camera;
25 final class PreviewCallback implements Camera.PreviewCallback {
42 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame()
/external/webrtc/sdk/android/src/java/org/webrtc/
DCamera1Session.java42 private final android.hardware.Camera camera;
43 private final android.hardware.Camera.CameraInfo info;
61 final android.hardware.Camera camera; in create()
63 camera = android.hardware.Camera.open(cameraId); in create()
83 final android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); in create()
84 android.hardware.Camera.getCameraInfo(cameraId, info); in create()
88 final android.hardware.Camera.Parameters parameters = camera.getParameters(); in create()
113 private static void updateCameraParameters(android.hardware.Camera camera, in updateCameraParameters()
114 android.hardware.Camera.Parameters parameters, CaptureFormat captureFormat, Size pictureSize, in updateCameraParameters()
128 if (focusModes.contains(android.hardware.Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO)) { in updateCameraParameters()
[all …]
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DLegacyCameraConnectionFragment.java21 import android.hardware.Camera;
22 import android.hardware.Camera.CameraInfo;
40 private Camera camera;
42 private Camera.PreviewCallback imageListener;
51 final Camera.PreviewCallback imageListener, final int layout, final Size desiredSize) { in LegacyCameraConnectionFragment()
80 camera = Camera.open(index);
83 Camera.Parameters parameters = camera.getParameters();
86 && focusModes.contains(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) {
87 parameters.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE);
89 List<Camera.Size> cameraSizes = parameters.getSupportedPreviewSizes();
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DCameraFacade.java21 import android.hardware.Camera;
22 import android.hardware.Camera.AutoFocusCallback;
23 import android.hardware.Camera.Parameters;
24 import android.hardware.Camera.PictureCallback;
63 public Camera openCamera(int cameraId) throws Exception { in openCamera()
65 Camera result; in openCamera()
67 result = Camera.open(); in openCamera()
69 Method openCamera = Camera.class.getMethod("open", int.class); in openCamera()
70 result = (Camera) openCamera.invoke(null, cameraId); in openCamera()
78 Camera camera = openCamera(0); in CameraFacade()
[all …]
/external/dynamic_depth/includes/dynamic_depth/
Dcamera.h71 class Camera : public Element {
82 static std::unique_ptr<Camera> FromData(std::unique_ptr<CameraParams> params);
91 static std::unique_ptr<Camera> FromDataForCamera0(
97 static std::unique_ptr<Camera> FromDeserializer(
114 Camera(const Camera&) = delete;
115 void operator=(const Camera&) = delete;
118 explicit Camera(std::unique_ptr<CameraParams> params);
Dcameras.h30 std::vector<std::unique_ptr<Camera>>* camera_list);
38 const std::vector<const Camera*> GetCameras() const;
47 std::vector<std::unique_ptr<Camera>> camera_list_;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/webcam/
DWebCamFacade.java23 import android.hardware.Camera;
24 import android.hardware.Camera.Parameters;
25 import android.hardware.Camera.PreviewCallback;
26 import android.hardware.Camera.Size;
107 private Camera mCamera;
115 public void onPreviewFrame(final byte[] data, final Camera camera) {
131 public void onPreviewFrame(final byte[] data, final Camera camera) {
279 mCamera = Camera.open(); in openCamera()
/external/libvpx/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/
DScene.pde6 Camera last_cam;
7 Camera current_cam;
10 Scene(Camera camera, PointCloud point_cloud, MotionField motion_field) {
DCamera.pde1 class Camera {
9 Camera(float fov, PVector pos, PVector center, PVector axis) {
22 Camera copy() {
23 Camera cam = new Camera(fov, pos.copy(), center.copy(), axis.copy());
/external/strace/xlat/
Dv4l2_control_classes.in4 V4L2_CTRL_CLASS_CAMERA 0x009a0000 /* Camera class controls */
6 V4L2_CTRL_CLASS_FLASH 0x009c0000 /* Camera flash controls */

123456