HomeSort by relevance Sort by last modified time
    Searched refs:CaptureResult (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CaptureResultTest.java 25 import android.hardware.camera2.CaptureResult;
56 // List that includes all public keys from CaptureResult
57 List<CaptureResult.Key<?>> mAllKeys;
120 List<CaptureResult.Key<?>> waiverkeys = getWaiverKeysForCamera();
189 Pair<TotalCaptureResult, List<CaptureResult>> resultPair =
192 List<CaptureResult> partialResults = resultPair.second;
203 Set<CaptureResult.Key<?>> appearedPartialKeys =
204 new HashSet<CaptureResult.Key<?>>();
205 for (CaptureResult partialResult : partialResults) {
206 List<CaptureResult.Key<?>> partialKeys = partialResult.getKeys()
    [all...]
CaptureRequestTest.java 29 import android.hardware.camera2.CaptureResult;
309 * and {@link CaptureResult#FLASH_STATE} result.
592 verifyCaptureResultForKey(CaptureResult.NOISE_REDUCTION_MODE, mode,
647 waitForResultValue(resultListener, CaptureResult.LENS_STATE,
648 CaptureResult.LENS_STATE_STATIONARY, NUM_RESULTS_WAIT_TIMEOUT);
650 CaptureResult result = resultListener.getCaptureResult(WAIT_FOR_RESULT_TIMEOUT_MS);
651 Float focusDistance = getValueNotNull(result, CaptureResult.LENS_FOCUS_DISTANCE);
681 CaptureResult result =
684 waitForResultValue(resultListener, CaptureResult.LENS_STATE,
685 CaptureResult.LENS_STATE_STATIONARY, NUM_RESULTS_WAIT_TIMEOUT)
    [all...]
PerformanceTest.java 26 import android.hardware.camera2.CaptureResult;
232 Pair<CaptureResult, Long> partialResultNTime = null;
242 Pair<CaptureResult, Long> captureResultNTime =
406 private final LinkedBlockingQueue<Pair<CaptureResult, Long> > mPartialResultQueue =
407 new LinkedBlockingQueue<Pair<CaptureResult, Long> >();
408 private final LinkedBlockingQueue<Pair<CaptureResult, Long> > mResultQueue =
409 new LinkedBlockingQueue<Pair<CaptureResult, Long> > ();
416 mResultQueue.put(new Pair<CaptureResult, Long>(result, time));
425 CaptureResult partialResult) {
429 if (partialResult.get(CaptureResult.CONTROL_AE_STATE) != null &
    [all...]
DngCreatorTest.java 25 import android.hardware.camera2.CaptureResult;
113 Pair<Image, CaptureResult> resultPair = captureSingleRawShot(activeArraySize,
214 Pair<List<Image>, CaptureResult> resultPair = captureSingleRawShot(activeArraySize,
260 private Pair<Image, CaptureResult> captureSingleRawShot(Size s, ImageReader captureReader,
267 Pair<List<Image>, CaptureResult> res = captureSingleRawShot(s, readers, listeners);
268 return new Pair<Image, CaptureResult>(res.first.get(0), res.second);
278 * @return a pair containing the {@link Image} and {@link CaptureResult} used for this capture.
280 private Pair<List<Image>, CaptureResult> captureSingleRawShot(Size s, List<ImageReader> captureReaders,
318 CaptureResult result = resultListener.getCaptureResult(CAPTURE_WAIT_TIMEOUT_MS);
331 return new Pair<List<Image>, CaptureResult>(resultImages, result)
    [all...]
StillCaptureTest.java 29 import android.hardware.camera2.CaptureResult;
461 CaptureResult result;
524 waitForResultValue(resultListener, CaptureResult.CONTROL_AWB_STATE,
525 CaptureResult.CONTROL_AWB_STATE_CONVERGED, NUM_RESULTS_WAIT_TIMEOUT);
536 result.get(CaptureResult.CONTROL_AWB_MODE));
539 getValueNotNull(result, CaptureResult.CONTROL_AWB_REGIONS);
564 result.get(CaptureResult.CONTROL_AE_MODE));
567 getValueNotNull(result, CaptureResult.CONTROL_AE_REGIONS);
586 result.get(CaptureResult.CONTROL_AF_MODE));
589 getValueNotNull(result, CaptureResult.CONTROL_AF_REGIONS)
    [all...]
  /frameworks/av/include/camera/
CaptureResult.h 82 struct CaptureResult : public virtual LightRefBase<CaptureResult> {
86 CaptureResult();
88 CaptureResult(const CaptureResult& otherResult);
  /frameworks/base/core/java/android/hardware/camera2/
TotalCaptureResult.java 40 * 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() {
CameraCaptureSession.java 67 * <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
    [all...]
  /frameworks/av/camera/
CaptureResult.cpp 17 #define LOG_TAG "Camera-CaptureResult"
20 #include <camera/CaptureResult.h>
61 CaptureResult::CaptureResult() :
65 CaptureResult::CaptureResult(const CaptureResult &otherResult) {
70 status_t CaptureResult::readFromParcel(Parcel *parcel) {
101 status_t CaptureResult::writeToParcel(Parcel *parcel) const {
  /system/media/camera/docs/
CaptureResultTest.mako 23 private static List<CaptureResult.Key<?>> getAllCaptureResultKeys() {
24 ArrayList<CaptureResult.Key<?>> resultKeys = new ArrayList<CaptureResult.Key<?>>();
28 resultKeys.add(CaptureResult.${jkey_identifier(entry.name)});
  /packages/apps/Camera2/src/com/android/camera/one/v2/
AutoFocusHelper.java 22 import android.hardware.camera2.CaptureResult;
56 case CaptureResult.CONTROL_AF_STATE_ACTIVE_SCAN:
58 case CaptureResult.CONTROL_AF_STATE_PASSIVE_SCAN:
60 case CaptureResult.CONTROL_AF_STATE_PASSIVE_FOCUSED:
62 case CaptureResult.CONTROL_AF_STATE_FOCUSED_LOCKED:
64 case CaptureResult.CONTROL_AF_STATE_PASSIVE_UNFOCUSED:
66 case CaptureResult.CONTROL_AF_STATE_NOT_FOCUSED_LOCKED:
77 public static boolean checkControlAfState(CaptureResult result) {
78 boolean missing = result.get(CaptureResult.CONTROL_AF_STATE) == null;
80 // throw new IllegalStateException("CaptureResult missing CONTROL_AF_STATE.")
    [all...]
OneCameraZslImpl.java 29 import android.hardware.camera2.CaptureResult;
30 import android.hardware.camera2.CaptureResult.Key;
162 * Maintains a buffer of images and their associated {@link CaptureResult}s.
234 captureResult) {
235 long timestamp = captureResult.get(CaptureResult.SENSOR_TIMESTAMP);
256 Log.v(TAG, "Image saved. Frame number = " + captureResult.getFrameNumber());
302 mCaptureManager.addMetadataChangeListener(CaptureResult.CONTROL_AF_STATE,
306 CaptureResult result) {
309 result.get(CaptureResult.CONTROL_AF_STATE))
    [all...]
  /frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
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.CONTROL_AF_STATE
    [all...]
  /frameworks/av/services/camera/libcameraservice/common/
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,
  /pdk/apps/CameraITS/service/src/com/android/camera2/its/
ItsService.java 30 import android.hardware.camera2.CaptureResult;
152 private CaptureResult mCaptureResults[] = null;
346 } else if (obj instanceof CaptureResult) {
347 jsonObj.put("captureResult", ItsSerializer.serialize(
348 (CaptureResult)obj));
644 CaptureResult result,
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
Camera2Focuser.java 27 import android.hardware.camera2.CaptureResult;
134 public synchronized void onAutoFocusSuccess(CaptureResult result, boolean locked) {
144 public synchronized void onAutoFocusFail(CaptureResult result, boolean locked) {
154 public synchronized void onAutoFocusScan(CaptureResult result) {
160 public synchronized void onAutoFocusInactive(CaptureResult result) {
349 CaptureResult result) {
352 if (result.get(CaptureResult.CONTROL_AF_STATE) != null &&
353 result.get(CaptureResult.CONTROL_AF_MODE) != null) {
368 private void dispatchToFocuser(CaptureResult result) {
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraMetadataNative.java 24 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.STATISTICS_FACES.getNativeKey(), new GetCommand()
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyMetadataMapper.java 29 import android.hardware.camera2.CaptureResult;
    [all...]
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.
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.LENS_FOCAL_LENGTH, params.getFocalLength())
    [all...]
  /frameworks/av/services/camera/libcameraservice/api1/client2/
FrameProcessor.h 54 virtual bool processSingleFrame(CaptureResult &frame,
61 status_t process3aState(const CaptureResult &frame,
ZslProcessor.h 27 #include <camera/CaptureResult.h>
58 virtual void onResultAvailable(const CaptureResult &result);
  /frameworks/av/include/camera/camera2/
ICameraDeviceCallbacks.h 27 #include <camera/CaptureResult.h>
  /frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
Camera2CaptureCallbackForwarder.java 23 import android.hardware.camera2.CaptureResult;
63 final CaptureResult partialResult) {
Camera2CaptureCallbackSplitter.java 23 import android.hardware.camera2.CaptureResult;
67 CaptureResult partialResult) {
  /packages/apps/Camera2/src/com/android/camera/util/
CaptureDataSerializer.java 21 import android.hardware.camera2.CaptureResult;
72 } else if (metadata instanceof CaptureResult) {
73 dumpMetadata(title, (CaptureResult) metadata, writer);
112 private static void dumpMetadata(final String title, final CaptureResult metadata,
117 List<CaptureResult.Key<?>> keys = metadata.getKeys();
121 for (CaptureResult.Key<?> key : keys) {

Completed in 1365 milliseconds

1 2 3 4