/aosp12/hardware/libhardware/modules/usbcamera/ |
H A 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()
|
/aosp12/hardware/qcom/audio/post_proc/ |
H A D | ma_listener.c | 71 uint32_t stream_type; member 196 if (context->stream_type == 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() 220 __func__, stream_type, in check_and_set_ma_parameter() 222 g_cur_state[stream_type].vol, max_vol); in check_and_set_ma_parameter() 226 g_cur_state[stream_type].vol = max_vol; in check_and_set_ma_parameter() 227 g_cur_state[stream_type].active = active; in check_and_set_ma_parameter() 520 context->stream_type = itt; in ma_prc_lib_create() [all …]
|
H A 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()
|
/aosp12/hardware/libhardware_legacy/include/hardware_legacy/ |
H A 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 …]
|
H A 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); 259 void changeRefCount(AudioSystem::stream_type stream, int delta); 266 bool isStreamActive(AudioSystem::stream_type stream, 347 static routing_strategy getStrategy(AudioSystem::stream_type stream); [all …]
|
/aosp12/hardware/libhardware/modules/camera/3_4/ |
H A 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() 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() 353 if (IsOutputType(stream->stream_type)) { in InputStreamsSupported() [all …]
|
/aosp12/hardware/qcom/audio/legacy/alsa_sound/ |
H A 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()
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
H A 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;
|
H A 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() 1402 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in getBufs() 1500 mStreamInfo->stream_type, regFlags, mNumBufs); in getBufs() 1865 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); in allocateBatchBufs() 1988 mStreamInfo->stream_type, mNumBufs, mNumPlaneBufs); in allocateBatchBufs() 2367 mStreamInfo->stream_type == CAM_STREAM_TYPE_OFFLINE_PROC && in isOrignalTypeOf() 2394 return mStreamInfo->stream_type; in getMyType() 2419 return mStreamInfo->stream_type; in getMyOriginalType() [all …]
|
H A 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);
|
H A D | QCamera2HWI.cpp | 2570 switch (stream_type) { in getBufNumForAux() 2652 switch (stream_type) { in getBufNumRequired() 2899 switch (stream_type) { in getStreamRefCount() 2999 switch (stream_type) { in allocateStreamBuf() 3007 stream_type); in allocateStreamBuf() 3079 stream_type); in allocateStreamBuf() 3087 stream_type, in allocateStreamBuf() 3095 stream_type); in allocateStreamBuf() 3182 stream_type); in allocateStreamBuf() 3307 streamInfo->stream_type = stream_type; in initStreamInfoBuf() [all …]
|
H A D | QCameraChannel.h | 75 int32_t setStreamSyncCB (cam_stream_type_t stream_type, 78 uint32_t getChHandleForStream(cam_stream_type_t stream_type);
|
/aosp12/frameworks/av/services/mediametrics/ |
H A D | statsd_audiotrack.cpp | 62 std::string stream_type; in statsd_audiotrack() local 63 if (item->getString("android.media.audiotrack.streamtype", &stream_type)) { in statsd_audiotrack() 64 metrics_proto.set_stream_type(stream_type); in statsd_audiotrack() 152 << " stream_type:" << stream_type in statsd_audiotrack()
|
/aosp12/hardware/interfaces/camera/device/3.3/default/ |
H A 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()
|
/aosp12/hardware/google/camera/common/hal/utils/ |
H A D | utils.cc | 40 if (stream.stream_type == StreamType::kOutput && in IsDepthStream() 50 if (stream.stream_type == StreamType::kOutput && in IsPreviewStream() 61 if (stream.stream_type == StreamType::kOutput && in IsJPEGSnapshotStream() 72 if (stream.stream_type == StreamType::kOutput && in IsOutputZslStream() 82 if (stream.stream_type == StreamType::kOutput && in IsVideoStream() 91 if (stream.stream_type == StreamType::kOutput && in IsRawStream() 102 if (stream.stream_type == StreamType::kInput && in IsInputRawStream() 117 if (stream.stream_type == StreamType::kOutput && in IsYUVSnapshotStream()
|
/aosp12/hardware/interfaces/camera/device/3.2/default/ |
H A D | convert.cpp | 62 dst->stream_type = (int) src.streamType; in convertFromHidl() 79 if (src->stream_type == CAMERA3_STREAM_OUTPUT) { in convertToHidl() 82 } else if (src->stream_type == CAMERA3_STREAM_INPUT) { in convertToHidl() 89 __FUNCTION__, src->stream_type); in convertToHidl()
|
/aosp12/hardware/libhardware/modules/camera/3_0/ |
H A 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()
|
/aosp12/hardware/qcom/audio/hal/audio_extn/ |
H A 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()
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_channel.c | 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() 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() 1972 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_start_sensor_streaming() local 1979 stream_type = s_obj->stream_info->stream_type; in mm_channel_start_sensor_streaming() 2036 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; in mm_channel_stop() local 2048 stream_type = s_obj->stream_info->stream_type; in mm_channel_stop() 2232 node->u.flush_cmd.stream_type = stream_type; in mm_channel_flush_super_buf_queue() 3643 stream_type = super_buf->super_buf[i].buf->stream_type; in mm_channel_superbuf_flush() [all …]
|
H A D | mm_camera_stream.c | 1726 my_obj->stream_info->stream_type); 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() 1999 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf() 2016 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf() 2020 my_obj, my_obj->stream_info->stream_type); in mm_stream_qbuf() 2371 my_obj->buf[i].stream_type = my_obj->stream_info->stream_type; in mm_stream_init_bufs() 2390 my_obj->plane_buf[i].stream_type = my_obj->stream_info->stream_type; in mm_stream_init_bufs() 3922 stream_info->stream_type, in mm_stream_calc_offset_raw() 4768 switch (my_obj->stream_info->stream_type) { in mm_stream_calc_offset() [all …]
|
/aosp12/frameworks/av/media/extractors/mpeg2/ |
H A D | MPEG2PSExtractor.cpp | 44 unsigned stream_id, unsigned stream_type); 356 unsigned stream_type = br.getBits(8); in dequeuePES() local 360 elementary_stream_id, stream_type); in dequeuePES() 362 mStreamTypeByESID.add(elementary_stream_id, stream_type); in dequeuePES() 599 MPEG2PSExtractor *extractor, unsigned stream_id, unsigned stream_type) in Track() argument 602 mStreamType(stream_type), in Track()
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
H A 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()
|
H A 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() 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() 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() 914 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_PREVIEW; in mm_app_add_preview_stream() 991 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_RAW; in mm_app_add_raw_stream() 1076 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_SNAPSHOT; in mm_app_add_ZSL_snapshot_stream() [all …]
|
/aosp12/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioCommonTypes.h | 48 lhs.format == rhs.format && lhs.stream_type == rhs.stream_type &&
|
/aosp12/hardware/google/camera/common/hal/tests/ |
H A D | internal_stream_manager_tests.cc | 33 .stream_type = StreamType::kOutput, 43 .stream_type = StreamType::kOutput, 53 .stream_type = StreamType::kOutput,
|