Home
last modified time | relevance | path

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

1234

/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c64 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
187 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_snapshot_metadata_notify_cb()
191 if (NULL == bufs || NULL == user_data) { in mm_app_snapshot_metadata_notify_cb()
198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb()
211 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb()
212 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_snapshot_metadata_notify_cb()
213 frame = bufs->bufs[i]; in mm_app_snapshot_metadata_notify_cb()
242 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_snapshot_metadata_notify_cb()
[all …]
Dmm_qcamera_preview.c36 static void mm_app_metadata_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_metadata_notify_cb() argument
43 mm_camera_buf_def_t *frame = bufs->bufs[0]; in mm_app_metadata_notify_cb()
47 if (NULL == bufs || NULL == user_data) { in mm_app_metadata_notify_cb()
54 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_metadata_notify_cb()
67 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb()
68 if (bufs->bufs[i]->stream_id == p_stream->s_id) { in mm_app_metadata_notify_cb()
69 frame = bufs->bufs[i]; in mm_app_metadata_notify_cb()
102 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in mm_app_metadata_notify_cb()
103 bufs->ch_id, in mm_app_metadata_notify_cb()
111 static void mm_app_preview_notify_cb(mm_camera_super_buf_t *bufs, in mm_app_preview_notify_cb() argument
[all …]
Dmm_qcamera_reprocess.c33 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()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c64 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 …]
Dmm_qcamera_preview.c36 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 …]
Dmm_qcamera_reprocess.c33 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()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c64 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 …]
Dmm_qcamera_preview.c36 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 …]
Dmm_qcamera_reprocess.c33 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()
/device/moto/shamu/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
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_video.c98 mm_camera_buf_def_t *bufs)
108 __func__, bufs[i].fd, rc);
120 mm_camera_buf_def_t *bufs)
162 bufs[i].fd = pme->video_buf.frame[i].fd;
164 bufs[i].frame_len = pme->video_buf.frame[i].ion_alloc.len;
165 bufs[i].num_planes = num_planes;
167 bufs[i].frame = &pme->video_buf.frame[i];
171 bufs[i].planes[0].length = planes[0];
172 bufs[i].planes[0].m.userptr = bufs[i].fd;
173 bufs[i].planes[0].data_offset = y_off;
[all …]
Dmm_qcamera_preview.c301 mm_camera_buf_def_t *bufs)
307 … (void *)pme->preview_buf.frame[i].buffer, bufs[i].frame_len);
310 __func__, bufs[i].fd, rc);
323 mm_camera_buf_def_t *bufs)
365 bufs[i].fd = pme->preview_buf.frame[i].fd;
367 bufs[i].frame_len = pme->preview_buf.frame[i].ion_alloc.len;
368 bufs[i].num_planes = num_planes;
370 bufs[i].frame = &pme->preview_buf.frame[i];
374 bufs[i].planes[0].length = planes[0];
375 bufs[i].planes[0].m.userptr = bufs[i].fd;
[all …]
Dmm_qcamera_app.c469 if (app_bufs->bufs[i].buf_idx == frame->buf_idx) { in mm_stream_invalid_cache()
479 cache_inv_data.vaddr = app_bufs->bufs[index].buffer; in mm_stream_invalid_cache()
480 cache_inv_data.fd = app_bufs->bufs[index].fd; in mm_stream_invalid_cache()
525 if (app_bufs->bufs[i].buf_idx == frame->buf_idx) { in mm_stream_clear_invalid_cache()
535 cache_inv_data.vaddr = app_bufs->bufs[index].buffer; in mm_stream_clear_invalid_cache()
536 cache_inv_data.fd = app_bufs->bufs[index].fd; in mm_stream_clear_invalid_cache()
568 app_bufs->bufs[i].buf_idx = i; in mm_stream_alloc_bufs()
575 app_bufs->bufs[i].buffer = mm_camera_do_mmap_ion(pme->ionfd, in mm_stream_alloc_bufs()
578 &app_bufs->bufs[i].fd); in mm_stream_alloc_bufs()
580 __func__,app_bufs->bufs[i].fd,app_bufs->alloc[i].len); in mm_stream_alloc_bufs()
[all …]
Dmm_qcamera_snapshot.c220 pme->current_job_frames->bufs[i])) { in jpeg_encode_cb()
247 if (pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id == recvd_frame->bufs[i]->stream_id) { in encodeData()
248 main_frame = recvd_frame->bufs[i]; in encodeData()
251 } else if (pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id == recvd_frame->bufs[i]->stream_id){ in encodeData()
252 thumb_frame = recvd_frame->bufs[1]; in encodeData()
342 job.encode_job.encode_parm.buf_info.sink_img.buf_len = pme->jpeg_buf.bufs[0].frame_len; in encodeData()
343 job.encode_job.encode_parm.buf_info.sink_img.buf_vaddr = pme->jpeg_buf.bufs[0].buffer; in encodeData()
344 job.encode_job.encode_parm.buf_info.sink_img.fd = pme->jpeg_buf.bufs[0].fd; in encodeData()
357 static void snapshot_yuv_cb(mm_camera_super_buf_t *bufs, in snapshot_yuv_cb() argument
373 pme->cam->ops->send_command(bufs->camera_handle, in snapshot_yuv_cb()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Record.cpp89 int QCameraStream_record::putBuf(uint8_t num_bufs, mm_camera_buf_def_t *bufs) in putBuf() 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()
189 mm_camera_buf_def_t *bufs) in getBuf() argument
233 bufs[i] = mRecordBuf[i]; in getBuf()
255 … if(MM_CAMERA_OK != p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mRecordedFrames[cnt].bufs[0])) in releaseRecordingFrame()
[all …]
DQCameraHWI_Rdi.cpp58 mm_camera_buf_def_t *bufs) in getBuf() argument
82 bufs[i] = mRdiBuf[i]; in getBuf()
91 int QCameraStream_Rdi::putBuf(uint8_t num_bufs, mm_camera_buf_def_t *bufs) in putBuf() 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()
DQCameraHWI_Still.cpp94 mm_camera_buf_def_t *bufs) in getBuf() argument
119 bufs[i] = mSnapshotStreamBuf[i]; in getBuf()
131 int QCameraStream_SnapshotMain::putBuf(uint8_t num_bufs, mm_camera_buf_def_t *bufs) in putBuf() argument
137 int QCameraStream_SnapshotThumbnail::putBuf(uint8_t num_bufs, mm_camera_buf_def_t *bufs) in putBuf() argument
197 mm_camera_buf_def_t *bufs) in getBuf() argument
221 bufs[i] = mPostviewStreamBuf[i]; in getBuf()
DQCameraStream.cpp39 void stream_cb_routine(mm_camera_super_buf_t *bufs, in stream_cb_routine() argument
44 ALOGD("DEBUG4:ExtMode:%d,streamid:%d",p_obj->mExtImgMode,bufs->bufs[0]->stream_id); in stream_cb_routine()
49 ((QCameraStream_preview *)p_obj)->processPreviewFrame(bufs); in stream_cb_routine()
52 ((QCameraStream_record *)p_obj)->processRecordFrame(bufs); in stream_cb_routine()
55 ((QCameraStream_Rdi *)p_obj)->processRdiFrame(bufs); in stream_cb_routine()
68 void QCameraStream::dataCallback(mm_camera_super_buf_t *bufs) in dataCallback() argument
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraStream.h81 void dataCallback(mm_camera_super_buf_t *bufs);
100 mm_camera_buf_def_t *bufs) = 0;
102 mm_camera_buf_def_t *bufs) = 0;
149 mm_camera_buf_def_t *bufs);
151 mm_camera_buf_def_t *bufs);
193 mm_camera_buf_def_t *bufs);
195 mm_camera_buf_def_t *bufs);
245 mm_camera_buf_def_t *bufs);
247 mm_camera_buf_def_t *bufs);
271 mm_camera_buf_def_t *bufs);
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp129 recvd_frame->bufs[0]->frame_idx); in zsl_channel_cb()
137 if ( recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_RAW ) { in zsl_channel_cb()
138 mm_camera_buf_def_t * raw_frame = recvd_frame->bufs[i]; in zsl_channel_cb()
153 if ( recvd_frame->bufs[i]->stream_type == CAM_STREAM_TYPE_SNAPSHOT ) { in zsl_channel_cb()
154 mm_camera_buf_def_t * yuv_frame = recvd_frame->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()
220 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb()
223 pMetaFrame = frame->bufs[i]; in zsl_channel_cb()
240 pStream = pChannel->getStreamByHandle(frame->bufs[i]->stream_id); in zsl_channel_cb()
[all …]
DQCameraChannel.cpp360 if (recvd_frame->bufs[i] != NULL) { in bufDone()
363 mStreams[j]->getMyHandle() == recvd_frame->bufs[i]->stream_id) { in bufDone()
364 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
1055 pStream = m_pSrcChannel->getStreamByHandle(frame->bufs[i]->stream_id); in doReprocessOffline()
1058 meta_buf = frame->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()
1115 uint32_t stream_id = frame->bufs[i]->stream_id; in doReprocessOffline()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3Stream.cpp66 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 …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp66 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 …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp148 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 …]

1234