/cts/tests/tests/media/src/android/media/cts/ |
MediaExtractorTest.java | 33 protected MediaExtractor mExtractor; 39 mExtractor = new MediaExtractor(); 45 mExtractor.release(); 55 mExtractor.setDataSource(ds); 61 mExtractor.setDataSource((MediaDataSource)null); 70 mExtractor.release(); 78 mExtractor.setDataSource(dataSource); 89 mExtractor.setDataSource(dataSource); 101 final int trackCount = mExtractor.getTrackCount(); 104 mExtractor.selectTrack(i) [all...] |
CodecState.java | 49 private MediaExtractor mExtractor; 67 mExtractor = extractor; 207 int trackIndex = mExtractor.getSampleTrackIndex(); 211 mExtractor.readSampleData(codecData, 0 /* offset */); 213 long sampleTime = mExtractor.getSampleTime(); 215 int sampleFlags = mExtractor.getSampleFlags(); 241 mExtractor.getSampleCryptoInfo(info); 251 mExtractor.advance();
|
DecoderConformanceTest.java | 66 private MediaExtractor mExtractor; 123 mExtractor.release(); 129 mExtractor = null; 135 mExtractor = new MediaExtractor(); 136 mExtractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), testFd.getLength()); 137 mExtractor.selectTrack(0); 141 if (!caps.isFormatSupported(mExtractor.getTrackFormat(0))) { 155 if (MediaUtils.verifyDecoder(mDecoder, mExtractor, frameMD5Sums)) {
|
MediaSyncTest.java | 597 private MediaExtractor mExtractor = null; 641 mExtractor = MediaUtils.createMediaExtractorForMimeType( 646 mExtractor.getTrackFormat(mExtractor.getSampleTrackIndex()); 678 if (mExtractor != null) { 679 mExtractor.release(); 680 mExtractor = null; 695 if (mExtractor == null) { 701 mExtractor.getTrackFormat(mExtractor.getSampleTrackIndex()) [all...] |
VideoEncoderTest.java | 186 private MediaExtractor mExtractor; 221 mExtractor = new MediaExtractor(); 223 mExtractor.setDataSource(mContext, Uri.parse(path), null); 225 mExtractor.setDataSource(path); 228 for (int i = 0; i < mExtractor.getTrackCount(); i++) { 229 MediaFormat fmt = mExtractor.getTrackFormat(i); 234 mExtractor.selectTrack(i); 314 if (mExtractor != null) { 315 mExtractor.release(); 316 mExtractor = null [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/basicmediadecoder/ |
MainActivity.java | 50 private MediaExtractor mExtractor = new MediaExtractor(); 82 mExtractor.release(); 107 mExtractor.setDataSource(this, videoUri, null); 108 int nTracks = mExtractor.getTrackCount(); 113 mExtractor.unselectTrack(i); 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), 127 mExtractor.selectTrack(i); 145 boolean isEos = ((mExtractor.getSampleFlags() & MediaCodec 152 boolean result = mCodecWrapper.writeSample(mExtractor, false, 153 mExtractor.getSampleTime(), mExtractor.getSampleFlags()) [all...] |
/developers/samples/android/media/BasicMediaDecoder/Application/src/main/java/com/example/android/basicmediadecoder/ |
MainActivity.java | 50 private MediaExtractor mExtractor = new MediaExtractor(); 82 mExtractor.release(); 107 mExtractor.setDataSource(this, videoUri, null); 108 int nTracks = mExtractor.getTrackCount(); 113 mExtractor.unselectTrack(i); 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), 127 mExtractor.selectTrack(i); 145 boolean isEos = ((mExtractor.getSampleFlags() & MediaCodec 152 boolean result = mCodecWrapper.writeSample(mExtractor, false, 153 mExtractor.getSampleTime(), mExtractor.getSampleFlags()) [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.basicmediadecoder/ |
MainActivity.java | 50 private MediaExtractor mExtractor = new MediaExtractor(); 82 mExtractor.release(); 107 mExtractor.setDataSource(this, videoUri, null); 108 int nTracks = mExtractor.getTrackCount(); 113 mExtractor.unselectTrack(i); 124 mCodecWrapper = MediaCodecWrapper.fromVideoFormat(mExtractor.getTrackFormat(i), 127 mExtractor.selectTrack(i); 145 boolean isEos = ((mExtractor.getSampleFlags() & MediaCodec 152 boolean result = mCodecWrapper.writeSample(mExtractor, false, 153 mExtractor.getSampleTime(), mExtractor.getSampleFlags()) [all...] |
/frameworks/av/media/libstagefright/include/ |
StagefrightMetadataRetriever.h | 49 sp<IMediaExtractor> mExtractor;
|
/frameworks/av/media/libstagefright/matroska/ |
MatroskaExtractor.cpp | 110 MatroskaExtractor *mExtractor; 146 sp<MatroskaExtractor> mExtractor; 166 return mExtractor->mSegment->GetTracks()->GetTrackByNumber(mTrackNum); 181 if (timeNs <= cp->GetTime(mExtractor->mSegment)) { 192 const long long cueTimeNs = midCp->GetTime(mExtractor->mSegment); 205 if (cp->GetTime(mExtractor->mSegment) > timeNs) { 214 : mExtractor(extractor), 218 mBlockIter(mExtractor.get(), 219 mExtractor->mTracks.itemAt(index).mTrackNum, 222 sp<MetaData> meta = mExtractor->mTracks.itemAt(index).mMeta [all...] |
MatroskaExtractor.h | 63 const MatroskaExtractor *mExtractor;
|
/frameworks/av/media/libstagefright/ |
StagefrightMetadataRetriever.cpp | 66 if (mExtractor != NULL) { 67 mExtractor->release(); 88 mExtractor = MediaExtractor::Create(mSource); 90 if (mExtractor == NULL) { 118 mExtractor = MediaExtractor::Create(mSource); 120 if (mExtractor == NULL) { 135 mExtractor = MediaExtractor::Create(mSource, mime); 137 if (mExtractor == NULL) { 593 if (mExtractor.get() == NULL) { 598 sp<MetaData> fileMeta = mExtractor->getMetaData() [all...] |
AVIExtractor.cpp | 53 sp<AVIExtractor> mExtractor; 91 : mExtractor(extractor), 93 mTrack(mExtractor->mTracks.itemAt(trackIndex)), 149 mExtractor->getSampleIndexAtTime( 176 status_t err = mExtractor->getSampleInfo( 188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size); [all...] |
OggExtractor.cpp | 63 sp<OggExtractor> mExtractor; 228 : mExtractor(extractor), 239 return mExtractor->mImpl->getFormat(); 265 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs); 272 status_t err = mExtractor->mImpl->readNextPacket(&packet); [all...] |
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 275 mExtractor = new NuMediaExtractor; 277 status_t err = mExtractor->setDataSource( 281 mExtractor.clear(); 292 for (size_t i = 0; i < mExtractor->countTracks(); ++i) { 294 status_t err = mExtractor->getTrackFormat(i, &format); 310 err = mExtractor->selectTrack(i); 411 mExtractor.clear(); 470 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); 490 err = mExtractor->readSampleData(abuffer); 495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK) [all...] |
SimplePlayer.h | 90 sp<NuMediaExtractor> mExtractor;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationHeaderUtil.java | 239 private final DataExtractor mExtractor; 255 mExtractor = extractor; 263 mParentData = mExtractor == null ? null : mExtractor.extractData(mParentRow); 276 Object childData = mExtractor == null ? null : mExtractor.extractData(row);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
PlaybackSession.cpp | 609 if (mExtractor != NULL) { 629 if (mExtractor != NULL) { 750 mExtractor = new NuMediaExtractor; 752 status_t err = mExtractor->setDataSource( 759 size_t n = mExtractor->countTracks(); 764 err = mExtractor->getTrackFormat(i, &format); 784 err = mExtractor->selectTrack(i); 825 status_t err = mExtractor->getSampleTime(&sampleTimeUs); 850 status_t err = mExtractor->readSampleData(accessUnit); 857 CHECK_EQ((status_t)OK, mExtractor->getSampleTime(&timeUs)) [all...] |
PlaybackSession.h | 125 sp<NuMediaExtractor> mExtractor;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2PSExtractor.cpp | 60 MPEG2PSExtractor *mExtractor; 89 sp<MPEG2PSExtractor> mExtractor; 592 : mExtractor(extractor), 673 status_t err = mExtractor->feedMore(); 727 : mExtractor(extractor),
|
MPEG2TSExtractor.cpp | 66 sp<MPEG2TSExtractor> mExtractor; 80 : mExtractor(extractor), 105 status_t err = mExtractor->seek(seekTimeUs, seekMode); 111 if (mExtractor->feedUntilBufferAvailable(mImpl) != OK) {
|
/frameworks/base/media/java/android/media/ |
WebVttRenderer.java | [all...] |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-core/1.3.0-beta2/ |
gradle-core-1.3.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-core/1.3.0-beta3/ |
gradle-core-1.3.0-beta3.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/gradle-core/1.3.0-beta4/ |
gradle-core-1.3.0-beta4.jar | |