/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraAllocator.h | 49 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type, 53 virtual QCameraHeapMemory *allocateStreamInfoBuf(cam_stream_type_t stream_type) = 0; 56 virtual void waitForDeferredAlloc(cam_stream_type_t stream_type) = 0;
|
D | QCameraStream.cpp | 822 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset() 831 switch (streamInfo->stream_type) { in calcOffset() 878 streamInfo->stream_type); in calcOffset() 1005 (mStreamInfo->stream_type == CAM_STREAM_TYPE_PREVIEW || in processZoomDone() 1006 mStreamInfo->stream_type == CAM_STREAM_TYPE_POSTVIEW) ) { in processZoomDone() 1321 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in getBufs() 1324 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs() 1419 mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs() 1571 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers() 1785 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in allocateBatchBufs() [all …]
|
D | QCamera2HWI.cpp | 2431 uint8_t QCamera2HardwareInterface::getBufNumRequired(cam_stream_type_t stream_type) in getBufNumRequired() argument 2480 switch (stream_type) { in getBufNumRequired() 2676 LOGH("Buffer count = %d for stream type = %d", bufferCnt, stream_type); in getBufNumRequired() 2679 bufferCnt, stream_type, CAM_MAX_NUM_BUFS_PER_STREAM); in getBufNumRequired() 2703 cam_stream_type_t stream_type, size_t size, int stride, int scanline, in allocateStreamBuf() argument 2717 switch (stream_type) { in allocateStreamBuf() 2724 stream_type); in allocateStreamBuf() 2731 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf() 2772 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf() 2791 stream_type); in allocateStreamBuf() [all …]
|
D | QCamera2HWI.h | 273 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type, 278 virtual QCameraHeapMemory *allocateStreamInfoBuf(cam_stream_type_t stream_type); 281 virtual void waitForDeferredAlloc(cam_stream_type_t stream_type); 467 uint8_t getBufNumRequired(cam_stream_type_t stream_type); 492 bool needDeferred(cam_stream_type_t stream_type);
|
D | QCameraParametersIntf.h | 230 int32_t updatePpFeatureMask(cam_stream_type_t stream_type); 231 int32_t getStreamPpMask(cam_stream_type_t stream_type, cam_feature_mask_t &pp_mask);
|
/device/lge/bullhead/camera/QCamera2/HAL/ |
D | QCameraAllocator.h | 44 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type, 48 virtual QCameraHeapMemory *allocateStreamInfoBuf(cam_stream_type_t stream_type) = 0;
|
D | QCameraStream.cpp | 676 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset() 685 switch (streamInfo->stream_type) { in calcOffset() 730 __func__, streamInfo->stream_type); in calcOffset() 850 (mStreamInfo->stream_type == CAM_STREAM_TYPE_PREVIEW || in processZoomDone() 851 mStreamInfo->stream_type == CAM_STREAM_TYPE_POSTVIEW) ) { in processZoomDone() 1132 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs() 1215 __func__, mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs() 1260 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers() 1403 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBatchBufs() 1508 __func__, mStreamInfo->stream_type, mNumBufs, mNumPlaneBufs); in allocateBatchBufs() [all …]
|
D | QCamera2HWI.cpp | 1484 uint8_t QCamera2HardwareInterface::getBufNumRequired(cam_stream_type_t stream_type) in getBufNumRequired() argument 1522 switch (stream_type) { in getBufNumRequired() 1678 __func__, bufferCnt, stream_type, CAM_MAX_NUM_BUFS_PER_STREAM); in getBufNumRequired() 1702 cam_stream_type_t stream_type, size_t size, int stride, int scanline, in allocateStreamBuf() argument 1716 switch (stream_type) { in allocateStreamBuf() 1723 stream_type); in allocateStreamBuf() 1729 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf() 1747 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf() 1764 stream_type); in allocateStreamBuf() 1787 (stream_type == CAM_STREAM_TYPE_RAW) && in allocateStreamBuf() [all …]
|
/device/huawei/angler/camera/QCamera2/HAL/ |
D | QCameraAllocator.h | 44 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type, 48 virtual QCameraHeapMemory *allocateStreamInfoBuf(cam_stream_type_t stream_type) = 0;
|
D | QCameraStream.cpp | 676 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset() 685 switch (streamInfo->stream_type) { in calcOffset() 730 __func__, streamInfo->stream_type); in calcOffset() 850 (mStreamInfo->stream_type == CAM_STREAM_TYPE_PREVIEW || in processZoomDone() 851 mStreamInfo->stream_type == CAM_STREAM_TYPE_POSTVIEW) ) { in processZoomDone() 1132 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs() 1215 __func__, mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs() 1260 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers() 1403 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBatchBufs() 1508 __func__, mStreamInfo->stream_type, mNumBufs, mNumPlaneBufs); in allocateBatchBufs() [all …]
|
D | QCamera2HWI.cpp | 1484 uint8_t QCamera2HardwareInterface::getBufNumRequired(cam_stream_type_t stream_type) in getBufNumRequired() argument 1522 switch (stream_type) { in getBufNumRequired() 1678 __func__, bufferCnt, stream_type, CAM_MAX_NUM_BUFS_PER_STREAM); in getBufNumRequired() 1702 cam_stream_type_t stream_type, size_t size, int stride, int scanline, in allocateStreamBuf() argument 1716 switch (stream_type) { in allocateStreamBuf() 1724 stream_type); in allocateStreamBuf() 1730 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf() 1748 mParameters.getStreamDimension(stream_type, dim); in allocateStreamBuf() 1766 stream_type); in allocateStreamBuf() 1789 (stream_type == CAM_STREAM_TYPE_RAW) && in allocateStreamBuf() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 1177 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_get_bundle_info() local 1188 stream_type = s_obj->stream_info->stream_type; in mm_channel_get_bundle_info() 1189 if ((CAM_STREAM_TYPE_METADATA != stream_type) && in mm_channel_get_bundle_info() 1230 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_start() local 1237 stream_type = s_obj->stream_info->stream_type; in mm_channel_start() 1239 if ((stream_type == CAM_STREAM_TYPE_METADATA) && in mm_channel_start() 1363 s_objs[j]->stream_info->stream_type); in mm_channel_start() 1431 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_stop() local 1439 stream_type = s_obj->stream_info->stream_type; in mm_channel_stop() 1441 if (stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_stop() [all …]
|
D | mm_camera_stream.c | 1197 my_obj->stream_info->stream_type, frame_ts); in mm_stream_read_user_buf() 1247 __func__, my_obj->stream_info->stream_type, rc, strerror(errno)); in mm_stream_read_msm_frame() 1253 my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame() 1257 my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame() 1274 my_obj->stream_info->stream_type, rc, in mm_stream_read_msm_frame() 1439 my_obj->stream_info->stream_type); in mm_stream_qbuf() 1488 my_obj,my_obj->stream_info->stream_type); in mm_stream_qbuf() 1494 __func__, my_obj, my_obj->stream_info->stream_type, rc); in mm_stream_qbuf() 1497 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf() 1504 __func__, my_obj->stream_info->stream_type, rc, strerror(errno)); in mm_stream_qbuf() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 1177 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_get_bundle_info() local 1188 stream_type = s_obj->stream_info->stream_type; in mm_channel_get_bundle_info() 1189 if ((CAM_STREAM_TYPE_METADATA != stream_type) && in mm_channel_get_bundle_info() 1230 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_start() local 1237 stream_type = s_obj->stream_info->stream_type; in mm_channel_start() 1239 if ((stream_type == CAM_STREAM_TYPE_METADATA) && in mm_channel_start() 1363 s_objs[j]->stream_info->stream_type); in mm_channel_start() 1431 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_stop() local 1439 stream_type = s_obj->stream_info->stream_type; in mm_channel_stop() 1441 if (stream_type == CAM_STREAM_TYPE_METADATA) { in mm_channel_stop() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 76 cam_stream_type_t stream_type); 279 &ch_obj->bundle.superbuf_queue, cmd_cb->u.flush_cmd.stream_type); in mm_channel_process_stream_buf() 1428 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_get_bundle_info() local 1439 stream_type = s_obj->stream_info->stream_type; in mm_channel_get_bundle_info() 1440 if ((CAM_STREAM_TYPE_METADATA != stream_type) && in mm_channel_get_bundle_info() 1481 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_start() local 1488 stream_type = s_obj->stream_info->stream_type; in mm_channel_start() 1490 if ((stream_type == CAM_STREAM_TYPE_METADATA) && in mm_channel_start() 1615 s_objs[i]->stream_info->stream_type); in mm_channel_start() 1687 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_stop() local [all …]
|
D | mm_camera_stream.c | 1485 my_obj->stream_info->stream_type, frame_ts); in mm_stream_read_user_buf() 1528 my_obj->stream_info->stream_type); in mm_stream_read_msm_frame() 1540 my_obj->stream_info->stream_type, rc, strerror(errno)); in mm_stream_read_msm_frame() 1546 my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame() 1550 my_obj, my_obj->stream_info->stream_type); in mm_stream_read_msm_frame() 1571 my_obj->stream_info->stream_type, rc, in mm_stream_read_msm_frame() 1758 my_obj->stream_info->stream_type); in mm_stream_qbuf() 1788 my_obj,my_obj->stream_info->stream_type); in mm_stream_qbuf() 1794 my_obj, my_obj->stream_info->stream_type, rc); in mm_stream_qbuf() 1797 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_preview.c | 78 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 161 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 189 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 279 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 358 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 370 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 382 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 546 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; in mm_app_add_metadata_stream() 639 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_ANALYSIS; in mm_app_add_analysis_stream() 728 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_preview_stream() [all …]
|
D | mm_qcamera_snapshot.c | 213 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb() 293 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw() 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 510 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_POSTVIEW; in mm_app_add_postview_stream()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_preview.c | 67 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 147 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 226 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 238 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 250 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 415 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; in mm_app_add_metadata_stream() 458 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_preview_stream() 509 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_raw_stream() 564 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_SNAPSHOT; in mm_app_add_snapshot_stream()
|
D | mm_qcamera_snapshot.c | 211 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb() 291 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw() 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 509 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_POSTVIEW; in mm_app_add_postview_stream()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_preview.c | 67 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 147 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 226 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 238 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 250 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 415 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; in mm_app_add_metadata_stream() 458 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_preview_stream() 509 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_raw_stream() 564 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_SNAPSHOT; in mm_app_add_snapshot_stream()
|
D | mm_qcamera_snapshot.c | 211 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_snapshot_metadata_notify_cb() 291 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_RAW) { in mm_app_snapshot_notify_cb_raw() 361 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 389 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 509 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_POSTVIEW; in mm_app_add_postview_stream()
|
/device/huawei/angler/camera/QCamera2/HAL3/ |
D | QCamera3HALHeader.h | 88 cam_stream_type_t stream_type; member
|
/device/lge/bullhead/camera/QCamera2/HAL3/ |
D | QCamera3HALHeader.h | 88 cam_stream_type_t stream_type; member
|
/device/google/marlin/camera/QCamera2/HAL3/ |
D | QCamera3HALHeader.h | 88 cam_stream_type_t stream_type; member
|