/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 …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 382 uint8_t num_bufs, 385 extern int mm_app_release_bufs(uint8_t num_bufs, 388 uint8_t *num_bufs, 439 uint8_t num_bufs, 450 uint8_t num_bufs, 456 uint8_t num_bufs);
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Stream.h | 146 uint8_t *num_bufs, 159 uint8_t *num_bufs, 168 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() 934 uint8_t *num_bufs, in getBufs() argument 1039 *num_bufs = mNumBufs; in getBufs() 1366 uint8_t *num_bufs, uint8_t **initial_reg_flag, in getBatchBufs() argument 1373 if (!ops_tbl || !num_bufs || !initial_reg_flag || !bufs) { in getBatchBufs() 1476 *num_bufs = mNumBatchBufs; in getBatchBufs()
|
D | QCamera3Channel.cpp | 363 for (uint32_t i = 0; i < recvd_frame->num_bufs; i++) { in bufDone() 1412 if(super_frame->num_bufs != 1) { in checkStreamCbErrors() 2264 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine() 2676 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine() 2814 if (super_frame == NULL || super_frame->num_bufs != 1) { in streamCbRoutine() 3756 if (recvd_frame != nullptr && recvd_frame->num_bufs == 1) { in metadataBufDone() 4363 src_frame->num_bufs = 1; in returnYuvBufferAndEncode() 4384 metadataBuf->num_bufs = 1; in returnYuvBufferAndEncode() 4565 if(super_frame->num_bufs != 1) { in streamCbRoutine() 4926 if (recvd_frame && recvd_frame->num_bufs == 1) { in bufDone() [all …]
|
/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 | ring_buffer.h | 51 void * ring_buffer_init(size_t size_of_buf, int num_bufs);
|
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,
|
/hardware/interfaces/camera/device/1.0/default/ |
D | CameraDevice.cpp | 365 camera_memory_t* CameraDevice::sGetMemory(int fd, size_t buf_size, uint_t num_bufs, void *user) { in sGetMemory() argument 375 mem = new CameraHeapMemory(object->mAshmemAllocator, buf_size, num_bufs); in sGetMemory() 377 mem = new CameraHeapMemory(fd, buf_size, num_bufs); in sGetMemory() 381 MemoryId id = object->mDeviceCallback->registerMemory(hidlHandle, buf_size, num_bufs); in sGetMemory()
|