/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 95 uint8_t num_bufs, in mm_app_add_rdi_stream() argument 134 abc.buffer_info.min_buffers = num_bufs; in mm_app_add_rdi_stream() 135 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() 171 stream->s_config.stream_info->num_bufs = num_bufs; in mm_app_add_rdi_stream() 198 uint8_t num_bufs, in mm_app_add_rdi_snapshot_stream() argument 221 stream->num_of_bufs = num_bufs; in mm_app_add_rdi_snapshot_stream() 232 stream->s_config.stream_info->num_bufs = num_bufs; in mm_app_add_rdi_snapshot_stream()
|
D | mm_qcamera_video.c | 77 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb() 161 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 184 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 224 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 279 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_preview_notify_cb() 339 uint8_t num_bufs) in mm_app_add_video_preview_stream() argument 371 stream->num_of_bufs = num_bufs; in mm_app_add_video_preview_stream() 381 stream->s_config.stream_info->num_bufs = num_bufs; in mm_app_add_video_preview_stream() 398 uint8_t num_bufs, in mm_app_add_video_snapshot_stream() argument 421 stream->num_of_bufs = num_bufs; in mm_app_add_video_snapshot_stream() [all …]
|
D | mm_qcamera_preview.c | 92 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_metadata_notify_cb() 264 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 287 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 327 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 385 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_preview_notify_cb() 486 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb() 495 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb() 517 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_zsl_notify_cb() 625 uint8_t num_bufs) in mm_app_add_metadata_stream() argument 646 stream->num_of_bufs = num_bufs; in mm_app_add_metadata_stream() [all …]
|
D | mm_qcamera_snapshot.c | 62 for (i = 0; i < pme->current_job_frames->num_bufs; i++) { in jpeg_encode_cb() 307 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_metadata_notify_cb() 387 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb_raw() 402 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb_raw() 455 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 478 for (i = 0; i < bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 516 for (i=0; i<bufs->num_bufs; i++) { in mm_app_snapshot_notify_cb() 564 uint8_t num_bufs, in mm_app_add_postview_stream() argument 587 stream->num_of_bufs = num_bufs; in mm_app_add_postview_stream() 601 stream->s_config.stream_info->num_bufs = num_bufs; in mm_app_add_postview_stream()
|
D | mm_qcamera_reprocess.c | 113 uint8_t num_bufs) in mm_app_add_reprocess_stream_from_source() argument 145 stream->num_of_bufs = num_bufs; in mm_app_add_reprocess_stream_from_source() 155 stream->s_config.stream_info->num_bufs = num_bufs; in mm_app_add_reprocess_stream_from_source() 342 for ( i = 0 ; i < recvd_frame->num_bufs ; i++) { in mm_app_release_ppinput()
|
D | mm_qcamera_app.c | 295 uint8_t num_bufs, in mm_app_alloc_bufs() argument 306 for (i = 0; i < num_bufs ; i++) { in mm_app_alloc_bufs() 346 int mm_app_release_bufs(uint8_t num_bufs, in mm_app_release_bufs() argument 353 for (i = 0; i < num_bufs; i++) { in mm_app_release_bufs() 356 memset(app_bufs, 0, num_bufs * sizeof(mm_camera_app_buf_t)); in mm_app_release_bufs() 362 uint8_t *num_bufs, in mm_app_stream_initbuf() argument 438 *num_bufs = stream->num_of_bufs; in mm_app_stream_initbuf()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraStream.h | 203 uint8_t *num_bufs, 211 uint8_t *num_bufs, 237 uint8_t *num_bufs, 242 uint8_t *num_bufs, 251 uint8_t *num_bufs, uint8_t **initial_reg_flag,
|
D | QCameraStream.cpp | 68 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() 748 mNumBufs = mStreamInfo->num_bufs; in init() 1254 for (uint32_t i = 0; i < super_buf->num_bufs; i++) { in bufDone() 1372 uint8_t *num_bufs, in getBufs() argument 1496 *num_bufs = mNumBufs; in getBufs() 1536 uint8_t *num_bufs, in getBufsDeferred() argument [all …]
|
D | QCameraChannel.cpp | 461 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in bufDone() 494 for (int32_t i = 0; i < (int32_t)recvd_frame->num_bufs; i++) { in bufDone() 507 if ((index >= 0) && (index < (int32_t)recvd_frame->num_bufs)) { in bufDone() 508 for (int32_t j = index; j < (int32_t)(recvd_frame->num_bufs - 1); j++) { in bufDone() 511 recvd_frame->num_bufs--; in bufDone() 1262 streamInfo->num_bufs = minStreamBufNum; in addReprocStreamsFromSource() 1263 streamInfo->buf_cnt = streamInfo->num_bufs; in addReprocStreamsFromSource() 1614 for (uint32_t i = 0; i < frame->num_bufs; i++) { in doReprocessOffline() 1722 for (uint32_t i = 0; i < frame->num_bufs; i++) { in doReprocess()
|
D | QCamera2HWICallbacks.cpp | 155 if (recvd_frame->num_bufs > 0) { in zsl_channel_cb() 164 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in zsl_channel_cb() 176 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in zsl_channel_cb() 192 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() 233 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() 253 for (uint32_t i = 0; i < frame->num_bufs; i++) { in zsl_channel_cb() 311 for (uint32_t i = 0; i < frame->num_bufs; i++) { in selectScene() 333 for (uint32_t i = 0; i < frame->num_bufs; i++) { in selectScene() 414 if (recvd_frame->num_bufs > 0) { in capture_channel_cb_routine() 419 for ( uint32_t i= 0 ; i < recvd_frame->num_bufs ; i++ ) { in capture_channel_cb_routine() [all …]
|
D | QCameraPostProc.cpp | 997 uint32_t num_bufs = mOfflineDataBufs->getCnt(); in getOfflinePPInputBuffer() local 998 size_t bufDefsSize = num_bufs * sizeof(mm_camera_buf_def_t); in getOfflinePPInputBuffer() 1007 for (uint32_t i = 0; i < src_frame->num_bufs; i++) { in getOfflinePPInputBuffer() 1025 for (uint32_t i = 0; i < num_bufs; i++) { in getOfflinePPInputBuffer() 1072 for (uint32_t i = 0; i < frame->num_bufs; i++) { in processData() 1110 (0 < frame->num_bufs) in processData() 1114 uint32_t num_bufs = frame->num_bufs; in processData() local 1115 bufs = new mm_camera_buf_def_t[num_bufs]; in processData() 1121 for (uint32_t i = 0; i < num_bufs; i++) { in processData() 1471 for (uint32_t i = 0; i < frame->num_bufs; i++) { in processPPData() [all …]
|
D | QCamera2HWI.cpp | 3311 streamInfo->num_bufs = getBufNumRequired(stream_type); in initStreamInfoBuf() 3312 streamInfo->buf_cnt = streamInfo->num_bufs; in initStreamInfoBuf() 3473 streamInfo->dim.height, streamInfo->num_bufs, in initStreamInfoBuf() 3535 streamInfo->num_bufs += streamInfo->aux_str_info->buf_cnt; in allocateStreamInfoBuf() 3536 streamInfo->aux_str_info->num_bufs += streamInfo->aux_str_info->buf_cnt; in allocateStreamInfoBuf() 3587 rc = video_mem->allocateMeta(streamInfo->num_bufs, in allocateStreamUserBuf() 3620 size = PAD_TO_SIZE((streamInfo->num_bufs * streamInfo->user_buf_info.size), in allocateStreamUserBuf() 3623 LOGH("Allocating BATCH Buffer count = %d", streamInfo->num_bufs); in allocateStreamUserBuf() 8717 streamInfoBuf->num_bufs = img_config.num_of_bufs; in addOfflineReprocChannel()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Stream.h | 145 uint8_t *num_bufs, 158 uint8_t *num_bufs, 167 uint8_t *num_bufs, uint8_t **initial_reg_flag,
|
D | QCamera3Stream.cpp | 82 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() 417 mStreamInfo->num_bufs = minNumBuffers; in init() 468 mStreamInfo->num_bufs = mNumBatchBufs; in init() 923 uint8_t *num_bufs, in getBufs() argument 1028 *num_bufs = mNumBufs; in getBufs() 1355 uint8_t *num_bufs, uint8_t **initial_reg_flag, in getBatchBufs() argument 1362 if (!ops_tbl || !num_bufs || !initial_reg_flag || !bufs) { in getBatchBufs() 1465 *num_bufs = mNumBatchBufs; in getBatchBufs()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | rb_wrapper.cpp | 42 size_t size_of_buf, int num_bufs, char *name) in rb_init() argument 44 rb_info->rb_ctx = ring_buffer_init(size_of_buf, num_bufs); in rb_init()
|
D | rb_wrapper.h | 47 size_t size_of_buf, int num_bufs, char *name);
|
D | ring_buffer.cpp | 100 void * ring_buffer_init(size_t size_of_buf, int num_bufs) in ring_buffer_init() argument 112 rbc->bufs = (rb_entry_t *)malloc(num_bufs * sizeof(rb_entry_t)); in ring_buffer_init() 118 memset(rbc->bufs, 0, (num_bufs * sizeof(rb_entry_t))); in ring_buffer_init() 121 rbc->max_num_bufs = num_bufs; in ring_buffer_init()
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraDualFOVPP.cpp | 274 pOutputFrame->num_bufs = HAL_PP_NUM_BUFS;//snapshot and metadata in feedOutput() 517 for (uint32_t i = 0; i < pFrame->num_bufs; i++) { in getSnapshotBuf() 550 LOGD("src_reproc_frame num_bufs = %d", pFrame->num_bufs); in getMetadataBuf() 556 (i < pData->src_reproc_frame->num_bufs); i++) { in getMetadataBuf() 565 LOGD("frame num_bufs = %d", pFrame->num_bufs); in getMetadataBuf() 571 for (uint32_t i = 0; i < pFrame->num_bufs; i++) { in getMetadataBuf()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 131 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() 412 p_params->num_src_bufs = p_obj->num_bufs; in encode_init() 418 p_params->num_tmb_bufs = p_obj->num_bufs; in encode_init() 497 for (i = 0; i < jpeg_obj->num_bufs; i++) { in encode_test() 528 for (i = 0; i < jpeg_obj->num_bufs; i++) { in encode_test()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_muxer.c | 1704 if ((super_buf == NULL) || (super_buf->num_bufs == 0)) { in mm_camera_muxer_stream_frame_sync() 1724 if (dispatch_buf.super_buf[i].num_bufs == 1) { in mm_camera_muxer_stream_frame_sync() 1725 super_buf.bufs[super_buf.num_bufs++] = in mm_camera_muxer_stream_frame_sync() 1756 if ((super_buf == NULL) || (super_buf->num_bufs == 0)) { in mm_camera_muxer_channel_frame_sync() 1813 if (super_obj->super_buf[i].num_bufs != 0) { in mm_camera_muxer_channel_req_data_cb() 1822 if (super_obj->super_buf[i].num_bufs != 0) { in mm_camera_muxer_channel_req_data_cb() 1914 if (buffer == NULL || buffer->num_bufs == 0) { in mm_camera_muxer_do_frame_sync() 2006 if (super_obj->super_buf[i].num_bufs != 0) { in mm_camera_muxer_do_frame_sync() 2037 if (super_obj->super_buf[i].num_bufs != 0) { in mm_camera_muxer_do_frame_sync() 2104 if (super_obj->super_buf[i].num_bufs != 0) { in mm_camera_muxer_do_frame_sync() [all …]
|
/hardware/libhardware/include/hardware/ |
D | camera.h | 54 typedef camera_memory_t* (*camera_request_memory)(int fd, size_t buf_size, unsigned int num_bufs,
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | mm_camera_interface.h | 172 uint32_t num_bufs; member 285 uint8_t *num_bufs,
|
D | cam_intf.h | 743 uint32_t num_bufs; member
|
/hardware/interfaces/camera/device/1.0/default/ |
D | CameraDevice.cpp | 362 camera_memory_t* CameraDevice::sGetMemory(int fd, size_t buf_size, uint_t num_bufs, void *user) { in sGetMemory() argument 372 mem = new CameraHeapMemory(object->mAshmemAllocator, buf_size, num_bufs); in sGetMemory() 374 mem = new CameraHeapMemory(fd, buf_size, num_bufs); in sGetMemory() 378 MemoryId id = object->mDeviceCallback->registerMemory(hidlHandle, buf_size, num_bufs); in sGetMemory()
|
D | CameraDevice_1_0.h | 187 static camera_memory_t* sGetMemory(int fd, size_t buf_size, uint_t num_bufs, void *user);
|