Home
last modified time | relevance | path

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

1234

/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/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/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp389 mm_camera_parm_type_t type, uint16_t length, void *value) in native_set_parms() argument
391 LOGE("%s : type : %d Value : %d",__func__,type,*((int *)value)); in native_set_parms()
392 if(MM_CAMERA_OK != cam_config_set_parm(mCameraId, type,value )) { in native_set_parms()
403 mm_camera_parm_type_t type, uint16_t length, void *value, int *result) in native_set_parms() argument
405 *result= cam_config_set_parm(mCameraId, type,value ); in native_set_parms()
1361 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setParameters() local
1363 if((value != NOT_FOUND) && (value == CAMERA_BESTSHOT_OFF )) { in setParameters()
1437 int value = attr_lookup(facedetection, in runFaceDetection() local
1441 if (value == true) { in runFaceDetection()
1469 ret = native_set_parms(MM_CAMERA_PARM_FD, sizeof(int8_t), (void *)&value); in runFaceDetection()
[all …]
/device/lge/mako/camera/
DQCameraHWI_Parm.cpp388 mm_camera_parm_type_t type, uint16_t length, void *value) in native_set_parms() argument
390 ALOGV("%s : type : %d Value : %d",__func__,type,*((int *)value)); in native_set_parms()
391 if(MM_CAMERA_OK != cam_config_set_parm(mCameraId, type,value )) { in native_set_parms()
402 mm_camera_parm_type_t type, uint16_t length, void *value, int *result) in native_set_parms() argument
404 *result= cam_config_set_parm(mCameraId, type,value ); in native_set_parms()
1422 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setParameters() local
1424 if((value != NOT_FOUND) && (value == CAMERA_BESTSHOT_OFF )) { in setParameters()
1502 int value = attr_lookup(facedetection, in runFaceDetection() local
1506 fd_set_parm.fd_mode = value; in runFaceDetection()
1574 int32_t value = attr_lookup(scenemode, sizeof(scenemode) / sizeof(str_map), str); in setContrast() local
[all …]
DQualcommCameraHardware.cpp654 char value[PROP_VALUE_MAX];
657 memset(value, 0x00, sizeof(value));
659 if (!__system_property_get("gsm.operator.numeric", value)) {
662 memcpy(country_value, value, 3);
665 value, country_value, country_code);
1429 char value[PROPERTY_VALUE_MAX]; in QualcommCameraHardware() local
1436 property_get("persist.camera.hal.multitouchaf", value, "0"); in QualcommCameraHardware()
1437 mMultiTouch = atoi(value); in QualcommCameraHardware()
1459 property_get("persist.camera.hal.3dmode", value, "0"); in QualcommCameraHardware()
1460 int mode = atoi(value); in QualcommCameraHardware()
[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/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/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()
DIioSensorBase.h48 virtual bool readValue(int *value);
49 virtual void handleData(int value);
/device/generic/goldfish/opengl/system/egl/
DeglDisplay.cpp397 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) in getAttribValue() argument
404 *value = *(m_configs + (int)config*m_numConfigAttribs + attribIdx); in getAttribValue()
408 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) in getConfigAttrib() argument
412 EGLBoolean ret = getAttribValue(config, m_attribs.valueFor(attrib), value); in getConfigAttrib()
419 EGLint value = 0; in dumpConfig() local
422 getAttribValue(config, i, &value); in dumpConfig()
423 DBG("{%d}[%d] %d\n", (int)config, i, value); in dumpConfig()
430 EGLBoolean eglDisplay::setAttribValue(EGLConfig config, EGLint attribIdx, EGLint value) in setAttribValue() argument
437 *(m_configs + (int)config*m_numConfigAttribs + attribIdx) = value; in setAttribValue()
441 EGLBoolean eglDisplay::setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value) in setConfigAttrib() argument
[all …]
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);
Degl.cpp594 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
599 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
716 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
725 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
728 *value = surface->getWidth(); in eglQuerySurface()
731 *value = surface->getHeight(); in eglQuerySurface()
734 *value = surface->getTextureFormat(); in eglQuerySurface()
737 *value = surface->getTextureTarget(); in eglQuerySurface()
740 *value = surface->getSwapBehavior(); in eglQuerySurface()
745 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = EGL_FALSE; in eglQuerySurface()
[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.cpp198 int GLClientState::setPixelStore(GLenum param, GLint value) in setPixelStore() argument
203 if (value == 1 || value == 2 || value == 4 || value == 8) { in setPixelStore()
204 m_pixelStore.unpack_alignment = value; in setPixelStore()
210 if (value == 1 || value == 2 || value == 4 || value == 8) { in setPixelStore()
211 m_pixelStore.pack_alignment = value; in setPixelStore()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1403 int32_t getExifFocalLength(rat_t *focalLength, float value) in getExifFocalLength() argument
1406 (int)(value * FOCAL_LENGTH_DECIMAL_PRECISION); in getExifFocalLength()
1421 int32_t getExifExpTimeInfo(rat_t *expoTimeInfo, int64_t value) in getExifExpTimeInfo() argument
1425 if (value != 0) in getExifExpTimeInfo()
1426 cal_exposureTime = (double)(value / 1000000000.0); in getExifExpTimeInfo()
1446 uint32_t &count, char* value) in getExifGpsProcessingMethod() argument
1448 if(value != NULL) { in getExifGpsProcessingMethod()
1451 strncpy(gpsProcessingMethod + EXIF_ASCII_PREFIX_SIZE, value, strlen(value)); in getExifGpsProcessingMethod()
1452 count += strlen(value); in getExifGpsProcessingMethod()
1474 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()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Degl.cpp349 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
352 *value = EGL_OPENGL_ES_BIT | EGL_OPENGL_ES2_BIT; in eglGetConfigAttrib()
355 return getDispatch()->eglGetConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
407 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
409 EGLBoolean res = getDispatch()->eglQuerySurface(dpy, surface, attribute, value); in eglQuerySurface()
411 *value |= EGL_OPENGL_ES2_BIT; in eglQuerySurface()
441 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
443 return getDispatch()->eglSurfaceAttrib(dpy, surface, attribute, value); in eglSurfaceAttrib()
570 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) in eglQueryContext() argument
575 *value = wctx->version; in eglQueryContext()
[all …]
/device/samsung/manta/audio/
Daudio_hw.c197 uint32_t value; member
445 ctrl.value = !!enable; in enable_hdmi_audio()
470 ALOGV("%s ioctl %d got %d max channels", __func__, ret, ctrl.value); in read_hdmi_channel_masks()
472 if (ctrl.value != 6 && ctrl.value != 8) in read_hdmi_channel_masks()
476 if (ctrl.value == 8) in read_hdmi_channel_masks()
492 ctrl.value = channels; in set_hdmi_channels()
1026 char value[32]; in out_set_parameters() local
1033 value, sizeof(value)); in out_set_parameters()
1037 val = atoi(value); in out_set_parameters()
1074 char value[256]; in out_get_parameters() local
[all …]
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorLEDController.java32 public void onPositionChange(double value) { in onPositionChange() argument
33 int v = (int) (255 * value); in onPositionChange()
46 public LabelClickListener(Slider slider, double value) { in LabelClickListener() argument
48 mValue = value; in LabelClickListener()
/device/google/accessory/arduino/USB_Host_Shield/
DMax_LCD.cpp252 inline void Max_LCD::command(uint8_t value) { in command() argument
253 LCD_sendcmd(value); in command()
257 inline size_t Max_LCD::write(uint8_t value) { in write() argument
258 LCD_sendchar(value); in write()
/device/asus/grouper/audio/
Daudio_hw.c549 char value[32]; in out_set_parameters() local
556 value, sizeof(value)); in out_set_parameters()
559 val = atoi(value); in out_set_parameters()
881 char value[32]; in in_set_parameters() local
888 value, sizeof(value)); in in_set_parameters()
891 val = atoi(value) & ~AUDIO_DEVICE_BIT_IN; in in_set_parameters()
1073 char value[32]; in adev_set_parameters() local
1077 ret = str_parms_get_str(parms, "orientation", value, sizeof(value)); in adev_set_parameters()
1081 if (strcmp(value, "landscape") == 0) in adev_set_parameters()
1083 else if (strcmp(value, "portrait") == 0) in adev_set_parameters()
[all …]

1234