Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_preview.c233 mm_camera_buf_def_t *bufs)
239 … (void *)pme->preview_buf.frame[i].buffer, bufs[i].frame_len);
242 __func__, bufs[i].fd, rc);
255 mm_camera_buf_def_t *bufs)
297 bufs[i].fd = pme->preview_buf.frame[i].fd;
299 bufs[i].frame_len = pme->preview_buf.frame[i].ion_alloc.len;
300 bufs[i].num_planes = num_planes;
302 bufs[i].frame = &pme->preview_buf.frame[i];
306 bufs[i].planes[0].length = planes[0];
307 bufs[i].planes[0].m.userptr = bufs[i].fd;
[all …]
Dmm_qcamera_video.c90 mm_camera_buf_def_t *bufs)
100 __func__, bufs[i].fd, rc);
112 mm_camera_buf_def_t *bufs)
154 bufs[i].fd = pme->video_buf.frame[i].fd;
156 bufs[i].frame_len = pme->video_buf.frame[i].ion_alloc.len;
157 bufs[i].num_planes = num_planes;
159 bufs[i].frame = &pme->video_buf.frame[i];
163 bufs[i].planes[0].length = planes[0];
164 bufs[i].planes[0].m.userptr = bufs[i].fd;
165 bufs[i].planes[0].data_offset = y_off;
[all …]
Dmm_qcamera_snapshot.c296 static void snapshot_raw_cb(mm_camera_super_buf_t *bufs, in snapshot_raw_cb() argument
309 CDBG("%s : total streams = %d",__func__,bufs->num_bufs); in snapshot_raw_cb()
310 main_frame = bufs->bufs[0]; in snapshot_raw_cb()
311 thumb_frame = bufs->bufs[1]; in snapshot_raw_cb()
426 static void mm_app_snapshot_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_notify_cb() argument
435 mm_app_dump_snapshot_frame(bufs->snapshot.main.frame, pme->snapshot_buf.frame_len, TRUE, 0); in mm_app_snapshot_notify_cb()
436 …mm_app_dump_snapshot_frame(bufs->snapshot.thumbnail.frame, pme->thumbnail_buf.frame_len, FALSE, 0); in mm_app_snapshot_notify_cb()
448 memcpy(frame, bufs, sizeof(mm_camera_ch_data_buf_t)); in mm_app_snapshot_notify_cb()
456 pme->cam->evt->buf_done(pme->cam, bufs); in mm_app_snapshot_notify_cb()
468 pme->cam->evt->buf_done(pme->cam, bufs); in mm_app_snapshot_notify_cb()
[all …]
Dmm_qcamera_rdi.c96 static void mm_app_rdi_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_rdi_notify_cb() argument
103 frame = bufs->bufs[0] ; in mm_app_rdi_notify_cb()
/hardware/qcom/camera/QCamera/HAL2/core/src/
DQCameraStream.cpp101 void superbuf_cb_routine(mm_camera_super_buf_t *bufs, in superbuf_cb_routine() argument
108 if(bufs->bufs[0]->stream_id == p_obj->mStreamSnapMain->mMmStreamId){ in superbuf_cb_routine()
110 p_obj->mStreamSnapMain->receiveRawPicture(bufs); in superbuf_cb_routine()
114 for(int i=0;i<bufs->num_bufs;i++) { in superbuf_cb_routine()
118 bufs->bufs[i]); in superbuf_cb_routine()
125 void stream_cb_routine(mm_camera_super_buf_t *bufs, in stream_cb_routine() argument
130 ALOGE("DEBUG4:ExtMode:%d,streamid:%d",p_obj->mExtImgMode,bufs->bufs[0]->stream_id); in stream_cb_routine()
134 ((QCameraStream_preview *)p_obj)->dataCallback(bufs); in stream_cb_routine()
138 ((QCameraStream_preview *)p_obj)->dataCallback(bufs); in stream_cb_routine()
151 bufs->bufs[0]); in stream_cb_routine()
[all …]
DQCameraHWI.cpp37 extern void stream_cb_routine(mm_camera_super_buf_t *bufs,
39 extern void superbuf_cb_routine(mm_camera_super_buf_t *bufs,
192 mm_camera_buf_def_t *bufs) in get_buffer_hook() argument
198 bufs); in get_buffer_hook()
205 mm_camera_buf_def_t *bufs) in put_buffer_hook() argument
209 user_data, num_bufs, bufs); in put_buffer_hook()
219 mm_camera_buf_def_t *bufs) in getBuf() argument
241 bufs[i] = stream->mDisplayBuf[i]; in getBuf()
252 mm_camera_buf_def_t *bufs) in putBuf() argument
DQCameraStream_Preview.cpp265 nsecs_t timeStamp = seconds_to_nanoseconds(frame->bufs[0]->ts.tv_sec) ; in processPreviewFrame()
266 timeStamp += frame->bufs[0]->ts.tv_nsec; in processPreviewFrame()
276 mNotifyBuffer[frame->bufs[0]->buf_idx] = *frame; in processPreviewFrame()
279 &mPreviewMemory.buffer_handle[frame->bufs[0]->buf_idx]); in processPreviewFrame()
283 mPreviewMemory.local_flag[frame->bufs[0]->buf_idx] = BUFFER_NOT_OWNED; in processPreviewFrame()
302 rc = p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mNotifyBuffer[i].bufs[0]); in processPreviewFrame()
312 mLastQueuedFrame = &(mDisplayBuf[frame->bufs[0]->buf_idx]); in processPreviewFrame()
/hardware/qcom/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h193 mm_camera_buf_def_t *bufs);
198 mm_camera_buf_def_t *bufs);
200 extern void mm_app_preview_notify_cb(mm_camera_super_buf_t *bufs,
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h189 mm_camera_buf_def_t* bufs[MM_CAMEAR_MAX_STRAEM_BUNDLE]; member
196 typedef void (*mm_camera_buf_notify_t) (mm_camera_super_buf_t *bufs,
208 mm_camera_buf_def_t *bufs);
212 mm_camera_buf_def_t *bufs);
/hardware/qcom/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h239 mm_camera_buf_def_t *bufs);
243 mm_camera_buf_def_t *bufs);
510 mm_camera_buf_def_t *bufs);
514 mm_camera_buf_def_t *bufs);
860 friend void stream_cb_routine(mm_camera_super_buf_t *bufs, void *userdata);
861 friend void superbuf_cb_routine(mm_camera_super_buf_t *bufs, void *userdata);
DQCameraStream.h119 void dataCallback(mm_camera_super_buf_t *bufs);
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp113 exynos5_hwc_post_data_t bufs; member
838 memset(pdev->bufs.gsc_map, 0, sizeof(pdev->bufs.gsc_map)); in exynos5_prepare_fimd()
842 pdev->bufs.overlay_map[i] = -1; in exynos5_prepare_fimd()
999 pdev->bufs.overlay_map[nextWindow] = i; in exynos5_prepare_fimd()
1005 pdev->bufs.gsc_map[nextWindow].mode = in exynos5_prepare_fimd()
1007 pdev->bufs.gsc_map[nextWindow].idx = FIMD_GSC_IDX; in exynos5_prepare_fimd()
1018 pdev->bufs.fb_window = first_fb; in exynos5_prepare_fimd()
1020 pdev->bufs.fb_window = NO_FB_NEEDED; in exynos5_prepare_fimd()
1376 exynos5_hwc_post_data_t *pdata = &pdev->bufs; in exynos5_post_fimd()
1479 if (pdev->bufs.fb_window != NO_FB_NEEDED) { in exynos5_set_fimd()
[all …]
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c124 if (NULL != job_entry->src_bufs[i].bufs[j].buf_header) { in mm_jpeg_omx_abort_job()
126 job_entry->src_bufs[i].bufs[j].portIdx, in mm_jpeg_omx_abort_job()
127 job_entry->src_bufs[i].bufs[j].buf_header); in mm_jpeg_omx_abort_job()
468 omx_src_buf->bufs[i].portIdx = port_idx; in mm_jpeg_omx_use_buf()
470 &omx_src_buf->bufs[i].buf_header, in mm_jpeg_omx_use_buf()
479 omx_src_buf->bufs[i].portIdx = port_idx; in mm_jpeg_omx_use_buf()
481 &omx_src_buf->bufs[i].buf_header, in mm_jpeg_omx_use_buf()
572 job_entry->src_bufs[JPEG_SRC_IMAGE_TYPE_MAIN].bufs[i].buf_header); in mm_jpeg_omx_encode()
577 job_entry->src_bufs[JPEG_SRC_IMAGE_TYPE_THUMB].bufs[i].buf_header); in mm_jpeg_omx_encode()
/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_interface2.h345 typedef void (*mm_camera_buf_notify_t)(mm_camera_ch_data_buf_t *bufs,
361 int32_t (*buf_done)(mm_camera_t * camera, mm_camera_ch_data_buf_t *bufs);
495 int32_t cam_evt_buf_done(int cam_id, mm_camera_ch_data_buf_t *bufs);
Dmm_camera_interface2.c535 static int32_t mm_camera_buf_done(mm_camera_t * camera, mm_camera_ch_data_buf_t * bufs) in mm_camera_buf_done() argument
542 rc = mm_camera_ch_fn(my_obj, bufs->type, in mm_camera_buf_done()
543 MM_CAMERA_STATE_EVT_QBUF, (void *)bufs); in mm_camera_buf_done()
934 int32_t cam_evt_buf_done(int cam_id, mm_camera_ch_data_buf_t *bufs) in cam_evt_buf_done() argument
939 rc = mm_cam->evt->buf_done(mm_cam, bufs); in cam_evt_buf_done()
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h67 mm_jpeg_omx_buf_info bufs[MAX_SRC_BUF_NUM]; member
/hardware/libhardware/tests/camera2/
Dcamera2_utils.h59 status_t setStreamSlot(const List<camera_metadata_t*> &bufs);
Dcamera2_utils.cpp165 status_t MetadataQueue::setStreamSlot(const List<camera_metadata_t*> &bufs) { in setStreamSlot() argument
169 mStreamSlot = bufs; in setStreamSlot()
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_channel.c222 super_buf.bufs[i] = node->super_buf[i].buf; in mm_channel_pp_result_notify()
304 super_buf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
Dmm_camera_stream.c253 mm_camera_buf_def_t *buf = super_buf->bufs[0]; in mm_stream_buf_notify()
315 super_buf.bufs[0] = buf_info->buf; in mm_stream_dispatch_app_data()
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h1131 status_t freeVideoBufs(void *bufs);
/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()