Home
last modified time | relevance | path

Searched refs:mStreams (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp73 mStreams[kAudioIndex] = WebmStream(kAudioType, "Audio", &WebmWriter::audioTrack); in WebmWriter()
74 mStreams[kVideoIndex] = WebmStream(kVideoType, "Video", &WebmWriter::videoTrack); in WebmWriter()
78 mStreams[kVideoIndex].mSink, in WebmWriter()
79 mStreams[kAudioIndex].mSink, in WebmWriter()
105 mStreams[kAudioIndex] = WebmStream(kAudioType, "Audio", &WebmWriter::audioTrack); in WebmWriter()
106 mStreams[kVideoIndex] = WebmStream(kVideoType, "Video", &WebmWriter::videoTrack); in WebmWriter()
110 mStreams[kVideoIndex].mSink, in WebmWriter()
111 mStreams[kAudioIndex].mSink, in WebmWriter()
169 if (mStreams[i].mTrackEntry != NULL) { in numTracks()
236 if (mStreams[idx].mThread != NULL) { in initStream()
[all …]
DWebmWriter.h113 WebmStream mStreams[kMaxStreams]; variable
/frameworks/support/v4/java/android/support/v4/app/
DShareCompat.java267 private ArrayList<Uri> mStreams; field in ShareCompat.IntentBuilder
311 boolean needsSendMultiple = mStreams != null && mStreams.size() > 1; in getIntent()
318 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
319 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
323 mStreams = null; in getIntent()
330 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
331 mIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, mStreams); in getIntent()
470 mStreams = null; in setStream()
491 if (mStreams == null) { in addStream()
492 mStreams = new ArrayList<Uri>(); in addStream()
[all …]
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java94 private final Map<AudioStream, Long> mStreams; field in AudioGroup
106 mStreams = new HashMap<AudioStream, Long>(); in AudioGroup()
114 return mStreams.keySet().toArray(new AudioStream[mStreams.size()]); in getStreams()
147 if (!mStreams.containsKey(stream)) { in add()
155 mStreams.put(stream, id); in add()
167 Long id = mStreams.remove(stream); in remove()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp183 mStreams.push_back(StreamInfo()); in onAddStream()
184 StreamInfo *info = &*--mStreams.end(); in onAddStream()
218 List<StreamInfo>::iterator it = mStreams.begin(); in onRemoveStream()
219 while (it != mStreams.end() in onRemoveStream()
224 if (it == mStreams.end()) { in onRemoveStream()
228 mStreams.erase(it); in onRemoveStream()
245 if (mStreams.empty()) { in onPollStreams()
257 for (List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams()
258 it != mStreams.end(); ++it) { in onPollStreams()
281 List<StreamInfo>::iterator it = mStreams.begin(); in onPollStreams()
[all …]
DARTPConnection.h70 List<StreamInfo> mStreams; member
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp80 mStreams[kAudioIndex] = StreamItem("audio"); in LiveSession()
81 mStreams[kVideoIndex] = StreamItem("video"); in LiveSession()
82 mStreams[kSubtitleIndex] = StreamItem("subtitles"); in LiveSession()
223 StreamItem& strm = mStreams[streamIdx]; in dequeueAccessUnit()
1238 if (mPlaylist->getTypeURI(item.mPlaylistIndex, mStreams[i].mType, &URIs[i])) { in changeConfiguration()
1285 msg->setString(mStreams[i].uriKey().c_str(), URIs[i].c_str()); in changeConfiguration()
1337 const AString &uriKey = mStreams[i].uriKey(); in onChangeConfiguration2()
1352 && !(URIs[i] == mStreams[i].mUri)) in onChangeConfiguration2()
1407 CHECK(msg->findString(mStreams[i].uriKey().c_str(), &mStreams[i].mNewUri)); in onChangeConfiguration3()
1409 CHECK(msg->findString(mStreams[i].uriKey().c_str(), &mStreams[i].mUri)); in onChangeConfiguration3()
[all …]
DLiveSession.h153 StreamItem mStreams[kMaxStreams]; member
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp92 KeyedVector<unsigned, sp<Stream> > mStreams; member
208 ssize_t index = mStreams.indexOfKey(pid); in parsePID()
213 *err = mStreams.editValueAt(index)->parse( in parsePID()
229 for (size_t i = 0; i < mStreams.size(); ++i) { in signalDiscontinuity()
230 mStreams.editValueAt(i)->signalDiscontinuity(type, extra); in signalDiscontinuity()
235 for (size_t i = 0; i < mStreams.size(); ++i) { in signalEOS()
236 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
346 ssize_t index = mStreams.indexOfKey(info.mPID); in parseProgramMap()
348 if (index >= 0 && mStreams.editValueAt(index)->type() != info.mType) { in parseProgramMap()
358 for (size_t i = 0; i < mStreams.size(); ++i) { in parseProgramMap()
[all …]
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.cpp144 mStreams.clear(); in disconnect()
185 for (StreamList::iterator s = mStreams.begin(); s != mStreams.end(); s++) { in dump()
265 mStreams.push_back(stream); in createStream()
287 for (streamI = mStreams.begin(); in createReprocessStreamFromStream()
288 streamI != mStreams.end(); streamI++) { in createReprocessStreamFromStream()
323 for (streamI = mStreams.begin(); in getStreamInfo()
324 streamI != mStreams.end(); streamI++) { in getStreamInfo()
349 for (streamI = mStreams.begin(); in setStreamTransform()
350 streamI != mStreams.end(); streamI++) { in setStreamTransform()
369 for (StreamList::iterator streamI = mStreams.begin(); in deleteStream()
[all …]
DCamera2Device.h271 StreamList mStreams; variable
/frameworks/av/camera/
DProCamera.cpp177 mStreams.removeItem(streamId); in deleteStream()
221 mStreams.add(*streamId, s); in createStream()
433 return mStreams.editValueFor(streamId); in getStreamInfo()
/frameworks/av/include/camera/
DProCamera.h306 KeyedVector<int, StreamInfo> mStreams;
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp644 mStreams[AUDIO_STREAM_DTMF].mVolumeCurve[j] = in setPhoneState()
653 mStreams[AUDIO_STREAM_DTMF].mVolumeCurve[j] = in setPhoneState()
1311 mStreams[stream].getVolumeIndex(newDevice), in startOutput()
1800 mStreams[stream].mIndexMin = indexMin; in initStreamVolume()
1801 mStreams[stream].mIndexMax = indexMax; in initStreamVolume()
1804 mStreams[AUDIO_STREAM_ACCESSIBILITY].mIndexMin = indexMin; in initStreamVolume()
1805 mStreams[AUDIO_STREAM_ACCESSIBILITY].mIndexMax = indexMax; in initStreamVolume()
1814 if ((index < mStreams[stream].mIndexMin) || (index > mStreams[stream].mIndexMax)) { in setStreamVolumeIndex()
1822 if (!mStreams[stream].mCanBeMuted) index = mStreams[stream].mIndexMax; in setStreamVolumeIndex()
1830 mStreams[stream].mIndexCur.clear(); in setStreamVolumeIndex()
[all …]
DAudioPolicyManager.h817 … StreamDescriptor mStreams[AUDIO_STREAM_CNT]; // stream descriptors for volume control variable