Home
last modified time | relevance | path

Searched refs:valstr (Results 1 – 9 of 9) 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/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/broadcom/wlan/bcmdhd/dhdutil/include/
Dminiopt.h52 char* valstr; /* positional param, or value for the option, member