/hardware/libhardware/modules/usbcamera/ |
D | Stream.cpp | 65 return mStream->stream_type; in getType() 69 return mStream->stream_type == CAMERA3_STREAM_INPUT || in isInputType() 70 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in isInputType() 74 return mStream->stream_type == CAMERA3_STREAM_OUTPUT || in isOutputType() 75 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in isOutputType() 140 if (s->stream_type != mStream->stream_type) { in isValidReuseStream() 142 "expect %s(%d)", __func__, mId, typeToString(s->stream_type), in isValidReuseStream() 143 s->stream_type, typeToString(mStream->stream_type), mStream->stream_type); in isValidReuseStream() 169 dprintf(fd, "Stream Type: %s (%d)\n", typeToString(mStream->stream_type), mStream->stream_type); in dump()
|
/hardware/qcom/audio/post_proc/ |
D | ma_listener.c | 71 uint32_t stream_type; member 184 static void check_and_set_ma_parameter(uint32_t stream_type) in check_and_set_ma_parameter() argument 196 if (context->stream_type == stream_type && in check_and_set_ma_parameter() 204 __func__, context->session_id, temp_vol, stream_type); in check_and_set_ma_parameter() 214 stream_type >= MIN_STREAM_TYPES && in check_and_set_ma_parameter() 215 stream_type <= MAX_STREAM_TYPES && in check_and_set_ma_parameter() 216 (g_cur_state[stream_type].vol != max_vol || in check_and_set_ma_parameter() 217 g_cur_state[stream_type].active != active)) { in check_and_set_ma_parameter() 220 __func__, stream_type, in check_and_set_ma_parameter() 221 g_cur_state[stream_type].active ? "T" : "F", active ? "T" : "F", in check_and_set_ma_parameter() [all …]
|
D | volume_listener.c | 88 uint32_t stream_type; member 230 context->stream_type == MUSIC ? "MUSIC" : in dump_list_l() 231 context->stream_type == RING ? "RING" : in dump_list_l() 232 context->stream_type == ALARM ? "ALARM" : in dump_list_l() 233 context->stream_type == VOICE_CALL ? "VOICE_CALL" : in dump_list_l() 234 context->stream_type == VC_CALL ? "VC_CALL" : in dump_list_l() 235 context->stream_type == NOTIFICATION ? "NOTIFICATION" : "--INVALID--", in dump_list_l() 248 if (context->stream_type == VC_CALL && headset_cal_enabled && in valid_dev_in_context() 726 context->stream_type = itt; in vol_prc_lib_create() 780 PRINT_STREAM_TYPE(context->stream_type); in vol_prc_lib_release()
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioPolicyInterface.h | 92 virtual audio_io_handle_t getOutput(AudioSystem::stream_type stream, 100 AudioSystem::stream_type stream, 104 AudioSystem::stream_type stream, 127 virtual void initStreamVolume(AudioSystem::stream_type stream, 134 virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream, 141 virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream, 146 virtual uint32_t getStrategyForStream(AudioSystem::stream_type stream) = 0; 149 virtual audio_devices_t getDevicesForStream(AudioSystem::stream_type stream) = 0; 230 …virtual status_t setStreamVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_t … 233 virtual status_t invalidateStream(AudioSystem::stream_type stream) = 0; [all …]
|
D | AudioPolicyManagerBase.h | 89 virtual audio_io_handle_t getOutput(AudioSystem::stream_type stream, 96 AudioSystem::stream_type stream, 99 AudioSystem::stream_type stream, 115 virtual void initStreamVolume(AudioSystem::stream_type stream, 118 virtual status_t setStreamVolumeIndex(AudioSystem::stream_type stream, 121 virtual status_t getStreamVolumeIndex(AudioSystem::stream_type stream, 126 virtual uint32_t getStrategyForStream(AudioSystem::stream_type stream); 129 virtual audio_devices_t getDevicesForStream(AudioSystem::stream_type stream); 259 void changeRefCount(AudioSystem::stream_type stream, int delta); 266 bool isStreamActive(AudioSystem::stream_type stream, [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | static_properties.cpp | 238 static bool IsInputType(int stream_type) { in IsInputType() argument 239 return stream_type == CAMERA3_STREAM_INPUT || in IsInputType() 240 stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in IsInputType() 243 static bool IsOutputType(int stream_type) { in IsOutputType() argument 244 return stream_type == CAMERA3_STREAM_OUTPUT || in IsOutputType() 245 stream_type == CAMERA3_STREAM_BIDIRECTIONAL; in IsOutputType() 282 } else if (!IsInputType(stream->stream_type) && in SanityCheckStreamConfiguration() 283 !IsOutputType(stream->stream_type)) { in SanityCheckStreamConfiguration() 287 stream->stream_type); in SanityCheckStreamConfiguration() 302 if (IsInputType(stream->stream_type)) { in InputStreamsSupported() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraAllocator.h | 49 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type, 54 cam_stream_type_t stream_type, uint8_t bufCount = 1, 58 virtual void waitForDeferredAlloc(cam_stream_type_t stream_type) = 0;
|
D | QCamera2HWI.h | 286 virtual QCameraMemory *allocateStreamBuf(cam_stream_type_t stream_type, 291 cam_stream_type_t stream_type, uint8_t bufCount = 1, 295 virtual void waitForDeferredAlloc(cam_stream_type_t stream_type); 310 int32_t initStreamInfoBuf(cam_stream_type_t stream_type, 489 uint8_t getBufNumRequired(cam_stream_type_t stream_type); 490 uint8_t getBufNumForAux(cam_stream_type_t stream_type); 518 bool needDeferred(cam_stream_type_t stream_type); 600 uint8_t getStreamRefCount(cam_stream_type_t stream_type, 605 bool needSyncCB(cam_stream_type_t stream_type);
|
D | QCameraStream.cpp | 855 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { in calcOffset() 864 switch (streamInfo->stream_type) { in calcOffset() 912 streamInfo->stream_type); in calcOffset() 1039 (mStreamInfo->stream_type == CAM_STREAM_TYPE_PREVIEW || in processZoomDone() 1040 mStreamInfo->stream_type == CAM_STREAM_TYPE_POSTVIEW) ) { in processZoomDone() 1402 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in getBufs() 1405 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in getBufs() 1500 mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs() 1651 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, in allocateBuffers() 1865 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in allocateBatchBufs() [all …]
|
D | QCameraChannel.h | 75 int32_t setStreamSyncCB (cam_stream_type_t stream_type, 78 uint32_t getChHandleForStream(cam_stream_type_t stream_type);
|
D | QCamera2HWI.cpp | 2563 uint8_t QCamera2HardwareInterface::getBufNumForAux(cam_stream_type_t stream_type) in getBufNumForAux() argument 2570 switch (stream_type) { in getBufNumForAux() 2583 bufferCnt = getBufNumRequired(stream_type); in getBufNumForAux() 2602 uint8_t QCamera2HardwareInterface::getBufNumRequired(cam_stream_type_t stream_type) in getBufNumRequired() argument 2652 switch (stream_type) { in getBufNumRequired() 2865 LOGH("Buffer count = %d for stream type = %d", bufferCnt, stream_type); in getBufNumRequired() 2868 bufferCnt, stream_type, CAM_MAX_NUM_BUFS_PER_STREAM); in getBufNumRequired() 2890 uint8_t QCamera2HardwareInterface::getStreamRefCount(cam_stream_type_t stream_type, in getStreamRefCount() argument 2899 switch (stream_type) { in getStreamRefCount() 2985 cam_stream_type_t stream_type, size_t size, int stride, int scanline, in allocateStreamBuf() argument [all …]
|
/hardware/interfaces/camera/device/3.3/default/ |
D | convert.cpp | 38 if (src->stream_type == CAMERA3_STREAM_OUTPUT) { in convertToHidl() 41 } else if (src->stream_type == CAMERA3_STREAM_INPUT) { in convertToHidl() 48 __FUNCTION__, src->stream_type); in convertToHidl()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | audio_policy_hal.cpp | 146 return qap->apm->getOutput((AudioSystem::stream_type)stream, in ap_get_output() 155 return qap->apm->startOutput(output, (AudioSystem::stream_type)stream, in ap_start_output() 163 return qap->apm->stopOutput(output, (AudioSystem::stream_type)stream, in ap_stop_output() 208 qap->apm->initStreamVolume((AudioSystem::stream_type)stream, index_min, in ap_init_stream_volume() 217 return qap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream, in ap_set_stream_volume_index() 227 return qap->apm->getStreamVolumeIndex((AudioSystem::stream_type)stream, in ap_get_stream_volume_index() 238 return qap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream, in ap_set_stream_volume_index_for_device() 249 return qap->apm->getStreamVolumeIndex((AudioSystem::stream_type)stream, in ap_get_stream_volume_index_for_device() 258 return qap->apm->getStrategyForStream((AudioSystem::stream_type)stream); in ap_get_strategy_for_stream() 265 return qap->apm->getDevicesForStream((AudioSystem::stream_type)stream); in ap_get_devices_for_stream()
|
/hardware/interfaces/camera/device/3.2/default/ |
D | convert.cpp | 70 dst->stream_type = (int) src.streamType; in convertFromHidl() 87 if (src->stream_type == CAMERA3_STREAM_OUTPUT) { in convertToHidl() 90 } else if (src->stream_type == CAMERA3_STREAM_INPUT) { in convertToHidl() 97 __FUNCTION__, src->stream_type); in convertToHidl()
|
/hardware/libhardware/modules/camera/3_0/ |
D | Stream.cpp | 39 mType(s->stream_type), in Stream() 164 if (s->stream_type != mType) { in isValidReuseStream() 166 "expect %s(%d)", __func__, mId, typeToString(s->stream_type), in isValidReuseStream() 167 s->stream_type, typeToString(mType), mType); in isValidReuseStream()
|
/hardware/qcom/audio/hal/audio_extn/ |
D | maxxaudio.c | 645 bool audio_extn_ma_set_state(struct audio_device *adev, int stream_type, in audio_extn_ma_set_state() argument 651 if (stream_type >= STREAM_MAX_TYPES || in audio_extn_ma_set_state() 652 stream_type < STREAM_MIN_TYPES) { in audio_extn_ma_set_state() 653 ALOGE("%s: stream_type %d out of range.", __func__, stream_type); in audio_extn_ma_set_state() 663 __func__, stream_type, vol, active ? "true" : "false"); in audio_extn_ma_set_state() 665 pr_mstate.vol = ma_cur_state_table[(ma_stream_type_t)stream_type].vol; in audio_extn_ma_set_state() 666 pr_mstate.active = ma_cur_state_table[(ma_stream_type_t)stream_type].active; in audio_extn_ma_set_state() 673 ma_cur_state_table[(ma_stream_type_t)stream_type].vol = vol; in audio_extn_ma_set_state() 674 ma_cur_state_table[(ma_stream_type_t)stream_type].active = active; in audio_extn_ma_set_state()
|
D | maxxaudio.h | 30 bool audio_extn_ma_set_state(struct audio_device *adev, int stream_type,
|
/hardware/google/camera/common/hal/utils/ |
D | utils.cc | 68 if (stream.stream_type == StreamType::kOutput && in IsDepthStream() 78 if (stream.stream_type == StreamType::kOutput && in IsPreviewStream() 89 if (stream.stream_type == StreamType::kOutput && in IsJPEGSnapshotStream() 100 if (stream.stream_type == StreamType::kOutput && in IsOutputZslStream() 110 if (stream.stream_type == StreamType::kOutput && in IsVideoStream() 119 if (stream.stream_type == StreamType::kOutput && in IsRawStream() 130 if (stream.stream_type == StreamType::kInput && in IsInputRawStream() 145 if (stream.stream_type == StreamType::kOutput && in IsYUVSnapshotStream()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 83 cam_stream_type_t stream_type); 385 &ch_obj->bundle.superbuf_queue, cmd_cb->u.flush_cmd.stream_type); in mm_channel_process_stream_buf() 1725 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_get_bundle_info() local 1736 stream_type = s_obj->stream_info->stream_type; in mm_channel_get_bundle_info() 1737 if ((CAM_STREAM_TYPE_METADATA != stream_type) && in mm_channel_get_bundle_info() 1778 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_start() local 1785 stream_type = s_obj->stream_info->stream_type; in mm_channel_start() 1787 if ((stream_type == CAM_STREAM_TYPE_METADATA) && in mm_channel_start() 1912 s_objs[i]->stream_info->stream_type); in mm_channel_start() 1972 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_start_sensor_streaming() local [all …]
|
D | mm_camera_stream.c | 1682 my_obj->stream_info->stream_type, frame_ts); in mm_stream_read_user_buf() 1726 my_obj->stream_info->stream_type); in mm_stream_read_msm_frame() 1739 my_obj->stream_info->stream_type, rc, strerror(errno)); in mm_stream_read_msm_frame() 1747 my_obj, my_obj->stream_info->stream_type, my_obj->fd); in mm_stream_read_msm_frame() 1770 my_obj->stream_info->stream_type, rc, in mm_stream_read_msm_frame() 1957 my_obj->stream_info->stream_type); in mm_stream_qbuf() 1989 my_obj,my_obj->stream_info->stream_type, idx, in mm_stream_qbuf() 1996 my_obj, my_obj->stream_info->stream_type, rc); in mm_stream_qbuf() 1999 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf() 2008 my_obj->stream_info->stream_type, rc, strerror(errno)); in mm_stream_qbuf() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_video.c | 65 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 149 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 177 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 267 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 375 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_video_preview_stream() 425 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_SNAPSHOT; in mm_app_add_video_snapshot_stream() 519 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_VIDEO; in mm_app_add_video_stream()
|
D | mm_qcamera_preview.c | 80 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_metadata_notify_cb() 252 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_snapshot_notify_cb() 280 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { in mm_app_snapshot_notify_cb() 373 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_preview_notify_cb() 452 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { in mm_app_zsl_notify_cb() 464 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { in mm_app_zsl_notify_cb() 476 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { in mm_app_zsl_notify_cb() 650 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; in mm_app_add_metadata_stream() 748 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_ANALYSIS; in mm_app_add_analysis_stream() 815 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_ZSL_preview_stream() [all …]
|
/hardware/google/camera/common/hal/tests/ |
D | internal_stream_manager_tests.cc | 33 .stream_type = StreamType::kOutput, 43 .stream_type = StreamType::kOutput, 53 .stream_type = StreamType::kOutput,
|
D | test_utils.cc | 37 stream->stream_type = StreamType::kOutput; in GetDummyPreviewStream()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3HALHeader.h | 89 cam_stream_type_t stream_type; member
|