/frameworks/base/core/java/android/hardware/camera2/ |
H A D | TotalCaptureResult.java | 41 * are available (that is {@link CaptureResult#get} will return non-{@code null}, if and only if 43 * {@link CaptureResult#STATISTICS_FACES} are disabled by default unless enabled with a switch (such 51 public final class TotalCaptureResult extends CaptureResult { 53 private final List<CaptureResult> mPartialResults; 63 CaptureResultExtras extras, List<CaptureResult> partials, int sessionId) { 101 public List<CaptureResult> getPartialResults() {
|
H A D | CameraMetadata.java | 59 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and 75 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and 144 // TotalCaptureResult does not have any of the keys on it, use CaptureResult instead 146 type = CaptureResult.class; 197 } else if (k instanceof CaptureResult.Key<?>) { 198 keyName = ((CaptureResult.Key<?>) k).getName(); 199 vendorId = ((CaptureResult.Key<?>) k).getVendorId(); 230 } else if (key instanceof CaptureResult.Key) { 231 nativeKey = ((CaptureResult.Key)key).getNativeKey(); 548 * in the CaptureResult, includin [all...] |
H A D | CameraCaptureSession.java | 291 * <p>Each request will produce one {@link CaptureResult} and produce new frames for one or more 365 * specified. Each capture produces one {@link CaptureResult} and image buffers for one or more 847 * which matches {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field} 851 * included in {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field}, 857 * {@link CaptureResult#getFrameNumber}.</p> 895 * includes a subset of the CaptureResult fields. 905 CaptureRequest request, CaptureResult result) { 949 @NonNull CaptureRequest request, @NonNull CaptureResult partialResult) { 984 * camera device failed to produce a {@link CaptureResult} for the 1013 * when a capture sequence finishes and all {@link CaptureResult} [all...] |
/frameworks/av/camera/include/camera/ |
H A D | CaptureResult.h | 100 struct CaptureResult : public virtual LightRefBase<CaptureResult> { struct in namespace:android 104 CaptureResult(); 106 CaptureResult(const CaptureResult& otherResult);
|
/frameworks/av/include/camera/ |
H A D | CaptureResult.h | 100 struct CaptureResult : public virtual LightRefBase<CaptureResult> { struct in namespace:android 104 CaptureResult(); 106 CaptureResult(const CaptureResult& otherResult);
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
H A D | AutoFocusStateMachine.java | 19 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/camera/ |
H A D | CaptureResult.cpp | 17 #define LOG_TAG "Camera-CaptureResult" 20 #include <camera/CaptureResult.h> 63 CaptureResult::CaptureResult() : function in class:android::CaptureResult 67 CaptureResult::CaptureResult(const CaptureResult &otherResult) { function in class:android::CaptureResult 72 status_t CaptureResult::readFromParcel(android::Parcel *parcel) { 103 status_t CaptureResult::writeToParcel(android::Parcel *parcel) const {
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | FrameProcessorBase.h | 26 #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,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2CaptureRequestTest.java | 25 import android.hardware.camera2.CaptureResult; 198 CaptureResult[] resultsDuringLock = new CaptureResult[numCapturesDuringLock]; 237 resultsDuringLock[i], CaptureResult.CONTROL_AE_LOCK, true); 244 getValueNotNull(resultsDuringLock[0], CaptureResult.SENSOR_SENSITIVITY); 246 getValueNotNull(resultsDuringLock[0], CaptureResult.SENSOR_EXPOSURE_TIME); 249 resultsDuringLock[i], CaptureResult.SENSOR_EXPOSURE_TIME, expTimeLocked); 251 resultsDuringLock[i], CaptureResult.SENSOR_SENSITIVITY, sensitivityLocked); 287 CaptureResult result = listener.getCaptureResult(timeout); 288 long resultExpTime = getValueNotNull(result, CaptureResult [all...] |
H A D | Camera2StillCaptureTest.java | 31 import android.hardware.camera2.CaptureResult; 206 CaptureResult result; 269 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE, 270 CaptureResult.CONTROL_AWB_STATE_CONVERGED, NUM_RESULTS_WAIT_TIMEOUT); 284 result.get(CaptureResult.CONTROL_AWB_MODE)); 287 getValueNotNull(result, CaptureResult.CONTROL_AWB_REGIONS); 314 waitForResultValue(resultListener, CaptureResult.CONTROL_AE_PRECAPTURE_TRIGGER, 315 CaptureResult.CONTROL_AE_PRECAPTURE_TRIGGER_CANCEL, 328 result.get(CaptureResult.CONTROL_AE_MODE)); 331 getValueNotNull(result, CaptureResult [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | Camera2Focuser.java | 28 import android.hardware.camera2.CaptureResult; 137 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) { 147 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) { 157 public synchronized void onAutoFocusScan(CaptureResult result) { 163 public synchronized void onAutoFocusInactive(CaptureResult result) { 352 CaptureResult result) { 355 if (result.get(CaptureResult.CONTROL_AF_STATE) != null && 356 result.get(CaptureResult.CONTROL_AF_MODE) != null) { 371 private void dispatchToFocuser(CaptureResult result) {
|
H A D | CameraTestUtils.java | 42 import android.hardware.camera2.CaptureResult; 433 public CaptureResult getCaptureResult(long timeout) { 447 currentTs = result.get(CaptureResult.SENSOR_TIMESTAMP); 469 * Get the {@link #CaptureResult capture result} for a given 473 * corresponding {@link #CaptureResult capture result} was 482 public CaptureResult getCaptureResultForRequest(CaptureRequest myRequest, 1482 public static <T> T getValueNotNull(CaptureResult result, CaptureResult.Key<T> key) { 1778 public static void verifyJpegKeys(Image image, CaptureResult captureResult, Size expectedSize, 1799 Size resultThumbnailSize = captureResult.get(CaptureResult [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraMetadataNative.java | 24 import android.hardware.camera2.CaptureResult; 107 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key 125 * <p>Use the CameraCharacteristics.Key, CaptureResult.Key, or CaptureRequest.Key 188 if (o instanceof CaptureResult.Key) { 189 lhs = ((CaptureResult.Key)o).getNativeKey(); 358 public <T> T get(CaptureResult.Key<T> key) { 415 * found in {@link CameraCharacteristics}, {@link CaptureResult}, and 436 public <T> void set(CaptureResult.Key<T> key, T value) { 484 private <T> T getBase(CaptureResult.Key<T> key) { 519 CaptureResult [all...] |
H A D | CallbackProxies.java | 22 import android.hardware.camera2.CaptureResult; 108 CaptureRequest request, CaptureResult result) { 114 CaptureRequest request, CaptureResult partialResult) {
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | LegacyMetadataMapper.java | 29 import android.hardware.camera2.CaptureResult; 856 CaptureResult.Key<?> defaultAvailableKeys[] = new CaptureResult.Key<?>[] { 857 CaptureResult.COLOR_CORRECTION_ABERRATION_MODE , 858 CaptureResult.CONTROL_AE_ANTIBANDING_MODE , 859 CaptureResult.CONTROL_AE_EXPOSURE_COMPENSATION , 860 CaptureResult.CONTROL_AE_LOCK , 861 CaptureResult.CONTROL_AE_MODE , 862 CaptureResult.CONTROL_AF_MODE , 863 CaptureResult [all...] |
H A D | LegacyResultMapper.java | 24 import android.hardware.camera2.CaptureResult; 37 import static android.hardware.camera2.CaptureResult.*; 40 * Provide legacy-specific implementations of camera2 CaptureResult for legacy devices. 171 if (controlMode == CaptureResult.CONTROL_MODE_USE_SCENE_MODE) { 185 result.set(CaptureResult.CONTROL_SCENE_MODE, mode); 191 result.set(CaptureResult.CONTROL_SCENE_MODE, CONTROL_SCENE_MODE_DISABLED); 202 result.set(CaptureResult.CONTROL_EFFECT_MODE, mode); 206 result.set(CaptureResult.CONTROL_EFFECT_MODE, CONTROL_EFFECT_MODE_OFF); 232 result.set(CaptureResult.LENS_FOCUS_DISTANCE, 0.0f); 237 result.set(CaptureResult [all...] |
H A D | LegacyFaceDetectMapper.java | 26 import android.hardware.camera2.CaptureResult; 255 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0])); 256 result.set(CaptureResult.STATISTICS_FACE_DETECT_MODE, fdMode); 260 result.set(CaptureResult.CONTROL_SCENE_MODE, CONTROL_SCENE_MODE_FACE_PRIORITY);
|
H A D | LegacyFocusStateMapper.java | 23 import android.hardware.camera2.CaptureResult; 296 result.set(CaptureResult.CONTROL_AF_STATE, newAfState);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | FrameProcessor.h | 56 virtual bool processSingleFrame(CaptureResult &frame, 63 status_t process3aState(const CaptureResult &frame,
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
H A D | Camera2CaptureCallbackForwarder.java | 23 import android.hardware.camera2.CaptureResult; 63 final CaptureResult partialResult) {
|
H A D | Camera2CaptureCallbackSplitter.java | 23 import android.hardware.camera2.CaptureResult; 67 CaptureResult partialResult) {
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2AgentImpl.java | 33 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 D | CameraMetadataTest.java | 33 import android.hardware.camera2.CaptureResult; 1032 mMetadata.set(CaptureResult.STATISTICS_FACE_DETECT_MODE, 1033 CaptureResult.STATISTICS_FACE_DETECT_MODE_FULL); 1034 mMetadata.set(CaptureResult.STATISTICS_FACE_IDS, expectedFaceIds); 1035 mMetadata.set(CaptureResult.STATISTICS_FACE_SCORES, expectedFaceScores); 1036 mMetadata.set(CaptureResult.STATISTICS_FACE_RECTANGLES, expectedRects); 1037 mMetadata.set(CaptureResult.STATISTICS_FACE_LANDMARKS, expectedFaceLM); 1038 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); 1052 mMetadata.set(CaptureResult.STATISTICS_FACE_DETECT_MODE, 1053 CaptureResult [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingCaptureCallback.java | 21 import android.hardware.camera2.CaptureResult; 133 CaptureResult partialResult) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | Camera2SurfaceViewTestCase.java | 39 import android.hardware.camera2.CaptureResult; 347 CaptureResult.Key<T> resultKey, 371 CaptureResult.Key<T> resultKey, 380 CaptureResult result; 479 protected static CaptureResult waitForNumResults(SimpleCaptureCallback resultListener, 486 CaptureResult result = null; 535 expectedAeStates.add(new Integer(CaptureResult.CONTROL_AE_STATE_CONVERGED)); 536 expectedAeStates.add(new Integer(CaptureResult.CONTROL_AE_STATE_FLASH_REQUIRED)); 537 waitForAnyResultValue(resultListener, CaptureResult.CONTROL_AE_STATE, expectedAeStates, 566 expectedAeStates.add(new Integer(CaptureResult [all...] |