Home
last modified time | relevance | path

Searched refs:buf_idx (Results 1 – 25 of 79) sorted by relevance

1234

/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp244 frame->bufs[i]->buf_idx, in zsl_channel_cb()
333 int32_t idx = preview_frame->buf_idx; in selectScene()
552 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
561 int idx = frame->buf_idx; in preview_stream_cb_routine()
720 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
732 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine()
745 int user_data = frame->buf_idx; in nodisplay_preview_stream_cb_routine()
752 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
755 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
799 stream->bufDone(frame->buf_idx); in rdi_mode_stream_cb_routine()
[all …]
DQCameraStream.cpp671 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
706 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
755 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
1478 uint32_t buf_idx, in mapBuf() argument
1485 buf_idx, plane_idx, in mapBuf()
1504 int32_t QCameraStream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument
1508 buf_idx, plane_idx); in unmapBuf()
1584 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Stream.cpp387 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
424 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
474 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
845 uint32_t buf_idx, in mapBuf() argument
852 buf_idx, plane_idx, in mapBuf()
871 int32_t QCamera3Stream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument
875 buf_idx, plane_idx); in unmapBuf()
920 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
DQCamera3Stream.h82 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
84 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
DQCamera3Channel.cpp322 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
723 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
892 mMemory.cleanInvalidateCache(super_frame->bufs[0]->buf_idx); in streamCbRoutine()
1337 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
2108 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx; in streamCbRoutine()
2293 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
2297 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx; in doReprocess()
2323 uint32_t buf_idx = 0; in doReprocessOffline() local
2331 buf_idx, -1, in doReprocessOffline()
2336 mappedBuffer.index = buf_idx; in doReprocessOffline()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Stream.cpp392 bufDone(frame->bufs[0]->buf_idx); in processDataNotify()
429 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
479 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
850 uint32_t buf_idx, in mapBuf() argument
857 buf_idx, plane_idx, in mapBuf()
876 int32_t QCamera3Stream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument
880 buf_idx, plane_idx); in unmapBuf()
925 pme->bufDone(frame->bufs[0]->buf_idx); in releaseFrameData()
DQCamera3Stream.h84 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
86 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraChannel.cpp304 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
750 meta_buf_index = frame->bufs[i]->buf_idx; in doReprocess()
769 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
812 uint32_t buf_idx = 0; in doReprocess() local
815 buf_idx, -1, in doReprocess()
822 param.reprocess.buf_index = buf_idx; in doReprocess()
828 buf_idx, -1); in doReprocess()
DQCameraStream.cpp414 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
463 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
883 uint32_t buf_idx, in mapBuf() argument
890 buf_idx, plane_idx, in mapBuf()
909 int32_t QCameraStream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument
913 buf_idx, plane_idx); in unmapBuf()
DQCamera2HWICallbacks.cpp274 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
283 int idx = frame->buf_idx; in preview_stream_cb_routine()
394 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
406 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine()
420 int user_data = frame->buf_idx; in nodisplay_preview_stream_cb_routine()
426 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
483 int dequeuedIdx = memory->displayBuffer(frame->buf_idx); in postview_stream_cb_routine()
551 …video_mem = videoMemObj->getMemory(frame->buf_idx, (pme->mStoreMetaDataInFrame > 0)? true : false); in video_stream_cb_routine()
746 stream->bufDone(frame->buf_idx); in metadata_stream_cb_routine()
DQCameraStream.h83 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
85 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
/device/asus/flo/camera/QCamera2/HAL/
DQCameraChannel.cpp304 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx); in bufDone()
750 meta_buf_index = frame->bufs[i]->buf_idx; in doReprocess()
769 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
812 uint32_t buf_idx = 0; in doReprocess() local
815 buf_idx, -1, in doReprocess()
822 param.reprocess.buf_index = buf_idx; in doReprocess()
828 buf_idx, -1); in doReprocess()
DQCameraStream.cpp414 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
463 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
883 uint32_t buf_idx, in mapBuf() argument
890 buf_idx, plane_idx, in mapBuf()
909 int32_t QCameraStream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument
913 buf_idx, plane_idx); in unmapBuf()
DQCamera2HWICallbacks.cpp274 stream->bufDone(frame->buf_idx); in preview_stream_cb_routine()
283 int idx = frame->buf_idx; in preview_stream_cb_routine()
394 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
406 preview_mem = previewMemObj->getMemory(frame->buf_idx, false); in nodisplay_preview_stream_cb_routine()
420 int user_data = frame->buf_idx; in nodisplay_preview_stream_cb_routine()
426 stream->bufDone(frame->buf_idx); in nodisplay_preview_stream_cb_routine()
483 int dequeuedIdx = memory->displayBuffer(frame->buf_idx); in postview_stream_cb_routine()
551 …video_mem = videoMemObj->getMemory(frame->buf_idx, (pme->mStoreMetaDataInFrame > 0)? true : false); in video_stream_cb_routine()
746 stream->bufDone(frame->buf_idx); in metadata_stream_cb_routine()
DQCameraStream.h83 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
85 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Stream.cpp412 stream->bufDone(recvd_frame->bufs[0]->buf_idx); in dataNotifyCB()
461 pme->bufDone(frame->bufs[0]->buf_idx); in dataProcRoutine()
804 uint32_t buf_idx, in mapBuf() argument
811 buf_idx, plane_idx, in mapBuf()
830 int32_t QCamera3Stream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) in unmapBuf() argument
834 buf_idx, plane_idx); in unmapBuf()
DQCamera3Stream.h82 int32_t mapBuf(uint8_t buf_type, uint32_t buf_idx,
84 int32_t unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx);
/device/asus/flo/camera/QCamera2/stack/common/
Dmm_camera_interface.h68 int8_t buf_idx; member
482 uint32_t buf_idx,
507 uint32_t buf_idx,
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c223 idx = buf_info.buf->buf_idx; in mm_stream_data_notify()
272 my_obj->buf[0].buf_idx = 0; in mm_stream_buf_notify()
855 buf_info->buf->buf_idx = idx; in mm_stream_read_msm_frame()
1050 buffer.index = buf->buf_idx; in mm_stream_qbuf()
1342 my_obj->buf[i].buf_idx = i; in mm_stream_reg_buf()
1518 if(my_obj->buf_status[frame->buf_idx].buf_refcnt == 0) { in mm_stream_buf_done()
1520 __func__, frame->buf_idx, in mm_stream_buf_done()
1521 my_obj->buf_status[frame->buf_idx].buf_refcnt, in mm_stream_buf_done()
1525 my_obj->buf_status[frame->buf_idx].buf_refcnt--; in mm_stream_buf_done()
1526 if (0 == my_obj->buf_status[frame->buf_idx].buf_refcnt) { in mm_stream_buf_done()
[all …]
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraStream_Preview.cpp101 mDisplayBuf[i].buf_idx = i; in initBuffers()
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()
312 mLastQueuedFrame = &(mDisplayBuf[frame->bufs[0]->buf_idx]); in processPreviewFrame()
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dmm_camera_interface.h68 int8_t buf_idx; member
482 uint32_t buf_idx,
507 uint32_t buf_idx,
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c232 idx = buf_info.buf->buf_idx; in mm_stream_data_notify()
284 my_obj->buf[my_obj->local_buf_idx].buf_idx = 0; in mm_stream_buf_notify()
939 buf_info->buf->buf_idx = idx; in mm_stream_read_msm_frame()
1164 buffer.index = buf->buf_idx; in mm_stream_qbuf()
1401 my_obj->buf[i].buf_idx = i; in mm_stream_reg_buf()
1623 if(my_obj->buf_status[frame->buf_idx].buf_refcnt == 0) { in mm_stream_buf_done()
1625 __func__, frame->buf_idx, in mm_stream_buf_done()
1626 my_obj->buf_status[frame->buf_idx].buf_refcnt, in mm_stream_buf_done()
1630 my_obj->buf_status[frame->buf_idx].buf_refcnt--; in mm_stream_buf_done()
1631 if (0 == my_obj->buf_status[frame->buf_idx].buf_refcnt) { in mm_stream_buf_done()
[all …]
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_camera_interface.h68 int8_t buf_idx; member
504 uint32_t buf_idx,
529 uint32_t buf_idx,
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h279 uint32_t buf_idx; member
288 uint32_t buf_idx; member
494 uint32_t buf_idx,
502 uint32_t buf_idx,
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h281 uint32_t buf_idx; member
290 uint32_t buf_idx; member
496 uint32_t buf_idx,
504 uint32_t buf_idx,

1234