Home
last modified time | relevance | path

Searched refs:Parameters (Results 1 – 25 of 126) sorted by relevance

123456

/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraCapabilities.java40 AndroidCameraCapabilities(Camera.Parameters p) { in AndroidCameraCapabilities()
89 private void buildPreviewFpsRange(Camera.Parameters p) { in buildPreviewFpsRange()
97 private void buildPreviewSizes(Camera.Parameters p) { in buildPreviewSizes()
107 private void buildVideoSizes(Camera.Parameters p) { in buildVideoSizes()
117 private void buildPictureSizes(Camera.Parameters p) { in buildPictureSizes()
128 private void buildSceneModes(Camera.Parameters p) { in buildSceneModes()
132 if (Camera.Parameters.SCENE_MODE_AUTO.equals(scene)) { in buildSceneModes()
134 } else if (Camera.Parameters.SCENE_MODE_ACTION.equals(scene)) { in buildSceneModes()
136 } else if (Camera.Parameters.SCENE_MODE_BARCODE.equals(scene)) { in buildSceneModes()
138 } else if (Camera.Parameters.SCENE_MODE_BEACH.equals(scene)) { in buildSceneModes()
[all …]
DAndroidCameraSettings.java31 public AndroidCameraSettings(CameraCapabilities capabilities, Camera.Parameters params) { in AndroidCameraSettings()
47 setPreviewFpsRange(previewFpsRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in AndroidCameraSettings()
48 previewFpsRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in AndroidCameraSettings()
DAndroidCameraAgentImpl.java27 import android.hardware.Camera.Parameters;
229 private Parameters mParameters;
245 public synchronized Parameters getBlocking() { in getBlocking()
527 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
536 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
564 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
573 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
581 Parameters[] parametersHolder = (Parameters[]) msg.obj; in handleMessage()
582 Parameters parameters = mParameterCache.getBlocking(); in handleMessage()
655 final Parameters parameters) { in applySettingsToParameters()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp65 l.mParameters.state = Parameters::DISCONNECTED; in Camera2Client()
158 const Parameters& p = mParameters.unsafeAccess(); in dumpClient()
160 result.append(Parameters::getStateName(p.state)); in dumpClient()
250 CASE_APPEND_ENUM(Parameters::FLASH_MODE_OFF) in dumpClient()
251 CASE_APPEND_ENUM(Parameters::FLASH_MODE_AUTO) in dumpClient()
252 CASE_APPEND_ENUM(Parameters::FLASH_MODE_ON) in dumpClient()
253 CASE_APPEND_ENUM(Parameters::FLASH_MODE_TORCH) in dumpClient()
254 CASE_APPEND_ENUM(Parameters::FLASH_MODE_RED_EYE) in dumpClient()
255 CASE_APPEND_ENUM(Parameters::FLASH_MODE_INVALID) in dumpClient()
261 CASE_APPEND_ENUM(Parameters::FOCUS_MODE_AUTO) in dumpClient()
[all …]
DCamera2Client.h137 status_t createJpegStreamL(camera2::Parameters &params);
160 typedef camera2::Parameters Parameters; typedef
164 status_t startPreviewL(Parameters &params, bool restart);
166 status_t startRecordingL(Parameters &params, bool restart);
176 status_t commandStopFaceDetectionL(Parameters &params);
187 void setPreviewCallbackFlagL(Parameters &params, int flag);
188 status_t updateRequests(Parameters &params);
191 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
193 status_t (ProcessorT::*updateStreamF)(const Parameters &)>
194 status_t updateProcessorStream(sp<ProcessorT> processor, Parameters params);
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java24 import android.hardware.Camera.Parameters;
119 public static CameraCharacteristics createCharacteristics(Camera.Parameters parameters, in createCharacteristics()
151 Camera.Parameters params = Camera.getEmptyParameters(); in createCharacteristics()
172 Camera.Parameters p) { in mapCharacteristicsFromParameters()
256 private static void mapScalerStreamConfigs(CameraMetadataNative m, Camera.Parameters p) { in mapScalerStreamConfigs()
383 private static void mapControlAe(CameraMetadataNative m, Camera.Parameters p) { in mapControlAe()
421 (int) Math.floor(r[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] / 1000.0), in mapControlAe()
422 (int) Math.ceil(r[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] / 1000.0)); in mapControlAe()
434 Camera.Parameters.FLASH_MODE_OFF, in mapControlAe()
435 Camera.Parameters.FLASH_MODE_AUTO, in mapControlAe()
[all …]
DLegacyRequestMapper.java21 import android.hardware.Camera.Parameters;
62 Camera.Parameters params = legacyRequest.parameters; in convertRequestMetadata()
111 Parameters.ANTIBANDING_AUTO, in convertRequestMetadata()
112 Parameters.ANTIBANDING_OFF, in convertRequestMetadata()
113 Parameters.ANTIBANDING_50HZ, in convertRequestMetadata()
114 Parameters.ANTIBANDING_60HZ, in convertRequestMetadata()
177 params.setPreviewFpsRange(rangeToApply[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in convertRequestMetadata()
178 rangeToApply[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in convertRequestMetadata()
304 Parameters.FOCUS_MODE_INFINITY); in convertRequestMetadata()
332 modeToSet = Parameters.SCENE_MODE_AUTO; in convertRequestMetadata()
[all …]
DLegacyFocusStateMapper.java20 import android.hardware.Camera.Parameters;
81 Camera.Parameters parameters) { in processRequestTriggers()
144 case Parameters.FOCUS_MODE_CONTINUOUS_PICTURE: in processRequestTriggers()
145 case Parameters.FOCUS_MODE_CONTINUOUS_VIDEO: in processRequestTriggers()
161 case Parameters.FOCUS_MODE_AUTO: in processRequestTriggers()
162 case Parameters.FOCUS_MODE_MACRO: in processRequestTriggers()
163 case Parameters.FOCUS_MODE_CONTINUOUS_PICTURE: in processRequestTriggers()
164 case Parameters.FOCUS_MODE_CONTINUOUS_VIDEO: in processRequestTriggers()
176 case Parameters.FOCUS_MODE_AUTO: in processRequestTriggers()
177 case Parameters.FOCUS_MODE_MACRO: in processRequestTriggers()
[all …]
DLegacyResultMapper.java21 import android.hardware.Camera.Parameters;
115 Camera.Parameters params = legacyRequest.parameters; in convertResultMetadata()
231 if (Parameters.FOCUS_MODE_INFINITY.equals(params.getFocusMode())) { in convertResultMetadata()
294 CaptureRequest request, Rect activeArray, ZoomData zoomData, /*out*/Parameters p) { in mapAe()
351 Rect activeArray, ZoomData zoomData, Camera.Parameters p) { in mapAf()
369 private static void mapAwb(CameraMetadataNative m, Camera.Parameters p) { in mapAwb()
408 CameraCharacteristics characteristics, Parameters p) { in mapAeAndFlashMode()
421 case Parameters.FLASH_MODE_OFF: in mapAeAndFlashMode()
423 case Parameters.FLASH_MODE_AUTO: in mapAeAndFlashMode()
426 case Parameters.FLASH_MODE_ON: in mapAeAndFlashMode()
[all …]
DLegacyRequest.java37 public final Camera.Parameters parameters;
48 Size previewSize, Camera.Parameters parameters) { in LegacyRequest()
62 public void setParameters(Camera.Parameters parameters) { in setParameters()
/frameworks/av/media/libstagefright/wifi-display/
DParameters.cpp24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { in Parse()
25 sp<Parameters> params = new Parameters; in Parse()
35 Parameters::Parameters() {} in Parameters() function in android::Parameters
37 Parameters::~Parameters() {} in ~Parameters()
39 status_t Parameters::parse(const char *data, size_t size) { in parse()
76 bool Parameters::findParameter(const char *name, AString *value) const { in findParameter()
DParameters.h24 struct Parameters : public RefBase { struct
25 static sp<Parameters> Parse(const char *data, size_t size);
30 virtual ~Parameters();
35 Parameters();
38 DISALLOW_EVIL_CONSTRUCTORS(Parameters);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DCameraSource.java90 private Camera.Parameters mCameraParameters;
233 … mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in fieldPortValueUpdated()
234 … closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in fieldPortValueUpdated()
239 synchronized public Camera.Parameters getCameraParameters() { in getCameraParameters()
261 mCameraParameters.setPreviewFpsRange(closestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in getCameraParameters()
262 closestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in getCameraParameters()
268 synchronized public void setCameraParameters(Camera.Parameters params) { in setCameraParameters()
276 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { in findClosestSize()
316 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange()
320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp40 Parameters::Parameters(int cameraId, in Parameters() function in android::camera2::Parameters
47 Parameters::~Parameters() { in ~Parameters()
50 status_t Parameters::initialize(const CameraMetadata *info, int deviceVersion) { in initialize()
57 Parameters::info = info; in initialize()
644 flashMode = Parameters::FLASH_MODE_OFF; in initialize()
679 focusMode = Parameters::FOCUS_MODE_FIXED; in initialize()
685 focusMode = Parameters::FOCUS_MODE_AUTO; in initialize()
742 Parameters::NUM_REGION, Parameters::NUM_REGION); in initialize()
743 if (max3aRegions.count != Parameters::NUM_REGION) return NO_INIT; in initialize()
746 if (focusMode != Parameters::FOCUS_MODE_FIXED) { in initialize()
[all …]
DStreamingProcessor.h34 struct Parameters;
51 status_t updatePreviewRequest(const Parameters &params);
52 status_t updatePreviewStream(const Parameters &params);
56 status_t updateRecordingRequest(const Parameters &params);
59 status_t recordingStreamNeedsUpdate(const Parameters &params, bool *needsUpdate);
60 status_t updateRecordingStream(const Parameters &params);
DParameters.h43 struct Parameters { struct
238 Parameters(int cameraId, int cameraFacing); argument
239 ~Parameters();
391 int64_t getJpegStreamMinFrameDurationNs(Parameters::Size size); argument
432 typedef BaseLock<SharedParameters, Parameters> Lock;
433 typedef BaseLock<const SharedParameters, const Parameters> ReadLock;
442 const Parameters &unsafeAccess() { in unsafeAccess()
446 Parameters mParameters;
DCaptureSequencer.cpp272 case Parameters::DISCONNECTED: in manageDone()
277 case Parameters::STILL_CAPTURE: in manageDone()
284 l.mParameters.state = Parameters::STOPPED; in manageDone()
286 case Parameters::VIDEO_SNAPSHOT: in manageDone()
287 l.mParameters.state = Parameters::RECORD; in manageDone()
293 Parameters::getStateName(l.mParameters.state)); in manageDone()
342 l.mParameters.state == Parameters::STILL_CAPTURE && in manageStart()
343 l.mParameters.flashMode != Parameters::FLASH_MODE_ON) { in manageStart()
430 if (l.mParameters.flashMode != Parameters::FLASH_MODE_ON && isAeConverged) { in manageStandardStart()
523 if (l.mParameters.state == Parameters::VIDEO_SNAPSHOT) { in manageStandardCapture()
[all …]
DCallbackProcessor.h36 struct Parameters;
51 status_t updateStream(const Parameters &params);
DJpegProcessor.h38 struct Parameters;
57 status_t updateStream(const Parameters &params);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java384 Camera.Parameters params = mCameraTestHelper.getCameraParameters(); in genericPairwiseTestCase()
396 params.setFlashMode(Camera.Parameters.FLASH_MODE_ON); in genericPairwiseTestCase()
399 params.setFlashMode(Camera.Parameters.FLASH_MODE_OFF); in genericPairwiseTestCase()
402 params.setFlashMode(Camera.Parameters.FLASH_MODE_AUTO); in genericPairwiseTestCase()
422 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_DAYLIGHT); in genericPairwiseTestCase()
425 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_FLUORESCENT); in genericPairwiseTestCase()
428 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_INCANDESCENT); in genericPairwiseTestCase()
431 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_CLOUDY_DAYLIGHT); in genericPairwiseTestCase()
434 params.setWhiteBalance(Camera.Parameters.WHITE_BALANCE_AUTO); in genericPairwiseTestCase()
441 params.setSceneMode(Camera.Parameters.SCENE_MODE_SUNSET); in genericPairwiseTestCase()
[all …]
DCameraFunctionalTest.java27 import android.hardware.Camera.Parameters;
122 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraExposureCompensation()
158 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraFlashModes()
189 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraFocusModes()
220 Parameters params = mCameraTestHelper.getCameraParameters(); in testFunctionalCameraWhiteBalance()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestHelper.java22 import android.hardware.Camera.Parameters;
109 public Parameters getCameraParameters() { in getCameraParameters()
111 Parameters params = mCamera.getParameters(); in getCameraParameters()
145 public void setParameters(Parameters params) { in setParameters()
/frameworks/rs/scriptc/
Drs_atomic.rsh44 * Parameters:
66 * Parameters:
91 * Parameters:
113 * Parameters:
133 * Parameters:
154 * Parameters:
176 * Parameters:
198 * Parameters:
219 * Parameters:
241 * Parameters:
Drs_matrix.rsh58 * Parameters:
128 * Parameters:
182 * Parameters:
201 * Parameters:
213 * Parameters:
238 * Parameters:
276 * Parameters:
288 * Parameters:
314 * Parameters:
340 * Parameters:
[all …]
Drs_quaternion.rsh33 * Parameters:
52 * Parameters:
69 * Parameters:
85 * Parameters:
121 * Parameters:
147 * Parameters:
181 * Parameters:
207 * Parameters:
230 * Parameters:
264 * Parameters:

123456