Guest User

Untitled

a guest
Sep 11th, 2019
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case CAM_STREAM_TYPE_PREVIEW:
  2. if (mParameters.getRecordingHintValue()) {
  3. const char* dis_param = mParameters.get(QCameraParameters::KEY_QC_DIS);
  4. bool disEnabled = (dis_param != NULL)
  5. && !strcmp(dis_param,QCameraParameters::VALUE_ENABLE);
  6. if(disEnabled) {
  7. char value[PROPERTY_VALUE_MAX];
  8. property_get("persist.camera.is_type", value, "0");
  9. streamInfo->is_type = static_cast<cam_is_type_t>(atoi(value));
  10. } else {
  11. streamInfo->is_type = IS_TYPE_NONE;
  12. }
  13. if (mParameters.isSeeMoreEnabled()) {
  14. streamInfo->pp_config.feature_mask |= CAM_QCOM_FEATURE_LLVD;
  15. }
  16. }
RAW Paste Data