Home
last modified time | relevance | path

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

12345

/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/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/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/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 …]
DQCamera2HWICallbacks.cpp60 char value[PROPERTY_VALUE_MAX]; in zsl_channel_cb() local
133 property_get("persist.camera.zsl_raw", value, "0"); in zsl_channel_cb()
134 dump_raw = atoi(value) > 0 ? true : false; in zsl_channel_cb()
149 property_get("persist.camera.zsl_yuv", value, "0"); in zsl_channel_cb()
150 dump_yuv = atoi(value) > 0 ? true : false; in zsl_channel_cb()
214 property_get("persist.camera.dumpmetadata", value, "0"); in zsl_channel_cb()
215 int32_t enabled = atoi(value); in zsl_channel_cb()
234 property_get("persist.camera.zsl_matching", value, "0"); in zsl_channel_cb()
235 log_matching = atoi(value) > 0 ? true : false; in zsl_channel_cb()
368 char value[PROPERTY_VALUE_MAX]; in capture_channel_cb_routine() 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.c537 int32_t value = 0; in mm_camera_set_parms() local
539 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_set_parms()
567 int32_t value = 0; in mm_camera_get_parms() local
569 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_get_parms()
592 int32_t value = 0; in mm_camera_do_auto_focus() local
593 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value); in mm_camera_do_auto_focus()
613 int32_t value = 0; in mm_camera_cancel_auto_focus() local
614 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value); in mm_camera_cancel_auto_focus()
636 int32_t value = do_af_flag; in mm_camera_prepare_snapshot() local
637 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.c573 int32_t value = 0; in mm_camera_set_parms() local
575 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_set_parms()
603 int32_t value = 0; in mm_camera_get_parms() local
605 rc = mm_camera_util_g_ctrl(my_obj->ctrl_fd, CAM_PRIV_PARM, &value); in mm_camera_get_parms()
628 int32_t value = 0; in mm_camera_do_auto_focus() local
629 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_DO_AUTO_FOCUS, &value); in mm_camera_do_auto_focus()
649 int32_t value = 0; in mm_camera_cancel_auto_focus() local
650 rc = mm_camera_util_s_ctrl(my_obj->ctrl_fd, CAM_PRIV_CANCEL_AUTO_FOCUS, &value); in mm_camera_cancel_auto_focus()
672 int32_t value = do_af_flag; in mm_camera_prepare_snapshot() local
673 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/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 …]
Degl.cpp601 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
606 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
729 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
738 ret = s_display.getConfigAttrib(surface->config, EGL_CONFIG_ID, value); in eglQuerySurface()
741 *value = surface->getWidth(); in eglQuerySurface()
744 *value = surface->getHeight(); in eglQuerySurface()
747 *value = surface->getTextureFormat(); in eglQuerySurface()
750 *value = surface->getTextureTarget(); in eglQuerySurface()
753 *value = surface->getSwapBehavior(); in eglQuerySurface()
758 if (surface->getSurfaceType() & EGL_PBUFFER_BIT) *value = EGL_FALSE; in eglQuerySurface()
[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/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/asus/fugu/libaudio/
DAudioStreamOut.cpp294 String8 value; in getParameters() local
296 if (param.get(keyRouting, value) == NO_ERROR) { in getParameters()
302 if (param.get(keySupSampleRates, value) == NO_ERROR) { in getParameters()
304 hdmiCaps.getRatesForAF(value); in getParameters()
305 param.add(keySupSampleRates, value); in getParameters()
311 if (param.get(keySupFormats, value) == NO_ERROR) { in getParameters()
313 hdmiCaps.getFmtsForAF(value); in getParameters()
314 param.add(keySupFormats, value); in getParameters()
320 if (param.get(keySupChannels, value) == NO_ERROR) { in getParameters()
322 hdmiCaps.getChannelMasksForAF(value); in getParameters()
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1569 int32_t getExifFocalLength(rat_t *focalLength, float value) in getExifFocalLength() argument
1572 (int)(value * FOCAL_LENGTH_DECIMAL_PRECISION); in getExifFocalLength()
1587 int32_t getExifExpTimeInfo(rat_t *expoTimeInfo, int64_t value) in getExifExpTimeInfo() argument
1591 if (value != 0) in getExifExpTimeInfo()
1592 cal_exposureTime = value; in getExifExpTimeInfo()
1613 uint32_t &count, char* value) in getExifGpsProcessingMethod() argument
1615 if(value != NULL) { in getExifGpsProcessingMethod()
1618 strncpy(gpsProcessingMethod + EXIF_ASCII_PREFIX_SIZE, value, strlen(value)); in getExifGpsProcessingMethod()
1619 count += strlen(value); in getExifGpsProcessingMethod()
1641 char *latRef, double value) in getExifLatitude() argument
[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/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c54 void *value);
58 void *value,
1282 payload.value = p_value; in mm_camera_set_stream_parm()
1311 payload.value = p_value; in mm_camera_get_stream_parm()
1357 ctrl.value = effect; in mm_camera_ctrl_set_specialEffect()
1362 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
1370 if(value != 0 && value != 1) { in mm_camera_ctrl_set_auto_focus()
1371 CDBG("%s:boolean required, invalid value = %d\n",__func__, value); in mm_camera_ctrl_set_auto_focus()
1380 V4L2_CID_FOCUS_AUTO, value))){ in mm_camera_ctrl_set_auto_focus()
1382 __func__, V4L2_CID_FOCUS_AUTO, value, rc); in mm_camera_ctrl_set_auto_focus()
[all …]
/device/htc/flounder/sensor_hub/libsensors/
DSensorBase.h49 int write_int(char const *path, int value);
51 char const *path, char const *value, int bytes);

12345