Searched refs:streamType (Results 1 - 25 of 66) sorted by path

123

/frameworks/av/include/media/
H A DAudioSystem.h94 audio_stream_type_t streamType,
113 static bool routedToA2dpOutput(audio_stream_type_t streamType);
H A DAudioTrack.h118 audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT,
133 * streamType: Select the type of audio stream this track is attached to
154 AudioTrack( audio_stream_type_t streamType,
166 explicit AudioTrack( int streamType,
186 AudioTrack( audio_stream_type_t streamType,
210 status_t set(audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT,
239 audio_stream_type_t streamType() const;
485 status_t createTrack_l(audio_stream_type_t streamType,
H A DIAudioFlinger.h60 audio_stream_type_t streamType,
H A DMediaPlayerInterface.h227 virtual status_t setAudioStreamType(audio_stream_type_t streamType) = 0;
H A DSoundPool.h165 SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality);
181 audio_stream_type_t streamType() const { return mStreamType; } function in class:android::SoundPool
H A DToneGenerator.h154 ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava = false);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.h63 void setAudioStreamType(audio_stream_type_t streamType) { mStreamType = streamType; } argument
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Interface.c228 switch (pStreamDescription->streamType)
234 "adding a Video stream (streamType=0x%x)",
235 pStreamDescription->streamType);
246 // if (M4SYS_kH263 == pStreamDescription->streamType)
264 M4OSA_TRACE3_1("M4WRITER_3GP_addStream: adding an Audio stream (streamType=0x%x)",
265 pStreamDescription->streamType);
282 returning M4WRITER_3GP_ERR_UNSUPPORTED_STREAM_TYPE (streamType=0x%x)",
283 pStreamDescription->streamType);
301 switch (pStreamDescription->streamType)
H A DM4MP4W_Writer.c641 switch (streamDescPtr->streamType)
764 if (streamDescPtr->streamType == M4SYS_kAMR)
799 else if (streamDescPtr->streamType == M4SYS_kEVRC)
992 streamDescPtr->streamType;
1023 if (streamDescPtr->streamType == M4SYS_kH263)
1070 if (streamDescPtr->streamType == M4SYS_kMPEG_4)
1112 if (streamDescPtr->streamType == M4SYS_kH264)
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4SYS_Stream.h35 /** The streamType type provides a way to distinguish all streams (AAC, AMR, YUV420, MPEG-4 Video,
39 @n So a specific naming convention has been designed to allow a quick parsing of the streamType
146 M4SYS_StreamType streamType; /**< The stream type of the stream*/ member in struct:__anon183
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c2263 pC->WriterVideoStream.streamType = M4SYS_kVideoUnknown;
2265 pC->WriterAudioStream.streamType = M4SYS_kAudioUnknown;
6634 pC->WriterVideoStream.streamType = M4SYS_kMPEG_4;
6638 pC->WriterVideoStream.streamType = M4SYS_kH263;
6642 pC->WriterVideoStream.streamType = M4SYS_kH264;
6649 pC->WriterVideoStream.streamType = M4SYS_kMPEG_4;
6653 pC->WriterVideoStream.streamType = M4SYS_kH263;
6657 pC->WriterVideoStream.streamType = M4SYS_kH264;
6902 pC->WriterAudioStream.streamType = M4SYS_kAMR;
6906 pC->WriterAudioStream.streamType
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c97 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType);
98 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType);
102 * M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType)
107 * @param streamType(IN) : AMR stream type NB or WB
111 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) argument
116 if ( streamType == M4SYS_kAMR )
128 * M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType)
133 * @param streamType(IN) : AMR stream type NB or WB
137 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) argument
144 if ( streamType
[all...]
H A DM4PCMR_CoreReader.c240 pStreamDesc->streamType = M4SYS_kPCM_8bitsU;
243 // pStreamDesc->streamType = M4SYS_kPCM_8bitsS; /* ??? 8bits stereo not
247 pStreamDesc->streamType = M4SYS_kAudioUnknown;
255 pStreamDesc->streamType = M4SYS_kPCM_16bitsU;
258 pStreamDesc->streamType = M4SYS_kPCM_16bitsS;
261 pStreamDesc->streamType = M4SYS_kAudioUnknown;
266 pStreamDesc->streamType = M4SYS_kAudioUnknown;
H A DM4PTO3GPP_API.c1518 pC->m_pWriterVideoStream->streamType = M4SYS_kMPEG_4; break;
1520 pC->m_pWriterVideoStream->streamType = M4SYS_kH263; break;
1522 pC->m_pWriterVideoStream->streamType = M4SYS_kH264; break;
1632 pC->m_pWriterAudioStream->streamType = M4SYS_kAMR;
1635 pC->m_pWriterAudioStream->streamType = M4SYS_kAAC;
1638 pC->m_pWriterAudioStream->streamType = M4SYS_kEVRC;
H A DM4READER_Amr.c316 switch (streamDesc.streamType)
H A DM4READER_Pcm.c335 switch (streamDesc.streamType)
H A DM4VSS3GPP_AudioMixing.c304 if( M4SYS_kAudioUnknown == pC->ewc.WriterAudioStream.streamType )
H A DM4VSS3GPP_Edit.c2341 pC_ewc->WriterVideoStream.streamType = pC_ewc->VideoStreamType;
2464 pC_ewc->WriterAudioStream.streamType = pC_ewc->AudioStreamType;
H A DM4VSS3GPP_EditVideo.c2230 if( M4SYS_kH263 == pAU->stream->streamType )
2239 else if( M4SYS_kMPEG_4 == pAU->stream->streamType )
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditor3gpReader.cpp1413 M4_StreamType streamType = M4DA_StreamTypeUnknown; local
1457 streamType = M4DA_StreamTypeVideoMpeg4Avc;
1459 streamType = M4DA_StreamTypeVideoH263;
1461 streamType = M4DA_StreamTypeVideoMpeg4;
1466 streamType);
1468 if(streamType != M4DA_StreamTypeUnknown) {
1469 pC->mStreamType = streamType;
1539 if(M4DA_StreamTypeVideoH263 == streamType) {
1574 else if(M4DA_StreamTypeVideoMpeg4Avc == streamType) {
1609 } else if( (M4DA_StreamTypeVideoMpeg4 == streamType) ) {
[all...]
H A DVideoEditorMp3Reader.cpp493 streamDesc.streamType = M4SYS_kMP3;
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) { argument
210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType);
213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType) argument
217 if (streamType == AUDIO_STREAM_DEFAULT) {
218 streamType = AUDIO_STREAM_MUSIC;
221 output = getOutput(streamType);
226 return getSamplingRate(output, streamType, samplingRate);
230 audio_stream_type_t streamType,
249 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %d", streamType, outpu
229 getSamplingRate(audio_io_handle_t output, audio_stream_type_t streamType, int* samplingRate) argument
255 getOutputFrameCount(int* frameCount, int streamType) argument
259 getOutputFrameCount(int* frameCount, audio_stream_type_t streamType) argument
275 getFrameCount(audio_io_handle_t output, audio_stream_type_t streamType, int* frameCount) argument
298 getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
314 getLatency(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* latency) argument
495 routedToA2dpOutput(audio_stream_type_t streamType) argument
[all...]
H A DAudioTrack.cpp54 audio_stream_type_t streamType,
69 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
73 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
77 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) {
103 audio_stream_type_t streamType,
118 mStatus = set(streamType, sampleRate, format, channelMask,
125 int streamType,
139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format,
146 audio_stream_type_t streamType,
161 mStatus = set(streamType, sampleRat
52 getMinFrameCount( int* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
124 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
145 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
337 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack
749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument
[all...]
H A DIAudioFlinger.cpp88 audio_stream_type_t streamType,
104 data.writeInt32((int32_t) streamType);
722 int streamType = data.readInt32(); local
734 (audio_stream_type_t) streamType, sampleRate, format,
86 createTrack( pid_t pid, audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, track_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument
H A DSoundPool.cpp42 SoundPool::SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality) argument
44 ALOGV("SoundPool constructor: maxChannels=%d, streamType=%d, srcQuality=%d",
45 maxChannels, streamType, srcQuality);
59 mStreamType = streamType;
573 audio_stream_type_t streamType = mSoundPool->streamType(); local
574 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) {
577 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) {
610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
613 newTrack = new AudioTrack(streamType, sampleRat
[all...]

Completed in 2881 milliseconds

123