Home
last modified time | relevance | path

Searched refs:pme (Results 1 – 25 of 57) sorted by relevance

123

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_pp.c56 mm_camera_app_obj_t *pme = NULL; in mm_app_preview_pp_notify_cb() local
61 pme = (mm_camera_app_obj_t *)user_data; in mm_app_preview_pp_notify_cb()
66 dumpFrameToFile(frame, pme->dim.display_width, pme->dim.display_height,"preview", 1); in mm_app_preview_pp_notify_cb()
68 buf_info = (repro_src_buf_info *)mm_qcamera_queue_peek(&pme->repro_q); in mm_app_preview_pp_notify_cb()
72 mm_qcamera_queue_deq(&pme->repro_q); in mm_app_preview_pp_notify_cb()
73 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); in mm_app_preview_pp_notify_cb()
74 mm_stream_invalid_cache(pme, buf_info->frame); in mm_app_preview_pp_notify_cb()
79 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) { in mm_app_preview_pp_notify_cb()
83 mm_stream_invalid_cache(pme,frame); in mm_app_preview_pp_notify_cb()
92 mm_camera_app_obj_t *pme = NULL; in mm_app_video_pp_notify_cb() local
[all …]
Dmm_qcamera_snapshot.c58 extern int mm_stream_alloc_bufs(mm_camera_app_obj_t *pme,
62 extern int mm_stream_release_bufs(mm_camera_app_obj_t *pme,
64 extern int mm_stream_invalid_cache(mm_camera_app_obj_t *pme,
125 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_thumbnail_fmt() local
128 fmt->fmt = pme->dim.thumb_format; in mm_app_set_thumbnail_fmt()
129 fmt->width = pme->dim.thumbnail_width; in mm_app_set_thumbnail_fmt()
130 fmt->height = pme->dim.thumbnail_height; in mm_app_set_thumbnail_fmt()
143 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_snapshot_fmt() local
145 fmt->fmt = pme->dim.main_img_format; in mm_app_set_snapshot_fmt()
146 fmt->width = pme->dim.picture_width; in mm_app_set_snapshot_fmt()
[all …]
Dmm_qcamera_preview.c47 extern int mm_stream_alloc_bufs(mm_camera_app_obj_t *pme,
51 extern int mm_stream_release_bufs(mm_camera_app_obj_t *pme,
54 extern int mm_stream_invalid_cache(mm_camera_app_obj_t *pme,
128 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_preview_fmt() local
131 fmt->fmt = pme->dim.prev_format; in mm_app_set_preview_fmt()
132 fmt->width = pme->dim.display_width; in mm_app_set_preview_fmt()
133 fmt->height = pme->dim.display_height; in mm_app_set_preview_fmt()
140 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_aec_stats_fmt() local
152 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_awb_stats_fmt() local
164 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_af_stats_fmt() local
[all …]
Dmm_qcamera_video.c48 extern int mm_stream_invalid_cache(mm_camera_app_obj_t *pme,
85 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_video_fmt() local
88 fmt->fmt = pme->dim.enc_format; in mm_app_set_video_fmt()
89 fmt->width = pme->dim.video_width; in mm_app_set_video_fmt()
90 fmt->height = pme->dim.video_height; in mm_app_set_video_fmt()
101 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data;
104 … rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->video_buf.frame[i].fd_data),
105 (void *)pme->video_buf.frame[i].buffer, pme->video_buf.frame_len);
126 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data;
141 pme->video_buf.reg[i] = 1;
[all …]
Dmm_qcamera_rdi.c55 extern int mm_stream_invalid_cache(mm_camera_app_obj_t *pme,
90 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_opmode() local
92 if (MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( in mm_app_set_opmode()
93 pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode))) { in mm_app_set_opmode()
103 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_rdi_fmt() local
107 fmt->fmt = pme->dim.rdi0_format; in mm_app_set_rdi_fmt()
120 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_open_rdi() local
122 if (pme->cam_mode == RDI_MODE) { in mm_app_open_rdi()
130 pme->cam_mode = RDI_MODE; in mm_app_open_rdi()
136 void rdi_cb_signal(mm_camera_app_obj_t *pme) in rdi_cb_signal() argument
[all …]
Dmm_qcamera_app.c225 mm_camera_app_obj_t *pme = NULL; in mm_app_open() local
229 pme = mm_app_get_cam_obj(cam_id); in mm_app_open()
232 if(pme != NULL) { in mm_app_open()
238 pme = my_cam_app.obj[cam_id]; in mm_app_open()
240 pme->mem_cam = (mm_camear_mem_vtbl_t *)malloc(sizeof(mm_camear_mem_vtbl_t)); in mm_app_open()
241 memset(pme->mem_cam,0,sizeof(mm_camear_mem_vtbl_t)); in mm_app_open()
242 pme->mem_cam->user_data = pme; in mm_app_open()
244 pme->cam = my_cam_app.hal_lib.mm_camera_open(cam_id,pme->mem_cam); in mm_app_open()
245 if(pme->cam == NULL) { in mm_app_open()
247 memset(pme,0, sizeof(pme)); in mm_app_open()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c56 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_rdi_fmt() local
73 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_open_rdi() local
75 if (pme->cam_mode == RDI_MODE) { in mm_app_open_rdi()
83 pme->cam_mode = RDI_MODE; in mm_app_open_rdi()
89 void rdi_cb_signal(mm_camera_app_obj_t *pme) in rdi_cb_signal() argument
91 if (pme->cam_mode == RDI_MODE) { in rdi_cb_signal()
101 mm_camera_app_obj_t *pme = NULL; in mm_app_rdi_notify_cb() local
104 pme = (mm_camera_app_obj_t *)user_data; in mm_app_rdi_notify_cb()
109 dumpFrameToFile(frame,pme->dim.rdi0_width,pme->dim.rdi0_height,"rdi", 1); in mm_app_rdi_notify_cb()
111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_rdi_notify_cb()
[all …]
Dmm_qcamera_snapshot.c110 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_thumbnail_fmt() local
113 fmt->fmt = pme->dim.thumb_format; in mm_app_set_thumbnail_fmt()
114 fmt->width = pme->dim.thumbnail_width; in mm_app_set_thumbnail_fmt()
115 fmt->height = pme->dim.thumbnail_height; in mm_app_set_thumbnail_fmt()
124 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_snapshot_fmt() local
126 fmt->fmt = pme->dim.main_img_format; in mm_app_set_snapshot_fmt()
127 fmt->width = pme->dim.picture_width; in mm_app_set_snapshot_fmt()
128 fmt->height = pme->dim.picture_height; in mm_app_set_snapshot_fmt()
136 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_live_snapshot_fmt() local
138 fmt->fmt = pme->dim.enc_format; in mm_app_set_live_snapshot_fmt()
[all …]
Dmm_qcamera_video.c77 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_video_fmt() local
80 fmt->fmt = pme->dim.enc_format; in mm_app_set_video_fmt()
81 fmt->width = pme->dim.video_width; in mm_app_set_video_fmt()
82 fmt->height = pme->dim.video_height; in mm_app_set_video_fmt()
93 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data;
96 rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->video_buf.frame[i].fd_data),
97 (void *)pme->video_buf.frame[i].buffer, pme->video_buf.frame_len);
118 mm_camera_app_obj_t *pme = (mm_camera_app_obj_t *)user_data;
133 pme->video_buf.reg[i] = 1;
136 pme->video_buf.frame_len = frame_len;
[all …]
Dmm_qcamera_preview.c114 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_set_preview_fmt() local
117 fmt->fmt = pme->dim.prev_format; in mm_app_set_preview_fmt()
118 fmt->width = pme->dim.display_width; in mm_app_set_preview_fmt()
119 fmt->height = pme->dim.display_height; in mm_app_set_preview_fmt()
178 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_open_camera() local
180 if (pme->cam_mode == CAMERA_MODE) { in mm_app_open_camera()
189 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_camera()
196 pme->cam_mode = CAMERA_MODE; in mm_app_open_camera()
207 mm_camera_app_obj_t *pme = mm_app_get_cam_obj(cam_id); in mm_app_open_zsl() local
209 if (pme->cam_mode == ZSL_MODE) { in mm_app_open_zsl()
[all …]
Dmm_qcamera_app.c213 mm_camera_app_obj_t *pme = NULL; in mm_app_open() local
217 pme = mm_app_get_cam_obj(cam_id); in mm_app_open()
220 if(pme != NULL) { in mm_app_open()
226 pme = my_cam_app.obj[cam_id]; in mm_app_open()
228 pme->mem_cam = (mm_camear_mem_vtbl_t *)malloc(sizeof(mm_camear_mem_vtbl_t)); in mm_app_open()
229 memset(pme->mem_cam,0,sizeof(mm_camear_mem_vtbl_t)); in mm_app_open()
230 pme->mem_cam->user_data = pme; in mm_app_open()
232 pme->cam = my_cam_app.hal_lib.mm_camera_open(cam_id,pme->mem_cam); in mm_app_open()
233 if(pme->cam == NULL) { in mm_app_open()
235 memset(pme,0, sizeof(pme)); in mm_app_open()
[all …]
/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp59 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; in zsl_channel_cb() local
60 if (pme == NULL || in zsl_channel_cb()
61 pme->mCameraHandle == NULL || in zsl_channel_cb()
62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb()
67 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; in zsl_channel_cb()
85 pme->m_postprocessor.processData(frame); in zsl_channel_cb()
110 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; in capture_channel_cb_routine() local
111 if (pme == NULL || in capture_channel_cb_routine()
112 pme->mCameraHandle == NULL || in capture_channel_cb_routine()
113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine()
[all …]
DQCameraPostProc.cpp707 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releasePPInputData() local
708 if (NULL != pme) { in releasePPInputData()
709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
726 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseJpegData() local
727 if (NULL != pme) { in releaseJpegData()
728 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
745 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseOngoingPPData() local
746 if (NULL != pme) { in releaseOngoingPPData()
749 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
1222 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; in dataProcessRoutine() local
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp59 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; in zsl_channel_cb() local
60 if (pme == NULL || in zsl_channel_cb()
61 pme->mCameraHandle == NULL || in zsl_channel_cb()
62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb()
67 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; in zsl_channel_cb()
85 pme->m_postprocessor.processData(frame); in zsl_channel_cb()
110 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; in capture_channel_cb_routine() local
111 if (pme == NULL || in capture_channel_cb_routine()
112 pme->mCameraHandle == NULL || in capture_channel_cb_routine()
113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine()
[all …]
DQCameraPostProc.cpp707 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releasePPInputData() local
708 if (NULL != pme) { in releasePPInputData()
709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
726 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseJpegData() local
727 if (NULL != pme) { in releaseJpegData()
728 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
745 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseOngoingPPData() local
746 if (NULL != pme) { in releaseOngoingPPData()
749 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
1222 QCameraPostProcessor *pme = (QCameraPostProcessor *)data; in dataProcessRoutine() local
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp64 QCamera2HardwareInterface *pme = (QCamera2HardwareInterface *)userdata; in zsl_channel_cb() local
65 if (pme == NULL || in zsl_channel_cb()
66 pme->mCameraHandle == NULL || in zsl_channel_cb()
67 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb()
72 QCameraChannel *pChannel = pme->m_channels[QCAMERA_CH_TYPE_ZSL]; in zsl_channel_cb()
79 if(pme->mParameters.isSceneSelectionEnabled() && in zsl_channel_cb()
80 !pme->m_stateMachine.isCaptureRunning()) { in zsl_channel_cb()
81 pme->selectScene(pChannel, recvd_frame); in zsl_channel_cb()
87 __func__, recvd_frame->bUnlockAEC, pme->m_bLedAfAecLock); in zsl_channel_cb()
88 if(recvd_frame->bUnlockAEC && pme->m_bLedAfAecLock) { in zsl_channel_cb()
[all …]
DQCameraPostProc.cpp975 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releasePPInputData() local
976 if (NULL != pme) { in releasePPInputData()
977 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
994 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseJpegData() local
995 if (NULL != pme) { in releaseJpegData()
996 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
1015 QCameraPostProcessor *pme = (QCameraPostProcessor *)user_data; in releaseOngoingPPData() local
1016 if (NULL != pme) { in releaseOngoingPPData()
1020 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
1174 QCameraPostProcessor *pme = (QCameraPostProcessor *) user_data; in releaseSaveJobData() local
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c41 mm_camera_test_obj_t *pme = NULL; in jpeg_encode_cb() local
44 pme = (mm_camera_test_obj_t *)userData; in jpeg_encode_cb()
45 if (pme->jpeg_hdl != client_hdl || in jpeg_encode_cb()
46 jobId != pme->current_job_id || in jpeg_encode_cb()
47 !pme->current_job_frames) { in jpeg_encode_cb()
49 __func__, jobId, pme->current_job_id); in jpeg_encode_cb()
60 pme->current_job_id = 0; in jpeg_encode_cb()
61 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { in jpeg_encode_cb()
62 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
63 pme->current_job_frames->ch_id, in jpeg_encode_cb()
[all …]
Dmm_qcamera_reprocess.c37 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_reprocess_notify_cb() local
50 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb()
51 channel = &pme->channels[i]; in mm_app_reprocess_notify_cb()
65 if ( pme->encodeJpeg ) { in mm_app_reprocess_notify_cb()
66 pme->jpeg_buf.buf.buffer = (uint8_t *)malloc(m_frame->frame_len); in mm_app_reprocess_notify_cb()
67 if ( NULL == pme->jpeg_buf.buf.buffer ) { in mm_app_reprocess_notify_cb()
72 pme->jpeg_buf.buf.frame_len = m_frame->frame_len; in mm_app_reprocess_notify_cb()
74 rc = createEncodingSession(pme, m_stream, m_frame); in mm_app_reprocess_notify_cb()
77 free(pme->jpeg_buf.buf.buffer); in mm_app_reprocess_notify_cb()
83 rc = encodeData(pme, bufs, m_stream); in mm_app_reprocess_notify_cb()
[all …]
Dmm_qcamera_preview.c42 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_metadata_notify_cb() local
54 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb()
55 channel = &pme->channels[i]; in mm_app_metadata_notify_cb()
78 if (pme->metadata == NULL) { in mm_app_metadata_notify_cb()
80 pme->metadata = malloc(sizeof(metadata_buffer_t)); in mm_app_metadata_notify_cb()
81 if (NULL == pme->metadata) { in mm_app_metadata_notify_cb()
86 memcpy(pme->metadata, frame->buffer, sizeof(metadata_buffer_t)); in mm_app_metadata_notify_cb()
102 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
118 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_preview_notify_cb() local
130 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_preview_notify_cb()
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp564 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releasePPInputData() local
565 if (NULL != pme) { in releasePPInputData()
566 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
619 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseJpegData() local
620 if (NULL != pme) { in releaseJpegData()
621 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
638 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseOngoingPPData() local
639 if (NULL != pme) { in releaseOngoingPPData()
642 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
1015 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data; in dataProcessRoutine() local
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp705 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releasePPInputData() local
706 if (NULL != pme) { in releasePPInputData()
707 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
724 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseMetadata() local
725 if (NULL != pme) { in releaseMetadata()
726 pme->m_parent->metadataBufDone((mm_camera_super_buf_t *)data); in releaseMetadata()
743 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseJpegData() local
744 if (NULL != pme) { in releaseJpegData()
745 pme->releaseJpegJobData((qcamera_hal3_jpeg_data_t *)data); in releaseJpegData()
762 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseOngoingPPData() local
[all …]
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp579 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releasePPInputData() local
580 if (NULL != pme) { in releasePPInputData()
581 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData()
598 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseJpegData() local
599 if (NULL != pme) { in releaseJpegData()
600 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData()
617 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)user_data; in releaseOngoingPPData() local
618 if (NULL != pme) { in releaseOngoingPPData()
621 pme->releaseSuperBuf(pp_job->src_frame); in releaseOngoingPPData()
994 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data; in dataProcessRoutine() local
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c41 mm_camera_test_obj_t *pme = NULL; in jpeg_encode_cb() local
44 pme = (mm_camera_test_obj_t *)userData; in jpeg_encode_cb()
45 if (pme->jpeg_hdl != client_hdl || in jpeg_encode_cb()
46 jobId != pme->current_job_id || in jpeg_encode_cb()
47 !pme->current_job_frames) { in jpeg_encode_cb()
49 __func__, jobId, pme->current_job_id); in jpeg_encode_cb()
60 pme->current_job_id = 0; in jpeg_encode_cb()
61 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { in jpeg_encode_cb()
62 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
63 pme->current_job_frames->ch_id, in jpeg_encode_cb()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c41 mm_camera_test_obj_t *pme = NULL; in jpeg_encode_cb() local
44 pme = (mm_camera_test_obj_t *)userData; in jpeg_encode_cb()
45 if (pme->jpeg_hdl != client_hdl || in jpeg_encode_cb()
46 jobId != pme->current_job_id || in jpeg_encode_cb()
47 !pme->current_job_frames) { in jpeg_encode_cb()
49 __func__, jobId, pme->current_job_id); in jpeg_encode_cb()
60 pme->current_job_id = 0; in jpeg_encode_cb()
61 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { in jpeg_encode_cb()
62 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
63 pme->current_job_frames->ch_id, in jpeg_encode_cb()
[all …]

123