/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
ManifestWriter.java | 20 import com.googlecode.mp4parser.authoring.Track; 27 long getBitrate(Track track); 29 long[] calculateFragmentDurations(Track track, Movie movie);
|
AbstractManifestWriter.java | 7 import com.googlecode.mp4parser.authoring.Track;
36 * Calculates the length of each fragment in the given <code>track</code> (as part of <code>movie</code>).
38 * @param track target of calculation
39 * @param movie the <code>track</code> must be part of this <code>movie</code>
40 * @return the duration of each fragment in track timescale
42 public long[] calculateFragmentDurations(Track track, Movie movie) {
43 long[] startSamples = intersectionFinder.sampleNumbers(track, movie);
48 for (TimeToSampleBox.Entry entry : track.getDecodingTimeEntries()) {
65 public long getBitrate(Track track) { [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
Movie.java | 25 List<Track> tracks = new LinkedList<Track>(); 27 public List<Track> getTracks() { 31 public void setTracks(List<Track> tracks) { 35 public void addTrack(Track nuTrack) { 39 // We already have a track with that trackId. Create a new one 49 for (Track track : tracks) { 50 s += "track_" + track.getTrackMetaData().getTrackId() + " (" + track.getHandler() + ") " [all...] |
AbstractTrack.java | 22 public abstract class AbstractTrack implements Track {
|
Track.java | 24 * Represents a Track. A track is a timed sequence of related samples. 27 * For media data, a track corresponds to a sequence of images or sampled audio; for hint tracks, a track 30 public interface Track {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
FragmentIntersectionFinder.java | 19 import com.googlecode.mp4parser.authoring.Track; 29 * @param track concerned track 30 * @param movie the context of the track 33 public long[] sampleNumbers(Track track, Movie movie);
|
TwoSecondIntersectionFinder.java | 20 import com.googlecode.mp4parser.authoring.Track; 31 protected long getDuration(Track track) { 33 for (TimeToSampleBox.Entry entry : track.getDecodingTimeEntries()) { 42 public long[] sampleNumbers(Track track, Movie movie) { 43 List<TimeToSampleBox.Entry> entries = track.getDecodingTimeEntries(); 46 for (Track thisTrack : movie.getTracks()) { 66 int currentFragment = (int) (time / track.getTrackMetaData().getTimescale() / 2) + 1;
|
SyncSampleIntersectFinderImpl.java | 21 import com.googlecode.mp4parser.authoring.Track; 60 * @param track concerned track 61 * @param movie the context of the track 64 public long[] sampleNumbers(Track track, Movie movie) { 65 final CacheTuple key = new CacheTuple(track, movie); 71 if ("vide".equals(track.getHandler())) { 72 if (track.getSyncSamples() != null && track.getSyncSamples().length > 0) 306 Track track; field in class:SyncSampleIntersectFinderImpl.CacheTuple [all...] |
FragmentedMp4Builder.java | 25 import com.googlecode.mp4parser.authoring.Track; 85 protected List<Track> sortTracksInSequence(List<Track> tracks, final int cycle, final Map<Track, long[]> intersectionMap) { 86 tracks = new LinkedList<Track>(tracks); 87 Collections.sort(tracks, new Comparator<Track>() { 88 public int compare(Track o1, Track o2) { 115 HashMap<Track, long[]> intersectionMap = new HashMap<Track, long[]>() [all...] |
DefaultMp4Builder.java | 45 import com.googlecode.mp4parser.authoring.Track; 75 HashMap<Track, List<ByteBuffer>> track2Sample = new HashMap<Track, List<ByteBuffer>>(); 76 HashMap<Track, long[]> track2SampleSizes = new HashMap<Track, long[]>(); 88 for (Track track : movie.getTracks()) { 90 List<ByteBuffer> samples = track.getSamples(); 91 putSamples(track, samples); 96 putSampleSizes(track, sizes) [all...] |
/frameworks/av/media/extractors/mp4/ |
MPEG4Extractor.h | 78 struct Track { 79 Track *next; 99 Track() { 112 ~Track() { 122 DISALLOW_EVIL_CONSTRUCTORS(Track); 144 Track *mFirstTrack, *mLastTrack; 167 static status_t verifyTrack(Track *track); 175 Track *findTrackByMimePrefix(const char *mimePrefix);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
SilenceTrackImpl.java | 5 import com.googlecode.mp4parser.authoring.Track; 16 public class SilenceTrackImpl implements Track { 17 Track source; 22 public SilenceTrackImpl(Track ofType, long ms) {
|
ReplaceSampleTrack.java | 20 import com.googlecode.mp4parser.authoring.Track; 29 * Generates a Track where a single sample has been replaced by a given <code>ByteBuffer</code>. 33 Track origTrack; 38 public ReplaceSampleTrack(Track origTrack, long sampleNumber, ByteBuffer content) {
|
DivideTimeScaleTrack.java | 19 import com.googlecode.mp4parser.authoring.Track; 28 * Changes the timescale of a track by wrapping the track. 30 public class DivideTimeScaleTrack implements Track { 31 Track source; 34 public DivideTimeScaleTrack(Track source, int timeScaleDivisor) {
|
MultiplyTimeScaleTrack.java | 20 import com.googlecode.mp4parser.authoring.Track; 34 * Changes the timescale of a track by wrapping the track. 36 public class MultiplyTimeScaleTrack implements Track { 37 Track source; 40 public MultiplyTimeScaleTrack(Track source, int timeScaleFactor) {
|
/frameworks/av/media/extractors/mpeg2/ |
MPEG2PSExtractor.h | 32 struct Track; 51 struct Track; 60 KeyedVector<unsigned, Track* > mTracks;
|
MPEG2PSExtractor.cpp | 43 struct MPEG2PSExtractor::Track : public MediaTrackHelper { 44 Track(MPEG2PSExtractor *extractor, 55 virtual ~Track(); 72 DISALLOW_EVIL_CONSTRUCTORS(Track); 76 WrappedTrack(MPEG2PSExtractor *extractor, Track *track); 90 MPEG2PSExtractor::Track *mTrack; 560 stream_id, new Track(this, stream_id, streamType)); 593 MPEG2PSExtractor::Track::Track( [all...] |
/frameworks/av/media/libaudioprocessing/ |
AudioMixer.cpp | 49 /* VERY_VERY_VERBOSE_LOGGING will show exactly which process hook and track hook is 107 auto t = std::make_shared<Track>(); 109 // TODO: move initialization to the Track constructor. 110 // assume default parameters for the track, except where noted below 156 // setParameter(name, TRACK, MAIN_BUFFER, mixBuffer) is required before enable(name) 195 // Called when channel masks have changed for a track name 201 const std::shared_ptr<Track> &track = mTracks[name]; local 203 if (trackChannelMask == (track->channelMask | track->mHapticChannelMask 494 const std::shared_ptr<Track> &track = mTracks[name]; local 506 const std::shared_ptr<Track> &track = mTracks[name]; local 644 const std::shared_ptr<Track> &track = mTracks[name]; local 955 const std::shared_ptr<Track> &track = mTracks[name]; local [all...] |
/external/webrtc/talk/app/webrtc/ |
mediastream.h | 47 bool AddTrack(AudioTrackInterface* track) override; 48 bool AddTrack(VideoTrackInterface* track) override; 49 bool RemoveTrack(AudioTrackInterface* track) override; 50 bool RemoveTrack(VideoTrackInterface* track) override; 63 template <typename TrackVector, typename Track> 64 bool AddTrack(TrackVector* Tracks, Track* track); 66 bool RemoveTrack(TrackVector* Tracks, MediaStreamTrackInterface* track);
|
/external/libaom/libaom/third_party/libwebm/mkvparser/ |
mkvparser.h | 68 class Track; 108 long long m_track; // Track::Number() 186 // Elements used to describe if the track data has been encrypted or 299 class Track { 300 Track(const Track&); 301 Track& operator=(const Track&); 306 long long element_size, Track*&); 313 virtual ~Track(); [all...] |
/external/libvpx/libvpx/third_party/libwebm/mkvparser/ |
mkvparser.h | 68 class Track; 108 long long m_track; // Track::Number() 186 // Elements used to describe if the track data has been encrypted or 299 class Track { 300 Track(const Track&); 301 Track& operator=(const Track&); 306 long long element_size, Track*&); 313 virtual ~Track(); [all...] |
/external/libvpx/libwebm/mkvparser/ |
mkvparser.h | 68 class Track; 108 long long m_track; // Track::Number() 186 // Elements used to describe if the track data has been encrypted or 299 class Track { 300 Track(const Track&); 301 Track& operator=(const Track&); 306 long long element_size, Track*&); 313 virtual ~Track(); [all...] |
/frameworks/av/media/libstagefright/ |
MPEG4Writer.cpp | 107 class MPEG4Writer::Track { 109 Track(MPEG4Writer *owner, const sp<MediaSource> &source, size_t trackId); 111 ~Track(); 370 // Update the audio track's drift information. 395 // Track authoring progress status 401 // Determine the track time scale 402 // If it is an audio track, try to use the sampling rate as 453 Track(const Track &); 454 Track &operator=(const Track &) 626 Track *track = new Track(this, source, 1 + mTracks.size()); local 2348 Track *track = NULL; local 2553 Track *track = static_cast<Track *>(me); local [all...] |
/frameworks/av/media/extractors/mkv/ |
MatroskaExtractor.h | 80 const mkvparser::Track* getTrack() const; 99 const mkvparser::Track *track,
|
/frameworks/av/services/audioflinger/ |
PlaybackTracks.h | 58 // playback track 59 class Track : public TrackBase, public VolumeProvider { 61 Track( PlaybackThread *thread, 78 virtual ~Track(); 133 /** Set the computed normalized final volume of the track. 138 /** @return true if the track has changed (metadata or volume) since 140 * true if this function was never called since the track creation, 148 /** Copy the track metadata in the provided iterator. Thread safe. */ 151 /** Return haptic playback of the track is enabled or not, used in mixer. */ 153 /** Set haptic playback of the track is enabled or not, should b [all...] |