/external/opencv3/modules/videoio/src/ |
D | cap_pvapi.cpp | 110 tCamera Camera; member in CvCaptureCAM_PvAPI 118 memset(&this->Camera, 0, sizeof(this->Camera)); in CvCaptureCAM_PvAPI() 138 PvCameraClose(Camera.Handle); in close() 164 Camera.UID = cameraList[index].UniqueId; in open() 166 if (!PvCameraInfo(Camera.UID,&camInfo) && !PvCameraIpSettingsGet(Camera.UID,&ipSettings)) in open() 185 if (PvCameraOpen(Camera.UID, ePvAccessMaster, &(Camera.Handle))==ePvErrSuccess) in open() 190 PvAttrUint32Get(Camera.Handle, "Width", &frameWidth); in open() 191 PvAttrUint32Get(Camera.Handle, "Height", &frameHeight); in open() 200 if (PvCaptureAdjustPacketSize(Camera.Handle,maxSize)!=ePvErrSuccess) in open() 216 return PvCaptureQueueFrame(Camera.Handle, &(Camera.Frame), NULL) == ePvErrSuccess; in grabFrame() [all …]
|
/external/eigen/demos/opengl/ |
D | camera.cpp | 18 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 …]
|
D | camera.h | 36 class Camera 41 Camera(void); 43 Camera(const Camera& other); 45 virtual ~Camera(); 47 Camera& operator=(const Camera& other);
|
D | trackball.h | 15 class Camera; variable 27 void setCamera(Camera* pCam) { mpCamera = pCam; } in setCamera() 35 Camera* mpCamera;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowCamera.java | 8 import android.hardware.Camera; 18 @Implements(Camera.class) 24 private Camera.Parameters parameters; 25 private Camera.PreviewCallback previewCallback; 28 … private static Map<Integer, Camera.CameraInfo> cameras = new HashMap<Integer,Camera.CameraInfo>(); 31 private Camera realCamera; 40 public static Camera open() { in open() 41 return Robolectric.newInstanceOf(Camera.class); in open() 55 public Camera.Parameters getParameters() { in getParameters() 57 parameters = Robolectric.newInstanceOf(Camera.Parameters.class); in getParameters() [all …]
|
D | ShadowCameraParameters.java | 4 import android.hardware.Camera; 15 @Implements(Camera.Parameters.class) 28 public Camera.Size getPictureSize() { in getPictureSize() 29 Camera.Size pictureSize = Robolectric.newInstanceOf(Camera.class).new Size(0, 0); in getPictureSize() 52 public Camera.Size getPreviewSize() { in getPreviewSize() 53 Camera.Size previewSize = Robolectric.newInstanceOf(Camera.class).new Size(0, 0); in getPreviewSize() 60 public List<Camera.Size> getSupportedPictureSizes() { in getSupportedPictureSizes() 61 List<Camera.Size> supportedSizes = new ArrayList<Camera.Size>(); in getSupportedPictureSizes() 102 public List<Camera.Size> getSupportedPreviewSizes() { in getSupportedPreviewSizes() 103 List<Camera.Size> supportedSizes = new ArrayList<Camera.Size>(); in getSupportedPreviewSizes() [all …]
|
D | ShadowCameraSize.java | 3 import android.hardware.Camera; 10 @Implements(Camera.Size.class) 12 @RealObject private Camera.Size realCameraSize; 14 public void __constructor__(Camera camera, int width, int height) { in __constructor__()
|
D | ShadowMediaRecorder.java | 3 import android.hardware.Camera; 27 private Camera camera; 80 public void setCamera(Camera c) { in setCamera() 177 public Camera getCamera() { in getCamera()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | CameraTest.java | 7 import android.hardware.Camera; 28 private Camera camera; 33 camera = Camera.open(); in setUp() 64 Camera.Parameters parameters = camera.getParameters(); in testGetParameters() 72 Camera.Parameters parameters = camera.getParameters(); in testSetParameters() 177 assertThat(Camera.getNumberOfCameras(), equalTo(0)); in testCameraInfoNoCameras() 182 Camera.CameraInfo cameraQuery = new Camera.CameraInfo(); in testCameraInfoBackOnly() 185 Camera.getCameraInfo(0, cameraQuery); in testCameraInfoBackOnly() 187 assertThat(Camera.getNumberOfCameras(), equalTo(1)); in testCameraInfoBackOnly() 188 assertThat(cameraQuery.facing, equalTo(Camera.CameraInfo.CAMERA_FACING_BACK)); in testCameraInfoBackOnly() [all …]
|
D | CameraParametersTest.java | 5 import android.hardware.Camera; 23 private Camera.Parameters parameters; 28 parameters = Robolectric.newInstanceOf(Camera.Parameters.class); in setUp() 37 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize() 68 Camera.Size size = parameters.getPreviewSize(); in testPreviewSize() 100 List<Camera.Size> supportedSizes = parameters.getSupportedPictureSizes(); in testGetSupportedPictureSizes() 109 List<Camera.Size> supportedSizes = parameters.getSupportedPreviewSizes(); in testGetSupportedPreviewSizes()
|
D | CameraSizeTest.java | 4 import android.hardware.Camera; 18 private Camera.Size cameraSize; 22 cameraSize = Robolectric.newInstanceOf(Camera.class).new Size(480, 320); in setUp()
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
D | CameraEnumerationAndroid.java | 117 String[] names = new String[android.hardware.Camera.getNumberOfCameras()]; in getDeviceNames() 118 for (int i = 0; i < android.hardware.Camera.getNumberOfCameras(); ++i) { in getDeviceNames() 126 return android.hardware.Camera.getNumberOfCameras(); in getDeviceCount() 132 android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); in getDeviceName() 134 android.hardware.Camera.getCameraInfo(index, info); in getDeviceName() 141 (info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT) ? "front" : "back"; in getDeviceName() 149 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in getNameOfFrontFacingDevice() 155 return getNameOfDevice(android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in getNameOfBackFacingDevice() 184 public static int[] getFramerateRange(android.hardware.Camera.Parameters parameters, in getFramerateRange() 195 return range[android.hardware.Camera.Parameters.PREVIEW_FPS_MIN_INDEX] in getFramerateRange() [all …]
|
D | VideoCapturerAndroid.java | 66 android.hardware.Camera.PreviewCallback, 72 private android.hardware.Camera camera; // Only non-null while capturing. 79 private android.hardware.Camera.CameraInfo info; 110 private final android.hardware.Camera.ErrorCallback cameraErrorCallback = 111 new android.hardware.Camera.ErrorCallback() { 113 public void onError(int error, android.hardware.Camera camera) { 115 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) { 239 if (android.hardware.Camera.getNumberOfCameras() < 2) { in switchCamera() 271 info.facing == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in switchCamera() 353 if (deviceName == null || android.hardware.Camera.getNumberOfCameras() == 0) { in lookupDeviceName() [all …]
|
D | CameraEnumerator.java | 62 final android.hardware.Camera.Parameters parameters; in enumerateFormats() 63 android.hardware.Camera camera = null; in enumerateFormats() 66 camera = android.hardware.Camera.open(cameraId); in enumerateFormats() 86 minFps = range[android.hardware.Camera.Parameters.PREVIEW_FPS_MIN_INDEX]; in enumerateFormats() 87 maxFps = range[android.hardware.Camera.Parameters.PREVIEW_FPS_MAX_INDEX]; in enumerateFormats() 89 for (android.hardware.Camera.Size size : parameters.getSupportedPreviewSizes()) { in enumerateFormats()
|
/external/opencv3/modules/java/generator/src/java/ |
D | android+JavaCameraView.java | 8 import android.hardware.Camera; 9 import android.hardware.Camera.PreviewCallback; 40 protected Camera mCamera; 48 Camera.Size size = (Camera.Size) obj; in getWidth() 54 Camera.Size size = (Camera.Size) obj; in getHeight() 76 mCamera = Camera.open(); in initializeCamera() 84 for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { in initializeCamera() 87 mCamera = Camera.open(camIdx); in initializeCamera() 100 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in initializeCamera() 101 for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { in initializeCamera() [all …]
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
D | CameraConfigurationManager.java | 22 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 …]
|
D | CameraManager.java | 25 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()
|
D | AutoFocusCallback.java | 19 import android.hardware.Camera; 24 final class AutoFocusCallback implements Camera.AutoFocusCallback { 38 public void onAutoFocus(boolean success, Camera camera) { in onAutoFocus()
|
D | PreviewCallback.java | 20 import android.hardware.Camera; 25 final class PreviewCallback implements Camera.PreviewCallback { 42 public void onPreviewFrame(byte[] data, Camera camera) { in onPreviewFrame()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | CameraFacade.java | 21 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/opencv3/modules/viz/src/ |
D | types.cpp | 95 cv::viz::Camera::Camera(double fx, double fy, double cx, double cy, const Size &window_size) in Camera() function in cv::viz::Camera 100 cv::viz::Camera::Camera(const Vec2d &fov, const Size &window_size) in Camera() function in cv::viz::Camera 111 cv::viz::Camera::Camera(const cv::Matx33d & K, const Size &window_size) in Camera() function in cv::viz::Camera 120 cv::viz::Camera::Camera(const Matx44d &proj, const Size &window_size) in Camera() function in cv::viz::Camera 146 void cv::viz::Camera::init(double fx, double fy, double cx, double cy, const Size &window_size) in init() 163 void cv::viz::Camera::setWindowSize(const Size &window_size) in setWindowSize() 180 void cv::viz::Camera::computeProjectionMatrix(Matx44d &proj) const in computeProjectionMatrix() 202 cv::viz::Camera cv::viz::Camera::KinectCamera(const Size &window_size) in KinectCamera() 205 return Camera(K, window_size); in KinectCamera()
|
/external/opencv3/samples/android/tutorial-3-cameracontrol/src/org/opencv/samples/tutorial3/ |
D | Tutorial3View.java | 9 import android.hardware.Camera; 10 import android.hardware.Camera.PictureCallback; 11 import android.hardware.Camera.Size; 37 Camera.Parameters params = mCamera.getParameters(); in setEffect() 69 public void onPictureTaken(byte[] data, Camera camera) { in onPictureTaken()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/webcam/ |
D | WebCamFacade.java | 37 import android.hardware.Camera; 38 import android.hardware.Camera.Parameters; 39 import android.hardware.Camera.PreviewCallback; 40 import android.hardware.Camera.Size; 106 private Camera mCamera; 114 public void onPreviewFrame(final byte[] data, final Camera camera) { 130 public void onPreviewFrame(final byte[] data, final Camera camera) { 249 mCamera = Camera.open(); in openCamera()
|
/external/autotest/client/site_tests/desktopui_CameraApp/ |
D | control | 7 PURPOSE = "Verifies if the ToT Camera App works." 9 This test will fail if the webcam stream in the Camera App is not acquired, 18 This integration test verifies if the ToT version of the Camera App works fine.
|
/external/opencv3/modules/viz/include/opencv2/viz/ |
D | types.hpp | 142 class CV_EXPORTS Camera class 155 Camera(double fx, double fy, double cx, double cy, const Size &window_size); 161 explicit Camera(const Vec2d &fov, const Size &window_size); 167 explicit Camera(const Matx33d &K, const Size &window_size); 173 explicit Camera(const Matx44d &proj, const Size &window_size); 198 static Camera KinectCamera(const Size &window_size);
|