Home
last modified time | relevance | path

Searched refs:bufs (Results 1 – 24 of 24) sorted by relevance

/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c33 static void mm_app_preview_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_preview_notify_cb() argument
37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_preview_notify_cb()
45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_preview_notify_cb()
46 bufs->ch_id, in mm_app_preview_notify_cb()
56 static void mm_app_zsl_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_zsl_notify_cb() argument
71 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_zsl_notify_cb()
77 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_zsl_notify_cb()
106 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb()
107 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_zsl_notify_cb()
108 p_frame = bufs->bufs[i]; in mm_app_zsl_notify_cb()
[all …]
Dmm_qcamera_snapshot.c64 pme->current_job_frames->bufs[i])) { in jpeg_encode_cb()
158 static void mm_app_snapshot_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_notify_cb() argument
175 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb()
181 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb()
200 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
201 if (bufs->bufs[i]->stream_id == m_stream->s_id) { in mm_app_snapshot_notify_cb()
202 m_frame = bufs->bufs[i]; in mm_app_snapshot_notify_cb()
223 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
224 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_snapshot_notify_cb()
225 p_frame = bufs->bufs[i]; in mm_app_snapshot_notify_cb()
[all …]
Dmm_qcamera_video.c33 static void mm_app_video_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_video_notify_cb() argument
37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb()
45 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_video_notify_cb()
46 bufs->ch_id, in mm_app_video_notify_cb()
Dmm_qcamera_rdi.c61 static void mm_app_rdi_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_rdi_notify_cb() argument
65 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb()
73 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_rdi_notify_cb()
74 bufs->ch_id, in mm_app_rdi_notify_cb()
Dmm_qcamera_app.c334 mm_camera_buf_def_t **bufs, in mm_app_stream_initbuf() argument
399 *bufs = pBufs; in mm_app_stream_initbuf()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Stream.h67 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs);
112 mm_camera_buf_def_t **bufs,
124 mm_camera_buf_def_t **bufs,
DQCamera3Stream.cpp65 mm_camera_buf_def_t **bufs, in get_bufs() argument
74 return stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs()
403 recvd_frame->bufs[0] == NULL || in dataNotifyCB()
404 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB()
413 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
463 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
557 mm_camera_buf_def_t **bufs, in getBufs() argument
627 *bufs = mBufDefs; in getBufs()
DQCamera3PostProc.cpp367 aux_frame->bufs[0] = frame; in processAuxiliaryData()
682 memset(job->aux_frame->bufs[i], 0, sizeof(mm_camera_buf_def_t)); in releaseJpegJobData()
683 free(job->aux_frame->bufs[i]); in releaseJpegJobData()
684 job->aux_frame->bufs[i] = NULL; in releaseJpegJobData()
818 srcChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in encodeData()
825 main_frame = recvd_frame->bufs[i]; in encodeData()
830 thumb_frame = recvd_frame->bufs[i]; in encodeData()
965 if (jpeg_job_data->src_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in encodeData()
966 meta_frame = jpeg_job_data->src_frame->bufs[i]; in encodeData()
974 if (jpeg_job_data->src_reproc_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in encodeData()
[all …]
DQCamera3Channel.cpp312 if (recvd_frame->bufs[i] != NULL) { in bufDone()
315 mStreams[j]->getMyHandle() == recvd_frame->bufs[i]->stream_id) { in bufDone()
316 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
670 if(super_frame->bufs[0] == NULL ) { in streamCbRoutine()
676 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
1158 if(super_frame->bufs[0] == NULL ) { in streamCbRoutine()
1164 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
1883 if(super_frame->bufs[0] == NULL ) { in streamCbRoutine()
1889 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
2060 QCamera3Stream *pStream = getStreamBySourceHandle(frame->bufs[i]->stream_id); in doReprocess()
[all …]
DQCamera3HWI.cpp965 metadata_buffer_t *metadata = (metadata_buffer_t *)metadata_buf->bufs[0]->buffer; in handleMetadataWithLock()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraChannel.cpp300 if (recvd_frame->bufs[i] != NULL) { in bufDone()
303 mStreams[j]->getMyHandle() == recvd_frame->bufs[i]->stream_id) { in bufDone()
304 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
747 QCameraStream *pStream = m_pSrcChannel->getStreamByHandle(frame->bufs[i]->stream_id); in doReprocess()
750 meta_buf_index = frame->bufs[i]->buf_idx; in doReprocess()
758 QCameraStream *pStream = getStreamBySrouceHandle(frame->bufs[i]->stream_id); in doReprocess()
769 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
770 param.reprocess.frame_idx = frame->bufs[i]->frame_idx; in doReprocess()
DQCameraStream.h66 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs);
115 mm_camera_buf_def_t **bufs,
127 mm_camera_buf_def_t **bufs,
DQCameraStream.cpp60 mm_camera_buf_def_t **bufs, in get_bufs() argument
69 return stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs()
404 recvd_frame->bufs[0] == NULL || in dataNotifyCB()
405 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB()
414 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
463 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
556 mm_camera_buf_def_t **bufs, in getBufs() argument
641 *bufs = mBufDefs; in getBufs()
DQCamera2HWICallbacks.cpp150 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in capture_channel_cb_routine()
155 main_frame = recvd_frame->bufs[i]; in capture_channel_cb_routine()
252 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in preview_stream_cb_routine()
265 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in preview_stream_cb_routine()
385 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in nodisplay_preview_stream_cb_routine()
454 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine()
469 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in postview_stream_cb_routine()
534 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in video_stream_cb_routine()
679 mm_camera_buf_def_t *frame = super_frame->bufs[0]; in metadata_stream_cb_routine()
DQCameraPostProc.cpp955 pChannel->getStreamByHandle(recvd_frame->bufs[i]->stream_id); in encodeData()
962 main_frame = recvd_frame->bufs[i]; in encodeData()
968 thumb_frame = recvd_frame->bufs[i]; in encodeData()
1092 if (jpeg_job_data->src_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in encodeData()
1093 meta_frame = jpeg_job_data->src_frame->bufs[i]; in encodeData()
1100 if (jpeg_job_data->src_reproc_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_METADATA) { in encodeData()
1101 meta_frame = jpeg_job_data->src_reproc_frame->bufs[i]; in encodeData()
1139 if ( recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_SNAPSHOT || in processRawImageImpl()
1140 recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_NON_ZSL_SNAPSHOT || in processRawImageImpl()
1141 recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW ) { in processRawImageImpl()
[all …]
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_camera_interface.h93 mm_camera_buf_def_t* bufs[MAX_STREAM_NUM_IN_BUNDLE]; member
122 typedef void (*mm_camera_buf_notify_t) (mm_camera_super_buf_t *bufs,
180 mm_camera_buf_def_t **bufs,
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp113 exynos5_hwc_post_data_t bufs; member
852 memset(pdev->bufs.gsc_map, 0, sizeof(pdev->bufs.gsc_map)); in exynos5_prepare_fimd()
856 pdev->bufs.overlay_map[i] = -1; in exynos5_prepare_fimd()
1013 pdev->bufs.overlay_map[nextWindow] = i; in exynos5_prepare_fimd()
1019 pdev->bufs.gsc_map[nextWindow].mode = in exynos5_prepare_fimd()
1021 pdev->bufs.gsc_map[nextWindow].idx = FIMD_GSC_IDX; in exynos5_prepare_fimd()
1032 pdev->bufs.fb_window = first_fb; in exynos5_prepare_fimd()
1034 pdev->bufs.fb_window = NO_FB_NEEDED; in exynos5_prepare_fimd()
1390 exynos5_hwc_post_data_t *pdata = &pdev->bufs; in exynos5_post_fimd()
1490 if (pdev->bufs.fb_window != NO_FB_NEEDED) { in exynos5_set_fimd()
[all …]
/hardware/libhardware/tests/camera2/
Dcamera2_utils.h64 status_t setStreamSlot(const List<camera_metadata_t*> &bufs);
Dcamera2_utils.cpp168 status_t MetadataQueue::setStreamSlot(const List<camera_metadata_t*> &bufs) { in setStreamSlot() argument
172 mStreamSlot = bufs; in setStreamSlot()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h185 mm_camera_buf_def_t **bufs,
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h1131 status_t freeVideoBufs(void *bufs);
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c251 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
Dmm_camera_stream.c282 super_buf.bufs[0] = buf_info->buf; in mm_stream_dispatch_app_data()
/hardware/ti/omap4xxx/camera/
DCameraHal.cpp1392 status_t CameraHal::freeVideoBufs(void *bufs) in freeVideoBufs() argument
1398 buffer_handle_t *pBuf = (buffer_handle_t*)bufs; in freeVideoBufs()