Searched refs:CaptureResult (Results 1 - 25 of 46) sorted by relevance

12

/frameworks/av/include/camera/
H A DCaptureResult.h82 struct CaptureResult : public virtual LightRefBase<CaptureResult> { struct in namespace:android
86 CaptureResult();
88 CaptureResult(const CaptureResult& otherResult);
/frameworks/base/core/java/android/hardware/camera2/
H A DTotalCaptureResult.java40 * are available (that is {@link CaptureResult#get} will return non-{@code null}, if and only if
42 * {@link CaptureResult#STATISTICS_FACES} are disabled by default unless enabled with a switch (such
50 public final class TotalCaptureResult extends CaptureResult {
52 private final List<CaptureResult> mPartialResults;
61 CaptureResultExtras extras, List<CaptureResult> partials) {
95 public List<CaptureResult> getPartialResults() {
H A DCameraCaptureSession.java67 * <p>Each request will produce one {@link CaptureResult} and produce new frames for one or more
115 * <p>The requests will be captured in order, each capture producing one {@link CaptureResult}
482 * {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field},
488 * {@link CaptureResult#getFrameNumber}.</p>
534 * includes a subset of the CaptureResult fields.
544 CaptureRequest request, CaptureResult result) {
585 CaptureRequest request, CaptureResult partialResult) {
620 * camera device failed to produce a {@link CaptureResult} for the
649 * when a capture sequence finishes and all {@link CaptureResult}
663 * The last frame number (returned by {@link CaptureResult#getFrameNumbe
[all...]
H A DCameraMetadata.java57 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and
73 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and
134 // TotalCaptureResult does not have any of the keys on it, use CaptureResult instead
136 type = CaptureResult.class;
190 } else if (key instanceof CaptureResult.Key) {
191 nativeKey = ((CaptureResult.Key)key).getNativeKey();
458 * in the CaptureResult, including when 3A is enabled:</p>
564 * <p>Timestamps from {@link CaptureResult#SENSOR_TIMESTAMP android.sensor.timestamp} are in nanoseconds and monotonic,
571 * @see CaptureResult#SENSOR_TIMESTAMP
577 * <p>Timestamps from {@link CaptureResult#SENSOR_TIMESTAM
[all...]
/frameworks/av/camera/
H A DCaptureResult.cpp17 #define LOG_TAG "Camera-CaptureResult"
20 #include <camera/CaptureResult.h>
61 CaptureResult::CaptureResult() : function in class:android::CaptureResult
65 CaptureResult::CaptureResult(const CaptureResult &otherResult) { function in class:android::CaptureResult
70 status_t CaptureResult::readFromParcel(Parcel *parcel) {
101 status_t CaptureResult::writeToParcel(Parcel *parcel) const {
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
H A DAutoFocusStateMachine.java19 import android.hardware.camera2.CaptureResult.Key;
21 import android.hardware.camera2.CaptureResult;
44 void onAutoFocusSuccess(CaptureResult result, boolean locked);
51 void onAutoFocusFail(CaptureResult result, boolean locked);
59 void onAutoFocusScan(CaptureResult result);
67 void onAutoFocusInactive(CaptureResult result);
93 * Invoke every time we get a new CaptureResult via
100 * @param result CaptureResult
102 public synchronized void onCaptureCompleted(CaptureResult result) {
113 Key<Integer> keyAfState = CaptureResult
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.h26 #include <camera/CaptureResult.h>
43 virtual void onResultAvailable(const CaptureResult &result) = 0;
79 virtual bool processSingleFrame(CaptureResult &result,
82 status_t processListeners(const CaptureResult &result,
H A DFrameProcessorBase.cpp124 CaptureResult result;
160 bool FrameProcessorBase::processSingleFrame(CaptureResult &result,
167 status_t FrameProcessorBase::processListeners(const CaptureResult &result,
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraMetadataNative.java24 import android.hardware.camera2.CaptureResult;
87 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key
105 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key
168 if (o instanceof CaptureResult.Key) {
169 lhs = ((CaptureResult.Key)o).getNativeKey();
328 public <T> T get(CaptureResult.Key<T> key) {
374 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and
395 public <T> void set(CaptureResult.Key<T> key, T value) {
443 private <T> T getBase(CaptureResult.Key<T> key) {
477 CaptureResult
[all...]
H A DCallbackProxies.java22 import android.hardware.camera2.CaptureResult;
107 CaptureRequest request, CaptureResult result) {
113 CaptureRequest request, CaptureResult partialResult) {
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyMetadataMapper.java29 import android.hardware.camera2.CaptureResult;
805 CaptureResult.Key<?> defaultAvailableKeys[] = new CaptureResult.Key<?>[] {
806 CaptureResult.COLOR_CORRECTION_ABERRATION_MODE ,
807 CaptureResult.CONTROL_AE_ANTIBANDING_MODE ,
808 CaptureResult.CONTROL_AE_EXPOSURE_COMPENSATION ,
809 CaptureResult.CONTROL_AE_LOCK ,
810 CaptureResult.CONTROL_AE_MODE ,
811 CaptureResult.CONTROL_AF_MODE ,
812 CaptureResult
[all...]
H A DLegacyResultMapper.java24 import android.hardware.camera2.CaptureResult;
37 import static android.hardware.camera2.CaptureResult.*;
40 * Provide legacy-specific implementations of camera2 CaptureResult for legacy devices.
169 if (controlMode == CaptureResult.CONTROL_MODE_USE_SCENE_MODE) {
183 result.set(CaptureResult.CONTROL_SCENE_MODE, mode);
189 result.set(CaptureResult.CONTROL_SCENE_MODE, CONTROL_SCENE_MODE_DISABLED);
200 result.set(CaptureResult.CONTROL_EFFECT_MODE, mode);
204 result.set(CaptureResult.CONTROL_EFFECT_MODE, CONTROL_EFFECT_MODE_OFF);
230 result.set(CaptureResult.LENS_FOCUS_DISTANCE, 0.0f);
235 result.set(CaptureResult
[all...]
H A DLegacyFaceDetectMapper.java26 import android.hardware.camera2.CaptureResult;
256 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0]));
257 result.set(CaptureResult.STATISTICS_FACE_DETECT_MODE, fdMode);
261 result.set(CaptureResult.CONTROL_SCENE_MODE, CONTROL_SCENE_MODE_FACE_PRIORITY);
H A DLegacyFocusStateMapper.java23 import android.hardware.camera2.CaptureResult;
296 result.set(CaptureResult.CONTROL_AF_STATE, newAfState);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DFrameProcessor.h54 virtual bool processSingleFrame(CaptureResult &frame,
61 status_t process3aState(const CaptureResult &frame,
H A DZslProcessor.h27 #include <camera/CaptureResult.h>
58 virtual void onResultAvailable(const CaptureResult &result);
H A DZslProcessor3.h54 virtual void onResultAvailable(const CaptureResult &result);
/frameworks/av/include/camera/camera2/
H A DICameraDeviceCallbacks.h27 #include <camera/CaptureResult.h>
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2CaptureCallbackForwarder.java23 import android.hardware.camera2.CaptureResult;
63 final CaptureResult partialResult) {
H A DCamera2CaptureCallbackSplitter.java23 import android.hardware.camera2.CaptureResult;
67 CaptureResult partialResult) {
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2AgentImpl.java33 import android.hardware.camera2.CaptureResult;
215 private int mCurrentAeState = CaptureResult.CONTROL_AE_STATE_INACTIVE;
409 CaptureResult result) {
420 private void checkAfState(CaptureResult result) {
421 if (result.get(CaptureResult.CONTROL_AF_STATE) != null &&
552 (mCurrentAeState == CaptureResult.CONTROL_AE_STATE_CONVERGED &&
588 CaptureResult result) {
599 private void checkAeState(CaptureResult result) {
600 if (result.get(CaptureResult.CONTROL_AE_STATE) != null &&
769 mCurrentAeState = CaptureResult
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraMetadataTest.java33 import android.hardware.camera2.CaptureResult;
1028 mMetadata.set(CaptureResult.STATISTICS_FACE_DETECT_MODE,
1029 CaptureResult.STATISTICS_FACE_DETECT_MODE_FULL);
1030 mMetadata.set(CaptureResult.STATISTICS_FACE_IDS, expectedFaceIds);
1031 mMetadata.set(CaptureResult.STATISTICS_FACE_SCORES, expectedFaceScores);
1032 mMetadata.set(CaptureResult.STATISTICS_FACE_RECTANGLES, expectedRects);
1033 mMetadata.set(CaptureResult.STATISTICS_FACE_LANDMARKS, expectedFaceLM);
1034 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES);
1048 mMetadata.set(CaptureResult.STATISTICS_FACE_DETECT_MODE,
1049 CaptureResult
[all...]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCaptureCallback.java21 import android.hardware.camera2.CaptureResult;
133 CaptureResult partialResult) {
/frameworks/av/services/camera/libcameraservice/api_pro/
H A DProCamera2Client.h24 #include "camera/CaptureResult.h"
101 virtual void onResultAvailable(const CaptureResult& result);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DFace.java24 import android.hardware.camera2.CaptureResult;
64 * They are only required when the {@link CaptureResult} reports that the value of key
65 * {@link CaptureResult#STATISTICS_FACE_DETECT_MODE} is
117 * report the value of key {@link CaptureResult#STATISTICS_FACE_DETECT_MODE} as
118 * {@link CameraMetadata#STATISTICS_FACE_DETECT_MODE_SIMPLE} in {@link CaptureResult},
182 * report the value of key {@link CaptureResult#STATISTICS_FACE_DETECT_MODE} as
183 * {@link CameraMetadata#STATISTICS_FACE_DETECT_MODE_SIMPLE} in {@link CaptureResult},

Completed in 449 milliseconds

12