message: sdk: camera_96tof1.cpp: add support for depth/ir only frame types
  Make sure the registers are always set to the proper value for depth/ir only to happen.
  Make sure the depth frame gets calibrated in both depth_ir and depth_only camera frame types.
diff: @@ -227,6 +227,20 @@ aditof::Status Camera96Tof1::setMode(const std::string &mode,
  }
  }
  + // register writes for enabling only one video stream (depth/ ir)
  + // must be done here after programming the camera in order for them to
  + // work properly. Setting the mode of the camera, programming it
  + // with a different firmware would reset the value in the oxc3da register
  + if (m_details.frameType.type == "depth_only") {
  + uint16_t afeRegsAddr[5] = {0x4001, 0x7c22, 0xc3da, 0x4001, 0x7c22};
  + uint16_t afeRegsVal[5] = {0x0006, 0x0004, 0x03, 0x0007, 0x0004};
  + m_device->writeAfeRegisters(afeRegsAddr, afeRegsVal, 5);
  + } else if (m_details.frameType.type == "ir_only") {
  + uint16_t afeRegsAddr[5] = {0x4001, 0x7c22, 0xc3da, 0x4001, 0x7c22};
  + uint16_t afeRegsVal[5] = {0x0006, 0x0004, 0x05, 0x0007, 0x0004};
  + m_device->writeAfeRegisters(afeRegsAddr, afeRegsVal, 5);
  + }
  +
  m_details.mode = mode;
  return status;
  @@ -331,7 +345,8 @@ aditof::Status Camera96Tof1::requestFrame(aditof::Frame *frame,
  }
  if (m_details.mode != skCustomMode &&
  - m_details.frameType.type == "depth_ir") {
  + (m_details.frameType.type == "depth_ir" ||
  + m_details.frameType.type == "depth_only")) {
  m_device->applyCalibrationToFrame(frameDataLocation, m_details.mode);
  }
  