/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 64 pme->current_job_frames->bufs[i])) { in jpeg_encode_cb() 67 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info, in jpeg_encode_cb() 180 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_metadata_notify_cb() argument 190 if (NULL == bufs || NULL == user_data) { in mm_app_snapshot_metadata_notify_cb() 194 frame = bufs->bufs[0]; in mm_app_snapshot_metadata_notify_cb() 198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 223 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb() 224 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_snapshot_metadata_notify_cb() 225 frame = bufs->bufs[i]; in mm_app_snapshot_metadata_notify_cb() 254 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb() [all …]
|
D | mm_qcamera_preview.c | 36 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_metadata_notify_cb() argument 46 if (NULL == bufs || NULL == user_data) { in mm_app_metadata_notify_cb() 50 frame = bufs->bufs[0]; in mm_app_metadata_notify_cb() 54 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb() 79 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb() 80 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_metadata_notify_cb() 81 frame = bufs->bufs[i]; in mm_app_metadata_notify_cb() 109 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb() 110 bufs->ch_id, in mm_app_metadata_notify_cb() 118 static void mm_app_preview_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_preview_notify_cb() argument [all …]
|
D | mm_qcamera_reprocess.c | 33 static void mm_app_reprocess_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_reprocess_notify_cb() argument 36 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 50 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb() 56 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_reprocess_notify_cb() 63 m_frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 83 rc = encodeData(pme, bufs, m_stream); in mm_app_reprocess_notify_cb() 86 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb() 87 bufs->ch_id, in mm_app_reprocess_notify_cb() 354 recvd_frame->bufs[i])) { in mm_app_release_ppinput() 357 mm_app_cache_ops((mm_camera_app_meminfo_t *) recvd_frame->bufs[i]->mem_info, in mm_app_release_ppinput()
|
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()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 64 pme->current_job_frames->bufs[i])) { in jpeg_encode_cb() 67 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info, in jpeg_encode_cb() 180 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_metadata_notify_cb() argument 190 if (NULL == bufs || NULL == user_data) { in mm_app_snapshot_metadata_notify_cb() 194 frame = bufs->bufs[0]; in mm_app_snapshot_metadata_notify_cb() 198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 223 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb() 224 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_snapshot_metadata_notify_cb() 225 frame = bufs->bufs[i]; in mm_app_snapshot_metadata_notify_cb() 254 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb() [all …]
|
D | mm_qcamera_preview.c | 36 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_metadata_notify_cb() argument 46 if (NULL == bufs || NULL == user_data) { in mm_app_metadata_notify_cb() 50 frame = bufs->bufs[0]; in mm_app_metadata_notify_cb() 54 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb() 79 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb() 80 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_metadata_notify_cb() 81 frame = bufs->bufs[i]; in mm_app_metadata_notify_cb() 109 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb() 110 bufs->ch_id, in mm_app_metadata_notify_cb() 118 static void mm_app_preview_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_preview_notify_cb() argument [all …]
|
D | mm_qcamera_reprocess.c | 33 static void mm_app_reprocess_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_reprocess_notify_cb() argument 36 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 50 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb() 56 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_reprocess_notify_cb() 63 m_frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 83 rc = encodeData(pme, bufs, m_stream); in mm_app_reprocess_notify_cb() 86 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb() 87 bufs->ch_id, in mm_app_reprocess_notify_cb() 354 recvd_frame->bufs[i])) { in mm_app_release_ppinput() 357 mm_app_cache_ops((mm_camera_app_meminfo_t *) recvd_frame->bufs[i]->mem_info, in mm_app_release_ppinput()
|
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()
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 65 pme->current_job_frames->bufs[i])) { in jpeg_encode_cb() 68 mm_app_cache_ops((mm_camera_app_meminfo_t *) pme->current_job_frames->bufs[i]->mem_info, in jpeg_encode_cb() 182 static void mm_app_snapshot_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_metadata_notify_cb() argument 192 if (NULL == bufs || NULL == user_data) { in mm_app_snapshot_metadata_notify_cb() 196 frame = bufs->bufs[0]; in mm_app_snapshot_metadata_notify_cb() 200 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 225 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb() 226 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_snapshot_metadata_notify_cb() 227 frame = bufs->bufs[i]; in mm_app_snapshot_metadata_notify_cb() 256 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb() [all …]
|
D | mm_qcamera_preview.c | 47 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_metadata_notify_cb() argument 57 if (NULL == bufs || NULL == user_data) { in mm_app_metadata_notify_cb() 61 frame = bufs->bufs[0]; in mm_app_metadata_notify_cb() 65 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb() 90 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb() 91 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_metadata_notify_cb() 92 frame = bufs->bufs[i]; in mm_app_metadata_notify_cb() 124 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb() 125 bufs->ch_id, in mm_app_metadata_notify_cb() 133 static void mm_app_snapshot_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_snapshot_notify_cb() argument [all …]
|
D | mm_qcamera_reprocess.c | 34 static void mm_app_reprocess_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_reprocess_notify_cb() argument 37 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 51 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb() 57 LOGE(" Wrong channel id (%d)", bufs->ch_id); in mm_app_reprocess_notify_cb() 64 m_frame = bufs->bufs[0]; in mm_app_reprocess_notify_cb() 84 rc = encodeData(pme, bufs, m_stream); in mm_app_reprocess_notify_cb() 87 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_reprocess_notify_cb() 88 bufs->ch_id, in mm_app_reprocess_notify_cb() 342 recvd_frame->bufs[i])) { in mm_app_release_ppinput() 345 mm_app_cache_ops((mm_camera_app_meminfo_t *) recvd_frame->bufs[i]->mem_info, in mm_app_release_ppinput()
|
D | mm_qcamera_video.c | 34 static void mm_app_video_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_video_notify_cb() argument 38 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_video_notify_cb() 46 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_video_notify_cb() 47 bufs->ch_id, in mm_app_video_notify_cb()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_zlib.py | 196 bufs = [] 198 bufs.append(co.compress(data[i:i+256])) 199 bufs.append(co.flush()) 200 combuf = ''.join(bufs) 203 y1 = dco.decompress(''.join(bufs)) 212 bufs = [] 214 bufs.append(co.compress(data[i:i+cx])) 215 bufs.append(co.flush()) 216 combuf = ''.join(bufs) 221 bufs = [] [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 66 mm_camera_buf_def_t **bufs, in get_bufs() argument 76 rc = stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs() 85 bufs, ops_tbl); in get_bufs() 494 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 521 recvd_frame->bufs[0] == NULL || in dataNotifyCB() 522 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB() 531 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 577 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine() 584 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 729 mm_camera_buf_def_t **bufs, in getBufs() argument [all …]
|
D | QCamera3Stream.h | 74 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 133 mm_camera_buf_def_t **bufs, 145 mm_camera_buf_def_t **bufs, 152 mm_camera_buf_def_t **bufs,
|
/device/google/marlin/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 83 mm_camera_buf_def_t **bufs, in get_bufs() argument 93 rc = stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs() 102 bufs, ops_tbl); in get_bufs() 540 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 567 recvd_frame->bufs[0] == NULL || in dataNotifyCB() 568 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB() 577 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 641 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine() 648 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 841 mm_camera_buf_def_t **bufs, in getBufs() argument [all …]
|
D | QCamera3Stream.h | 78 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 143 mm_camera_buf_def_t **bufs, 155 mm_camera_buf_def_t **bufs, 162 mm_camera_buf_def_t **bufs,
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 66 mm_camera_buf_def_t **bufs, in get_bufs() argument 76 rc = stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs() 85 bufs, ops_tbl); in get_bufs() 494 bufDone(frame->bufs[0]->buf_idx); in processDataNotify() 521 recvd_frame->bufs[0] == NULL || in dataNotifyCB() 522 recvd_frame->bufs[0]->stream_id != stream->getMyHandle()) { in dataNotifyCB() 531 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB() 577 if (UNLIKELY(frame->bufs[0]->buf_type == in dataProcRoutine() 584 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine() 729 mm_camera_buf_def_t **bufs, in getBufs() argument [all …]
|
D | QCamera3Stream.h | 74 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 133 mm_camera_buf_def_t **bufs, 145 mm_camera_buf_def_t **bufs, 152 mm_camera_buf_def_t **bufs,
|
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraStream.h | 72 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 195 mm_camera_buf_def_t **bufs, 203 mm_camera_buf_def_t **bufs, 228 mm_camera_buf_def_t **bufs, 233 mm_camera_buf_def_t **bufs, 241 mm_camera_buf_def_t **bufs, mm_camera_map_unmap_ops_tbl_t *ops_tbl);
|
D | QCamera2HWICallbacks.cpp | 154 recvd_frame->bufs[0]->frame_idx); in zsl_channel_cb() 162 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW) { in zsl_channel_cb() 163 mm_camera_buf_def_t * raw_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 174 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in zsl_channel_cb() 175 mm_camera_buf_def_t * yuv_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 190 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 193 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb() 231 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 234 pMetaFrame = frame->bufs[i]; in zsl_channel_cb() 251 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() [all …]
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 148 recvd_frame->bufs[0]->frame_idx); in zsl_channel_cb() 156 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW) { in zsl_channel_cb() 157 mm_camera_buf_def_t * raw_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 172 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in zsl_channel_cb() 173 mm_camera_buf_def_t * yuv_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 189 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 192 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb() 241 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 244 pMetaFrame = frame->bufs[i]; in zsl_channel_cb() 261 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() [all …]
|
D | QCameraStream.h | 67 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 163 mm_camera_buf_def_t **bufs, 171 mm_camera_buf_def_t **bufs, 189 mm_camera_buf_def_t **bufs, 196 mm_camera_buf_def_t **bufs, mm_camera_map_unmap_ops_tbl_t *ops_tbl);
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 148 recvd_frame->bufs[0]->frame_idx); in zsl_channel_cb() 156 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW) { in zsl_channel_cb() 157 mm_camera_buf_def_t * raw_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 172 if (recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in zsl_channel_cb() 173 mm_camera_buf_def_t * yuv_frame = recvd_frame->bufs[i]; in zsl_channel_cb() 189 QCameraStream *pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 192 pMetaFrame = frame->bufs[i]; //find the metadata in zsl_channel_cb() 241 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() 244 pMetaFrame = frame->bufs[i]; in zsl_channel_cb() 261 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb() [all …]
|
D | QCameraStream.h | 67 virtual int32_t processDataNotify(mm_camera_super_buf_t *bufs); 163 mm_camera_buf_def_t **bufs, 171 mm_camera_buf_def_t **bufs, 189 mm_camera_buf_def_t **bufs, 196 mm_camera_buf_def_t **bufs, mm_camera_map_unmap_ops_tbl_t *ops_tbl);
|