Lines Matching refs:valstr

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_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()
555 else if (strcmp(valstr, (const char *) TICameraParameters::MEASUREMENT_DISABLE) == 0) in setParameters()
640 const char *valstr = NULL; in getParameters() local
659 valstr = getLUTvalue_OMXtoHAL(mParameters3A.WhiteBallance, WBalLUT); in getParameters()
661 if (valstr && valstr_supported && strstr(valstr_supported, valstr)) in getParameters()
662 params.set(CameraParameters::KEY_WHITE_BALANCE , valstr); in getParameters()
664 valstr = getLUTvalue_OMXtoHAL(mParameters3A.FlashMode, FlashLUT); in getParameters()
666 if (valstr && valstr_supported && strstr(valstr_supported, valstr)) in getParameters()
667 params.set(CameraParameters::KEY_FLASH_MODE, valstr); in getParameters()
671 valstr = CameraParameters::FOCUS_MODE_CONTINUOUS_PICTURE; in getParameters()
673 valstr = getLUTvalue_OMXtoHAL(mParameters3A.Focus, FocusLUT); in getParameters()
676 if (valstr && valstr_supported && strstr(valstr_supported, valstr)) in getParameters()
677 params.set(CameraParameters::KEY_FOCUS_MODE, valstr); in getParameters()
3085 const char *valstr = NULL; in OMXCameraAdapterFillBufferDone() local