/device/asus/flo/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 75 mm_camera_super_buf_t* frame = in zsl_channel_cb() local 77 if (frame == NULL) { in zsl_channel_cb() 82 *frame = *recvd_frame; in zsl_channel_cb() 85 pme->m_postprocessor.processData(frame); in zsl_channel_cb() 128 mm_camera_super_buf_t* frame = in capture_channel_cb_routine() local 130 if (frame == NULL) { in capture_channel_cb_routine() 135 *frame = *recvd_frame; in capture_channel_cb_routine() 138 pme->m_postprocessor.processData(frame); in capture_channel_cb_routine() 212 mm_camera_super_buf_t* frame = in postproc_channel_cb_routine() local 214 if (frame == NULL) { in postproc_channel_cb_routine() [all …]
|
D | QCameraPostProc.h | 56 mm_camera_super_buf_t *frame; // source frame that needs post process member 67 mm_camera_super_buf_t * frame; // ptr to frame member 107 int32_t processData(mm_camera_super_buf_t *frame); 108 int32_t processRawData(mm_camera_super_buf_t *frame); 109 int32_t processPPData(mm_camera_super_buf_t *frame);
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 75 mm_camera_super_buf_t* frame = in zsl_channel_cb() local 77 if (frame == NULL) { in zsl_channel_cb() 82 *frame = *recvd_frame; in zsl_channel_cb() 85 pme->m_postprocessor.processData(frame); in zsl_channel_cb() 128 mm_camera_super_buf_t* frame = in capture_channel_cb_routine() local 130 if (frame == NULL) { in capture_channel_cb_routine() 135 *frame = *recvd_frame; in capture_channel_cb_routine() 138 pme->m_postprocessor.processData(frame); in capture_channel_cb_routine() 212 mm_camera_super_buf_t* frame = in postproc_channel_cb_routine() local 214 if (frame == NULL) { in postproc_channel_cb_routine() [all …]
|
D | QCameraPostProc.h | 56 mm_camera_super_buf_t *frame; // source frame that needs post process member 67 mm_camera_super_buf_t * frame; // ptr to frame member 107 int32_t processData(mm_camera_super_buf_t *frame); 108 int32_t processRawData(mm_camera_super_buf_t *frame); 109 int32_t processPPData(mm_camera_super_buf_t *frame);
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 118 mm_camera_super_buf_t* frame = in zsl_channel_cb() local 120 if (frame == NULL) { in zsl_channel_cb() 125 *frame = *recvd_frame; in zsl_channel_cb() 169 for(int i = 0; i < frame->num_bufs; i++){ in zsl_channel_cb() 170 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 173 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb() 219 for(int i = 0; i < frame->num_bufs; i++){ in zsl_channel_cb() 220 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 223 pMetaFrame = frame->bufs[i]; in zsl_channel_cb() 239 for (int i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() [all …]
|
D | QCameraChannel.cpp | 1031 mm_camera_super_buf_t *frame) in doReprocessOffline() argument 1045 if (frame == NULL) { in doReprocessOffline() 1054 for (int i = 0; i < frame->num_bufs; i++) { in doReprocessOffline() 1055 pStream = m_pSrcChannel->getStreamByHandle(frame->bufs[i]->stream_id); in doReprocessOffline() 1058 meta_buf = frame->bufs[i]; in doReprocessOffline() 1064 for (int i = 0; i < frame->num_bufs; i++) { in doReprocessOffline() 1065 pStream = getStreamBySrouceHandle(frame->bufs[i]->stream_id); in doReprocessOffline() 1093 frame->bufs[i]->fd, in doReprocessOffline() 1094 frame->bufs[i]->frame_len); in doReprocessOffline() 1110 frame->bufs[i]->is_uv_subsampled; in doReprocessOffline() [all …]
|
D | QCameraPostProc.h | 72 mm_camera_super_buf_t * frame; // ptr to frame member 114 int32_t processData(mm_camera_super_buf_t *frame); 115 int32_t processRawData(mm_camera_super_buf_t *frame); 116 int32_t processPPData(mm_camera_super_buf_t *frame); 144 int32_t syncStreamParams(mm_camera_super_buf_t *frame,
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_video.c | 49 mm_camera_buf_def_t *frame); 51 static int mm_app_dump_video_frame(struct msm_frame *frame, in mm_app_dump_video_frame() argument 76 (const void *)frame->buffer, len); in mm_app_dump_video_frame() 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); 145 pme->video_buf.frame[i].ion_alloc.len = pme->video_buf.frame_len; 146 pme->video_buf.frame[i].ion_alloc.flags = 148 pme->video_buf.frame[i].ion_alloc.align = 4096; 151 &(pme->video_buf.frame[i].ion_alloc), &(pme->video_buf.frame[i].fd_data), 152 &pme->video_buf.frame[i].fd); [all …]
|
D | mm_qcamera_preview.c | 55 mm_camera_buf_def_t *frame); 306 … rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->preview_buf.frame[i].fd_data), 307 … (void *)pme->preview_buf.frame[i].buffer, bufs[i].frame_len); 348 pme->preview_buf.frame[i].ion_alloc.len = pme->preview_buf.frame_len; 349 pme->preview_buf.frame[i].ion_alloc.flags = 351 pme->preview_buf.frame[i].ion_alloc.align = 4096; 354 … &(pme->preview_buf.frame[i].ion_alloc), &(pme->preview_buf.frame[i].fd_data), 355 … &pme->preview_buf.frame[i].fd); 357 pme->preview_buf.frame[i].buffer = pmem_addr; 358 pme->preview_buf.frame[i].path = OUTPUT_TYPE_P; [all …]
|
D | mm_qcamera_pp.c | 55 mm_camera_buf_def_t *frame = NULL; in mm_app_preview_pp_notify_cb() local 60 frame = bufs->bufs[0]; in mm_app_preview_pp_notify_cb() 64 __func__, frame->frame_len, frame->frame_idx); 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() 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() 75 buf_info->frame = NULL; 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() 91 mm_camera_buf_def_t *frame = NULL; in mm_app_video_pp_notify_cb() local [all …]
|
D | mm_qcamera_rdi.c | 56 mm_camera_buf_def_t *frame); 147 mm_camera_buf_def_t *frame = NULL; in mm_app_rdi_notify_cb() local 150 frame = bufs->bufs[0] ; in mm_app_rdi_notify_cb() 153 CDBG("%s: BEGIN - length=%d, frame idx = %d\n", __func__, frame->frame_len, frame->frame_idx); in mm_app_rdi_notify_cb() 156 dumpFrameToFile(frame,pme->dim.rdi0_width,pme->dim.rdi0_height,"rdi_p", 1,"raw"); in mm_app_rdi_notify_cb() 160 dumpRdi(frame,pme->dim.rdi0_width,pme->dim.rdi0_height,"rdi_s", 1); in mm_app_rdi_notify_cb() 164 frame)) { in mm_app_rdi_notify_cb() 168 mm_stream_invalid_cache(pme,frame); in mm_app_rdi_notify_cb()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 35 static void mm_app_rdi_dump_frame(mm_camera_buf_def_t *frame, in mm_app_rdi_dump_frame() argument 43 if (frame != NULL) { in mm_app_rdi_dump_frame() 49 for (i = 0; i < frame->num_planes; i++) { in mm_app_rdi_dump_frame() 51 (uint8_t *)frame->buffer + frame->planes[i].data_offset, in mm_app_rdi_dump_frame() 65 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb() local 69 __func__, frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb() 71 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb() 75 frame)) { in mm_app_rdi_notify_cb() 78 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
|
D | mm_qcamera_video.c | 37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb() local 41 __func__, frame->frame_len, frame->frame_idx); in mm_app_video_notify_cb() 43 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb() 47 frame)) { in mm_app_video_notify_cb() 50 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 35 static void mm_app_rdi_dump_frame(mm_camera_buf_def_t *frame, in mm_app_rdi_dump_frame() argument 43 if (frame != NULL) { in mm_app_rdi_dump_frame() 49 for (i = 0; i < frame->num_planes; i++) { in mm_app_rdi_dump_frame() 51 (uint8_t *)frame->buffer + frame->planes[i].data_offset, in mm_app_rdi_dump_frame() 65 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb() local 69 __func__, frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb() 71 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb() 75 frame)) { in mm_app_rdi_notify_cb() 78 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
|
D | mm_qcamera_video.c | 37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb() local 41 __func__, frame->frame_len, frame->frame_idx); in mm_app_video_notify_cb() 43 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb() 47 frame)) { in mm_app_video_notify_cb() 50 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 35 static void mm_app_rdi_dump_frame(mm_camera_buf_def_t *frame, in mm_app_rdi_dump_frame() argument 44 if (frame != NULL) { in mm_app_rdi_dump_frame() 51 for (i = 0; i < frame->num_planes; i++) { in mm_app_rdi_dump_frame() 53 (uint8_t *)frame->buffer + frame->planes[i].data_offset, in mm_app_rdi_dump_frame() 67 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_rdi_notify_cb() local 71 __func__, frame->frame_len, frame->frame_idx, frame->stream_id); in mm_app_rdi_notify_cb() 73 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb() 77 frame)) { in mm_app_rdi_notify_cb() 80 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_rdi_notify_cb()
|
D | mm_qcamera_video.c | 37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb() local 41 __func__, frame->frame_len, frame->frame_idx); in mm_app_video_notify_cb() 43 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb() 47 frame)) { in mm_app_video_notify_cb() 50 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_video_notify_cb()
|
D | mm_qcamera_reprocess.c | 36 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() local 46 __func__, frame->frame_len, frame->frame_idx); in mm_app_reprocess_notify_cb() 88 frame)) { in mm_app_reprocess_notify_cb() 91 mm_app_cache_ops((mm_camera_app_meminfo_t *)frame->mem_info, in mm_app_reprocess_notify_cb() 278 mm_camera_buf_def_t *frame, in mm_app_do_reprocess() argument 288 ( NULL == frame ) || in mm_app_do_reprocess() 324 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess() 325 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess()
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.h | 65 mm_camera_super_buf_t *frame; // source frame that needs post process member 103 int32_t processData(mm_camera_super_buf_t *frame); 104 int32_t processRawData(mm_camera_super_buf_t *frame); 105 int32_t processPPData(mm_camera_super_buf_t *frame); 106 int32_t processAuxiliaryData(mm_camera_buf_def_t *frame, 108 int32_t processPPMetadata(mm_camera_super_buf_t *frame);
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Record.cpp | 121 status_t QCameraStream_record::processRecordFrame(mm_camera_super_buf_t *frame) in processRecordFrame() argument 124 int video_buf_idx = frame->bufs[0]->buf_idx; in processRecordFrame() 134 ALOGE("DEBUG4:%d",frame->bufs[0]->stream_id); in processRecordFrame() 135 ALOGE("<DEBUG4>: Timestamp: %ld %ld",frame->bufs[0]->ts.tv_sec,frame->bufs[0]->ts.tv_nsec); in processRecordFrame() 136 mHalCamCtrl->dumpFrameToFile(frame->bufs[0], HAL_DUMP_FRM_VIDEO); in processRecordFrame() 139 nsecs_t timeStamp = nsecs_t(frame->bufs[0]->ts.tv_sec)*1000000000LL + \ in processRecordFrame() 140 frame->bufs[0]->ts.tv_nsec; in processRecordFrame() 143 mRecordedFrames[video_buf_idx] = *frame; in processRecordFrame()
|
D | QCameraHWI_Rdi.cpp | 134 mm_camera_super_buf_t *frame) in processRdiFrame() argument 152 mHalCamCtrl->dumpFrameToFile(frame->bufs[0], HAL_DUMP_FRM_RDI); in processRdiFrame() 158 data = mHalCamCtrl->mRdiMemory.camera_memory[frame->bufs[0]->buf_idx]; in processRdiFrame() 170 frame->bufs[0])) { in processRdiFrame() 174 mHalCamCtrl->cache_ops((QCameraHalMemInfo_t *)(frame->bufs[0]->mem_info), in processRdiFrame() 175 frame->bufs[0]->buffer, in processRdiFrame()
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 379 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument 383 if (mDataQ.enqueue((void *)frame)) { in processDataNotify() 387 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 388 free(frame); in processDataNotify() 420 mm_camera_super_buf_t *frame = in dataNotifyCB() local 422 if (frame == NULL) { in dataNotifyCB() 427 *frame = *recvd_frame; in dataNotifyCB() 428 stream->processDataNotify(frame); in dataNotifyCB() 467 mm_camera_super_buf_t *frame = in dataProcRoutine() local 469 if (NULL != frame) { in dataProcRoutine() [all …]
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 384 int32_t QCamera3Stream::processDataNotify(mm_camera_super_buf_t *frame) in processDataNotify() argument 388 if (mDataQ.enqueue((void *)frame)) { in processDataNotify() 392 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 393 free(frame); in processDataNotify() 425 mm_camera_super_buf_t *frame = in dataNotifyCB() local 427 if (frame == NULL) { in dataNotifyCB() 432 *frame = *recvd_frame; in dataNotifyCB() 433 stream->processDataNotify(frame); in dataNotifyCB() 472 mm_camera_super_buf_t *frame = in dataProcRoutine() local 474 if (NULL != frame) { in dataProcRoutine() [all …]
|
D | QCamera3PostProc.h | 114 int32_t processData(qcamera_fwk_input_pp_data_t *frame); 115 int32_t processData(mm_camera_super_buf_t *frame); 116 int32_t processRawData(mm_camera_super_buf_t *frame); 117 int32_t processPPData(mm_camera_super_buf_t *frame); 132 qcamera_fwk_input_pp_data_t *frame,
|
D | QCamera3Channel.cpp | 467 void QCamera3Channel::dumpYUV(mm_camera_buf_def_t *frame, cam_dimension_t dim, in dumpYUV() argument 478 name, counter, frame->frame_idx, dim.width, dim.height); in dumpYUV() 482 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpYUV() 986 void QCamera3RawChannel::dumpRawSnapshot(mm_camera_buf_def_t *frame) in dumpRawSnapshot() argument 999 frame->frame_idx, dim.width, dim.height); in dumpRawSnapshot() 1003 int written_len = write(file_fd, frame->buffer, offset.frame_len); in dumpRawSnapshot() 1012 void QCamera3RawChannel::convertLegacyToRaw16(mm_camera_buf_def_t *frame) in convertLegacyToRaw16() argument 1030 uint16_t* raw16_buffer = (uint16_t *)frame->buffer; in convertLegacyToRaw16() 1040 uint64_t* row_start = (uint64_t *)frame->buffer + in convertLegacyToRaw16() 1049 void QCamera3RawChannel::convertMipiToRaw16(mm_camera_buf_def_t *frame) in convertMipiToRaw16() argument [all …]
|