/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 76 WrappedTrack(const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track); 726 const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) 728 mTrack(track) { 725 WrappedTrack( const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) argument
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 260 sp<WebmElement> WebmElement::CuePointEntry(uint64_t time, int track, uint64_t off) { argument 262 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueTrack, track));
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 422 const sp<Track> &track = mTracks.itemAt(i); local 424 if (track->streamType() == streamType) { 428 if ((isAudio && track->isAudio()) || (isVideo && track->isVideo())) { 438 sp<Track> track = new Track(format, PID, streamType, streamID); local 439 return mTracks.add(track); 447 const sp<Track> &track = mTracks.itemAt(trackIndex); local 448 track->extractCSDIfNecessary(); 471 const sp<Track> &track = mTracks.itemAt(trackIndex); local 473 if (track 785 const sp<Track> &track = mTracks.itemAt(i); local 1041 const sp<Track> &track = mTracks.itemAt(trackIndex); local [all...] |
H A D | PlaybackSession.cpp | 339 // this track suspended for the time being. 499 const sp<Track> &track = mTracks.valueFor(trackIndex); local 502 track->mediaSenderTrackIndex(), 512 ALOGI("output EOS on track %zu", trackIndex); 587 sp<Track> track = mTracks.valueFor(trackIndex); local 588 looper()->unregisterHandler(track->id()); 590 track.clear(); 791 sp<Track> track = new Track(notify, format); local 792 looper()->registerHandler(track); 794 mTracks.add(trackIndex, track); 994 sp<Track> track = new Track( local 1096 const sp<Track> &track = mTracks.valueAt(i); local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | JetPlayer.java | 86 private static final int JET_EVENT_TRACK_MASK = 0x00fc0000; // mask for track number 90 private static final int JET_EVENT_TRACK_SHIFT = 18; // shift to get track ID to bit 0 273 * affects track 0, bit 1 affects track 1 etc. 279 * track including trigger clips and mute flags. 301 * playback. The value at index 0 affects track 0, value at index 1 affects track 1 etc. 308 * track including trigger clips and mute flags. 324 * @param muteFlags a bitmask to specify which MIDI tracks are muted. Bit 0 affects track 0, 325 * bit 1 affects track 508 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument [all...] |
H A D | AudioTrack.java | 360 * HW_AV_SYNC track AV Sync Header 364 * HW_AV_SYNC track audio data bytes remaining to write after current AV sync header 407 * <p> If the track's creation mode is {@link #MODE_STATIC}, 409 * <p> If the track's creation mode is {@link #MODE_STREAM}, 446 * will be created for this track if none is supplied. 463 * <p> If the track's creation mode is {@link #MODE_STATIC}, 465 * <p> If the track's creation mode is {@link #MODE_STREAM}, 511 * <p> If the track's creation mode is {@link #MODE_STATIC}, 513 * <p> If the track's creation mode is {@link #MODE_STREAM}, 903 final AudioTrack track 2861 onMarkerReached(AudioTrack track) argument 2867 onPeriodicNotification(AudioTrack track) argument 2880 NativePositionEventHandlerDelegate(final AudioTrack track, final OnPlaybackPositionUpdateListener listener, Handler handler) argument 2935 NativeRoutingEventHandlerDelegate(final AudioTrack track, final AudioRouting.OnRoutingChangedListener listener, Handler handler) argument [all...] |
H A D | MediaPlayer.java | 252 * This callback allows applications to keep track of the buffering status 308 * track of the playback progress.</li> 741 * when playing back a video will result in only the audio track being played. 742 * A null surface holder or surface will result in only the audio track being 766 * A null surface will result in only the audio track being played. 2266 * Class for MediaPlayer to return each audio/video/subtitle track's metadata. 2272 * Gets the track type. 2273 * @return TrackType which indicates if the track is video, audio, timed text. 2280 * Gets the language code of the track. 2291 * Gets the {@link MediaFormat} of the track 2559 onSubtitleTrackSelected(SubtitleTrack track) argument [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioMixer.cpp | 50 /* VERY_VERY_VERBOSE_LOGGING will show exactly which process hook and track hook is 107 // AudioMixer is not yet capable of more than 32 active track inputs 168 ALOGV("add track (%d)", n); 169 // assume default parameters for the track, except where noted below 254 // Called when channel masks have changed for a track name 259 track_t &track = mState.tracks[name]; local 261 if (trackChannelMask == track.channelMask 262 && mixerChannelMask == track.mMixerChannelMask) { 268 const bool mixerChannelCountChanged = track.mMixerChannelCount != mixerChannelCount; 273 track 462 track_t& track = mState.tracks[name]; local 475 track_t& track = mState.tracks[name]; local 613 track_t& track = mState.tracks[name]; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 652 Track *track = &mTracks.editItemAt(mTracks.size() - 1); local 654 track->mMeta = meta; 655 track->mRate = rate; 656 track->mScale = scale; 657 track->mBytesPerSample = sampleSize; 658 track->mKind = kind; 659 track->mNumSyncSamples = 0; 660 track->mThumbnailSampleSize = 0; 661 track->mThumbnailSampleIndex = -1; 662 track 674 Track *track = &mTracks.editItemAt(mTracks.size() - 1); local 797 Track *track = &mTracks.editItemAt(trackIndex); local 865 Track *track = &mTracks.editItemAt(i); local 1000 Track *track = &mTracks.editItemAt(trackIndex); local 1048 Track *track = &mTracks.editItemAt(trackIndex); local 1112 const Track &track = mTracks.itemAt(trackIndex); local 1180 const Track &track = mTracks.itemAt(trackIndex); local [all...] |
H A D | MPEG4Extractor.cpp | 56 // max track header chunk to return 183 // This is used to cache the full sampletable metadata for a single track, 185 // Each MPEG4DataSource caches the sampletable metadata for a single track. 388 Track *track = mFirstTrack; local 389 while (track) { 390 Track *next = track->next; 392 delete track; 393 track = next; 434 Track *track = mFirstTrack; local 435 while (track) { 451 Track *track = mFirstTrack; local 977 Track *track = new Track; local 3262 Track *track = mFirstTrack; local 3337 verifyTrack(Track *track) argument [all...] |
H A D | MPEG4Writer.cpp | 341 // Update the audio track's drift information. 371 // Determine the track time scale 372 // If it is an audio track, try to use the sampling rate as 511 snprintf(buffer, SIZE, " %s track\n", getTrackType()); 572 // This is a metadata track or the first track of either audio or video 573 // Go ahead to add the track. 574 Track *track = new Track(this, source, 1 + mTracks.size()); local 575 mTracks.push_back(track); 1590 ALOGI("Earliest track startin 1957 Track *track = NULL; local 2157 Track *track = static_cast<Track *>(me); local [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Switch.java | 125 * Width required to draw the switch track and thumb. Includes padding and 126 * optical bounds for both the track and thumb. 131 * Height required to draw the switch track and thumb. Includes padding and 132 * optical bounds for both the track and thumb. 142 /** Left bound for drawing the switch track and thumb. */ 145 /** Top bound for drawing the switch track and thumb. */ 148 /** Right bound for drawing the switch track and thumb. */ 151 /** Bottom bound for drawing the switch track and thumb. */ 487 * Set the drawable used for the track that the switch slides within. 489 * @param track Trac 493 setTrackDrawable(Drawable track) argument [all...] |
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 66 /** Music note that indicates user is listening to a music track. */ 129 // Look for music track (of which there would be only one and it'll be the 252 * Looks for a music track (\u266B is first character, everything else is 253 * track info). 497 // Keeps track of whether we've seen a character (in map if we've seen it) 768 /** Represents a music track token at the beginning. */ 770 private String track; field in class:AbstractMessageParser.MusicTrack 772 public MusicTrack(String track) { argument 773 super(Type.MUSIC, track); 774 this.track [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 813 sp<AudioTrack> track = new AudioTrack(); local 815 if (track->set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT, 827 ALOGD("latency: output %d, input %d", track->latency(), record->latency()); 861 (track->latency() + record->latency()) * sampleRate / 1000); 872 track->start(); 890 status_t status = track->obtainBuffer(&buffer, 1); 895 track->releaseBuffer(&buffer);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SwitchCompat.java | 142 * Width required to draw the switch track and thumb. Includes padding and 143 * optical bounds for both the track and thumb. 148 * Height required to draw the switch track and thumb. Includes padding and 149 * optical bounds for both the track and thumb. 159 /** Left bound for drawing the switch track and thumb. */ 162 /** Top bound for drawing the switch track and thumb. */ 165 /** Right bound for drawing the switch track and thumb. */ 168 /** Bottom bound for drawing the switch track and thumb. */ 471 * Set the drawable used for the track that the switch slides within. 473 * @param track Trac 477 setTrackDrawable(Drawable track) argument [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 375 // stream type shouldn't be looked at, this track has audio attributes 475 ALOGE("notificationFrames=%d not permitted for non-fast track", 619 // We save the time when the track is started to later verify whether 766 // the same configuration. A timestamp query for a paused track 769 // this time when requested until the track is resumed. 981 // Reject if timed track or compressed audio. 1342 "track %u Hz, output %u Hz", 1427 sp<IAudioTrack> track = audioFlinger->createTrack(streamType, local 1445 ALOGE("AudioFlinger could not create track, status: %d", status); 1448 ALOG_ASSERT(track ! [all...] |
H A D | IAudioFlinger.cpp | 115 sp<IAudioTrack> track; local 159 track = interface_cast<IAudioTrack>(reply.readStrongBinder()); 161 if (track == 0) { 166 if (track != 0) { 168 track.clear(); 175 return track; 991 sp<IAudioTrack> track; local 997 track = createTrack( 1001 LOG_ALWAYS_FATAL_IF((track != 0) != (status == NO_ERROR)); 1007 reply->writeStrongBinder(IInterface::asBinder(track)); [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 176 ALOGE("initFromDataSource, source has no track!"); 183 sp<IMediaSource> track = extractor->getTrack(i); local 184 if (track == NULL) { 190 ALOGE("no metadata for track %zu", i); 197 ALOGV("initFromDataSource track[%zu]: %s", i, mime); 206 mAudioTrack.mSource = track; 221 mVideoTrack.mSource = track; 230 mSources.push(track); 281 ALOGE("failed to start audio track!"); 286 ALOGE("failed to start video track!"); 600 Track* track; local 861 Track *track = audio ? &mAudioTrack : &mVideoTrack; local 1042 const Track *track = NULL; local 1105 Track* track = NULL; local 1128 Track *track = isSubtitle ? &mSubtitleTrack : &mTimedTextTrack; local 1176 Track *track = audio ? &mAudioTrack : &mVideoTrack; local 1387 Track *track; local 1511 queueDiscontinuityIfNeeded( bool seeking, bool formatChange, media_track_type trackType, Track *track) argument [all...] |
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 169 // searches in our own track based vectors. We should not need this once mkvparser 179 const mkvparser::Track* track = getTrack(); local 181 return cp->Find(track); 208 return cp->Find(track); 447 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(index); local 448 const mkvparser::Track *pTrack = pTracks->GetTrackByNumber(track.mTrackNum); 450 track.mCuePoints.push_back(pCP); 463 MatroskaExtractor::TrackInfo& track = mExtractor->mTracks.editItemAt(mIndex); local 464 pTP = track.find(seekTimeNs); 471 ALOGV("Video track locate 1188 initTrackInfo( const mkvparser::Track *track, const sp<MetaData> &meta, TrackInfo *trackInfo) argument 1228 const mkvparser::Track *track = tracks->GetTrackByIndex(index); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 587 // The first "track" is merely session meta 633 // The first "track" is merely session meta 657 TrackInfo *track = NULL; local 659 if (msg->findSize("track-index", &trackIndex)) { 660 track = &mTracks.editItemAt(trackIndex); 670 CHECK(track != NULL); 719 notify->setSize("track-index", trackIndex); 724 if (track->mRTPSocket != -1 && track->mRTCPSocket != -1) { 725 if (!track 1024 TrackInfo *track = &mTracks.editItemAt(trackIndex); local 1320 TrackInfo *track = &mTracks.editItemAt(i); local 1723 TrackInfo *track; local 1759 TrackInfo *track = &mTracks.editItemAt(trackIndex); local 1772 TrackInfo *track = &mTracks.editItemAt(i); local 1803 TrackInfo *track = &mTracks.editItemAt(trackIndex); local 1859 TrackInfo *track = &mTracks.editItemAt(trackIndex); local 1887 addMediaTimestamp( int32_t trackIndex, const TrackInfo *track, const sp<ABuffer> &accessUnit) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 110 // clientUid contains the uid of the app that is responsible for this track, so we can blame 114 // ALOGD("Creating track with %d buffers @ %d bytes", bufferCount, bufferSize); 189 mCblk->mFlags = CBLK_FORCEREADY; // FIXME hack, need to fix the track ready logic 289 AudioFlinger::TrackHandle::TrackHandle(const sp<AudioFlinger::PlaybackThread::Track>& track) argument 291 mTrack(track) 296 // just stop the track on deletion, associated resources 298 // been played. Unless it's not in the active track list, in which 391 mFrameMap(16 /* sink-frame-to-track-frame map memory */), 417 // Workaround: clear out mCblk to indicate track hasn't been properly created. 436 ALOGE("no more track name [all...] |
H A D | AudioFlinger.cpp | 655 sp<PlaybackThread::Track> track; local 745 track = thread->createTrack_l(client, streamType, sampleRate, format, 748 LOG_ALWAYS_FATAL_IF((lStatus == NO_ERROR) && (track == 0)); 752 // for a track to be created 765 (void) track->setSyncEvent(mPendingSyncEvents[i]); 781 // Don't hold mClientLock when releasing the reference on the track as the 787 track.clear(); 792 trackHandle = new TrackHandle(track); 1695 // Don't hold mClientLock when releasing the reference on the track as the 3018 // thread when a track wit [all...] |
H A D | Threads.cpp | 144 // Offloaded output thread standby delay: allows track transition without going to standby 164 FastMixer_Dynamic, // initialize if needed, then use dynamically depending on track load, 187 // track buffer in shared memory. Zero on input means to use a default value. For fast tracks, 188 // AudioFlinger derives the default from HAL buffer size and 'fast track multiplier'. 1550 ssize_t AudioFlinger::ThreadBase::ActiveTracks<T>::add(const sp<T> &track) { argument 1551 ssize_t index = mActiveTracks.indexOf(track); 1553 ALOGW("ActiveTracks<T>::add track %p already there", track.get()); 1557 mLatestActiveTrack = track; 1558 ++mBatteryCounter[track 1563 remove(const sp<T> &track) argument 1751 sp<Track> track = mTracks[i]; local 1771 sp<Track> track = mActiveTracks[i]; local 1847 sp<Track> track; local 2126 addTrack_l(const sp<Track>& track) argument 2195 destroyTrack_l(const sp<Track>& track) argument 2210 removeTrack_l(const sp<Track>& track) argument 2503 sp<Track> track = mTracks[i]; local 2524 sp<Track> track = mTracks[i]; local 2575 sp<Track> track = mTracks[i]; local 2596 const sp<Track>& track = tracksToRemove.itemAt(i); local 2715 sp<Track> track = mTracks[i]; local 2813 sp<Track> track = mTracks[i]; local 2879 sp<Track> track = mTracks[i]; local 2891 attachAuxEffect( const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) argument 2898 attachAuxEffect_l( const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) argument 2924 sp<Track> track = mTracks[i]; local 3402 const sp<Track>& track = tracksToRemove.itemAt(i); local 3563 addPatchTrack(const sp<PatchTrack>& track) argument 3569 deletePatchTrack(const sp<PatchTrack>& track) argument 4049 Track* const track = t.get(); local 4826 processVolume_l(Track *track, bool lastTrack) argument 4916 Track* const track = t.get(); local 5466 Track* const track = t.get(); local 6090 sp<RecordTrack> track = mTracks[i]; local 6515 sp<RecordTrack> track = mTracks[i]; local 6592 sp<RecordTrack> track; local 6882 destroyTrack_l(const sp<RecordTrack>& track) argument 6892 removeTrack_l(const sp<RecordTrack>& track) argument 6946 sp<RecordTrack> track = mTracks[i]; local 6966 sp<RecordTrack> track = mActiveTracks[i]; local 7153 sp<RecordTrack> track = mTracks[i]; local 7313 sp<RecordThread::RecordTrack> track = mTracks[j]; local 7392 sp<RecordTrack> track = mTracks[i]; local 7694 sp<MmapTrack> track = new MmapTrack(this, mSampleRate, mFormat, mChannelMask, sessionId, local 7722 sp<MmapTrack> track; local 8082 sp<MmapTrack> track = mActiveTracks[i]; local 8191 sp<MmapTrack> track = mActiveTracks[i]; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 627 static jint writeToTrack(const sp<AudioTrack>& track, jint audioFormat, const T *data, argument 633 if (track->sharedBuffer() == 0) { 634 written = track->write(data + offsetInSamples, sizeInBytes, blocking); 641 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { 642 sizeInBytes = track->sharedBuffer()->size(); 644 memcpy(track->sharedBuffer()->pointer(), data + offsetInSamples, sizeInBytes); 1183 // Pass through the arguments to the AudioFlinger track implementation. 1213 // Pass through the arguments to the AudioFlinger track implementation.
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1425 ALOGE("gapless:start playback for next track failed, err(%d)", errStartNext); 1680 } else if (res == WOULD_BLOCK) { // case 2: transitory state on start of a new track 1685 } else { // case 3: transitory at new track or audio fast tracks. 1779 ALOGD("deleting recycled track, waiting for data drain (%d msec)", msec); 1788 // An offloaded track isn't flushed because the STREAM_END is reported 1789 // slightly prematurely to allow time for the gapless track switch 1790 // but this means that if we decide not to recycle the track there 1792 // AudioFlinger to drain the track. 1869 // Check whether we can recycle the track 1878 // check if the existing track ca 2200 sp<AudioTrack> track; local [all...] |