Searched refs:buf_idx (Results 1 - 25 of 27) sorted by relevance

12

/hardware/qcom/camera/QCamera2/HAL/
H A 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);
H A DQCameraChannel.cpp304 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx);
750 meta_buf_index = frame->bufs[i]->buf_idx;
769 param.reprocess.buf_index = frame->bufs[i]->buf_idx;
812 uint32_t buf_idx = 0; local
815 buf_idx, -1,
822 param.reprocess.buf_index = buf_idx;
828 buf_idx, -1);
H A DQCameraStream.cpp414 stream->bufDone(recvd_frame->bufs[0]->buf_idx);
463 pme->bufDone(frame->bufs[0]->buf_idx);
873 * @buf_idx : index of buffer
883 uint32_t buf_idx,
890 buf_idx, plane_idx,
902 * @buf_idx : index of buffer
909 int32_t QCameraStream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) argument
913 buf_idx, plane_idx);
882 mapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd, uint32_t size) argument
H A DQCamera2HWICallbacks.cpp274 stream->bufDone(frame->buf_idx);
283 int idx = frame->buf_idx;
394 stream->bufDone(frame->buf_idx);
406 preview_mem = previewMemObj->getMemory(frame->buf_idx, false);
420 int user_data = frame->buf_idx;
426 stream->bufDone(frame->buf_idx);
483 int dequeuedIdx = memory->displayBuffer(frame->buf_idx);
551 video_mem = videoMemObj->getMemory(frame->buf_idx, (pme->mStoreMetaDataInFrame > 0)? true : false);
746 stream->bufDone(frame->buf_idx);
H A DQCameraPostProc.cpp989 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false);
1040 jpg_job.encode_job.src_index = main_frame->buf_idx;
1079 jpg_job.encode_job.thumb_index = thumb_frame->buf_idx;
1155 raw_mem = rawMemObj->getMemory(frame->buf_idx, false);
/hardware/qcom/camera/QCamera2/HAL3/
H A 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);
H A DQCamera3Stream.cpp413 stream->bufDone(recvd_frame->bufs[0]->buf_idx);
463 pme->bufDone(frame->bufs[0]->buf_idx);
796 * @buf_idx : index of buffer
806 uint32_t buf_idx,
813 buf_idx, plane_idx,
825 * @buf_idx : index of buffer
832 int32_t QCamera3Stream::unmapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) argument
836 buf_idx, plane_idx);
805 mapBuf(uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd, uint32_t size) argument
H A DQCamera3Channel.cpp316 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx);
676 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx;
1164 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx;
1889 frameIndex = (uint8_t)super_frame->bufs[0]->buf_idx;
2065 param.reprocess.buf_index = frame->bufs[i]->buf_idx;
2070 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx;
2112 uint32_t buf_idx = 0; local
2115 buf_idx, -1,
2122 param.reprocess.buf_index = buf_idx;
2125 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx;
[all...]
H A DQCamera3PostProc.cpp850 memObj->cleanInvalidateCache(main_frame->buf_idx);
856 thumb_memObj->cleanInvalidateCache(thumb_frame->buf_idx);
896 jpg_job.encode_job.src_index = main_frame->buf_idx;
954 jpg_job.encode_job.thumb_index = thumb_frame->buf_idx;
H A DQCamera3Mem.cpp202 bufDef.buf_idx = index;
/hardware/samsung_slsi/exynos5/include/
H A Dexynos_format.h72 unsigned int buf_idx; member in struct:ADDRS
/hardware/ti/wlan/mac80211/ti-utils/
H A Dnvs.c329 #define BUFFER_INDEX (buf_idx + START_PARAM_INDEX + info_idx)
330 unsigned short buf_idx; local
338 for (buf_idx = 0; buf_idx < NVS_TOTAL_LENGTH;) {
339 tlv_type = buf[buf_idx];
356 *pver += ((buf[buf_idx + START_PARAM_INDEX +
365 tlv_len = (buf[buf_idx + START_LENGTH_INDEX + 1] << 8) +
366 buf[buf_idx + START_LENGTH_INDEX];
384 buf_idx += START_PARAM_INDEX + tlv_len;
/hardware/qcom/camera/QCamera2/stack/common/
H A Dmm_camera_interface.h48 * @buf_idx : index of the buf within the stream bufs, to be
68 int8_t buf_idx; member in struct:__anon554
469 * @buf_idx : buffer index within the stream buffers
482 uint32_t buf_idx,
496 * @buf_idx : buffer index within the stream buffers
507 uint32_t buf_idx,
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
H A Dmm_camera.h279 uint32_t buf_idx; member in struct:__anon596
288 uint32_t buf_idx; member in struct:__anon597
494 uint32_t buf_idx,
502 uint32_t buf_idx,
/hardware/qcom/msm8x74/kernel-headers/media/
H A Dmsmb_isp.h315 int buf_idx; member in struct:msm_isp_qbuf_info
365 int8_t buf_idx; member in struct:msm_isp_buf_event
H A Dmsm_camera.h236 unsigned short buf_idx; member in struct:msm_pp_frame
546 int buf_idx; member in struct:msm_stats_buf_info
730 int buf_idx; member in struct:msm_stats_buf
/hardware/qcom/msm8x74/original-kernel-headers/media/
H A Dmsmb_isp.h275 int buf_idx; member in struct:msm_isp_qbuf_info
324 int8_t buf_idx; member in struct:msm_isp_buf_event
H A Dmsm_camera.h367 unsigned short buf_idx; member in struct:msm_pp_frame
657 int buf_idx; member in struct:msm_stats_buf_info
827 int buf_idx; member in struct:msm_stats_buf
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera.c1302 * @buf_idx : index of buffer within the stream buffers, only valid if
1319 uint32_t buf_idx,
1336 payload.buf_idx = buf_idx;
1364 * @buf_idx : index of buffer within the stream buffers, only valid if
1379 uint32_t buf_idx,
1394 payload.buf_idx = buf_idx;
1315 mm_camera_map_stream_buf(mm_camera_obj_t *my_obj, uint32_t ch_id, uint32_t stream_id, uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd, uint32_t size) argument
1375 mm_camera_unmap_stream_buf(mm_camera_obj_t *my_obj, uint32_t ch_id, uint32_t stream_id, uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) argument
H A Dmm_camera_interface.c1138 * @buf_idx : index of buffer within the stream buffers, only valid if
1155 uint32_t buf_idx,
1166 CDBG("%s :E camera_handle = %d, ch_id = %d, s_id = %d, buf_idx = %d, plane_idx = %d",
1167 __func__, camera_handle, ch_id, stream_id, buf_idx, plane_idx);
1173 buf_type, buf_idx, plane_idx,
1196 * @buf_idx : index of buffer within the stream buffers, only valid if
1211 uint32_t buf_idx,
1220 CDBG("%s :E camera_handle = %d, ch_id = %d, s_id = %d, buf_idx = %d, plane_idx = %d",
1221 __func__, camera_handle, ch_id, stream_id, buf_idx, plane_idx);
1227 buf_type, buf_idx, plane_id
1151 mm_camera_intf_map_stream_buf(uint32_t camera_handle, uint32_t ch_id, uint32_t stream_id, uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx, int fd, uint32_t size) argument
1207 mm_camera_intf_unmap_stream_buf(uint32_t camera_handle, uint32_t ch_id, uint32_t stream_id, uint8_t buf_type, uint32_t buf_idx, int32_t plane_idx) argument
[all...]
H A Dmm_camera_stream.c220 idx = buf_info.buf->buf_idx;
296 my_obj->buf_status[buf_info->buf->buf_idx].buf_refcnt++;
975 buf_info->buf->buf_idx = idx;
1140 buffer.index = buf->buf_idx;
2508 if(my_obj->buf_status[frame->buf_idx].buf_refcnt == 0) {
2510 __func__, frame->buf_idx,
2511 my_obj->buf_status[frame->buf_idx].buf_refcnt);
2514 my_obj->buf_status[frame->buf_idx].buf_refcnt--;
2515 if (0 == my_obj->buf_status[frame->buf_idx].buf_refcnt) {
2516 CDBG("<DEBUG> : Buf done for buffer:%d, stream:%d", frame->buf_idx, fram
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_app.c290 app_bufs[i].buf.buf_idx = i;
376 rc = ops_tbl->map_ops(pBufs[i].buf_idx,
390 ops_tbl->unmap_ops(pBufs[j].buf_idx, -1, ops_tbl->userdata);
414 ops_tbl->unmap_ops(stream->s_bufs[i].buf.buf_idx, -1, ops_tbl->userdata);
/hardware/qcom/msm8960/kernel-headers/media/
H A Dmsm_camera.h230 unsigned short buf_idx; member in struct:msm_pp_frame
551 int buf_idx; member in struct:msm_stats_buf_info
741 int buf_idx; member in struct:msm_stats_buf
/hardware/qcom/msm8960/original-kernel-headers/media/
H A Dmsm_camera.h338 unsigned short buf_idx; member in struct:msm_pp_frame
598 int buf_idx; member in struct:msm_stats_buf_info
760 int buf_idx; member in struct:msm_stats_buf
/hardware/qcom/camera/
H A DQCamera_Intf.h1037 int8_t buf_idx; /* buffer index */ member in struct:__anon718

Completed in 4731 milliseconds

12