Home
last modified time | relevance | path

Searched refs:mStreams (Results 1 – 11 of 11) 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.java201 private ArrayList<Uri> mStreams; field in ShareCompat.IntentBuilder
245 boolean needsSendMultiple = mStreams != null && mStreams.size() > 1; in getIntent()
252 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
253 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); in getIntent()
257 mStreams = null; in getIntent()
264 if (mStreams != null && !mStreams.isEmpty()) { in getIntent()
265 mIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM, mStreams); in getIntent()
404 mStreams = null; in setStream()
422 if (mStreams == null && currentStream == null) { in addStream()
425 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/services/audioflinger/
DBufLog.cpp59 memset(mStreams, 0, sizeof(mStreams)); in BufLog()
66 BufLogStream *pBLStream = mStreams[id]; in ~BufLog()
69 mStreams[id] = NULL; in ~BufLog()
79 BufLogStream *pBLStream = mStreams[id]; in write()
82 pBLStream = mStreams[id] = new BufLogStream(id, tag, format, channels, in write()
96 BufLogStream *pBLStream = mStreams[id]; in reset()
99 mStreams[id] = NULL; in reset()
DBufLog.h185 BufLogStream *mStreams[BUFLOG_MAXSTREAMS]; variable
/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.cpp304 mStreams[kAudioIndex] = StreamItem("audio"); in LiveSession()
305 mStreams[kVideoIndex] = StreamItem("video"); in LiveSession()
306 mStreams[kSubtitleIndex] = StreamItem("subtitles"); in LiveSession()
385 StreamItem& strm = mStreams[streamIdx]; in dequeueAccessUnit()
544 || (mStreams[i].mNewUri != newUri)) { in checkSwitchProgress()
610 || (newUri != mStreams[i].mNewUri) in checkSwitchProgress()
695 if (mStreams[i].mUri == uri) { in onMessageReceived()
696 mStreams[i].mSeekMode = (SeekMode) seekMode; in onMessageReceived()
833 && uri == mStreams[i].mNewUri) { in onMessageReceived()
853 && uri == mStreams[i].mNewUri) { in onMessageReceived()
[all …]
DLiveSession.h186 StreamItem mStreams[kMaxStreams]; member
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp120 KeyedVector<unsigned, sp<Stream> > mStreams; member
318 ssize_t index = mStreams.indexOfKey(pid); in parsePID()
323 *err = mStreams.editValueAt(index)->parse( in parsePID()
343 for (size_t i = 0; i < mStreams.size(); ++i) { in signalDiscontinuity()
344 mStreams.editValueAt(i)->signalDiscontinuity(type, extra); in signalDiscontinuity()
349 for (size_t i = 0; i < mStreams.size(); ++i) { in signalEOS()
350 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
357 if (mStreams.size() == infos.size()) { in switchPIDs()
361 for (i = 0; i < mStreams.size(); ++i) { in switchPIDs()
362 ssize_t index = oldType2PIDs.indexOfKey(mStreams[i]->type()); in switchPIDs()
[all …]