Home
last modified time | relevance | path

Searched refs:mStreams (Results 1 – 9 of 9) 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()
162 if (mStreams[i].mTrackEntry != NULL) { in numTracks()
229 if (mStreams[idx].mThread != NULL) { in initStream()
232 if (mStreams[idx].mSource == NULL) { in initStream()
234 mStreams[idx].mThread = new WebmFrameEmptySourceThread( in initStream()
235 mStreams[idx].mType, mStreams[idx].mSink); in initStream()
237 ALOGV("adding source %p", mStreams[idx].mSource.get()); in initStream()
[all …]
DWebmWriter.h112 WebmStream mStreams[kMaxStreams]; variable
/frameworks/support/compat/java/android/support/v4/app/
DShareCompat.java273 private ArrayList<Uri> mStreams; field in ShareCompat.IntentBuilder
317 boolean needsSendMultiple = mStreams != null && mStreams.size() > 1; in getIntent()
324 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
325 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
329 mStreams = null; in getIntent()
336 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
337 mIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, mStreams); in getIntent()
476 mStreams = null; in setStream()
494 if (mStreams == null && currentStream == null) { in addStream()
497 if (mStreams == null) { in addStream()
[all …]
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java95 private final Map<AudioStream, Long> mStreams; field in AudioGroup
107 mStreams = new HashMap<AudioStream, Long>(); in AudioGroup()
115 return mStreams.keySet().toArray(new AudioStream[mStreams.size()]); in getStreams()
148 if (!mStreams.containsKey(stream)) { in add()
157 mStreams.put(stream, id); in add()
169 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.cpp309 mStreams[kAudioIndex] = StreamItem("audio"); in LiveSession()
310 mStreams[kVideoIndex] = StreamItem("video"); in LiveSession()
311 mStreams[kSubtitleIndex] = StreamItem("subtitles"); in LiveSession()
390 StreamItem& strm = mStreams[streamIdx]; in dequeueAccessUnit()
541 || (mStreams[i].mNewUri != newUri)) { in checkSwitchProgress()
607 || (newUri != mStreams[i].mNewUri) in checkSwitchProgress()
686 if (mStreams[i].mUri == uri) { in onMessageReceived()
687 mStreams[i].mSeekMode = (SeekMode) seekMode; in onMessageReceived()
824 && uri == mStreams[i].mNewUri) { in onMessageReceived()
841 && uri == mStreams[i].mNewUri) { in onMessageReceived()
[all …]
DLiveSession.h184 StreamItem mStreams[kMaxStreams]; member
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp102 KeyedVector<unsigned, sp<Stream> > mStreams; member
254 ssize_t index = mStreams.indexOfKey(pid); in parsePID()
259 *err = mStreams.editValueAt(index)->parse( in parsePID()
275 for (size_t i = 0; i < mStreams.size(); ++i) { in signalDiscontinuity()
276 mStreams.editValueAt(i)->signalDiscontinuity(type, extra); in signalDiscontinuity()
281 for (size_t i = 0; i < mStreams.size(); ++i) { in signalEOS()
282 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
289 if (mStreams.size() == infos.size()) { in switchPIDs()
293 for (i = 0; i < mStreams.size(); ++i) { in switchPIDs()
294 ssize_t index = oldType2PIDs.indexOfKey(mStreams[i]->type()); in switchPIDs()
[all …]