Home
last modified time | relevance | path

Searched refs:valstr (Results 1 – 18 of 18) sorted by relevance

/hardware/ti/omap4xxx/camera/
DCameraHal.cpp250 const char *valstr = NULL; in setParameters() local
268 if ((valstr = params.getPreviewFormat()) != NULL) { in setParameters()
269 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters()
270 mParameters.setPreviewFormat(valstr); in setParameters()
278 valstr = params.get(TICameraParameters::KEY_VNF); in setParameters()
279 if ( valstr != NULL ) { in setParameters()
281 CAMHAL_LOGDB("VNF set %s", valstr); in setParameters()
284 CAMHAL_LOGEB("ERROR: Invalid VNF: %s", valstr); in setParameters()
289 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { in setParameters()
294 CAMHAL_LOGDB("VSTAB %s",valstr); in setParameters()
[all …]
DCameraHal_Module.cpp645 const char *valstr = NULL; in camera_get_camera_info() local
666 valstr = properties->get(android::CameraProperties::FACING_INDEX); in camera_get_camera_info()
667 if(valstr != NULL) in camera_get_camera_info()
669 if (strcmp(valstr, (const char *) android::TICameraParameters::FACING_FRONT) == 0) in camera_get_camera_info()
673 else if (strcmp(valstr, (const char *) android::TICameraParameters::FACING_BACK) == 0) in camera_get_camera_info()
679 valstr = properties->get(android::CameraProperties::ORIENTATION_INDEX); in camera_get_camera_info()
680 if(valstr != NULL) in camera_get_camera_info()
682 orientation = atoi(valstr); in camera_get_camera_info()
/hardware/ti/omap4-aah/camera/
DCameraHal.cpp349 const char *valstr = NULL; in setParameters() local
369 if ((valstr = params.getPreviewFormat()) != NULL) { in setParameters()
370 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters()
371 mParameters.setPreviewFormat(valstr); in setParameters()
372 CAMHAL_LOGDB("PreviewFormat set %s", valstr); in setParameters()
374 CAMHAL_LOGEB("Invalid preview format: %s. Supported: %s", valstr, in setParameters()
380 if ((valstr = params.get(TICameraParameters::KEY_VNF)) != NULL) { in setParameters()
383 CAMHAL_LOGDB("VNF %s", valstr); in setParameters()
384 mParameters.set(TICameraParameters::KEY_VNF, valstr); in setParameters()
385 } else if (strcmp(valstr, android::CameraParameters::TRUE) == 0) { in setParameters()
[all …]
DCameraHal_Module.cpp784 const char *valstr = NULL; in camera_get_camera_info() local
806 valstr = properties->get(CameraProperties::FACING_INDEX); in camera_get_camera_info()
807 if(valstr != NULL) in camera_get_camera_info()
809 if (strcmp(valstr, TICameraParameters::FACING_FRONT) == 0) in camera_get_camera_info()
813 else if (strcmp(valstr, TICameraParameters::FACING_BACK) == 0) in camera_get_camera_info()
819 valstr = properties->get(CameraProperties::ORIENTATION_INDEX); in camera_get_camera_info()
820 if(valstr != NULL) in camera_get_camera_info()
822 orientation = atoi(valstr); in camera_get_camera_info()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dminiopt.c60 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local
67 t->valstr = NULL; in miniopt()
69 valstr = NULL; in miniopt()
91 valstr = p; in miniopt()
106 valstr = eq + 1; in miniopt()
107 if (*valstr == '\0') { in miniopt()
127 valstr = NULL; in miniopt()
135 valstr = *argv; in miniopt()
141 valstr = p; in miniopt()
145 if (valstr) { in miniopt()
[all …]
Ddhdu.c629 fprintf(stderr, "invalid integer %s\n", opts.valstr); in dhd_pktgen()
660 if (!strcmp(opts.valstr, "send")) in dhd_pktgen()
662 else if (!strcmp(opts.valstr, "echo")) in dhd_pktgen()
664 else if (!strcmp(opts.valstr, "burst")) in dhd_pktgen()
666 else if (!strcmp(opts.valstr, "recv")) in dhd_pktgen()
670 opts.valstr); in dhd_pktgen()
677 opts.key, opts.valstr); in dhd_pktgen()
1747 fprintf(stderr, "invalid address %s\n", opts.valstr); in dhd_download()
1755 opts.valstr); in dhd_download()
1760 vname = opts.valstr; in dhd_download()
[all …]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXAlgo.cpp40 const char *valstr = NULL; in setParametersAlgo() local
47 if ( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL ) in setParametersAlgo()
49 if (strcmp(valstr, (const char *) TICameraParameters::HIGH_PERFORMANCE_MODE) == 0) in setParametersAlgo()
53 else if (strcmp(valstr, (const char *) TICameraParameters::HIGH_QUALITY_MODE) == 0) in setParametersAlgo()
57 else if (strcmp(valstr, (const char *) TICameraParameters::HIGH_QUALITY_ZSL_MODE) == 0) in setParametersAlgo()
61 else if (strcmp(valstr, (const char *) TICameraParameters::VIDEO_MODE) == 0) in setParametersAlgo()
89 if ( (valstr = params.get(TICameraParameters::KEY_IPP)) != NULL ) in setParametersAlgo()
91 if (strcmp(valstr, (const char *) TICameraParameters::IPP_LDCNSF) == 0) in setParametersAlgo()
95 else if (strcmp(valstr, (const char *) TICameraParameters::IPP_LDC) == 0) in setParametersAlgo()
99 else if (strcmp(valstr, (const char *) TICameraParameters::IPP_NSF) == 0) in setParametersAlgo()
[all …]
DOMXExif.cpp38 const char *valstr = NULL; in setParametersEXIF() local
43 if( ( valstr = params.get(CameraParameters::KEY_GPS_LATITUDE) ) != NULL ) in setParametersEXIF()
45 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
75 if( ( valstr = params.get(CameraParameters::KEY_GPS_LONGITUDE) ) != NULL ) in setParametersEXIF()
77 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
107 if( ( valstr = params.get(CameraParameters::KEY_GPS_ALTITUDE) ) != NULL ) in setParametersEXIF()
109 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
123 if( (valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP)) != NULL ) in setParametersEXIF()
125 long gpsTimestamp = strtol(valstr, NULL, 10); in setParametersEXIF()
144 if( ( valstr = params.get(CameraParameters::KEY_GPS_TIMESTAMP) ) != NULL ) in setParametersEXIF()
[all …]
DOMXCapture.cpp42 const char *valstr = NULL; in setParametersCapture() local
66 if ((valstr = params.getPictureFormat()) != NULL) { in setParametersCapture()
67 if (strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { in setParametersCapture()
71 } else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { in setParametersCapture()
75 } else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) { in setParametersCapture()
79 } else if (strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_JPEG) == 0) { in setParametersCapture()
84 } else if (strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_JPS) == 0) { in setParametersCapture()
89 } else if (strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_MPO) == 0) { in setParametersCapture()
94 } else if (strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_RAW) == 0) { in setParametersCapture()
112 valstr = params.get(TICameraParameters::KEY_CAP_MODE); in setParametersCapture()
[all …]
DOMXCameraAdapter.cpp425 const char *valstr = NULL; in setParameters() local
433 if ( (valstr = params.getPreviewFormat()) != NULL ) in setParameters()
435 if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || in setParameters()
436 strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420P) == 0 || in setParameters()
437 strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) in setParameters()
442 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) in setParameters()
540 valstr = params.get(TICameraParameters::KEY_RECORDING_HINT); in setParameters()
541 if (!valstr || (valstr && (strcmp(valstr, CameraParameters::FALSE)))) { in setParameters()
549 if ( (valstr = params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE)) != NULL ) in setParameters()
551 if (strcmp(valstr, (const char *) TICameraParameters::MEASUREMENT_ENABLE) == 0) in setParameters()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXAlgo.cpp37 const char *valstr = NULL; in setParametersAlgo() local
48 if ( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL ) { in setParametersAlgo()
49 if (strcmp(valstr, (const char *) TICameraParameters::HIGH_PERFORMANCE_MODE) == 0) { in setParametersAlgo()
52 } else if (strcmp(valstr, (const char *) TICameraParameters::EXPOSURE_BRACKETING) == 0) { in setParametersAlgo()
55 } else if (strcmp(valstr, (const char *) TICameraParameters::ZOOM_BRACKETING) == 0) { in setParametersAlgo()
58 } else if (strcmp(valstr, (const char *) TICameraParameters::HIGH_QUALITY_MODE) == 0) { in setParametersAlgo()
61 } else if (strcmp(valstr, (const char *) TICameraParameters::HIGH_QUALITY_ZSL_MODE) == 0) { in setParametersAlgo()
64 } else if (strcmp(valstr, (const char *) TICameraParameters::VIDEO_MODE) == 0) { in setParametersAlgo()
67 } else if (strcmp(valstr, (const char *) TICameraParameters::VIDEO_MODE_HQ) == 0) { in setParametersAlgo()
70 } else if (strcmp(valstr, (const char *) TICameraParameters::CP_CAM_MODE) == 0) { in setParametersAlgo()
[all …]
DOMXExif.cpp35 const char *valstr = NULL; in setParametersEXIF() local
40 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_LATITUDE) ) != NULL ) in setParametersEXIF()
42 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
72 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_LONGITUDE) ) != NULL ) in setParametersEXIF()
74 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
104 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_ALTITUDE) ) != NULL ) in setParametersEXIF()
106 gpsPos = strtod(valstr, NULL); in setParametersEXIF()
120 if( (valstr = params.get(android::CameraParameters::KEY_GPS_TIMESTAMP)) != NULL ) in setParametersEXIF()
122 long gpsTimestamp = strtol(valstr, NULL, 10); in setParametersEXIF()
141 if( ( valstr = params.get(android::CameraParameters::KEY_GPS_TIMESTAMP) ) != NULL ) in setParametersEXIF()
[all …]
DOMXReprocess.cpp40 const char* valstr; in setParametersReprocess() local
55 valstr = buffers[0].format; in setParametersReprocess()
56 if (valstr != NULL) { in setParametersReprocess()
57 if(strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { in setParametersReprocess()
60 } else if (strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0) { in setParametersReprocess()
63 } else if (strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { in setParametersReprocess()
DOMXCapture.cpp40 const char *valstr = NULL; in setParametersCapture() local
73 if ((valstr = params.getPictureFormat()) != NULL) { in setParametersCapture()
74 if (strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { in setParametersCapture()
78 } else if(strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { in setParametersCapture()
82 } else if(strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0) { in setParametersCapture()
86 } else if (strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_JPEG) == 0) { in setParametersCapture()
91 } else if (strcmp(valstr, TICameraParameters::PIXEL_FORMAT_JPS) == 0) { in setParametersCapture()
96 } else if (strcmp(valstr, TICameraParameters::PIXEL_FORMAT_MPO) == 0) { in setParametersCapture()
101 } else if (strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0) { in setParametersCapture()
122 valstr = params.get(TICameraParameters::KEY_CAP_MODE); in setParametersCapture()
[all …]
DOMXCameraAdapter.cpp521 void OMXCameraAdapter::setParamS3D(OMX_U32 port, const char *valstr) in setParamS3D() argument
528 if (valstr != NULL) in setParamS3D()
530 if (strcmp(valstr, TICameraParameters::S3D_TB_FULL) == 0) in setParamS3D()
534 else if (strcmp(valstr, TICameraParameters::S3D_SS_FULL) == 0) in setParamS3D()
538 else if (strcmp(valstr, TICameraParameters::S3D_TB_SUBSAMPLED) == 0) in setParamS3D()
542 else if (strcmp(valstr, TICameraParameters::S3D_SS_SUBSAMPLED) == 0) in setParamS3D()
567 const char *valstr = NULL; in setParameters() local
574 if ( (valstr = params.getPreviewFormat()) != NULL ) { in setParameters()
575 if(strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || in setParameters()
576 strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV420P) == 0 || in setParameters()
[all …]
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp1378 const char *valstr = NULL; in getParametersFromCapabilities() local
1384 valstr = params.get(KEY_AUTOCONVERGENCE_MODE_VALUES); in getParametersFromCapabilities()
1385 if (NULL != valstr) { in getParametersFromCapabilities()
1386 strcpy(autoconvergencestr, valstr); in getParametersFromCapabilities()
1392 valstr = params.get(CameraParameters::KEY_SUPPORTED_EFFECTS); in getParametersFromCapabilities()
1393 if (NULL != valstr) { in getParametersFromCapabilities()
1394 strcpy(effectssStr, valstr); in getParametersFromCapabilities()
1400 valstr = params.get(CameraParameters::KEY_SUPPORTED_ANTIBANDING); in getParametersFromCapabilities()
1401 if (NULL != valstr) { in getParametersFromCapabilities()
1402 strcpy(antibandStr, valstr); in getParametersFromCapabilities()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dminiopt.h52 char* valstr; /* positional param, or value for the option, member
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h606 void setParamS3D(OMX_U32 port, const char *valstr);
767 …status_t setAutoConvergence(const char *valstr, const char *pValManualstr, const android::CameraPa…