Home
last modified time | relevance | path

Searched refs:stream_type (Results 1 – 25 of 41) sorted by relevance

12

/device/google/marlin/camera/QCamera2/HAL/
DQCameraAllocator.h49 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;
DQCameraStream.cpp822 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 …]
DQCamera2HWI.cpp2431 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 …]
DQCamera2HWI.h275 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type,
280 virtual QCameraHeapMemory *allocateStreamInfoBuf(cam_stream_type_t stream_type);
283 virtual void waitForDeferredAlloc(cam_stream_type_t stream_type);
469 uint8_t getBufNumRequired(cam_stream_type_t stream_type);
494 bool needDeferred(cam_stream_type_t stream_type);
DQCameraParametersIntf.h230 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);
DQCameraChannel.h74 int32_t setStreamSyncCB (cam_stream_type_t stream_type,
DQCameraPostProc.h181 cam_stream_type_t stream_type);
DQCameraParameters.cpp13334 int32_t QCameraParameters::updatePpFeatureMask(cam_stream_type_t stream_type) { in updatePpFeatureMask() argument
13338 if (stream_type >= CAM_STREAM_TYPE_MAX) { in updatePpFeatureMask()
13339 LOGE("Error!! stream type: %d not valid", stream_type); in updatePpFeatureMask()
13344 if (isSeeMoreEnabled() && ((stream_type == CAM_STREAM_TYPE_VIDEO) || in updatePpFeatureMask()
13345 (stream_type == CAM_STREAM_TYPE_PREVIEW && getRecordingHintValue() && in updatePpFeatureMask()
13351 ((stream_type == CAM_STREAM_TYPE_VIDEO) || in updatePpFeatureMask()
13352 (stream_type == CAM_STREAM_TYPE_PREVIEW && getRecordingHintValue() && in updatePpFeatureMask()
13359 (stream_type == CAM_STREAM_TYPE_SNAPSHOT) && is4k2kVideoResolution()) || in updatePpFeatureMask()
13360 (stream_type != CAM_STREAM_TYPE_SNAPSHOT)) { in updatePpFeatureMask()
13374 int flipMode = getFlipMode(stream_type); in updatePpFeatureMask()
[all …]
DQCameraChannel.cpp147 int32_t QCameraChannel::setStreamSyncCB (cam_stream_type_t stream_type, in setStreamSyncCB() argument
152 if ((mStreams[i] != NULL) && (stream_type == mStreams[i]->getMyType())) { in setStreamSyncCB()
1052 streamInfo->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in addReprocStreamsFromSource()
1106 param.getStreamRotation(streamInfo->stream_type, in addReprocStreamsFromSource()
DQCameraParametersIntf.cpp1021 int32_t QCameraParametersIntf::updatePpFeatureMask(cam_stream_type_t stream_type) in updatePpFeatureMask() argument
1025 return mImpl->updatePpFeatureMask(stream_type); in updatePpFeatureMask()
1028 int32_t QCameraParametersIntf::getStreamPpMask(cam_stream_type_t stream_type, in getStreamPpMask() argument
1033 return mImpl->getStreamPpMask(stream_type, pp_mask); in getStreamPpMask()
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_channel.c76 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 …]
Dmm_camera_stream.c1485 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/
Dmm_qcamera_preview.c78 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 …]
Dmm_qcamera_snapshot.c213 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()
Dmm_qcamera_reprocess.c149 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_OFFLINE_PROC; in mm_app_add_reprocess_stream_from_source()
158 …stream_info->reprocess_config.online.input_stream_type = source->s_config.stream_info->stream_type; in mm_app_add_reprocess_stream_from_source()
Dmm_qcamera_rdi.c163 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_rdi_stream()
223 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_SNAPSHOT; in mm_app_add_rdi_snapshot_stream()
Dmm_qcamera_video.c86 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_VIDEO; in mm_app_add_video_stream()
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3HALHeader.h88 cam_stream_type_t stream_type; member
DQCamera3Stream.cpp408 mStreamInfo->stream_type = streamType; in init()
426 mStreamInfo->stream_type, mStreamInfo->pp_config.feature_mask); in init()
657 cmdThread->setName(mStreamNames[pme->mStreamInfo->stream_type]); in dataProcRoutine()
1199 return mStreamInfo->stream_type; in getMyType()
1434 mStreamInfo->stream_type, mNumBatchBufs); in getBatchBufs()
DQCamera3Channel.h193 cam_stream_type_t stream_type,
290 cam_stream_type_t stream_type,
430 cam_stream_type_t stream_type,
DQCamera3Channel.cpp720 cam_stream_type_t stream_type, in QCamera3ProcessingChannel() argument
733 mStreamType(stream_type), in QCamera3ProcessingChannel()
1452 if(stream->stream_type == CAMERA3_STREAM_INPUT){ in translateStreamTypeAndFormat()
1467 } else if(stream->stream_type == CAMERA3_STREAM_INPUT || in translateStreamTypeAndFormat()
1468 stream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL || in translateStreamTypeAndFormat()
1537 reproc_cfg.stream_type, reproc_cfg.stream_format); in setReprocConfig()
1544 reproc_cfg.stream_type = mStreamType; in setReprocConfig()
1548 switch (reproc_cfg.stream_type) { in setReprocConfig()
1759 cam_stream_type_t stream_type, in QCamera3RegularChannel() argument
1764 cb_routine, cb_buffer_err, paddingInfo, userData, stream, stream_type, in QCamera3RegularChannel()
[all …]
DQCamera3HWI.cpp975 if (streamList->streams[i]->stream_type == CAMERA3_STREAM_INPUT) { in validateStreamDimensions()
1032 if (newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL in validateStreamDimensions()
1033 || newStream->stream_type == CAMERA3_STREAM_INPUT in validateStreamDimensions()
1096 (newStream->stream_type != CAMERA3_STREAM_OUTPUT && in validateUsageFlags()
1097 newStream->stream_type != CAMERA3_STREAM_BIDIRECTIONAL)) { in validateUsageFlags()
1552 i, newStream->stream_type, newStream->format, in validateStreamCombination()
1555 if (newStream->stream_type == CAMERA3_STREAM_INPUT){ in validateStreamCombination()
1591 if (newStream->stream_type == CAMERA3_STREAM_OUTPUT) { in validateStreamCombination()
1621 if (newStream->stream_type != CAMERA3_STREAM_BIDIRECTIONAL && in validateStreamCombination()
1840 newStream->stream_type, newStream->format, in configureStreamsPerfLocked()
[all …]
/device/generic/goldfish/camera/
DEmulatedQemuCamera3.cpp344 __FUNCTION__, newStream, i, newStream->stream_type, in configureStreams()
347 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
348 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
403 switch (newStream->stream_type) { in configureStreams()
758 request->input_buffer->stream->stream_type, in processCaptureRequest()
759 mInputStream ? mInputStream->stream_type : -1); in processCaptureRequest()
DEmulatedFakeCamera3.cpp269 __FUNCTION__, newStream, i, newStream->stream_type, in configureStreams()
275 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
276 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
285 if (newStream->stream_type != CAMERA3_STREAM_INPUT) { in configureStreams()
349 switch (newStream->stream_type) { in configureStreams()
803 __FUNCTION__, request->input_buffer->stream->stream_type, in processCaptureRequest()
804 mInputStream ? mInputStream->stream_type : -1); in processCaptureRequest()
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedFakeCamera3.cpp270 __FUNCTION__, newStream, i, newStream->stream_type, newStream->usage, in configureStreams()
273 if (newStream->stream_type == CAMERA3_STREAM_INPUT || in configureStreams()
274 newStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL) { in configureStreams()
328 switch (newStream->stream_type) { in configureStreams()
752 request->input_buffer->stream->stream_type, in processCaptureRequest()
753 mInputStream ? mInputStream->stream_type : -1); in processCaptureRequest()

12