/hardware/ti/omap4xxx/camera/ |
D | CameraHal.cpp | 254 const char *valstr = NULL; in setParameters() local 275 if ((valstr = params.getPreviewFormat()) != NULL) { in setParameters() 276 …if ( isParameterValid(valstr, mCameraProperties->get(CameraProperties::SUPPORTED_PREVIEW_FORMATS))… in setParameters() 277 mParameters.setPreviewFormat(valstr); in setParameters() 284 if ((valstr = params.get(TICameraParameters::KEY_VNF)) != NULL) { in setParameters() 287 mParameters.set(TICameraParameters::KEY_VNF, valstr); in setParameters() 289 CAMHAL_LOGEB("ERROR: Invalid VNF: %s", valstr); in setParameters() 294 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { in setParameters() 303 } else if (strcmp(valstr, CameraParameters::TRUE) == 0) { in setParameters() 304 CAMHAL_LOGEB("ERROR: Invalid VSTAB: %s", valstr); in setParameters() [all …]
|
D | CameraHal_Module.cpp | 645 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/bcm4329/dhdutil/ |
D | miniopt.c | 58 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local 65 t->valstr = NULL; in miniopt() 67 valstr = NULL; in miniopt() 89 valstr = p; in miniopt() 104 valstr = eq + 1; in miniopt() 105 if (*valstr == '\0') { in miniopt() 125 valstr = NULL; in miniopt() 133 valstr = *argv; in miniopt() 139 valstr = p; in miniopt() 143 if (valstr) { in miniopt() [all …]
|
D | dhdu.c | 605 fprintf(stderr, "invalid integer %s\n", opts.valstr); in dhd_pktgen() 636 if (!strcmp(opts.valstr, "send")) in dhd_pktgen() 638 else if (!strcmp(opts.valstr, "echo")) in dhd_pktgen() 640 else if (!strcmp(opts.valstr, "burst")) in dhd_pktgen() 642 else if (!strcmp(opts.valstr, "recv")) in dhd_pktgen() 646 opts.valstr); in dhd_pktgen() 653 opts.key, opts.valstr); in dhd_pktgen() 1610 fprintf(stderr, "invalid address %s\n", opts.valstr); in dhd_download() 1618 opts.valstr); in dhd_download() 1623 vname = opts.valstr; in dhd_download() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | miniopt.c | 58 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local 65 t->valstr = NULL; in miniopt() 67 valstr = NULL; in miniopt() 89 valstr = p; in miniopt() 104 valstr = eq + 1; in miniopt() 105 if (*valstr == '\0') { in miniopt() 125 valstr = NULL; in miniopt() 133 valstr = *argv; in miniopt() 139 valstr = p; in miniopt() 143 if (valstr) { in miniopt() [all …]
|
D | dhdu.c | 605 fprintf(stderr, "invalid integer %s\n", opts.valstr); in dhd_pktgen() 636 if (!strcmp(opts.valstr, "send")) in dhd_pktgen() 638 else if (!strcmp(opts.valstr, "echo")) in dhd_pktgen() 640 else if (!strcmp(opts.valstr, "burst")) in dhd_pktgen() 642 else if (!strcmp(opts.valstr, "recv")) in dhd_pktgen() 646 opts.valstr); in dhd_pktgen() 653 opts.key, opts.valstr); in dhd_pktgen() 1610 fprintf(stderr, "invalid address %s\n", opts.valstr); in dhd_download() 1618 opts.valstr); in dhd_download() 1623 vname = opts.valstr; in dhd_download() [all …]
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXAlgo.cpp | 40 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() 88 if ( (valstr = params.get(TICameraParameters::KEY_IPP)) != NULL ) in setParametersAlgo() 90 if (strcmp(valstr, (const char *) TICameraParameters::IPP_LDCNSF) == 0) in setParametersAlgo() 94 else if (strcmp(valstr, (const char *) TICameraParameters::IPP_LDC) == 0) in setParametersAlgo() 98 else if (strcmp(valstr, (const char *) TICameraParameters::IPP_NSF) == 0) in setParametersAlgo() [all …]
|
D | OMXExif.cpp | 38 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 …]
|
D | OMXCapture.cpp | 42 const char *valstr = NULL; in setParametersCapture() local 65 if ( (valstr = params.getPictureFormat()) != NULL ) in setParametersCapture() 67 if (strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) in setParametersCapture() 72 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) in setParametersCapture() 77 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) in setParametersCapture() 82 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_JPEG) == 0) in setParametersCapture() 88 else if(strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_JPS) == 0) in setParametersCapture() 94 else if(strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_MPO) == 0) in setParametersCapture() 100 else if(strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_RAW_JPEG) == 0) in setParametersCapture() 106 else if(strcmp(valstr, (const char *) TICameraParameters::PIXEL_FORMAT_RAW_MPO) == 0) in setParametersCapture() [all …]
|
D | OMXCameraAdapter.cpp | 425 const char *valstr = NULL; in setParameters() local 433 if ( (valstr = params.getPreviewFormat()) != NULL ) in setParameters() 435 if (strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) in setParameters() 440 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || in setParameters() 441 strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_YUV420P) == 0) in setParameters() 446 else if(strcmp(valstr, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) in setParameters() 544 if ( (valstr = params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE)) != NULL ) in setParameters() 546 if (strcmp(valstr, (const char *) TICameraParameters::MEASUREMENT_ENABLE) == 0) in setParameters() 550 else if (strcmp(valstr, (const char *) TICameraParameters::MEASUREMENT_DISABLE) == 0) in setParameters() 633 const char *valstr = NULL; in getParameters() local [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | miniopt.h | 52 char* valstr; /* positional param, or value for the option, member
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/ |
D | miniopt.h | 52 char* valstr; /* positional param, or value for the option, member
|