Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DWebmElement.h29 struct WebmElement : public LightRefBase<WebmElement> { struct
32 WebmElement(uint64_t id, uint64_t size); argument
33 virtual ~WebmElement();
42 static sp<WebmElement> EbmlHeader(
50 static sp<WebmElement> SegmentInfo(uint64_t scale = 1000000, double dur = 0);
52 static sp<WebmElement> AudioTrackEntry(
62 static sp<WebmElement> VideoTrackEntry(
71 static sp<WebmElement> SeekEntry(uint64_t id, uint64_t off);
72 static sp<WebmElement> CuePointEntry(uint64_t time, int track, uint64_t off);
73 static sp<WebmElement> SimpleBlock(
[all …]
DWebmElement.cpp50 uint64_t childrenSum(const List<sp<WebmElement> >& children) { in childrenSum()
52 for (List<sp<WebmElement> >::const_iterator it = children.begin(); in childrenSum()
66 List<sp<WebmElement> > &ls) { in populateCommonTrackEntries()
78 WebmElement::WebmElement(uint64_t id, uint64_t size) in WebmElement() function in android::WebmElement
82 WebmElement::~WebmElement() { in ~WebmElement()
85 int WebmElement::serializePayloadSize(uint8_t *buf) { in serializePayloadSize()
89 uint64_t WebmElement::serializeInto(uint8_t *buf) { in serializeInto()
100 uint64_t WebmElement::totalSize() { in totalSize()
106 uint8_t *WebmElement::serialize(uint64_t& size) { in serialize()
113 int WebmElement::write(int fd, uint64_t& size) { in write()
[all …]
DWebmWriter.h75 List<sp<WebmElement> > mCuePoints;
86 sp<WebmElement> (*mMakeTrack)(const sp<MetaData>&);
89 sp<WebmElement> mTrackEntry;
99 WebmStream(int type, const char *name, sp<WebmElement> (*makeTrack)(const sp<MetaData>&)) in WebmStream()
113 Vector<sp<WebmElement>> mStreamsInOrder;
123 static sp<WebmElement> videoTrack(const sp<MetaData>& md);
124 static sp<WebmElement> audioTrack(const sp<MetaData>& md);
DWebmWriter.cpp86 sp<WebmElement> WebmWriter::videoTrack(const sp<MetaData>& md) { in videoTrack()
111 return WebmElement::VideoTrackEntry(codec, width, height, md); in videoTrack()
115 sp<WebmElement> WebmWriter::audioTrack(const sp<MetaData>& md) { in audioTrack()
172 sp<WebmElement> entry = WebmElement::AudioTrackEntry("A_OPUS", nChannels, samplerate, in audioTrack()
211 sp<WebmElement> entry = WebmElement::AudioTrackEntry("A_VORBIS", nChannels, samplerate, in audioTrack()
371 sp<WebmElement> cues = new WebmMaster(kMkvCues, mCuePoints); in reset()
383 sp<WebmElement> space = new EbmlVoid(mEstimatedCuesSize - cuesSize); in reset()
401 sp<WebmElement> duration = new WebmFloat( in reset()
408 List<sp<WebmElement> > seekEntries; in reset()
409 seekEntries.push_back(WebmElement::SeekEntry(kMkvInfo, mInfoOffset - mSegmentDataStart)); in reset()
[all …]
DWebmFrameThread.h64 List<sp<WebmElement> >& cues);
71 List<sp<WebmElement> >& cues);
85 List<sp<WebmElement> >& mCues;
93 List<sp<WebmElement> >& children);
94 void writeCluster(List<sp<WebmElement> >& children);
DWebmFrameThread.cpp75 List<sp<WebmElement> >& cues) in WebmFrameSinkThread()
90 List<sp<WebmElement> >& cues) in WebmFrameSinkThread()
117 List<sp<WebmElement> >& children) { in initCluster()
127 void WebmFrameSinkThread::writeCluster(List<sp<WebmElement> >& children) { in writeCluster()
132 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); in writeCluster()
147 List<sp<WebmElement> > children; in flushFrames()
190 sp<WebmElement> cuePoint = WebmElement::CuePointEntry(cueTime, 1, fpos - mSegmentDataStart); in flushFrames()
DAndroid.bp21 "WebmElement.cpp",
DWebmFrame.h38 sp<WebmElement> SimpleBlock(uint64_t baseTimecode) const;
DWebmFrame.cpp57 sp<WebmElement> WebmFrame::SimpleBlock(uint64_t baseTimecode) const { in SimpleBlock()
/frameworks/av/media/libstagefright/webm/tests/
DWebmFrameThreadUnitTest.cpp110 List<sp<WebmElement>> mCuePoints;