Lines Matching refs:hw
321 … QCamera3HardwareInterface *hw = new QCamera3HardwareInterface(mHalDescriptors[camera_id].cameraId, in cameraDeviceOpen() local
323 if (!hw) { in cameraDeviceOpen()
327 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
329 delete hw; in cameraDeviceOpen()
332 QCamera2HardwareInterface *hw = new QCamera2HardwareInterface((uint32_t)camera_id); in cameraDeviceOpen() local
333 if (!hw) { in cameraDeviceOpen()
337 rc = hw->openCamera(hw_device); in cameraDeviceOpen()
339 delete hw; in cameraDeviceOpen()
412 QCamera2HardwareInterface *hw = in openLegacy() local
414 if (!hw) { in openLegacy()
418 rc = hw->openCamera(hw_device); in openLegacy()
420 delete hw; in openLegacy()