/frameworks/av/media/libstagefright/include/ |
H A D | CameraSource.h | 24 #include <camera/android/hardware/ICamera.h> 25 #include <camera/ICameraRecordingProxy.h> 26 #include <camera/ICameraRecordingProxyListener.h> 27 #include <camera/CameraParameters.h> 45 * from the default camera. 56 * @param camera the video input frame data source. If it is NULL, 57 * we will try to connect to the camera with the given 60 * @param cameraId the id of the camera that the source will connect 61 * to if camera is NULL; otherwise ignored. 62 * @param clientName the package/process name of the camera [all...] |
H A D | CameraSourceTimeLapse.h | 39 const sp<hardware::ICamera> &camera, 81 // Condition variable to wait on if camera is is not yet idle. Once the 82 // camera gets idle, this variable will be signalled. 85 // True if camera is in preview mode and ready for takePicture(). 90 // True if stop() is waiting for camera to get idle, i.e. for the last 116 const sp<hardware::ICamera> &camera, 140 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 148 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 157 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 176 // the function sets the camera' [all...] |
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
H A D | Camera2RequestSettingsSet.java | 219 * @param camera The camera from which to capture. 223 * @return The request, ready to be passed to the camera framework. 228 public CaptureRequest createRequest(CameraDevice camera, int template, Surface... targets) argument 230 if (camera == null) { 234 Builder reqBuilder = camera.createCaptureRequest(template);
|
/frameworks/av/camera/include/camera/camera2/ |
H A D | CaptureRequest.h | 23 #include <camera/CameraMetadata.h>
|
/frameworks/av/camera/ndk/ |
H A D | Android.mk | 37 frameworks/av/include/camera/ndk \
|
/frameworks/av/include/camera/camera2/ |
H A D | CaptureRequest.h | 23 #include <camera/CameraMetadata.h>
|
/frameworks/av/radio/ |
H A D | Android.mk | 33 system/media/camera/include \ 34 system/media/private/camera/include
|
/frameworks/av/soundtrigger/ |
H A D | Android.mk | 32 system/media/camera/include \ 33 system/media/private/camera/include
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraDevice.java | 37 * <p>The CameraDevice class is a representation of a single camera connected to an 43 * in order to access camera devices.</p> 45 * <p>A given camera device may provide support at one of two levels: limited or 50 * provide substantially improved capabilities over the older camera 53 * proper operation, declare the "android.hardware.camera.level.full" feature in your 62 * Create a request suitable for a camera preview window. Specifically, this 66 * This template is guaranteed to be supported on all camera devices. 76 * This template is guaranteed to be supported on all camera devices. 87 * This template is guaranteed to be supported on all camera devices. 99 * This template is guaranteed to be supported on all camera device 990 onOpened(@onNull CameraDevice camera) argument 1003 onClosed(@onNull CameraDevice camera) argument 1035 onDisconnected(@onNull CameraDevice camera) argument 1064 onError(@onNull CameraDevice camera, @ErrorCode int error) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyFocusStateMapper.java | 58 * @param camera a non-{@code null} camera1 device 62 public LegacyFocusStateMapper(Camera camera) { argument 63 mCamera = checkNotNull(camera, "camera must not be null"); 119 public void onAutoFocusMoving(boolean start, Camera camera) { 207 public void onAutoFocus(boolean success, Camera camera) { 275 * Update the {@code result} camera metadata map with the new value for the
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraAgent.java | 32 * An interface which provides possible camera device operations. 35 * of {@link CameraAgent.CameraProxy} to control the camera. Classes 37 * other than the main thread for camera operations. Camera device callbacks 112 public void onCameraOpened(final CameraProxy camera) { argument 116 mCallback.onCameraOpened(camera); 162 public void onError(int error, CameraProxy camera); argument 170 public void onAutoFocus(boolean focused, CameraProxy camera); argument 178 public void onAutoFocusMoving(boolean moving, CameraProxy camera); argument 186 public void onShutter(CameraProxy camera); argument 194 public void onPictureTaken(byte[] data, CameraProxy camera); argument 202 onPreviewFrame(byte[] data, CameraProxy camera) argument 216 onFaceDetection(Camera.Face[] faces, CameraProxy camera) argument 239 onCameraOpened(CameraProxy camera) argument 307 closeCamera(CameraProxy camera, boolean synced) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 29 #include <camera/Camera.h> 30 #include <camera/CameraParameters.h> 38 const sp<hardware::ICamera> &camera, 51 CameraSourceTimeLapse(camera, proxy, cameraId, 67 const sp<hardware::ICamera>& camera, 78 : CameraSource(camera, proxy, cameraId, clientName, clientUid, clientPid, 118 // Force dataCallbackTimestamp() coming from the video camera to 287 // Tell the camera to release its recording frame and return. 37 CreateFromCamera( const sp<hardware::ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument 66 CameraSourceTimeLapse( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument
|
H A D | CameraSource.cpp | 33 #include <camera/Camera.h> 34 #include <camera/CameraParameters.h> 177 sp<hardware::ICamera> camera; local 178 return new CameraSource(camera, NULL, 0, clientName, Camera::USE_CALLING_UID, 184 const sp<hardware::ICamera>& camera, 195 CameraSource *source = new CameraSource(camera, proxy, cameraId, 202 const sp<hardware::ICamera>& camera, 230 mInitCheck = init(camera, proxy, cameraId, 242 const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, 245 if (camera 183 CreateFromCamera( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument 201 CameraSource( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers) argument 241 isCameraAvailable( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid) argument 524 init( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument 619 initWithCameraAccess( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t frameRate, bool storeMetaDataInVideoBuffers) argument 845 sp<Camera> camera; local [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.h | 29 #include <camera/ICameraServiceProxy.h> 30 #include <hardware/camera.h> 32 #include <android/hardware/camera/common/1.0/types.h> 34 #include <camera/VendorTagDescriptor.h> 35 #include <camera/CaptureResult.h> 36 #include <camera/CameraParameters.h> 90 static char const* getServiceName() { return "media.camera"; } 99 hardware::camera::common::V1_0::CameraDeviceStatus newHalStatus) override; 101 hardware::camera::common::V1_0::TorchModeStatus newStatus) override; 181 * Update the state of a given camera devic [all...] |
/frameworks/av/camera/ |
H A D | Camera.cpp | 45 // construct a camera client from an existing camera remote 46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) argument 49 if (camera == 0) { 50 ALOGE("camera remote is a NULL pointer"); 55 if (camera->connect(c) == NO_ERROR) { 57 c->mCamera = camera; 58 IInterface::asBinder(camera)->linkToDeath(c); 83 sp<Camera>& camera) 85 ALOGV("%s: connect legacy camera devic 80 connectLegacy(int cameraId, int halVersion, const String16& clientPackageName, int clientUid, sp<Camera>& camera) argument 496 RecordingProxy(const sp<Camera>& camera) argument [all...] |
H A D | ICameraRecordingProxy.cpp | 19 #include <camera/CameraUtils.h> 20 #include <camera/ICameraRecordingProxy.h> 21 #include <camera/ICameraRecordingProxyListener.h> 82 // Close the native handle because camera received a dup copy. 98 // Close the native handle because camera received a dup copy.
|
H A D | CameraUtils.cpp | 20 #include <camera/CameraUtils.h> 77 // Front camera needs to be horizontally flipped for mirror-like behavior. 110 * By doing this, the camera buffer always ends up aligned 111 * with the physical camera for a "see through" effect.
|
H A D | ICameraServiceProxy.cpp | 23 #include <camera/ICameraServiceProxy.h>
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 31 #include <android/hardware/camera/device/3.2/ICameraDevice.h> 32 #include <android/hardware/camera/device/3.2/ICameraDeviceSession.h> 33 #include <android/hardware/camera/device/3.2/ICameraDeviceCallback.h> 37 #include <camera/CaptureResult.h> 76 virtual public hardware::camera::device::V3_2::ICameraDeviceCallback, 139 static_cast<int>(hardware::camera::device::V3_2::StreamConfigurationMode::NORMAL_MODE)) 236 HalInterface(sp<hardware::camera::device::V3_2::ICameraDeviceSession> &session, 270 sp<hardware::camera::device::V3_2::ICameraDeviceSession> mHidlSession; 278 /*out*/hardware::camera::device::V3_2::CaptureRequest* out, 394 // (video/hardware composer) to that of camera [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | CameraTest.java | 38 * Junit / Instrumentation test case for the camera api 88 // Set up a looper to be used by camera. 113 // callback still uses the camera object (setHasPreviewCallback). 114 // After camera is released, RuntimeException will be thrown from 122 public void onPreviewFrame(byte [] rawData, Camera camera) { argument 148 public void onPictureTaken(byte [] rawData, Camera camera) { argument 157 public void onPictureTaken(byte [] rawData, Camera camera) { argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestHelper.java | 42 private static final String CAMERA_STRESS_IMAGES_PREFIX = "camera-stress-test"; 46 public void onError(int error, android.hardware.Camera camera) { argument 60 public void onPictureTaken(byte[] data, Camera camera) { 67 public void onPictureTaken(byte[] data, Camera camera) { 107 * Helper method for getting the available parameters of the default camera 143 * Helper method for setting the camera parameters 149 Log.e(TAG, "Error setting camera parameters"); 154 * Helper method for starting up the camera preview
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooActivity.java | 56 * A basic demonstration of how to write a point-and-shoot camera app against the new 71 /** View for displaying the camera preview. */ 75 /** Handle to the Android camera services. */ 77 /** The specific camera device that we're using. */ 83 * Given {@code choices} of {@code Size}s supported by a camera, chooses the smallest one whose 85 * @param choices The list of sizes that the camera supports for the intended output class 121 * Called when our {@code Activity} gains focus. <p>Starts initializing the camera.</p> 127 // Start a background thread to manage camera requests 210 /** The camera device to use, or null if we haven't yet set a fixed surface size. */ 235 // Find the device's back-facing camera an [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | CameraSourceTimeLapse.h | 39 const sp<hardware::ICamera> &camera, 81 // Condition variable to wait on if camera is is not yet idle. Once the 82 // camera gets idle, this variable will be signalled. 85 // True if camera is in preview mode and ready for takePicture(). 90 // True if stop() is waiting for camera to get idle, i.e. for the last 116 const sp<hardware::ICamera> &camera, 140 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 148 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 157 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 176 // the function sets the camera' [all...] |
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | CameraSourceTimeLapse.h | 39 const sp<hardware::ICamera> &camera, 81 // Condition variable to wait on if camera is is not yet idle. Once the 82 // camera gets idle, this variable will be signalled. 85 // True if camera is in preview mode and ready for takePicture(). 90 // True if stop() is waiting for camera to get idle, i.e. for the last 116 const sp<hardware::ICamera> &camera, 140 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 148 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 157 // In the video camera case calls skipFrameAndModifyTimeStamp() to modify 176 // the function sets the camera' [all...] |
/frameworks/av/services/mediaanalytics/ |
H A D | Android.mk | 39 $(TOP)/frameworks/av/include/camera \
|