/hardware/libhardware/modules/usbcamera/ |
H A D | Stream.cpp | 65 return mStream->stream_type; 69 return mStream->stream_type == CAMERA3_STREAM_INPUT || 70 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; 74 return mStream->stream_type == CAMERA3_STREAM_OUTPUT || 75 mStream->stream_type == CAMERA3_STREAM_BIDIRECTIONAL; 140 if (s->stream_type != mStream->stream_type) { 142 "expect %s(%d)", __func__, mId, typeToString(s->stream_type), 143 s->stream_type, typeToString(mStream->stream_type), mStrea [all...] |
/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 | QCameraChannel.h | 75 int32_t setStreamSyncCB (cam_stream_type_t stream_type, 78 uint32_t getChHandleForStream(cam_stream_type_t stream_type);
|
H A D | QCameraStream.cpp | 855 streamInfo->stream_type != CAM_STREAM_TYPE_VIDEO) { 864 switch (streamInfo->stream_type) { 912 streamInfo->stream_type); 1039 (mStreamInfo->stream_type == CAM_STREAM_TYPE_PREVIEW || 1040 mStreamInfo->stream_type == CAM_STREAM_TYPE_POSTVIEW) ) { 1402 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); 1405 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, 1500 mStreamInfo->stream_type, regFlags, mNumBufs); 1651 mStreamBufs = mAllocator.allocateStreamBuf(mStreamInfo->stream_type, 1865 mAllocator.waitForDeferredAlloc(mStreamInfo->stream_type); [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 | 2557 * @stream_type : type of stream 2563 uint8_t QCamera2HardwareInterface::getBufNumForAux(cam_stream_type_t stream_type) argument 2570 switch (stream_type) { 2583 bufferCnt = getBufNumRequired(stream_type); 2598 * @stream_type : type of stream 2602 uint8_t QCamera2HardwareInterface::getBufNumRequired(cam_stream_type_t stream_type) argument 2652 switch (stream_type) { 2865 LOGH("Buffer count = %d for stream type = %d", bufferCnt, stream_type); 2868 bufferCnt, stream_type, CAM_MAX_NUM_BUFS_PER_STREAM); 2881 * @stream_type 2890 getStreamRefCount(cam_stream_type_t stream_type, uint32_t cam_type) argument 2984 allocateStreamBuf( cam_stream_type_t stream_type, size_t size, int stride, int scanline, uint8_t &bufferCnt) argument 3299 initStreamInfoBuf(cam_stream_type_t stream_type, cam_stream_info_t *streamInfo, uint32_t cam_type) argument 3493 allocateStreamInfoBuf( cam_stream_type_t stream_type, uint8_t bufCount, uint32_t cam_type) argument 3648 waitForDeferredAlloc(cam_stream_type_t stream_type) argument 11125 needDeferred(cam_stream_type_t stream_type) argument 11166 needSyncCB(cam_stream_type_t stream_type) argument [all...] |
/hardware/intel/common/libmix/mix_audio/src/ |
H A D | amhelper.h | 17 gint32 lpe_stream_register(guint32 lpe_stream_id, char* media_role, char* lpe_stream_name, guint32 stream_type);
|
H A D | amhelper.c | 54 gint32 lpe_stream_register(guint32 lpe_stream_id, char* media_role, char* lpe_stream_name, guint32 stream_type) argument 67 lpe_stream_id, G_TYPE_STRING, media_role, G_TYPE_STRING, lpe_stream_name, G_TYPE_UINT, stream_type,
|
H A D | intel_sst_ioctl.h | 39 enum stream_type { enum 210 __u8 stream_type; member in struct:snd_sst_params
|
/hardware/qcom/audio/hal/audio_extn/ |
H A D | maxxaudio.h | 30 bool audio_extn_ma_set_state(struct audio_device *adev, int stream_type,
|
H A D | utils.c | 41 int stream_type, 50 if (stream_type == PCM_PLAYBACK) { 53 } else if (stream_type == PCM_CAPTURE) { 74 __func__, stream_type, app_type, acdb_dev_id, sample_rate, 38 set_stream_app_type_mixer_ctrl(struct audio_device *adev, int pcm_device_id, int app_type, int acdb_dev_id, int sample_rate, int stream_type, snd_device_t snd_device) argument
|
/hardware/interfaces/camera/device/3.3/default/ |
H A D | convert.cpp | 38 if (src->stream_type == CAMERA3_STREAM_OUTPUT) { 41 } else if (src->stream_type == CAMERA3_STREAM_INPUT) { 48 __FUNCTION__, src->stream_type);
|
/hardware/qcom/audio/post_proc/ |
H A D | ma_listener.c | 71 uint32_t stream_type; member in struct:ma_listener_context_s 184 static void check_and_set_ma_parameter(uint32_t stream_type) argument 196 if (context->stream_type == stream_type && 204 __func__, context->session_id, temp_vol, stream_type); 214 stream_type >= MIN_STREAM_TYPES && 215 stream_type <= MAX_STREAM_TYPES && 216 (g_cur_state[stream_type].vol != max_vol || 217 g_cur_state[stream_type].active != active)) { 220 __func__, stream_type, [all...] |
H A D | volume_listener.c | 88 uint32_t stream_type; member in struct:vol_listener_context_s 227 // dump stream_type / Device / session_id / left / righ volume 230 context->stream_type == MUSIC ? "MUSIC" : 231 context->stream_type == RING ? "RING" : 232 context->stream_type == ALARM ? "ALARM" : 233 context->stream_type == VOICE_CALL ? "VOICE_CALL" : 234 context->stream_type == VC_CALL ? "VC_CALL" : 235 context->stream_type == NOTIFICATION ? "NOTIFICATION" : "--INVALID--", 248 if (context->stream_type == VC_CALL && headset_cal_enabled && 722 context->stream_type 764 uint32_t stream_type; local [all...] |
/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 output, int delayMs = 0) = 0; 233 virtual status_t invalidateStream(AudioSystem::stream_type strea [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); 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 strea [all...] |
H A D | AudioSystemLegacy.h | 71 enum stream_type { enum in class:android_audio_legacy::AudioSystem 341 static bool isLowVisibility(stream_type stream) {
|
/hardware/libhardware/modules/camera/3_4/ |
H A D | static_properties.cpp | 237 static bool IsInputType(int stream_type) { argument 238 return stream_type == CAMERA3_STREAM_INPUT || 239 stream_type == CAMERA3_STREAM_BIDIRECTIONAL; 242 static bool IsOutputType(int stream_type) { argument 243 return stream_type == CAMERA3_STREAM_OUTPUT || 244 stream_type == CAMERA3_STREAM_BIDIRECTIONAL; 281 } else if (!IsInputType(stream->stream_type) && 282 !IsOutputType(stream->stream_type)) { 286 stream->stream_type); 301 if (IsInputType(stream->stream_type)) { [all...] |
/hardware/interfaces/camera/device/3.2/default/ |
H A D | convert.cpp | 62 dst->stream_type = (int) src.streamType; 79 if (src->stream_type == CAMERA3_STREAM_OUTPUT) { 82 } else if (src->stream_type == CAMERA3_STREAM_INPUT) { 89 __FUNCTION__, src->stream_type);
|
/hardware/libhardware/modules/camera/3_0/ |
H A D | Stream.cpp | 39 mType(s->stream_type), 164 if (s->stream_type != mType) { 166 "expect %s(%d)", __func__, mId, typeToString(s->stream_type), 167 s->stream_type, typeToString(mType), mType);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | audio_policy_hal.cpp | 146 return qap->apm->getOutput((AudioSystem::stream_type)stream, 155 return qap->apm->startOutput(output, (AudioSystem::stream_type)stream, 163 return qap->apm->stopOutput(output, (AudioSystem::stream_type)stream, 208 qap->apm->initStreamVolume((AudioSystem::stream_type)stream, index_min, 217 return qap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream, 227 return qap->apm->getStreamVolumeIndex((AudioSystem::stream_type)stream, 238 return qap->apm->setStreamVolumeIndex((AudioSystem::stream_type)stream, 249 return qap->apm->getStreamVolumeIndex((AudioSystem::stream_type)stream, 258 return qap->apm->getStrategyForStream((AudioSystem::stream_type)stream); 265 return qap->apm->getDevicesForStream((AudioSystem::stream_type)strea [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
H A D | QCamera3HALHeader.h | 89 cam_stream_type_t stream_type; member in struct:qcamera::__anon1964
|
/hardware/libhardware/include/hardware/ |
H A D | camera3.h | 1565 int stream_type; member in struct:camera3_stream 1625 * For stream_type OUTPUT and BIDIRECTIONAL, when passed via 1629 * For stream_type INPUT, when passed via configure_streams(), the initial
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
H A D | mm_qcamera_preview.c | 80 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 252 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 280 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_POSTVIEW) { 373 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 452 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_PREVIEW) { 464 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_SNAPSHOT) { 476 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 650 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_METADATA; 748 stream->s_config.stream_info->stream_type = CAM_STREAM_TYPE_ANALYSIS; 815 stream->s_config.stream_info->stream_type [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
H A 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); 1725 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; local 1736 stream_type = s_obj->stream_info->stream_type; 1737 if ((CAM_STREAM_TYPE_METADATA != stream_type) && 1778 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; local 1785 stream_type = s_obj->stream_info->stream_type; 1787 if ((stream_type 1972 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; local 2036 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; local 2221 mm_channel_flush_super_buf_queue(mm_channel_t *my_obj, uint32_t frame_idx, cam_stream_type_t stream_type) argument 3635 cam_stream_type_t stream_type = CAM_STREAM_TYPE_DEFAULT; local [all...] |