Lines Matching refs:valstr

521 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()
577 strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { in setParameters()
580 } else if(strcmp(valstr, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0) { in setParameters()
664 valstr = params.get(TICameraParameters::KEY_RECORDING_HINT); in setParameters()
665 if (!valstr || (valstr && (strcmp(valstr, android::CameraParameters::FALSE)))) { in setParameters()
673 if ( (valstr = params.get(TICameraParameters::KEY_MEASUREMENT_ENABLE)) != NULL ) in setParameters()
675 if (strcmp(valstr, android::CameraParameters::TRUE) == 0) in setParameters()
679 else if (strcmp(valstr, android::CameraParameters::FALSE) == 0) in setParameters()
801 const char *valstr = NULL; in getParameters() local
818 valstr = getLUTvalue_OMXtoHAL(mParameters3A.WhiteBallance, WBalLUT); in getParameters()
820 if (valstr && valstr_supported && strstr(valstr_supported, valstr)) in getParameters()
821 params.set(android::CameraParameters::KEY_WHITE_BALANCE , valstr); in getParameters()
823 valstr = getLUTvalue_OMXtoHAL(mParameters3A.FlashMode, FlashLUT); in getParameters()
825 if (valstr && valstr_supported && strstr(valstr_supported, valstr)) in getParameters()
826 params.set(android::CameraParameters::KEY_FLASH_MODE, valstr); in getParameters()
831 valstr = android::CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in getParameters()
833 valstr = getLUTvalue_OMXtoHAL(mParameters3A.Focus, FocusLUT); in getParameters()
836 if (valstr && valstr_supported && strstr(valstr_supported, valstr)) in getParameters()
837 params.set(android::CameraParameters::KEY_FOCUS_MODE, valstr); in getParameters()
3596 const char *valstr = NULL; in OMXCameraAdapterFillBufferDone() local