Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 153) sorted by relevance

1234567

/device/lge/hammerhead/camera/hdr/include/
Dmorpho_easy_hdr.h343 int value);
357 int *value);
377 int value);
391 int *value);
411 int value);
425 int *value);
445 int value);
459 int *value);
479 int value);
493 int *value);
[all …]
/device/asus/flo/camera/hdr/include/
Dmorpho_easy_hdr.h343 int value);
357 int *value);
377 int value);
391 int *value);
411 int value);
425 int *value);
445 int value);
459 int *value);
479 int value);
493 int *value);
[all …]
/device/lge/mako/camera/hdr/include/
Dmorpho_easy_hdr.h343 int value);
357 int *value);
377 int value);
391 int *value);
411 int value);
425 int *value);
445 int value);
459 int *value);
479 int value);
493 int *value);
[all …]
/device/asus/flo/camera/QCamera2/HAL/
DQCameraParameters.cpp560 char value[PROPERTY_VALUE_MAX]; in QCameraParameters() local
562 property_get("persist.debug.sf.showfps", value, "0"); in QCameraParameters()
563 m_bDebugFps = atoi(value) > 0 ? true : false; in QCameraParameters()
568 property_get("persist.camera.thermal.mode", value, "fps"); in QCameraParameters()
569 if (!strcmp(value, "frameskip")) { in QCameraParameters()
572 if (strcmp(value, "fps")) in QCameraParameters()
573 ALOGE("%s: Invalid camera thermal mode %s", __func__, value); in QCameraParameters()
965 const char *QCameraParameters::lookupNameByValue(const QCameraMap arr[], int len, int value) in lookupNameByValue() argument
968 if (arr[i].val == value) { in lookupNameByValue()
1114 char value[PROPERTY_VALUE_MAX]; in setLiveSnapshotSize() local
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraParameters.cpp560 char value[PROPERTY_VALUE_MAX]; in QCameraParameters() local
562 property_get("persist.debug.sf.showfps", value, "0"); in QCameraParameters()
563 m_bDebugFps = atoi(value) > 0 ? true : false; in QCameraParameters()
568 property_get("persist.camera.thermal.mode", value, "fps"); in QCameraParameters()
569 if (!strcmp(value, "frameskip")) { in QCameraParameters()
572 if (strcmp(value, "fps")) in QCameraParameters()
573 ALOGE("%s: Invalid camera thermal mode %s", __func__, value); in QCameraParameters()
965 const char *QCameraParameters::lookupNameByValue(const QCameraMap arr[], int len, int value) in lookupNameByValue() argument
968 if (arr[i].val == value) { in lookupNameByValue()
1114 char value[PROPERTY_VALUE_MAX]; in setLiveSnapshotSize() local
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp669 char value[PROPERTY_VALUE_MAX]; in QCameraParameters() local
671 property_get("persist.debug.sf.showfps", value, "0"); in QCameraParameters()
672 m_bDebugFps = atoi(value) > 0 ? true : false; in QCameraParameters()
679 property_get("persist.camera.thermal.mode", value, "fps"); in QCameraParameters()
680 if (!strcmp(value, "frameskip")) { in QCameraParameters()
683 if (strcmp(value, "fps")) in QCameraParameters()
684 ALOGE("%s: Invalid camera thermal mode %s", __func__, value); in QCameraParameters()
1084 const char *QCameraParameters::lookupNameByValue(const QCameraMap arr[], int len, int value) in lookupNameByValue() argument
1087 if (arr[i].val == value) { in lookupNameByValue()
1253 char value[PROPERTY_VALUE_MAX]; in setLiveSnapshotSize() local
[all …]
/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp386 mm_camera_parm_type_t type, uint16_t length, void *value) in native_set_parms() argument
388 LOGE("%s : type : %d Value : %d",__func__,type,*((int *)value)); in native_set_parms()
389 if(MM_CAMERA_OK != cam_config_set_parm(mCameraId, type,value )) { in native_set_parms()
400 mm_camera_parm_type_t type, uint16_t length, void *value, int *result) in native_set_parms() argument
402 *result= cam_config_set_parm(mCameraId, type,value ); in native_set_parms()
1358 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setParameters() local
1360 if((value != NOT_FOUND) && (value == CAMERA_BESTSHOT_OFF )) { in setParameters()
1434 int value = attr_lookup(facedetection, in runFaceDetection() local
1438 if (value == true) { in runFaceDetection()
1466 ret = native_set_parms(MM_CAMERA_PARM_FD, sizeof(int8_t), (void *)&value); in runFaceDetection()
[all …]
/device/lge/mako/camera/
DQCameraHWI_Parm.cpp390 mm_camera_parm_type_t type, uint16_t length, void *value) in native_set_parms() argument
392 ALOGV("%s : type : %d Value : %d",__func__,type,*((int *)value)); in native_set_parms()
393 if(MM_CAMERA_OK != cam_config_set_parm(mCameraId, type,value )) { in native_set_parms()
404 mm_camera_parm_type_t type, uint16_t length, void *value, int *result) in native_set_parms() argument
406 *result= cam_config_set_parm(mCameraId, type,value ); in native_set_parms()
1423 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setParameters() local
1425 if((value != NOT_FOUND) && (value == CAMERA_BESTSHOT_OFF )) { in setParameters()
1503 int value = attr_lookup(facedetection, in runFaceDetection() local
1507 fd_set_parm.fd_mode = value; in runFaceDetection()
1575 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setContrast() local
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp402 mm_camera_parm_type_t type, uint16_t length, void *value) in native_set_parms() argument
404 ALOGV("%s : type : %d Value : %d",__func__,type,*((int *)value)); in native_set_parms()
405 if(mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ) < 0) { in native_set_parms()
416 mm_camera_parm_type_t type, uint16_t length, void *value, int *result) in native_set_parms() argument
418 *result= mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ); in native_set_parms()
1452 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setParameters() local
1454 if((value != NOT_FOUND) && (value == CAMERA_BESTSHOT_OFF )) { in setParameters()
1535 int value = attr_lookup(facedetection, in runFaceDetection() local
1539 fd_set_parm.fd_mode = value; in runFaceDetection()
1541 ret = native_set_parms(MM_CAMERA_PARM_FD, sizeof(int8_t), (void *)&value); in runFaceDetection()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c649 int32_t value) in mm_app_set_params() argument
651 CDBG_HIGH("\nEnter mm_app_set_params!! param_type =%d & value =%d\n",param_type, value); in mm_app_set_params()
658 rc = add_parm_entry_tobatch(test_obj->params_buffer, param_type, sizeof(value), &value); in mm_app_set_params()
946 int setAecLock(mm_camera_test_obj_t *test_obj, int value) in setAecLock() argument
958 sizeof(value), in setAecLock()
959 &value); in setAecLock()
975 int setAwbLock(mm_camera_test_obj_t *test_obj, int value) in setAwbLock() argument
987 sizeof(value), in setAwbLock()
988 &value); in setAwbLock()
1005 int set3Acommand(mm_camera_test_obj_t *test_obj, cam_eztune_cmd_data_t *value) in set3Acommand() argument
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c535 int32_t value = 0; in mm_camera_set_parms() local
537 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_set_parms()
565 int32_t value = 0; in mm_camera_get_parms() local
567 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_get_parms()
590 int32_t value = 0; in mm_camera_do_auto_focus() local
591 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value); in mm_camera_do_auto_focus()
611 int32_t value = 0; in mm_camera_cancel_auto_focus() local
612 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value); in mm_camera_cancel_auto_focus()
634 int32_t value = do_af_flag; in mm_camera_prepare_snapshot() local
635 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PREPARE_SNAPSHOT, &value); in mm_camera_prepare_snapshot()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c536 int32_t value = 0; in mm_camera_set_parms() local
538 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_set_parms()
566 int32_t value = 0; in mm_camera_get_parms() local
568 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_get_parms()
591 int32_t value = 0; in mm_camera_do_auto_focus() local
592 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value); in mm_camera_do_auto_focus()
612 int32_t value = 0; in mm_camera_cancel_auto_focus() local
613 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value); in mm_camera_cancel_auto_focus()
635 int32_t value = do_af_flag; in mm_camera_prepare_snapshot() local
636 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PREPARE_SNAPSHOT, &value); in mm_camera_prepare_snapshot()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c543 int32_t value = 0; in mm_camera_set_parms() local
545 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_set_parms()
573 int32_t value = 0; in mm_camera_get_parms() local
575 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_get_parms()
598 int32_t value = 0; in mm_camera_do_auto_focus() local
599 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value); in mm_camera_do_auto_focus()
619 int32_t value = 0; in mm_camera_cancel_auto_focus() local
620 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value); in mm_camera_cancel_auto_focus()
642 int32_t value = do_af_flag; in mm_camera_prepare_snapshot() local
643 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PREPARE_SNAPSHOT, &value); in mm_camera_prepare_snapshot()
[all …]
/device/samsung/manta/libsensors/
DLightSensor.cpp31 void LightSensor::handleData(int value) { in handleData() argument
32 ALOGV("LightSensor::handleData value %d", value); in handleData()
35 mPendingEvent.light = value * 8.9; in handleData()
DPressureSensor.cpp37 void PressureSensor::handleData(int value) { in handleData() argument
38 ALOGV("PressureSensor::handleData value %d", value); in handleData()
39 mPendingEvent.pressure = value * PRESSURE_HECTO_PA; in handleData()
DIioSensorBase.cpp38 void IioSensorBase::handleData(int value) { in handleData() argument
104 bool IioSensorBase::readValue(int *value) { in readValue() argument
111 if (fscanf(mIioSysfsChanFp, "%d\n", value) != 1) in readValue()
191 int value; in readEvents() local
193 if (mEnabled && readValue(&value)) { in readEvents()
194 handleData(value); in readEvents()
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera.c43 cam_ctrl_type type, uint32_t length, void *value);
45 cam_ctrl_type type, uint32_t length, void *value, int timeout);
53 ctrl.value = effect; in mm_camera_ctrl_set_specialEffect()
63 ctrl.value = antibanding; in mm_camera_ctrl_set_antibanding()
68 static int32_t mm_camera_ctrl_set_auto_focus (mm_camera_obj_t *my_obj, int value) in mm_camera_ctrl_set_auto_focus() argument
76 if(value != 0 && value != 1) { in mm_camera_ctrl_set_auto_focus()
77 CDBG("%s:boolean required, invalid value = %d\n",__func__, value); in mm_camera_ctrl_set_auto_focus()
86 V4L2_CID_FOCUS_AUTO, value))){ in mm_camera_ctrl_set_auto_focus()
88 __func__, V4L2_CID_FOCUS_AUTO, value, rc); in mm_camera_ctrl_set_auto_focus()
97 int rc = 0, value; in mm_camera_ctrl_set_whitebalance() local
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c754 zoom_level = ctrl.value; in camera_preview_video_zoom_change_tbl()
758 ctrl.value, zoom_queryctrl.minimum, zoom_queryctrl.maximum); in camera_preview_video_zoom_change_tbl()
932 control.value = contrast; in increase_contrast()
976 control.value = contrast; in decrease_contrast()
1019 control.value = brightness; in decrease_brightness()
1062 control.value = brightness; in increase_brightness()
1107 control.value = ev; in increase_EV()
1152 control.value = ev; in decrease_EV()
1197 control.value = saturation; in increase_saturation()
1241 control.value = saturation; in decrease_saturation()
[all …]
/device/generic/goldfish/opengl/system/egl/
DeglDisplay.h51 EGLBoolean getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value);
52 EGLBoolean setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value);
61 EGLBoolean getAttribValue(EGLConfig config, EGLint attribIdxi, EGLint * value);
62 EGLBoolean setAttribValue(EGLConfig config, EGLint attribIdxi, EGLint value);
DeglDisplay.cpp409 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue() argument
416 *value = *(m_configs + (intptr_t)config*m_numConfigAttribs + attribIdx); in getAttribValue()
420 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib() argument
424 EGLBoolean ret = getAttribValue(config, m_attribs.valueFor(attrib), value); in getConfigAttrib()
431 EGLint value = 0; in dumpConfig() local
434 getAttribValue(config, i, &value); in dumpConfig()
435 DBG("{%d}[%d] %d\n", (int)config, i, value); in dumpConfig()
442 EGLBoolean eglDisplay::setAttribValue(EGLConfig config, EGLint attribIdx, EGLint value) in setAttribValue() argument
449 *(m_configs + (intptr_t)config*m_numConfigAttribs + attribIdx) = value; in setAttribValue()
453 EGLBoolean eglDisplay::setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value) in setConfigAttrib() argument
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c54 void *value);
58 void *value,
1167 payload.value = p_value; in mm_camera_set_stream_parm()
1196 payload.value = p_value; in mm_camera_get_stream_parm()
1215 ctrl.value = effect; in mm_camera_ctrl_set_specialEffect()
1220 int32_t mm_camera_ctrl_set_auto_focus (mm_camera_obj_t *my_obj, int32_t value) in mm_camera_ctrl_set_auto_focus() argument
1228 if(value != 0 && value != 1) { in mm_camera_ctrl_set_auto_focus()
1229 CDBG("%s:boolean required, invalid value = %d\n",__func__, value); in mm_camera_ctrl_set_auto_focus()
1238 V4L2_CID_FOCUS_AUTO, value))){ in mm_camera_ctrl_set_auto_focus()
1240 __func__, V4L2_CID_FOCUS_AUTO, value, rc); in mm_camera_ctrl_set_auto_focus()
[all …]
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp199 int GLClientState::setPixelStore(GLenum param, GLint value) in setPixelStore() argument
204 if (value == 1 || value == 2 || value == 4 || value == 8) { in setPixelStore()
205 m_pixelStore.unpack_alignment = value; in setPixelStore()
211 if (value == 1 || value == 2 || value == 4 || value == 8) { in setPixelStore()
212 m_pixelStore.pack_alignment = value; in setPixelStore()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1407 int32_t getExifFocalLength(rat_t *focalLength, float value) in getExifFocalLength() argument
1410 (int)(value * FOCAL_LENGTH_DECIMAL_PRECISION); in getExifFocalLength()
1425 int32_t getExifExpTimeInfo(rat_t *expoTimeInfo, int64_t value) in getExifExpTimeInfo() argument
1429 if (value != 0) in getExifExpTimeInfo()
1430 cal_exposureTime = (double)(value / 1000000000.0); in getExifExpTimeInfo()
1450 uint32_t &count, char* value) in getExifGpsProcessingMethod() argument
1452 if(value != NULL) { in getExifGpsProcessingMethod()
1455 strncpy(gpsProcessingMethod + EXIF_ASCII_PREFIX_SIZE, value, strlen(value)); in getExifGpsProcessingMethod()
1456 count += strlen(value); in getExifGpsProcessingMethod()
1478 char *latRef, double value) in getExifLatitude() argument
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c744 zoom_level = ctrl.value; in camera_preview_video_zoom_change_tbl()
748 ctrl.value, zoom_queryctrl.minimum, zoom_queryctrl.maximum); in camera_preview_video_zoom_change_tbl()
922 control.value = contrast; in increase_contrast()
966 control.value = contrast; in decrease_contrast()
1009 control.value = brightness; in decrease_brightness()
1052 control.value = brightness; in increase_brightness()
1097 control.value = ev; in increase_EV()
1142 control.value = ev; in decrease_EV()
1187 control.value = saturation; in increase_saturation()
1231 control.value = saturation; in decrease_saturation()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c127 char value[32]; in out_set_parameters() local
135 value, sizeof(value)); in out_set_parameters()
138 val = strtol(value, &end, 10); in out_set_parameters()
155 char value[256]; in out_get_parameters() local
159 ret = str_parms_get_str(query, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); in out_get_parameters()
283 char value[32]; in in_set_parameters() local
291 value, sizeof(value)); in in_set_parameters()
294 val = strtol(value, &end, 10); in in_set_parameters()
312 char value[256]; in in_get_parameters() local
316 ret = str_parms_get_str(query, AUDIO_PARAMETER_STREAM_ROUTING, value, sizeof(value)); in in_get_parameters()

1234567