Lines Matching refs:QCamera2HardwareInterface
67 camera_device_ops_t QCamera2HardwareInterface::mCameraOps = {
68 .set_preview_window = QCamera2HardwareInterface::set_preview_window,
69 .set_callbacks = QCamera2HardwareInterface::set_CallBacks,
70 .enable_msg_type = QCamera2HardwareInterface::enable_msg_type,
71 .disable_msg_type = QCamera2HardwareInterface::disable_msg_type,
72 .msg_type_enabled = QCamera2HardwareInterface::msg_type_enabled,
74 .start_preview = QCamera2HardwareInterface::start_preview,
75 .stop_preview = QCamera2HardwareInterface::stop_preview,
76 .preview_enabled = QCamera2HardwareInterface::preview_enabled,
77 .store_meta_data_in_buffers = QCamera2HardwareInterface::store_meta_data_in_buffers,
79 .start_recording = QCamera2HardwareInterface::start_recording,
80 .stop_recording = QCamera2HardwareInterface::stop_recording,
81 .recording_enabled = QCamera2HardwareInterface::recording_enabled,
82 .release_recording_frame = QCamera2HardwareInterface::release_recording_frame,
84 .auto_focus = QCamera2HardwareInterface::auto_focus,
85 .cancel_auto_focus = QCamera2HardwareInterface::cancel_auto_focus,
87 .take_picture = QCamera2HardwareInterface::take_picture,
88 .cancel_picture = QCamera2HardwareInterface::cancel_picture,
90 .set_parameters = QCamera2HardwareInterface::set_parameters,
91 .get_parameters = QCamera2HardwareInterface::get_parameters,
92 .put_parameters = QCamera2HardwareInterface::put_parameters,
93 .send_command = QCamera2HardwareInterface::send_command,
95 .release = QCamera2HardwareInterface::release,
96 .dump = QCamera2HardwareInterface::dump,
112 int QCamera2HardwareInterface::set_preview_window(struct camera_device *device, in set_preview_window()
117 QCamera2HardwareInterface *hw = in set_preview_window()
118 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in set_preview_window()
151 void QCamera2HardwareInterface::set_CallBacks(struct camera_device *device, in set_CallBacks()
159 QCamera2HardwareInterface *hw = in set_CallBacks()
160 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in set_CallBacks()
193 void QCamera2HardwareInterface::enable_msg_type(struct camera_device *device, int32_t msg_type) in enable_msg_type()
196 QCamera2HardwareInterface *hw = in enable_msg_type()
197 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in enable_msg_type()
222 void QCamera2HardwareInterface::disable_msg_type(struct camera_device *device, int32_t msg_type) in disable_msg_type()
225 QCamera2HardwareInterface *hw = in disable_msg_type()
226 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in disable_msg_type()
252 int QCamera2HardwareInterface::msg_type_enabled(struct camera_device *device, int32_t msg_type) in msg_type_enabled()
256 QCamera2HardwareInterface *hw = in msg_type_enabled()
257 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in msg_type_enabled()
286 int QCamera2HardwareInterface::start_preview(struct camera_device *device) in start_preview()
290 QCamera2HardwareInterface *hw = in start_preview()
291 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in start_preview()
326 void QCamera2HardwareInterface::stop_preview(struct camera_device *device) in stop_preview()
329 QCamera2HardwareInterface *hw = in stop_preview()
330 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in stop_preview()
359 int QCamera2HardwareInterface::preview_enabled(struct camera_device *device) in preview_enabled()
363 QCamera2HardwareInterface *hw = in preview_enabled()
364 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in preview_enabled()
395 int QCamera2HardwareInterface::store_meta_data_in_buffers( in store_meta_data_in_buffers()
399 QCamera2HardwareInterface *hw = in store_meta_data_in_buffers()
400 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in store_meta_data_in_buffers()
430 int QCamera2HardwareInterface::start_recording(struct camera_device *device) in start_recording()
434 QCamera2HardwareInterface *hw = in start_recording()
435 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in start_recording()
464 void QCamera2HardwareInterface::stop_recording(struct camera_device *device) in stop_recording()
467 QCamera2HardwareInterface *hw = in stop_recording()
468 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in stop_recording()
495 int QCamera2HardwareInterface::recording_enabled(struct camera_device *device) in recording_enabled()
499 QCamera2HardwareInterface *hw = in recording_enabled()
500 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in recording_enabled()
528 void QCamera2HardwareInterface::release_recording_frame( in release_recording_frame()
532 QCamera2HardwareInterface *hw = in release_recording_frame()
533 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in release_recording_frame()
565 int QCamera2HardwareInterface::auto_focus(struct camera_device *device) in auto_focus()
569 QCamera2HardwareInterface *hw = in auto_focus()
570 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in auto_focus()
601 int QCamera2HardwareInterface::cancel_auto_focus(struct camera_device *device) in cancel_auto_focus()
605 QCamera2HardwareInterface *hw = in cancel_auto_focus()
606 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in cancel_auto_focus()
636 int QCamera2HardwareInterface::take_picture(struct camera_device *device) in take_picture()
640 QCamera2HardwareInterface *hw = in take_picture()
641 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in take_picture()
741 int QCamera2HardwareInterface::cancel_picture(struct camera_device *device) in cancel_picture()
745 QCamera2HardwareInterface *hw = in cancel_picture()
746 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in cancel_picture()
776 int QCamera2HardwareInterface::set_parameters(struct camera_device *device, in set_parameters()
781 QCamera2HardwareInterface *hw = in set_parameters()
782 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in set_parameters()
809 char* QCamera2HardwareInterface::get_parameters(struct camera_device *device) in get_parameters()
813 QCamera2HardwareInterface *hw = in get_parameters()
814 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in get_parameters()
842 void QCamera2HardwareInterface::put_parameters(struct camera_device *device, in put_parameters()
846 QCamera2HardwareInterface *hw = in put_parameters()
847 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in put_parameters()
876 int QCamera2HardwareInterface::send_command(struct camera_device *device, in send_command()
883 QCamera2HardwareInterface *hw = in send_command()
884 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in send_command()
917 void QCamera2HardwareInterface::release(struct camera_device *device) in release()
920 QCamera2HardwareInterface *hw = in release()
921 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in release()
948 int QCamera2HardwareInterface::dump(struct camera_device *device, int fd) in dump()
956 QCamera2HardwareInterface *hw = in dump()
957 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in dump()
986 int QCamera2HardwareInterface::close_camera_device(hw_device_t *hw_dev) in close_camera_device()
991 QCamera2HardwareInterface *hw = in close_camera_device()
992 reinterpret_cast<QCamera2HardwareInterface *>( in close_camera_device()
1017 int QCamera2HardwareInterface::register_face_image(struct camera_device *device, in register_face_image()
1023 QCamera2HardwareInterface *hw = in register_face_image()
1024 reinterpret_cast<QCamera2HardwareInterface *>(device->priv); in register_face_image()
1055 QCamera2HardwareInterface::QCamera2HardwareInterface(uint32_t cameraId) in QCamera2HardwareInterface() function in qcamera::QCamera2HardwareInterface
1151 QCamera2HardwareInterface::~QCamera2HardwareInterface() in ~QCamera2HardwareInterface()
1185 int QCamera2HardwareInterface::openCamera(struct hw_device_t **hw_device) in openCamera()
1224 int QCamera2HardwareInterface::openCamera() in openCamera()
1302 int QCamera2HardwareInterface::closeCamera() in closeCamera()
1378 int QCamera2HardwareInterface::initCapabilities(uint32_t cameraId, in initCapabilities()
1443 int QCamera2HardwareInterface::getCapabilities(uint32_t cameraId, in getCapabilities()
1469 cam_capability_t* QCamera2HardwareInterface::getCamHalCapabilities() in getCamHalCapabilities()
1484 uint8_t QCamera2HardwareInterface::getBufNumRequired(cam_stream_type_t stream_type) in getBufNumRequired()
1701 QCameraMemory *QCamera2HardwareInterface::allocateStreamBuf( in allocateStreamBuf()
1818 int32_t QCamera2HardwareInterface::allocateMoreStreamBuf( in allocateMoreStreamBuf()
1841 QCameraHeapMemory *QCamera2HardwareInterface::allocateMiscBuf( in allocateMiscBuf()
1895 QCameraHeapMemory *QCamera2HardwareInterface::allocateStreamInfoBuf( in allocateStreamInfoBuf()
2057 QCameraMemory *QCamera2HardwareInterface::allocateStreamUserBuf( in allocateStreamUserBuf()
2131 int QCamera2HardwareInterface::setPreviewWindow( in setPreviewWindow()
2154 int QCamera2HardwareInterface::setCallBacks(camera_notify_callback notify_cb, in setCallBacks()
2181 int QCamera2HardwareInterface::enableMsgType(int32_t msg_type) in enableMsgType()
2199 int QCamera2HardwareInterface::disableMsgType(int32_t msg_type) in disableMsgType()
2216 int QCamera2HardwareInterface::msgTypeEnabled(int32_t msg_type) in msgTypeEnabled()
2232 int QCamera2HardwareInterface::msgTypeEnabledWithLock(int32_t msg_type) in msgTypeEnabledWithLock()
2252 int QCamera2HardwareInterface::startPreview() in startPreview()
2277 int32_t QCamera2HardwareInterface::updatePostPreviewParameters() { in updatePostPreviewParameters()
2295 int QCamera2HardwareInterface::stopPreview() in stopPreview()
2322 int QCamera2HardwareInterface::storeMetaDataInBuffers(int enable) in storeMetaDataInBuffers()
2339 int QCamera2HardwareInterface::startRecording() in startRecording()
2379 int QCamera2HardwareInterface::stopRecording() in stopRecording()
2404 int QCamera2HardwareInterface::releaseRecordingFrame(const void * opaque) in releaseRecordingFrame()
2427 int QCamera2HardwareInterface::autoFocus() in autoFocus()
2462 int QCamera2HardwareInterface::cancelAutoFocus() in cancelAutoFocus()
2500 bool QCamera2HardwareInterface::processUFDumps(qcamera_jpeg_evt_payload_t *evt) in processUFDumps()
2559 int32_t QCamera2HardwareInterface::unconfigureAdvancedCapture() in unconfigureAdvancedCapture()
2619 int32_t QCamera2HardwareInterface::configureAdvancedCapture() in configureAdvancedCapture()
2681 int32_t QCamera2HardwareInterface::configureAFBracketing(bool enable) in configureAFBracketing()
2730 int32_t QCamera2HardwareInterface::configureHDRBracketing() in configureHDRBracketing()
2795 int32_t QCamera2HardwareInterface::configureAEBracketing() in configureAEBracketing()
2820 int32_t QCamera2HardwareInterface::configureOptiZoom() in configureOptiZoom()
2847 int32_t QCamera2HardwareInterface::configureStillMore() in configureStillMore()
2907 int32_t QCamera2HardwareInterface::stopAdvancedCapture( in stopAdvancedCapture()
2943 int32_t QCamera2HardwareInterface::startAdvancedCapture( in startAdvancedCapture()
2979 int QCamera2HardwareInterface::takePicture() in takePicture()
3243 int32_t QCamera2HardwareInterface::configureOnlineRotation(QCameraChannel &ch) in configureOnlineRotation()
3289 int32_t QCamera2HardwareInterface::declareSnapshotStreams() in declareSnapshotStreams()
3318 int32_t QCamera2HardwareInterface::longShot() in longShot()
3355 int QCamera2HardwareInterface::stopCaptureChannel(bool destroy) in stopCaptureChannel()
3382 int QCamera2HardwareInterface::cancelPicture() in cancelPicture()
3430 void QCamera2HardwareInterface::captureDone() in captureDone()
3461 QCamera2HardwareInterface *hw = reinterpret_cast<QCamera2HardwareInterface *>(data); in Live_Snapshot_thread()
3483 QCamera2HardwareInterface *hw = reinterpret_cast<QCamera2HardwareInterface *>(data); in Int_Pic_thread()
3517 int QCamera2HardwareInterface::takeLiveSnapshot() in takeLiveSnapshot()
3535 int QCamera2HardwareInterface::takePictureInternal() in takePictureInternal()
3552 void QCamera2HardwareInterface::checkIntPicPending(bool JpegMemOpt, char *raw_format) in checkIntPicPending()
3623 int QCamera2HardwareInterface::takeBackendPic_internal(bool *JpegMemOpt, char *raw_format) in takeBackendPic_internal()
3711 void QCamera2HardwareInterface::clearIntPendingEvents() in clearIntPendingEvents()
3748 int QCamera2HardwareInterface::takeLiveSnapshot_internal() in takeLiveSnapshot_internal()
3848 int QCamera2HardwareInterface::cancelLiveSnapshot() in cancelLiveSnapshot()
3880 char* QCamera2HardwareInterface::getParameters() in getParameters()
3935 int QCamera2HardwareInterface::putParameters(char *parms) in putParameters()
3955 int QCamera2HardwareInterface::sendCommand(int32_t command, in sendCommand()
4055 int QCamera2HardwareInterface::registerFaceImage(void *img_ptr, in registerFaceImage()
4142 int QCamera2HardwareInterface::release() in release()
4167 int QCamera2HardwareInterface::dump(int fd) in dump()
4195 int QCamera2HardwareInterface::processAPI(qcamera_sm_evt_enum_t api, void *api_payload) in processAPI()
4219 int QCamera2HardwareInterface::processEvt(qcamera_sm_evt_enum_t evt, void *evt_payload) in processEvt()
4237 int QCamera2HardwareInterface::processSyncEvt(qcamera_sm_evt_enum_t evt, void *evt_payload) in processSyncEvt()
4267 void QCamera2HardwareInterface::camEvtHandle(uint32_t /*camera_handle*/, in camEvtHandle()
4271 QCamera2HardwareInterface *obj = (QCamera2HardwareInterface *)user_data; in camEvtHandle()
4331 void QCamera2HardwareInterface::jpegEvtHandle(jpeg_job_status_t status, in jpegEvtHandle()
4337 QCamera2HardwareInterface *obj = (QCamera2HardwareInterface *)userdata; in jpegEvtHandle()
4369 int QCamera2HardwareInterface::thermalEvtHandle( in thermalEvtHandle()
4400 int32_t QCamera2HardwareInterface::sendEvtNotify(int32_t msg_type, in sendEvtNotify()
4423 int32_t QCamera2HardwareInterface::processAEInfo(cam_3a_params_t &ae_params) in processAEInfo()
4441 int32_t QCamera2HardwareInterface::processFocusPositionInfo(cam_focus_pos_info_t &cur_pos_info) in processFocusPositionInfo()
4461 int32_t QCamera2HardwareInterface::processAutoFocusEvent(cam_auto_focus_data_t &focus_data) in processAutoFocusEvent()
4568 int32_t QCamera2HardwareInterface::processZoomEvent(cam_crop_data_t &crop_info) in processZoomEvent()
4591 int32_t QCamera2HardwareInterface::processZSLCaptureDone() in processZSLCaptureDone()
4615 int32_t QCamera2HardwareInterface::processRetroAECUnlock() in processRetroAECUnlock()
4652 int32_t QCamera2HardwareInterface::processHDRData(cam_asd_hdr_scene_data_t hdr_scene) in processHDRData()
4730 int32_t QCamera2HardwareInterface::transAwbMetaToParams(cam_awb_params_t &awb_params) in transAwbMetaToParams()
4751 int32_t QCamera2HardwareInterface::processPrepSnapshotDoneEvent( in processPrepSnapshotDoneEvent()
4780 int32_t QCamera2HardwareInterface::processASDUpdate(cam_auto_scene_t scene) in processASDUpdate()
4839 int32_t QCamera2HardwareInterface::processJpegNotify(qcamera_jpeg_evt_payload_t *jpeg_evt) in processJpegNotify()
4853 void QCamera2HardwareInterface::lockAPI() in lockAPI()
4869 void QCamera2HardwareInterface::waitAPIResult(qcamera_sm_evt_enum_t api_evt, in waitAPIResult()
4911 void QCamera2HardwareInterface::unlockAPI() in unlockAPI()
4926 void QCamera2HardwareInterface::signalAPIResult(qcamera_api_result_t *result) in signalAPIResult()
4959 void QCamera2HardwareInterface::signalEvtResult(qcamera_api_result_t *result) in signalEvtResult()
4967 int32_t QCamera2HardwareInterface::prepareRawStream(QCameraChannel *curChannel) in prepareRawStream()
5030 int32_t QCamera2HardwareInterface::addStreamToChannel(QCameraChannel *pChannel, in addStreamToChannel()
5141 int32_t QCamera2HardwareInterface::addPreviewChannel() in addPreviewChannel()
5218 int32_t QCamera2HardwareInterface::addVideoChannel() in addVideoChannel()
5269 int32_t QCamera2HardwareInterface::addSnapshotChannel() in addSnapshotChannel()
5325 int32_t QCamera2HardwareInterface::addRawChannel() in addRawChannel()
5384 int32_t QCamera2HardwareInterface::addZSLChannel() in addZSLChannel()
5497 int32_t QCamera2HardwareInterface::addCaptureChannel() in addCaptureChannel()
5605 int32_t QCamera2HardwareInterface::addMetaDataChannel() in addMetaDataChannel()
5654 int32_t QCamera2HardwareInterface::addAnalysisChannel() in addAnalysisChannel()
5704 int32_t QCamera2HardwareInterface::getPPConfig(cam_pp_feature_config_t &pp_config, int curCount) in getPPConfig()
5876 QCameraReprocessChannel *QCamera2HardwareInterface::addReprocChannel( in addReprocChannel()
5995 QCameraReprocessChannel *QCamera2HardwareInterface::addOfflineReprocChannel( in addOfflineReprocChannel()
6066 int32_t QCamera2HardwareInterface::addChannel(qcamera_ch_type_enum_t ch_type) in addChannel()
6113 int32_t QCamera2HardwareInterface::delChannel(qcamera_ch_type_enum_t ch_type, in delChannel()
6140 int32_t QCamera2HardwareInterface::startChannel(qcamera_ch_type_enum_t ch_type) in startChannel()
6165 int32_t QCamera2HardwareInterface::stopChannel(qcamera_ch_type_enum_t ch_type) in stopChannel()
6186 int32_t QCamera2HardwareInterface::preparePreview() in preparePreview()
6252 void QCamera2HardwareInterface::unpreparePreview() in unpreparePreview()
6269 void QCamera2HardwareInterface::playShutter(){ in playShutter()
6295 QCameraChannel *QCamera2HardwareInterface::getChannelByHandle(uint32_t channelHandle) in getChannelByHandle()
6319 int32_t QCamera2HardwareInterface::processFaceDetectionResult(cam_face_detection_data_t *fd_data) in processFaceDetectionResult()
6518 void QCamera2HardwareInterface::releaseCameraMemory(void *data, in releaseCameraMemory()
6540 void QCamera2HardwareInterface::returnStreamBuffer(void *data, in returnStreamBuffer()
6565 int32_t QCamera2HardwareInterface::processHistogramStats(cam_hist_stats_t &stats_data) in processHistogramStats()
6632 int QCamera2HardwareInterface::calcThermalLevel( in calcThermalLevel()
6762 int QCamera2HardwareInterface::recalcFPSRange(int &minFPS, int &maxFPS, in recalcFPSRange()
6786 int QCamera2HardwareInterface::updateThermalLevel(void *thermal_level) in updateThermalLevel()
6833 int QCamera2HardwareInterface::updateParameters(const char *parms, bool &needRestart) in updateParameters()
6865 int QCamera2HardwareInterface::commitParameterChanges() in commitParameterChanges()
6888 bool QCamera2HardwareInterface::needDebugFps() in needDebugFps()
6907 bool QCamera2HardwareInterface::isCACEnabled() in isCACEnabled()
6926 bool QCamera2HardwareInterface::is4k2kResolution(cam_dimension_t* resolution) in is4k2kResolution()
6947 bool QCamera2HardwareInterface::isAFRunning() in isAFRunning()
6967 bool QCamera2HardwareInterface::isPreviewRestartEnabled() in isPreviewRestartEnabled()
6986 bool QCamera2HardwareInterface::needReprocess() in needReprocess()
7084 bool QCamera2HardwareInterface::needRotationReprocess() in needRotationReprocess()
7123 bool QCamera2HardwareInterface::needScaleReprocess() in needScaleReprocess()
7156 void QCamera2HardwareInterface::getThumbnailSize(cam_dimension_t &dim) in getThumbnailSize()
7172 uint32_t QCamera2HardwareInterface::getJpegQuality() in getJpegQuality()
7190 QCameraExif *QCamera2HardwareInterface::getExifData() in getExifData()
7391 int32_t QCamera2HardwareInterface::setHistogram(bool histogram_en) in setHistogram()
7408 int32_t QCamera2HardwareInterface::setFaceDetection(bool enabled) in setFaceDetection()
7424 bool QCamera2HardwareInterface::isCaptureShutterEnabled() in isCaptureShutterEnabled()
7444 bool QCamera2HardwareInterface::needProcessPreviewFrame() in needProcessPreviewFrame()
7462 int32_t QCamera2HardwareInterface::prepareHardwareForSnapshot(int32_t afNeeded) in prepareHardwareForSnapshot()
7481 bool QCamera2HardwareInterface::needFDMetadata(qcamera_ch_type_enum_t channel_type) in needFDMetadata()
7507 void *QCamera2HardwareInterface::defferedWorkRoutine(void *obj) in defferedWorkRoutine()
7513 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)obj; in defferedWorkRoutine()
7642 int32_t QCamera2HardwareInterface::queueDefferedWork(DefferedWorkCmd cmd, in queueDefferedWork()
7677 int32_t QCamera2HardwareInterface::waitDefferedWork(int32_t &job_id) in waitDefferedWork()
7702 bool QCamera2HardwareInterface::isRegularCapture() in isRegularCapture()
7727 void QCamera2HardwareInterface::getLogLevel() in getLogLevel()
7761 cam_sensor_t QCamera2HardwareInterface::getSensorType() in getSensorType()