Home
last modified time | relevance | path

Searched refs:trackType (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp652 media_track_type trackType, counterpartType; in onMessageReceived() local
657 trackType = MEDIA_TRACK_TYPE_AUDIO; in onMessageReceived()
662 trackType = MEDIA_TRACK_TYPE_VIDEO; in onMessageReceived()
678 if (trackType == MEDIA_TRACK_TYPE_AUDIO) { in onMessageReceived()
683 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, in onMessageReceived()
968 int32_t trackType; in getTrackInfo() local
970 trackType = MEDIA_TRACK_TYPE_VIDEO; in getTrackInfo()
972 trackType = MEDIA_TRACK_TYPE_AUDIO; in getTrackInfo()
974 trackType = MEDIA_TRACK_TYPE_TIMEDTEXT; in getTrackInfo()
976 trackType = MEDIA_TRACK_TYPE_UNKNOWN; in getTrackInfo()
[all …]
DNuPlayer.cpp516 int32_t trackType; in writeTrackInfo() local
517 if (!format->findInt32("type", &trackType)) { in writeTrackInfo()
528 if (trackType == MEDIA_TRACK_TYPE_AUDIO) { in writeTrackInfo()
530 } else if (trackType == MEDIA_TRACK_TYPE_VIDEO) { in writeTrackInfo()
533 ALOGE("unknown track type: %d", trackType); in writeTrackInfo()
545 reply->writeInt32(trackType); in writeTrackInfo()
549 if (trackType == MEDIA_TRACK_TYPE_SUBTITLE) { in writeTrackInfo()
558 } else if (trackType == MEDIA_TRACK_TYPE_AUDIO) { in writeTrackInfo()
DNuPlayerCCDecoder.cpp515 int32_t trackType, size_t channel, bool *trackAdded) { in getTrackIndex() argument
516 CCTrack track(trackType, channel); in getTrackIndex()
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerCCDecoder.h52 CCTrack(const int32_t trackType, const size_t trackChannel) in CCTrack()
53 : mTrackType(trackType), mTrackChannel(trackChannel) { } in CCTrack()
79 size_t getTrackIndex(int32_t trackType, size_t channel, bool *trackAdded);
DGenericSource.h206 media_track_type trackType);
208 void postReadBuffer(media_track_type trackType);
216 media_track_type trackType,
222 bool seeking, bool formatChange, media_track_type trackType, Track *track);
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp206 int32_t trackType; in getTrackInfo() local
208 trackType = MEDIA_TRACK_TYPE_AUDIO; in getTrackInfo()
210 trackType = MEDIA_TRACK_TYPE_VIDEO; in getTrackInfo()
212 trackType = MEDIA_TRACK_TYPE_SUBTITLE; in getTrackInfo()
214 trackType = MEDIA_TRACK_TYPE_UNKNOWN; in getTrackInfo()
216 format->setInt32("type", trackType); in getTrackInfo()
/frameworks/av/media/libaudioprocessing/
DAudioMixerBase.cpp1596 AudioMixerBase::hook_t AudioMixerBase::TrackBase::getTrackHook(int trackType, uint32_t channelCount, in getTrackHook() argument
1600 switch (trackType) { in getTrackHook()
1610 LOG_ALWAYS_FATAL("bad trackType: %d", trackType); in getTrackHook()
1615 switch (trackType) { in getTrackHook()
1705 LOG_ALWAYS_FATAL("bad trackType: %d", trackType); in getTrackHook()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h236 static hook_t getTrackHook(int trackType, uint32_t channelCount,
/frameworks/av/services/audioflinger/
DTracks.cpp923 char trackType; in appendDump() local
928 trackType = 'S'; // static in appendDump()
930 trackType = ' '; // normal in appendDump()
934 trackType = 'P'; in appendDump()
937 trackType = '?'; in appendDump()
941 result.appendFormat("F%d %c %6d", mFastIndex, trackType, mId); in appendDump()
943 result.appendFormat(" %c %6d", trackType, mId); in appendDump()
/frameworks/base/media/java/android/media/
DMediaPlayer.java3230 public int getSelectedTrack(int trackType) throws IllegalStateException { in getSelectedTrack() argument
3232 && (trackType == TrackInfo.MEDIA_TRACK_TYPE_SUBTITLE in getSelectedTrack()
3233 || trackType == TrackInfo.MEDIA_TRACK_TYPE_TIMEDTEXT)) { in getSelectedTrack()
3239 … if (p.second == subtitleTrack && subtitleTrack.getTrackType() == trackType) { in getSelectedTrack()
3252 request.writeInt(trackType); in getSelectedTrack()