Home
last modified time | relevance | path

Searched refs:num_bufs (Results 1 – 24 of 24) sorted by relevance

/device/google/marlin/camera/QCamera2/HAL/
DQCameraStream.h194 uint8_t *num_bufs,
202 uint8_t *num_bufs,
228 uint8_t *num_bufs,
233 uint8_t *num_bufs,
242 uint8_t *num_bufs, uint8_t **initial_reg_flag,
DQCameraStream.cpp68 uint8_t *num_bufs, in get_bufs() argument
83 return stream->allocateBatchBufs(offset, num_bufs, in get_bufs()
87 return stream->getBufs(offset, num_bufs, in get_bufs()
112 uint8_t *num_bufs, in get_bufs_deffered() argument
125 return stream->getBufsDeferred(NULL /*offset*/, num_bufs, initial_reg_flag, bufs, in get_bufs_deffered()
1291 uint8_t *num_bufs, in getBufs() argument
1415 *num_bufs = mNumBufs; in getBufs()
1456 uint8_t *num_bufs, in getBufsDeferred() argument
1475 *num_bufs = mNumBufs; in getBufsDeferred()
1728 uint8_t *num_bufs, uint8_t **initial_reg_flag, in allocateBatchBufs() argument
[all …]
DQCameraChannel.cpp418 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in bufDone()
450 for (int32_t i = 0; i < (int32_t)recvd_frame->num_bufs; i++) { in bufDone()
462 if ((index >= 0) && (index < (int32_t)recvd_frame->num_bufs)) { in bufDone()
463 for (int32_t j = index; j < (int32_t)(recvd_frame->num_bufs - 1); j++) { in bufDone()
466 recvd_frame->num_bufs--; in bufDone()
1085 streamInfo->num_bufs = minStreamBufNum; in addReprocStreamsFromSource()
1401 for (uint32_t i = 0; i < frame->num_bufs; i++) { in doReprocessOffline()
1506 for (uint32_t i = 0; i < frame->num_bufs; i++) { in doReprocess()
DQCameraPostProc.cpp853 uint32_t num_bufs = mOfflineDataBufs->getCnt(); in getOfflinePPInputBuffer() local
854 size_t bufDefsSize = num_bufs * sizeof(mm_camera_buf_def_t); in getOfflinePPInputBuffer()
863 for (uint32_t i = 0; i < src_frame->num_bufs; i++) { in getOfflinePPInputBuffer()
881 for (uint32_t i = 0; i < num_bufs; i++) { in getOfflinePPInputBuffer()
928 for (uint32_t i = 0; i < frame->num_bufs; i++) { in processData()
966 (0 < frame->num_bufs) in processData()
970 uint32_t num_bufs = frame->num_bufs; in processData() local
971 bufs = new mm_camera_buf_def_t[num_bufs]; in processData()
977 for (uint32_t i = 0; i < num_bufs; i++) { in processData()
1321 for (uint32_t i = 0; i < frame->num_bufs; i++) { in processPPData()
[all …]
DQCamera2HWICallbacks.cpp152 if (recvd_frame->num_bufs > 0) { in zsl_channel_cb()
161 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in zsl_channel_cb()
173 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in zsl_channel_cb()
189 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb()
230 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb()
250 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb()
308 for (uint32_t i = 0; i < frame->num_bufs; i++) { in selectScene()
330 for (uint32_t i = 0; i < frame->num_bufs; i++) { in selectScene()
409 if (recvd_frame->num_bufs > 0) { in capture_channel_cb_routine()
414 for ( uint32_t i= 0 ; i < recvd_frame->num_bufs ; i++ ) { in capture_channel_cb_routine()
[all …]
DQCamera2HWI.cpp3020 streamInfo->num_bufs = getBufNumRequired(stream_type); in allocateStreamInfoBuf()
3146 streamInfo->dim.height, streamInfo->num_bufs, in allocateStreamInfoBuf()
3189 rc = video_mem->allocateMeta(streamInfo->num_bufs, in allocateStreamUserBuf()
3230 size = PAD_TO_SIZE((streamInfo->num_bufs * streamInfo->user_buf_info.size), in allocateStreamUserBuf()
3233 LOGH("Allocating BATCH Buffer count = %d", streamInfo->num_bufs); in allocateStreamUserBuf()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_preview.c90 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb()
173 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
196 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
236 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
291 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_preview_notify_cb()
392 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb()
401 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb()
423 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb()
522 uint8_t num_bufs) in mm_app_add_metadata_stream() argument
542 stream->num_of_bufs = num_bufs; in mm_app_add_metadata_stream()
[all …]
Dmm_qcamera_rdi.c96 uint8_t num_bufs, in mm_app_add_rdi_stream() argument
135 abc.buffer_info.min_buffers = num_bufs; in mm_app_add_rdi_stream()
136 abc.buffer_info.max_buffers = num_bufs; in mm_app_add_rdi_stream()
159 stream->num_of_bufs = num_bufs; in mm_app_add_rdi_stream()
197 uint8_t num_bufs, in mm_app_add_rdi_snapshot_stream() argument
219 stream->num_of_bufs = num_bufs; in mm_app_add_rdi_snapshot_stream()
Dmm_qcamera_snapshot.c62 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { in jpeg_encode_cb()
225 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb()
305 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb_raw()
320 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb_raw()
373 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
396 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
436 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb()
484 uint8_t num_bufs, in mm_app_add_postview_stream() argument
506 stream->num_of_bufs = num_bufs; in mm_app_add_postview_stream()
Dmm_qcamera_reprocess.c113 uint8_t num_bufs) in mm_app_add_reprocess_stream_from_source() argument
144 stream->num_of_bufs = num_bufs; in mm_app_add_reprocess_stream_from_source()
339 for ( i = 0 ; i < recvd_frame->num_bufs ; i++) { in mm_app_release_ppinput()
Dmm_qcamera_video.c61 uint8_t num_bufs) in mm_app_add_video_stream() argument
82 stream->num_of_bufs = num_bufs; in mm_app_add_video_stream()
Dmm_qcamera_app.c294 uint8_t num_bufs, in mm_app_alloc_bufs() argument
305 for (i = 0; i < num_bufs ; i++) { in mm_app_alloc_bufs()
345 int mm_app_release_bufs(uint8_t num_bufs, in mm_app_release_bufs() argument
352 for (i = 0; i < num_bufs; i++) { in mm_app_release_bufs()
355 memset(app_bufs, 0, num_bufs * sizeof(mm_camera_app_buf_t)); in mm_app_release_bufs()
361 uint8_t *num_bufs, in mm_app_stream_initbuf() argument
437 *num_bufs = stream->num_of_bufs; in mm_app_stream_initbuf()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3Stream.h141 uint8_t *num_bufs,
154 uint8_t *num_bufs,
163 uint8_t *num_bufs, uint8_t **initial_reg_flag,
DQCamera3Stream.cpp82 uint8_t *num_bufs, in get_bufs() argument
94 rc = stream->getBufs(offset, num_bufs, initial_reg_flag, bufs, ops_tbl); in get_bufs()
102 rc = stream->getBatchBufs(num_bufs, initial_reg_flag, in get_bufs()
411 mStreamInfo->num_bufs = minNumBuffers; in init()
461 mStreamInfo->num_bufs = mNumBatchBufs; in init()
897 uint8_t *num_bufs, in getBufs() argument
1000 *num_bufs = mNumBufs; in getBufs()
1327 uint8_t *num_bufs, uint8_t **initial_reg_flag, in getBatchBufs() argument
1334 if (!ops_tbl || !num_bufs || !initial_reg_flag || !bufs) { in getBatchBufs()
1430 *num_bufs = mNumBatchBufs; in getBatchBufs()
DQCamera3Channel.cpp358 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in bufDone()
1268 if(super_frame->num_bufs != 1) { in checkStreamCbErrors()
2095 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
2479 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
4053 if(super_frame->num_bufs != 1) { in streamCbRoutine()
4412 if (recvd_frame && recvd_frame->num_bufs == 1) { in bufDone()
4457 for (uint32_t i = 0; i < frame->num_bufs; i++) { in overrideMetadata()
5060 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine()
DQCamera3PostProc.cpp1381 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in encodeData()
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h368 uint8_t num_bufs,
371 extern int mm_app_release_bufs(uint8_t num_bufs,
374 uint8_t *num_bufs,
423 uint8_t num_bufs,
434 uint8_t num_bufs,
440 uint8_t num_bufs);
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c131 uint32_t num_bufs; member
373 p_obj->num_bufs = i; in encode_init()
388 p_params->num_dst_bufs = p_obj->num_bufs; in encode_init()
406 p_params->num_src_bufs = p_obj->num_bufs; in encode_init()
412 p_params->num_tmb_bufs = p_obj->num_bufs; in encode_init()
491 for (i = 0; i < jpeg_obj->num_bufs; i++) { in encode_test()
522 for (i = 0; i < jpeg_obj->num_bufs; i++) { in encode_test()
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h158 uint32_t num_bufs; member
270 uint8_t *num_bufs,
Dcam_intf.h606 uint32_t num_bufs; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/include/
Dcam_intf.h606 uint32_t num_bufs; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c275 super_buf.num_bufs = 1; in mm_stream_dispatch_sync_data()
405 super_buf.num_bufs = 1; in mm_stream_dispatch_app_data()
1059 my_obj->buf_num = (uint8_t) config->stream_info->num_bufs; in mm_stream_config()
1210 if (rc < 0 && my_obj->stream_info->num_bufs != 0) { in mm_stream_streamon()
2192 my_obj->stream_info->num_bufs = my_obj->buf_num; in mm_stream_init_bufs()
Dmm_camera_channel.c600 cb_node->u.superbuf.num_bufs = node->num_of_bufs; in mm_channel_send_super_buf()
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp2857 srcBuf->num_bufs = 1; in encodeJpeg()