/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_preview.c | 33 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 …]
|
D | mm_qcamera_snapshot.c | 64 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 …]
|
D | mm_qcamera_video.c | 33 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()
|
D | mm_qcamera_rdi.c | 61 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()
|
D | mm_qcamera_app.c | 334 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/ |
D | QCamera3Stream.h | 67 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 112 mm_camera_buf_def_t **bufs, 124 mm_camera_buf_def_t **bufs,
|
D | QCamera3Stream.cpp | 65 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()
|
D | QCamera3PostProc.cpp | 367 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 …]
|
D | QCamera3Channel.cpp | 312 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 …]
|
D | QCamera3HWI.cpp | 965 metadata_buffer_t *metadata = (metadata_buffer_t *)metadata_buf->bufs[0]->buffer; in handleMetadataWithLock()
|
/hardware/qcom/camera/QCamera2/HAL/ |
D | QCameraChannel.cpp | 300 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()
|
D | QCameraStream.h | 66 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 115 mm_camera_buf_def_t **bufs, 127 mm_camera_buf_def_t **bufs,
|
D | QCameraStream.cpp | 60 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()
|
D | QCamera2HWICallbacks.cpp | 150 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()
|
D | QCameraPostProc.cpp | 955 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/ |
D | mm_camera_interface.h | 93 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/ |
D | hwc.cpp | 113 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/ |
D | camera2_utils.h | 64 status_t setStreamSlot(const List<camera_metadata_t*> &bufs);
|
D | camera2_utils.cpp | 168 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/ |
D | mm_qcamera_app.h | 185 mm_camera_buf_def_t **bufs,
|
/hardware/ti/omap4xxx/camera/inc/ |
D | CameraHal.h | 1131 status_t freeVideoBufs(void *bufs);
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 251 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf()
|
D | mm_camera_stream.c | 282 super_buf.bufs[0] = buf_info->buf; in mm_stream_dispatch_app_data()
|
/hardware/ti/omap4xxx/camera/ |
D | CameraHal.cpp | 1392 status_t CameraHal::freeVideoBufs(void *bufs) in freeVideoBufs() argument 1398 buffer_handle_t *pBuf = (buffer_handle_t*)bufs; in freeVideoBufs()
|